(I must have accidentally dropped the bug# from CC, so forwarding)

On 06/15/2011 10:28 PM, Josua Dietze wrote:
> Are you sure the switching itself is not happening? Did you check the
> device ID after booting with the stick?

I have attached a file with the following contents:
  1. output of lsusb when plugged in at boot, then removed, then plugged
     back in, and `diff -U 0`
    a) from boot to removed
    b) from removed to plugged back in
    c) from boot to plugged back in

  2. like 1., but output of usb-devices

  3. dmesg output for the device
    a) when plugged in at boot
    b) when plugged in running system

Doesn't look like it's being switched, but from 1.c it would appear as
if the device first gets misrecognized: as a "E1552 (HSPA modem)" at
boot and "E620 USB Modem" after.

>From my recollection, E620 was also what 1.1.4 (the version without the
booting issues) identified.

HTH,
Christian





1.a
===
--- boot/lsusb  2011-06-18 01:54:35.924408324 +0200
+++ out/lsusb   2011-06-18 01:58:17.828905923 +0200
@@ -10 +9,0 @@
-Bus 001 Device 003: ID 12d1:1446 Huawei Technologies Co., Ltd. E1552 (HSPA 
modem)

1.b
===
--- out/lsusb   2011-06-18 01:58:17.828905923 +0200
+++ up/lsusb    2011-06-18 01:58:43.488407115 +0200
@@ -9,0 +10 @@
+Bus 001 Device 005: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem

1.c
===
--- boot/lsusb  2011-06-18 01:54:35.924408324 +0200
+++ up/lsusb    2011-06-18 01:58:43.488407115 +0200
@@ -10 +10 @@
-Bus 001 Device 003: ID 12d1:1446 Huawei Technologies Co., Ltd. E1552 (HSPA 
modem)
+Bus 001 Device 005: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem



2.a
===
--- boot/usb-devices    2011-06-18 01:54:50.208907421 +0200
+++ out/usb-devices     2011-06-18 01:58:18.156906755 +0200
@@ -20,9 +19,0 @@
-T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#=  3 Spd=480 MxCh= 0
-D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
-P:  Vendor=12d1 ProdID=1446 Rev=00.00
-S:  Manufacturer=HUAWEI Technology
-S:  Product=HUAWEI Mobile
-C:  #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=500mA
-I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
-I:  If#= 1 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
-

2.b
===
--- out/usb-devices     2011-06-18 01:58:18.156906755 +0200
+++ up/usb-devices      2011-06-18 01:58:43.884407772 +0200
@@ -19,0 +20,12 @@
+T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#=  5 Spd=480 MxCh= 0
+D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
+P:  Vendor=12d1 ProdID=1001 Rev=00.00
+S:  Manufacturer=HUAWEI Technology
+S:  Product=HUAWEI Mobile
+C:  #Ifs= 5 Cfg#= 1 Atr=e0 MxPwr=500mA
+I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
+I:  If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
+I:  If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
+I:  If#= 3 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
+I:  If#= 4 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
+

2.c
===
--- boot/usb-devices    2011-06-18 01:54:50.208907421 +0200
+++ up/usb-devices      2011-06-18 01:58:43.884407772 +0200
@@ -20 +20 @@
-T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#=  3 Spd=480 MxCh= 0
+T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#=  5 Spd=480 MxCh= 0
@@ -22 +22 @@
-P:  Vendor=12d1 ProdID=1446 Rev=00.00
+P:  Vendor=12d1 ProdID=1001 Rev=00.00
@@ -25,3 +25,6 @@
-C:  #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=500mA
-I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
-I:  If#= 1 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
+C:  #Ifs= 5 Cfg#= 1 Atr=e0 MxPwr=500mA
+I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
+I:  If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
+I:  If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
+I:  If#= 3 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
+I:  If#= 4 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage



