Sierra A312U
Posted: 13 Apr 2011, 10:58
Hi
I am having problem with Sierra A312U modem in linux.
my linux is 2.6.27.45.
usb_modeswitch version 1.1.6.
i didnt load sierra driver. Option and usbserial driver is loaded in system.
Problem is that Modeswitch command is getting failed.
Now giving output of logs step-by step--
When modem is plugged in, the kernel messages are
Apr 13 18:09:58 (none) user.info kernel: USB Universal Host Controller Interface driver v3.0
Apr 13 18:09:58 (none) user.info kernel: uhci_hcd 0000:00:1d.0: found PCI INT A -> IRQ 5
Apr 13 18:09:58 (none) user.info kernel: uhci_hcd 0000:00:1d.0: sharing IRQ 5 with 0000:00:1d.7
Apr 13 18:09:58 (none) user.debug kernel: uhci_hcd 0000:00:1d.0: setting latency timer to 64
Apr 13 18:09:58 (none) user.info kernel: uhci_hcd 0000:00:1d.0: UHCI Host Controller
Apr 13 18:09:58 (none) user.info kernel: uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
Apr 13 18:09:58 (none) user.info kernel: uhci_hcd 0000:00:1d.0: irq 5, io base 0x0000ac00
Apr 13 18:09:58 (none) user.info kernel: usb usb1: configuration #1 chosen from 1 choice
Apr 13 18:09:58 (none) user.info kernel: hub 1-0:1.0: USB hub found
Apr 13 18:09:58 (none) user.info kernel: hub 1-0:1.0: 2 ports detected
Apr 13 18:09:59 (none) user.info kernel: usb 1-1: new full speed USB device using uhci_hcd and address 2
Apr 13 18:09:59 (none) user.warn kernel: usb 1-1: config 1 has an invalid interface number: 9 but max is 0
Apr 13 18:09:59 (none) user.warn kernel: usb 1-1: config 1 has no interface number 0
Apr 13 18:09:59 (none) user.info kernel: usb 1-1: configuration #1 chosen from 1 choice
Apr 13 18:09:59 (none) user.info kernel: usbcore: registered new interface driver usbserial
Apr 13 18:09:59 (none) user.info kernel: usbserial: USB Serial support registered for generic
Apr 13 18:09:59 (none) user.info kernel: usbcore: registered new interface driver usbserial_generic
Apr 13 18:09:59 (none) user.info kernel: usbserial: USB Serial Driver core
Apr 13 18:09:59 (none) user.info kernel: usbserial: USB Serial support registered for GSM modem (1-port)
Apr 13 18:09:59 (none) user.info kernel: usbcore: registered new interface driver option
Apr 13 18:09:59 (none) user.info kernel: option: USB Driver for GSM modems: v0.7.2
I get clue from kernel logs that, somewhere interface error is coming.
and output of proc is
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1199 ProdID=0fff Rev= 0.00
S: Manufacturer=Sierra Wireless, Incorporated
S: Product=USB MMC Storage
S: SerialNumber=SWOC22905731
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=500mA
I:* If#= 9 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=option
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
....Then moving ahead i fire the modeswitch command
usb_modeswitch -v 0x1199 -p 0x0fff -S 1 -I
Looking for default devices ...
Found devices in default mode, class or configuration (1)
Accessing device 002 on bus 001 ...
Getting the current device configuration ...
Error: getting the current configuration failed (error -71). Aborting.
.....and at same time the kernel log
Apr 13 18:32:32 (none) user.debug kernel: usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd usb_ms rqt 128 rq 8 len 1 ret -71
then i tried with other command
usb_modeswitch -v 0x1199 -p 0x0fff -S 1 -I -V 0x0fff -P 0x6856
Looking for target devices ...
No devices in target mode or class found
Looking for default devices ...
Found devices in default mode, class or configuration (1)
Accessing device 002 on bus 001 ...
Getting the current device configuration ...
Error: getting the current configuration failed (error -84). Aborting.
...and the kernel log...
Apr 13 18:32:32 (none) user.debug kernel: usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd usb_ms rqt 128 rq 8 len 1 ret -84
So please guide me how to move further.
Thanks in advance.
I am having problem with Sierra A312U modem in linux.
my linux is 2.6.27.45.
usb_modeswitch version 1.1.6.
i didnt load sierra driver. Option and usbserial driver is loaded in system.
Problem is that Modeswitch command is getting failed.
Now giving output of logs step-by step--
When modem is plugged in, the kernel messages are
Apr 13 18:09:58 (none) user.info kernel: USB Universal Host Controller Interface driver v3.0
Apr 13 18:09:58 (none) user.info kernel: uhci_hcd 0000:00:1d.0: found PCI INT A -> IRQ 5
Apr 13 18:09:58 (none) user.info kernel: uhci_hcd 0000:00:1d.0: sharing IRQ 5 with 0000:00:1d.7
Apr 13 18:09:58 (none) user.debug kernel: uhci_hcd 0000:00:1d.0: setting latency timer to 64
Apr 13 18:09:58 (none) user.info kernel: uhci_hcd 0000:00:1d.0: UHCI Host Controller
Apr 13 18:09:58 (none) user.info kernel: uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
Apr 13 18:09:58 (none) user.info kernel: uhci_hcd 0000:00:1d.0: irq 5, io base 0x0000ac00
Apr 13 18:09:58 (none) user.info kernel: usb usb1: configuration #1 chosen from 1 choice
Apr 13 18:09:58 (none) user.info kernel: hub 1-0:1.0: USB hub found
Apr 13 18:09:58 (none) user.info kernel: hub 1-0:1.0: 2 ports detected
Apr 13 18:09:59 (none) user.info kernel: usb 1-1: new full speed USB device using uhci_hcd and address 2
Apr 13 18:09:59 (none) user.warn kernel: usb 1-1: config 1 has an invalid interface number: 9 but max is 0
Apr 13 18:09:59 (none) user.warn kernel: usb 1-1: config 1 has no interface number 0
Apr 13 18:09:59 (none) user.info kernel: usb 1-1: configuration #1 chosen from 1 choice
Apr 13 18:09:59 (none) user.info kernel: usbcore: registered new interface driver usbserial
Apr 13 18:09:59 (none) user.info kernel: usbserial: USB Serial support registered for generic
Apr 13 18:09:59 (none) user.info kernel: usbcore: registered new interface driver usbserial_generic
Apr 13 18:09:59 (none) user.info kernel: usbserial: USB Serial Driver core
Apr 13 18:09:59 (none) user.info kernel: usbserial: USB Serial support registered for GSM modem (1-port)
Apr 13 18:09:59 (none) user.info kernel: usbcore: registered new interface driver option
Apr 13 18:09:59 (none) user.info kernel: option: USB Driver for GSM modems: v0.7.2
I get clue from kernel logs that, somewhere interface error is coming.
and output of proc is
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1199 ProdID=0fff Rev= 0.00
S: Manufacturer=Sierra Wireless, Incorporated
S: Product=USB MMC Storage
S: SerialNumber=SWOC22905731
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=500mA
I:* If#= 9 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=option
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
....Then moving ahead i fire the modeswitch command
usb_modeswitch -v 0x1199 -p 0x0fff -S 1 -I
Looking for default devices ...
Found devices in default mode, class or configuration (1)
Accessing device 002 on bus 001 ...
Getting the current device configuration ...
Error: getting the current configuration failed (error -71). Aborting.
.....and at same time the kernel log
Apr 13 18:32:32 (none) user.debug kernel: usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd usb_ms rqt 128 rq 8 len 1 ret -71
then i tried with other command
usb_modeswitch -v 0x1199 -p 0x0fff -S 1 -I -V 0x0fff -P 0x6856
Looking for target devices ...
No devices in target mode or class found
Looking for default devices ...
Found devices in default mode, class or configuration (1)
Accessing device 002 on bus 001 ...
Getting the current device configuration ...
Error: getting the current configuration failed (error -84). Aborting.
...and the kernel log...
Apr 13 18:32:32 (none) user.debug kernel: usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd usb_ms rqt 128 rq 8 len 1 ret -84
So please guide me how to move further.
Thanks in advance.