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:
root localhost:/# ./pppd.sh                                                                                         
Serial connection established.                                                                                      
using channel 1                                                                                                     
Using interface ppp0                                                                                                
Connect: ppp0 <--> /dev/ttyUSB1                                                                                     
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xc5fb844> <pcomp> <accomp>]                                         
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xc5fb844> <pcomp> <accomp>]                                         
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xc5fb844> <pcomp> <accomp>]                                         
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xc5fb844> <pcomp> <accomp>]                                         
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xc5fb844> <pcomp> <accomp>]                                         
                                                                                                                    
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xc5fb844> <pcomp> <accomp>]                                         
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xc5fb844> <pcomp> <accomp>]                                         
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xc5fb844> <pcomp> <accomp>]                                         
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xc5fb844> <pcomp> <accomp>]                                         
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xc5fb844> <pcomp> <accomp>]                                         
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" <dcbw redhat com> 写道:
>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-kernel lists infradead org
>http://lists.infradead.org/mailman/listinfo/linux-arm-kernel



"中国制造",讲述中国60年往事


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]