Temat: Huawei E353 HSPA+
Witam.
Wpadł mi w ręce na chwilę modem jak w temacie i nie mogę go odpalić, ale fajnie by było jakby chodził bo pewnie inni też będą taki mieć a i ja może też ![]()
Więc po kolei:
OpenWRT 10.03.1-RC5, r27015 ASUS WL-500GP 2.6.32.27
logread po podłączeniu:
Jun 2 12:34:20 OpenWrt user.info kernel: usb 1-2: new high speed USB device using ehci_hcd and address 4
Jun 2 12:34:20 OpenWrt user.info kernel: usb 1-2: configuration #1 chosen from 1 choice
Jun 2 12:34:20 OpenWrt user.info kernel: scsi5 : SCSI emulation for USB Mass Storage devices
Jun 2 12:34:20 OpenWrt user.debug kernel: usb-storage: device found at 4
Jun 2 12:34:20 OpenWrt user.debug kernel: usb-storage: waiting for device to settle before scanning
Jun 2 12:34:20 OpenWrt user.info kernel: scsi6 : SCSI emulation for USB Mass Storage devices
Jun 2 12:34:20 OpenWrt user.debug kernel: usb-storage: device found at 4
Jun 2 12:34:20 OpenWrt user.debug kernel: usb-storage: waiting for device to settle before scanning
Jun 2 12:34:21 OpenWrt user.notice usb-modeswitch: 1-2:1.0: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jun 2 12:34:21 OpenWrt user.notice usb-modeswitch: 1-2:1.0: Selecting /etc/usb_modeswitch.d/12d1:1446 for mode switching
Jun 2 12:34:21 OpenWrt user.warn kernel: usb 1-2: usbfs: process 2325 (usb_modeswitch) did not claim interface 0 before use
Jun 2 12:34:21 OpenWrt user.info kernel: usb 1-2: USB disconnect, address 4
Jun 2 12:34:25 OpenWrt user.info kernel: usb 1-2: new high speed USB device using ehci_hcd and address 5
Jun 2 12:34:25 OpenWrt user.info kernel: usb 1-2: configuration #1 chosen from 1 choice
Jun 2 12:34:25 OpenWrt user.info kernel: scsi7 : SCSI emulation for USB Mass Storage devices
Jun 2 12:34:25 OpenWrt user.debug kernel: usb-storage: device found at 5
Jun 2 12:34:25 OpenWrt user.debug kernel: usb-storage: waiting for device to settle before scanning
Jun 2 12:34:25 OpenWrt user.info kernel: scsi8 : SCSI emulation for USB Mass Storage devices
Jun 2 12:34:25 OpenWrt user.debug kernel: usb-storage: device found at 5
Jun 2 12:34:25 OpenWrt user.debug kernel: usb-storage: waiting for device to settle before scanning
Jun 2 12:34:30 OpenWrt user.notice kernel: scsi 7:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
Jun 2 12:34:30 OpenWrt user.notice kernel: scsi 8:0:0:0: Direct-Access HUAWEI TF CARD Storage PQ: 0 ANSI: 2
Jun 2 12:34:30 OpenWrt user.debug kernel: usb-storage: device scan complete
Jun 2 12:34:30 OpenWrt user.notice kernel: sd 8:0:0:0: [sda] Attached SCSI removable disk
Jun 2 12:34:30 OpenWrt user.debug kernel: usb-storage: device scan complete
Jun 2 12:34:41 OpenWrt user.notice usb-modeswitch: 1-2:1.1: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jun 2 12:34:42 OpenWrt user.notice usb-modeswitch: 1-2:1.0: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jun 2 12:34:42 OpenWrt user.notice usb-modeswitch: 1-2:1.1: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jun 2 12:34:42 OpenWrt user.notice usb-modeswitch: 1-2:1.2: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jun 2 12:34:43 OpenWrt user.notice usb-modeswitch: 1-2:1.3: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jun 2 12:34:43 OpenWrt user.notice usb-modeswitch: 1-2:1.4: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jun 2 12:34:43 OpenWrt user.notice usb-modeswitch: 1-2:1.5: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jun 2 12:34:43 OpenWrt user.notice usb-modeswitch: 1-2:1.6: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?ifup wan podaje że nie ma /dev/ttyUSB0.
cat /proc/bus/usb/devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 4
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 2.06
S: Manufacturer=Linux 2.6.32.27 ehci_hcd
S: Product=EHCI Host Controller
S: SerialNumber=0000:00:03.2
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=01 Cnt=01 Dev#= 5 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=12d1 ProdID=1506 Rev= 0.00
S: Manufacturer=Huawei Technologies
S: Product=HUAWEI Mobile
C:* #Ifs= 7 Cfg#= 1 Atr=c0 MxPwr=500mA
A: FirstIf#= 1 IfCount= 2 Cls=02(comm.) Sub=00 Prot=00
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=01 Prot=01 Driver=(none)
E: Ad=81(I) Atr=03(Int.) MxPS= 64 Ivl=2ms
E: Ad=82(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= 1 Cls=ff(vend.) Sub=01 Prot=09 Driver=(none)
E: Ad=83(I) Atr=03(Int.) MxPS= 64 Ivl=2ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=01 Prot=08 Driver=(none)
E: Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=01 Prot=03 Driver=(none)
E: Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 4 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=01 Prot=02 Driver=(none)
E: Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 5 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 6 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0msJak widać wykryło modem z ProdID=1506, więc spróbowałem go przełączyć z palca i tu efekty:
root@OpenWrt:~# usb_modeswitch -v 12d1 -p 1506 -d 1
Looking for default devices ...
Found devices in default mode, class or configuration (1)
Accessing device 005 on bus 001 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using endpoints 0x01 (out) and 0x82 (in)
Using endpoints 0x01 (out) and 0x82 (in)
Not a storage device, skipping SCSI inquiry
USB description data (for identification)
-------------------------
Manufacturer: Huawei Technologies
Product: HUAWEI Mobile
Serial No.: not provided
-------------------------
Only detaching storage driver for switching ...
Looking for active driver ...
No driver found. Either detached before or never attached
-> Run lsusb to note any changes. Bye.
root@OpenWrt:~# usb_modeswitch -v 12d1 -p 1506 -H 1
Looking for default devices ...
Found devices in default mode, class or configuration (1)
Accessing device 005 on bus 001 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using endpoints 0x01 (out) and 0x82 (in)
Using endpoints 0x01 (out) and 0x82 (in)
Not a storage device, skipping SCSI inquiry
USB description data (for identification)
-------------------------
Manufacturer: Huawei Technologies
Product: HUAWEI Mobile
Serial No.: not provided
-------------------------
Sending Huawei control message ...
Error: sending Huawei control message failed (error -32). Aborting.Podejrzewam że trzeba dodać obsługę tego modelu w sterowniku/pliku option, znalazłem coś takiego w necie: http://www.spinics.net/lists/linux-usb/msg46983.html ale jak to ugryźć to już nie wiem.
Pozdrawiam