3.a
===
[    6.466312] usb 1-2: New USB device found, idVendor=12d1, idProduct=1446
[    6.466314] usb 1-2: New USB device strings: Mfr=3, Product=2, SerialNumber=0
[    6.466316] usb 1-2: Product: HUAWEI Mobile
[    6.466317] usb 1-2: Manufacturer: HUAWEI Technology
[    6.466380] usb 1-2: configuration #1 chosen from 1 choice
[   11.464551] usb-storage: device scan complete
[   11.465048] scsi 8:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 
PQ: 0 ANSI: 2
[   11.468668] usb-storage: device scan complete
[   11.469547] scsi 9:0:0:0: Direct-Access     HUAWEI   SD Storage       2.31 
PQ: 0 ANSI: 2
[   11.470158] sr1: scsi-1 drive
[   11.470431] sr 8:0:0:0: Attached scsi CD-ROM sr1
[   11.470488] sr 8:0:0:0: Attached scsi generic sg8 type 5
[   11.470850] sd 9:0:0:0: Attached scsi generic sg9 type 0
[   11.473795] sd 9:0:0:0: [sdh] Attached SCSI removable disk

3.b
===
[  283.916011] usb 1-2: new high speed USB device using ehci_hcd and address 4
[  284.050360] usb 1-2: New USB device found, idVendor=12d1, idProduct=1446
[  284.050363] usb 1-2: New USB device strings: Mfr=3, Product=2, SerialNumber=0
[  284.050366] usb 1-2: Product: HUAWEI Mobile
[  284.050367] usb 1-2: Manufacturer: HUAWEI Technology
[  284.050465] usb 1-2: configuration #1 chosen from 1 choice
[  284.052197] scsi10 : SCSI emulation for USB Mass Storage devices
[  284.052272] usb-storage: device found at 4
[  284.052274] usb-storage: waiting for device to settle before scanning
[  284.052357] scsi11 : SCSI emulation for USB Mass Storage devices
[  284.052415] usb-storage: device found at 4
[  284.052417] usb-storage: waiting for device to settle before scanning
[  284.755452] usb 1-2: USB disconnect, address 4
[  288.844014] usb 1-2: new high speed USB device using ehci_hcd and address 5
[  288.979354] usb 1-2: New USB device found, idVendor=12d1, idProduct=1001
[  288.979358] usb 1-2: New USB device strings: Mfr=3, Product=2, SerialNumber=0
[  288.979360] usb 1-2: Product: HUAWEI Mobile
[  288.979362] usb 1-2: Manufacturer: HUAWEI Technology
[  288.979454] usb 1-2: configuration #1 chosen from 1 choice
[  288.982122] scsi15 : SCSI emulation for USB Mass Storage devices
[  288.982191] usb-storage: device found at 5
[  288.982193] usb-storage: waiting for device to settle before scanning
[  288.982496] scsi16 : SCSI emulation for USB Mass Storage devices
[  288.982589] usb-storage: device found at 5
[  288.982591] usb-storage: waiting for device to settle before scanning
[  289.005045] usbcore: registered new interface driver usbserial
[  289.005289] USB Serial support registered for generic
[  289.005558] usbcore: registered new interface driver usbserial_generic
[  289.005560] usbserial: USB Serial Driver core
[  289.010431] USB Serial support registered for GSM modem (1-port)
[  289.010620] option 1-2:1.0: GSM modem (1-port) converter detected
[  289.010741] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB0
[  289.010749] option 1-2:1.1: GSM modem (1-port) converter detected
[  289.010815] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB1
[  289.010824] option 1-2:1.2: GSM modem (1-port) converter detected
[  289.010887] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB2
[  289.010904] usbcore: registered new interface driver option
[  289.010905] option: v0.7.2:USB Driver for GSM modems
[  293.981225] usb-storage: device scan complete
[  293.981853] scsi 15:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 
PQ: 0 ANSI: 2
[  293.982959] usb-storage: device scan complete
[  293.984533] scsi 16:0:0:0: Direct-Access     HUAWEI   SD Storage       2.31 
PQ: 0 ANSI: 2
[  293.988843] sr1: scsi-1 drive
[  293.988968] sr 15:0:0:0: Attached scsi CD-ROM sr1
[  293.989047] sr 15:0:0:0: Attached scsi generic sg8 type 5
[  293.989226] sd 16:0:0:0: Attached scsi generic sg9 type 0
[  293.996588] sd 16:0:0:0: [sdh] Attached SCSI removable disk

Reply via email to