Код: Выделить всё
[ 138.189093] usb 2-4: new high speed USB device using ehci_hcd and address 2
[ 138.306266] usb 2-4: New USB device found, idVendor=12d1, idProduct=1446
[ 138.306277] usb 2-4: New USB device strings: Mfr=3, Product=2, SerialNumber=0
[ 138.306285] usb 2-4: Product: HUAWEI Mobile
[ 138.306290] usb 2-4: Manufacturer: Huawei Technologies
[ 138.353586] scsi6 : usb-storage 2-4:1.0
[ 138.353848] scsi7 : usb-storage 2-4:1.1
[ 139.354525] scsi 6:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
[ 139.355321] scsi 7:0:0:0: Direct-Access HUAWEI TF CARD Storage PQ: 0 ANSI: 2
[ 139.355598] sd 7:0:0:0: Attached scsi generic sg2 type 0
[ 139.359119] sd 7:0:0:0: [sdb] Attached SCSI removable disk
[ 139.360601] sr1: scsi-1 drive
[ 139.360787] sr 6:0:0:0: Attached scsi CD-ROM sr1
[ 139.360886] sr 6:0:0:0: Attached scsi generic sg3 type 5
[ 139.427229] usb 2-4: USB disconnect, address 2
[ 143.442296] usb 2-4: new high speed USB device using ehci_hcd and address 3
[ 143.559638] usb 2-4: New USB device found, idVendor=12d1, idProduct=1506
[ 143.559649] usb 2-4: New USB device strings: Mfr=4, Product=3, SerialNumber=0
[ 143.559657] usb 2-4: Product: HUAWEI Mobile
[ 143.559662] usb 2-4: Manufacturer: Huawei Technologies
[ 143.606887] scsi8 : usb-storage 2-4:1.5
[ 143.607354] scsi9 : usb-storage 2-4:1.6
[ 144.608531] scsi 8:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
[ 144.609403] scsi 9:0:0:0: Direct-Access HUAWEI TF CARD Storage PQ: 0 ANSI: 2
[ 144.609633] sd 9:0:0:0: Attached scsi generic sg2 type 0
[ 144.616016] sd 9:0:0:0: [sdb] Attached SCSI removable disk
[ 144.617405] sr1: scsi-1 drive
[ 144.617524] sr 8:0:0:0: Attached scsi CD-ROM sr1
[ 144.617619] sr 8:0:0:0: Attached scsi generic sg3 type 5
Код: Выделить всё
lsusb
Код: Выделить всё
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 046d:c526 Logitech, Inc. Nano Receiver
Bus 002 Device 015: ID 12d1:1506 Huawei Technologies Co., Ltd.
Bus 004 Device 004: ID 0421:00ab Nokia Mobile Phones E71 (PC Suite mode)
Код: Выделить всё
usb_modeswitch -c /etc/usb_modeswitch.conf
Код: Выделить всё
No default vendor/product ID given. Aborting.
Код: Выделить всё
# Huawei E353
DefaultVendor= 0x12d1
DefaultProduct=0x1506
TargetVendor= 0x12d1
TargetProductList="1001,1406,140b,140c,1412,141b,14ac,1446"
CheckSuccess=20
MessageEndpoint= 0x01
MessageContent="55534243123456780000000000000011062000000100000000000000000000"
Код: Выделить всё
usb_modeswitch -c /etc/usb_modeswitch.conf
Код: Выделить всё
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 015 on bus 002 ...
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
-------------------------
Looking for active driver ...
No driver found. Either detached before or never attached
Setting up communication with interface 0 ...
Using endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
OK, message successfully sent
Resetting response endpoint 0x82
Resetting message endpoint 0x01
Checking for mode switch (max. 20 times, once per second) ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Original device still present after the timeout
Mode switch most likely failed. Bye.
Код: Выделить всё
ACTION!="add", GOTO="option_zerocd_end"
SUBSYSTEM=="usb", ATTR{bDeviceClass}!="ff", ENV{DEVTYPE}=="usb_device", GOTO="option_zerocd_disable"
SUBSYSTEM=="scsi", ENV{DEVTYPE}=="scsi_device", GOTO="option_zerocd_disable"
GOTO="option_zerocd_end"
LABEL="option_zerocd_disable"
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1506", RUN+="modem-modeswitch -v 0x%s{idVendor} -p 0x%s{idProduct} -t option-zerocd"
LABEL="option_zerocd_end"
Ці можна яшчэ што-небудзь зрабіць? Нажаль, пошук у Гугле не дапамог знайсьці нешта спэцыфічнае для гэтай мадэлі мадэма.