В Sun, 21 Feb 2010 11:16:33 +0100 Josua Dietze <digidietze@xxxxxxxxxxxxxxx> пишет: > Oliver Neukum schrieb: > > > If I had to guess I'd say this device requires two commands. > > One to select the mode, the other to reset and switch. You are > > emitting only the second. > > I just had a report of a Huawei phone which was switched by the exact > same command. No other command was necessary to make it work with > Linux. > > My guess is that there might be annother quirk, causing the device to > reset again. What does "dmesg" say after the switching attempt? With usb_storage module loaded: [ 6487.996292] usb 2-2: new high speed USB device using ehci_hcd and address 4 [ 6488.129132] usb 2-2: config 1 interface 0 altsetting 0 bulk endpoint 0x81 has invalid maxpacket 64 [ 6488.129143] usb 2-2: config 1 interface 0 altsetting 0 bulk endpoint 0x1 has invalid maxpacket 64 [ 6488.130368] usb 2-2: New USB device found, idVendor=12d1, idProduct=3808 [ 6488.130378] usb 2-2: New USB device strings: Mfr=1, Product=3, SerialNumber=2 [ 6488.130385] usb 2-2: Product: EchoLife BM325 WiMAX USB Modem [ 6488.130391] usb 2-2: Manufacturer: HUAWEI Communications [ 6488.130396] usb 2-2: SerialNumber: 1.0.0 [ 6488.130610] usb 2-2: configuration #1 chosen from 1 choice [ 6488.131127] scsi7 : SCSI emulation for USB Mass Storage devices [ 6488.131504] usb-storage: device found at 4 [ 6488.131509] usb-storage: waiting for device to settle before scanning [ 6488.978166] usb 2-2: USB disconnect, address 4 [ 6502.444174] usb 2-2: new high speed USB device using ehci_hcd and address 5 [ 6502.577134] usb 2-2: config 1 interface 0 altsetting 0 bulk endpoint 0x81 has invalid maxpacket 64 [ 6502.577146] usb 2-2: config 1 interface 0 altsetting 0 bulk endpoint 0x1 has invalid maxpacket 64 [ 6502.578369] usb 2-2: New USB device found, idVendor=12d1, idProduct=3808 [ 6502.578380] usb 2-2: New USB device strings: Mfr=1, Product=3, SerialNumber=2 [ 6502.578387] usb 2-2: Product: EchoLife BM325 WiMAX USB Modem [ 6502.578392] usb 2-2: Manufacturer: HUAWEI Communications [ 6502.578397] usb 2-2: SerialNumber: 1.0.0 [ 6502.578612] usb 2-2: configuration #1 chosen from 1 choice [ 6502.579112] scsi8 : SCSI emulation for USB Mass Storage devices [ 6502.579477] usb-storage: device found at 5 [ 6502.579481] usb-storage: waiting for device to settle before scanning ... With usb_storage unloaded and blacklisted: [ 6987.528242] usb 2-2: new high speed USB device using ehci_hcd and address 16 [ 6987.661038] usb 2-2: config 1 interface 0 altsetting 0 bulk endpoint 0x81 has invalid maxpacket 64 [ 6987.661050] usb 2-2: config 1 interface 0 altsetting 0 bulk endpoint 0x1 has invalid maxpacket 64 [ 6987.662308] usb 2-2: New USB device found, idVendor=12d1, idProduct=3808 [ 6987.662319] usb 2-2: New USB device strings: Mfr=1, Product=3, SerialNumber=2 [ 6987.662326] usb 2-2: Product: EchoLife BM325 WiMAX USB Modem [ 6987.662332] usb 2-2: Manufacturer: HUAWEI Communications [ 6987.662337] usb 2-2: SerialNumber: 1.0.0 [ 6987.662556] usb 2-2: configuration #1 chosen from 1 choice [ 6988.481480] usb 2-2: USB disconnect, address 16 [ 7001.944297] usb 2-2: new high speed USB device using ehci_hcd and address 17 [ 7002.077112] usb 2-2: config 1 interface 0 altsetting 0 bulk endpoint 0x81 has invalid maxpacket 64 [ 7002.077123] usb 2-2: config 1 interface 0 altsetting 0 bulk endpoint 0x1 has invalid maxpacket 64 [ 7002.077754] usb 2-2: New USB device found, idVendor=12d1, idProduct=3808 [ 7002.077761] usb 2-2: New USB device strings: Mfr=1, Product=3, SerialNumber=2 [ 7002.077768] usb 2-2: Product: EchoLife BM325 WiMAX USB Modem [ 7002.077773] usb 2-2: Manufacturer: HUAWEI Communications [ 7002.077778] usb 2-2: SerialNumber: 1.0.0 [ 7002.077984] usb 2-2: configuration #1 chosen from 1 choice ... And it always shows up as 12d1:3808 mass storage. -- Alexander
Attachment:
signature.asc
Description: PGP signature