1. usb-modeswitch-1.1.4
2. usb-modeswitch-data
Подключаю модем:
- Код: выделить все
[root@mail etc]# lsusb
Bus 007 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 006: ID 12d1:1446 Huawei Technologies Co., Ltd. E1552 (HSPA modem)
Bus 004 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 006 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 008 Device 001: ID 0000:0000
[root@mail etc]#
Переключаю:
- Код: выделить все
[root@mail etc]# /usr/sbin/usb_modeswitch -I -W -D -v 12d1 -p 1446
Taking all parameters from the command line
* usb-modeswitch: handle USB devices with multiple modes
* Version 1.1.2alpha (C) Josua Dietze 2010
* Based on libusb0 (0.1.12 and above)
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x12d1
DefaultProduct= 0x1446
TargetVendor= not set
TargetProduct= not set
TargetClass= not set
DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
MessageEndpoint= not set
MessageContent= not set
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00
InquireDevice disabled
Success check disabled
System integration mode enabled
usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 007
usb_os_find_busses: Found 003
usb_os_find_busses: Found 005
usb_os_find_busses: Found 004
usb_os_find_busses: Found 001
usb_os_find_busses: Found 006
usb_os_find_busses: Found 002
usb_os_find_busses: Found 008
usb_os_find_devices: Found 001 on 007
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 006 on 004
usb_os_find_devices: Found 001 on 004
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 001
usb_os_find_devices: Found 001 on 006
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 008
Looking for default devices ...
searching devices, found USB ID 0000:0000
searching devices, found USB ID 0000:0000
searching devices, found USB ID 0000:0000
searching devices, found USB ID 12d1:1446
found matching vendor ID
found matching product ID
adding device
searching devices, found USB ID 0000:0000
searching devices, found USB ID 0000:0000
searching devices, found USB ID 0000:0000
searching devices, found USB ID 0000:0000
searching devices, found USB ID 0000:0000
Found devices in default mode or class (1)
Accessing device 006 on bus 004 ...
USB description data (for identification)
-------------------------
Manufacturer: HUAWEI Technology
Product: HUAWEI Mobile
Serial No.: not provided
-------------------------
Warning: no switching method given.
-> Run lsusb to note any changes. Bye.
[root@mail etc]#
в чем может быть проблема?