Re: Longcheer SU9800 usb 3g modem 1c9e:9800

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

 



On Tuesday, May 20, 2014 09:35:40 AM Oliver Neukum wrote:
> It was against git HEAD. Sorry.
Nevermind
> Looks good, but I'd prefer a full test.
> 
> 	Thanks
> 		Oliver
I've compiled the firmware and tested it.
It works perfectly. Here is some dmesg of OpenWrt boot. The 3g dongle is 
detected in 15 seconds.
[   15.540000] usbcore: registered new interface driver option
[   15.550000] usbserial: USB Serial support registered for GSM modem (1-port)
[   15.550000] option 1-1:1.0: GSM modem (1-port) converter detected
[   15.570000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
[   15.570000] option 1-1:1.1: GSM modem (1-port) converter detected
[   15.580000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
[   15.590000] option 1-1:1.2: GSM modem (1-port) converter detected
[   15.600000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
and on 21 seconds ...
[   21.380000] option1 ttyUSB0: GSM modem (1-port) converter now disconnected 
from ttyUSB0
And here is kernel usb debug (/sys/kernel/debug/usb/devices)
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
B:  Alloc=  1/800 us ( 0%), #Int=  1, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 3.10
S:  Manufacturer=Linux 3.10.36 ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=ehci-platform
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1c9e ProdID=9800 Rev= 0.00
S:  Manufacturer=USB Modem
S:  Product=USB Modem
S:  SerialNumber=1234567890ABCDEF
C:* #Ifs= 4 Cfg#= 1 Atr=e0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=82(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
E:  Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)
E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

It seems the option driver is actually working with this device. It's able to 
distinguish between modem serial interface and storage interface. FYI, no 
storage driver is compiled due to limited size of flash memory - only 4MB of 
flash.
Finally, here is ip address obtained via ppp, with the modem device on ttyUSB1

root@OpenWrt:/# ip addr ls 3g-wan
9: 3g-wan: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc 
fq_codel state UNKNOWN group default qlen 3
    link/ppp 
    inet 10.215.213.41 peer 10.64.64.64/32 scope global 3g-wan
       valid_lft forever preferred_lft forever


Looks good, isn't?
Thanks.

Alive4Ever
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux