Re:Re: about HAL and USB EVDO usbserial problem
hi,dan! I try to add usb evdo vendor id and product id to kernel driver such as option,airprime ,can't connect succeed! 1: r...@localhost:/# ./pppd.sh Serial connection established. using channel 1 Using interface ppp0 Connect: ppp0 <--> /dev/ttyUSB1 sent [LCP ConfReq id=0x1] sent [LCP ConfReq id=0x1] sent [LCP ConfReq id=0x1] sent [LCP ConfReq id=0x1] sent [LCP ConfReq id=0x1] sent [LCP ConfReq id=0x1] sent [LCP ConfReq id=0x1] sent [LCP ConfReq id=0x1] sent [LCP ConfReq id=0x1] sent [LCP ConfReq id=0x1] LCP: timeout sending Config-Requests Connection terminated. Serial connection established. using channel 2 Using interface ppp0 Connect: ppp0 <--> /dev/ttyUSB1 tcflush failed: Bad file descriptor 在2009-09-11?04:33:09,"Dan?Williams"??写道: >On?Wed,?2009-09-09?at?20:48?+0800,?tommy.hong?wrote: >>?hi,all! >>? >>?Now?i?met?a?problem?with?usb?evdo?card! >>? >>?When?i?insmod?usbserial?with?vendor?id?and?product?id,pppd?connect?OK >>?with?ttyUSB1?and?can?access?internet?with?ppp0! > >You?really,?really?want?to?add?that?card's?IDs?to?the?proper?kernel >drivers.??Doing?so?will?allow?NetworkManager?to?see?and?manage?the >interface.??*Plus*?you'll?get?much?higher?speeds.??usbserial?simply >isn't?capable?of?nor?designed?for?the?higher?speeds?of?3G?cards. > >What?card?is?it???If?I?know?that,?I?can?suggest?what?driver?to?add?the >IDs?to. > >>?But?I?want?to?use?Networkmanager?with?ppp,because?ppp0?isn't?a >>?standard?platform?device?,it?is?kernel?virtual?net >>?(/sys/device/virtual/net/ppp0),causes?HAL?can't?know?it?is?a?real >>?network,Networkmanager?depend?on?HAL! >>? >>?Serveral?days?ago?i?have?fix?marvell8686?driver?kernel?hotplug >>?bug,does?usbserial?driver?miss?similiar?issue?? > >Marvell?vendor?driver,?or?the?upstream?libertas?driver???Upstream >drivers?are?the?only?ones?we?guarantee?to?really?support?since?they?have >been?vetted?by?kernel?developers?and?tested?by?numerous?people.??I?test >the?libertas?driver?regularly?and?it?works?well?with?NM.??I?don't?know >anything?about?the?state?of?the?marvell?vendor?driver. > >Dan > > > > >___ >linux-arm-kernel?mailing?list >linux-arm-ker...@lists.infradead.org >http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re:Re: about HAL and USB EVDO usbserial problem
hi,dan!first thank you! [ 1184.067712] scsi 4:0:0:0: CD-ROMQualcomm MMC Storage 2.31 PQ: 0 ANSI: 2 [ 1184.129297] sr0: scsi-1 drive [ 1184.129303] Uniform CD-ROM driver Revision: 3.20 [ 1184.129468] sr 4:0:0:0: Attached scsi CD-ROM sr0 [ 1184.129565] sr 4:0:0:0: Attached scsi generic sg1 type 5 [ 1189.012473] sr0: Hmm, seems the drive doesn't support multisession CD's it is made by China company,UE600G! r...@tommy-desktop:/lib/modules/2.6.28-11-generic/kernel/drivers/usb/serial# lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 002: ID 19f5:9909 USB EVDO Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 002: ID 045e:0084 Microsoft Corp. Basic Optical Mouse Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub 在2009-09-11?04:33:09,"Dan?Williams"??写道: >On?Wed,?2009-09-09?at?20:48?+0800,?tommy.hong?wrote: >>?hi,all! >>? >>?Now?i?met?a?problem?with?usb?evdo?card! >>? >>?When?i?insmod?usbserial?with?vendor?id?and?product?id,pppd?connect?OK >>?with?ttyUSB1?and?can?access?internet?with?ppp0! > >You?really,?really?want?to?add?that?card's?IDs?to?the?proper?kernel >drivers.??Doing?so?will?allow?NetworkManager?to?see?and?manage?the >interface.??*Plus*?you'll?get?much?higher?speeds.??usbserial?simply >isn't?capable?of?nor?designed?for?the?higher?speeds?of?3G?cards. > >What?card?is?it???If?I?know?that,?I?can?suggest?what?driver?to?add?the >IDs?to. > >>?But?I?want?to?use?Networkmanager?with?ppp,because?ppp0?isn't?a >>?standard?platform?device?,it?is?kernel?virtual?net >>?(/sys/device/virtual/net/ppp0),causes?HAL?can't?know?it?is?a?real >>?network,Networkmanager?depend?on?HAL! >>? >>?Serveral?days?ago?i?have?fix?marvell8686?driver?kernel?hotplug >>?bug,does?usbserial?driver?miss?similiar?issue?? > >Marvell?vendor?driver,?or?the?upstream?libertas?driver???Upstream >drivers?are?the?only?ones?we?guarantee?to?really?support?since?they?have >been?vetted?by?kernel?developers?and?tested?by?numerous?people.??I?test >the?libertas?driver?regularly?and?it?works?well?with?NM.??I?don't?know >anything?about?the?state?of?the?marvell?vendor?driver. > >Dan > > > > >___ >linux-arm-kernel?mailing?list >linux-arm-ker...@lists.infradead.org >http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: about HAL and USB EVDO usbserial problem
On Wed, 2009-09-09 at 20:48 +0800, tommy.hong wrote: > hi,all! > > Now i met a problem with usb evdo card! > > When i insmod usbserial with vendor id and product id,pppd connect OK > with ttyUSB1 and can access internet with ppp0! You really, really want to add that card's IDs to the proper kernel drivers. Doing so will allow NetworkManager to see and manage the interface. *Plus* you'll get much higher speeds. usbserial simply isn't capable of nor designed for the higher speeds of 3G cards. What card is it? If I know that, I can suggest what driver to add the IDs to. > But I want to use Networkmanager with ppp,because ppp0 isn't a > standard platform device ,it is kernel virtual net > (/sys/device/virtual/net/ppp0),causes HAL can't know it is a real > network,Networkmanager depend on HAL! > > Serveral days ago i have fix marvell8686 driver kernel hotplug > bug,does usbserial driver miss similiar issue ? Marvell vendor driver, or the upstream libertas driver? Upstream drivers are the only ones we guarantee to really support since they have been vetted by kernel developers and tested by numerous people. I test the libertas driver regularly and it works well with NM. I don't know anything about the state of the marvell vendor driver. Dan ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
about HAL and USB EVDO usbserial problem
hi,all! Now i met a problem with usb evdo card! When i insmod usbserial with vendor id and product id,pppd connect OK with ttyUSB1 and can access internet with ppp0! But I want to use Networkmanager with ppp,because ppp0 isn't a standard platform device ,it is kernel virtual net (/sys/device/virtual/net/ppp0),causes HAL can't know it is a real network,Networkmanager depend on HAL! Serveral days ago i have fix marvell8686 driver kernel hotplug bug,does usbserial driver miss similiar issue ? Thanks all! Platform :ARM11 Linux kernel version:2.6.24.2 to...@china ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list