I successfull installed usb_modeswitch and the data folder.
lsusb output for the device is as follows:
Code: Select all
Bus 001 Device 006: ID 1bbb:0195 T & A Mobile Phones
Code: Select all
[ 801.465835] usb 1-1.5: new high-speed USB device number 5 using ehci-pci
[ 801.560941] usb 1-1.5: New USB device found, idVendor=1bbb, idProduct=f017
[ 801.560944] usb 1-1.5: New USB device strings: Mfr=3, Product=2, SerialNumber=4
[ 801.560946] usb 1-1.5: Product: 3G PlugLink Dongle
[ 801.560948] usb 1-1.5: Manufacturer: USBModem
[ 801.560950] usb 1-1.5: SerialNumber: 1234567890ABCDEF
[ 801.688726] usb-storage 1-1.5:1.0: USB Mass Storage device detected
[ 801.688796] scsi host6: usb-storage 1-1.5:1.0
[ 801.688858] usbcore: registered new interface driver usb-storage
[ 801.722269] usbcore: registered new interface driver uas
[ 802.688655] scsi 6:0:0:0: CD-ROM ONETOUCH QuickStart 2.31 PQ: 0 ANSI: 2
[ 802.690730] sr 6:0:0:0: [sr1] scsi-1 drive
[ 802.690848] sr 6:0:0:0: Attached scsi CD-ROM sr1
[ 802.690903] sr 6:0:0:0: Attached scsi generic sg3 type 5
[ 803.318565] usb 1-1.5: USB disconnect, device number 5
[ 803.516043] usb 1-1.5: new high-speed USB device number 6 using ehci-pci
[ 803.610796] usb 1-1.5: New USB device found, idVendor=1bbb, idProduct=0195
[ 803.610800] usb 1-1.5: New USB device strings: Mfr=3, Product=2, SerialNumber=0
[ 803.610802] usb 1-1.5: Product: 3G PlugLink Dongle
[ 803.610803] usb 1-1.5: Manufacturer: USBModem
[ 803.619632] rndis_host 1-1.5:1.0 eth2: register 'rndis_host' at usb-0000:00:1a.0-1.5, RNDIS device, 00:a0:c6:00:00:00
however, the /va/log/usb_modeswitch.log shows me:
Code: Select all
Code:
USB_ModeSwitch log from Tue Aug 30 13:48:03 2016
Use global config file: /etc/usb_modeswitch.conf
Started via upstart
Raw args from udev: /1-1.5
Bus ID for device not given by udev.
Trying to determine it from kernel name (1-1.5) ...
Use top device dir /sys/bus/usb/devices/1-1.5
USB dir exists: /sys/bus/usb/devices/1-1.5
SCSI dir exists: /sys/bus/usb/devices/1-1.5
Warning: SCSI attribute "vendor" not readable.
Warning: SCSI attribute "model" not readable.
Warning: SCSI attribute "rev" not readable.
Check class of first interface ...
Device is in install mode.
Use interface (null)
----------------
USB values from sysfs:
idVendor 1bbb
idProduct f017
manufacturer USBModem
product 3G PlugLink Dongle
serial 1234567890ABCDEF
bNumConfigurations 1
----------------
bNumConfigurations is 1 - don't check for active configuration
Found packed config collection /usr/share/usb_modeswitch/configPack.tar.gz
Searching entries named: /usr/share/usb_modeswitch/1bbb:f017*
Searching overriding entries named: /etc/usb_modeswitch.d/1bbb:f017*
SCSI attributes not needed, move on.
Use overriden config 1bbb:f017 from collection /etc/usb_modeswitch.d
config: TargetVendor set to 1bbb
config: TargetProduct set to 0017,011e,0203
Driver module is "option", ID path is /sys/bus/usb-serial/drivers/option1
! matched, now switching
Command to be run:
/usr/sbin/usb_modeswitch -W -D -s 20 -c /etc/usb_modeswitch.d/1bbb:f017 -u -1 -v 1bbb -p f017 2>&1
Verbose debug output of usb_modeswitch and libusb follows
(Note that some USB errors are expected in the process)
--------------------------------
Read config file: /etc/usb_modeswitch.d/1bbb:f017
* usb_modeswitch: handle USB devices with multiple modes
* Version 2.1.1 (C) Josua Dietze 2014
* Based on libusb1/libusbx
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x1bbb
DefaultProduct= 0xf017
TargetVendor= 0x1bbb
TargetProductList="0017,011e,0203"
MessageContent="55534243123456788000000080000606f50402527000000000000000000000"
NeedResponse=0
Success check enabled, max. wait time 20 seconds
System integration mode enabled
Look for target devices ...
found USB ID 0424:2660
found USB ID 8087:0024
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 1bbb:f017
vendor ID matched
found USB ID 03f0:0024
found USB ID 8087:0024
found USB ID 1d6b:0002
No devices in target mode or class found
Look for default devices ...
found USB ID 0424:2660
found USB ID 8087:0024
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 1bbb:f017
vendor ID matched
product ID matched
found USB ID 03f0:0024
found USB ID 8087:0024
found USB ID 1d6b:0002
Found devices in default mode (1)
Access device 005 on bus 001
Use interface number 0
Use endpoints 0x01 (out) and 0x81 (in)
USB description data (for identification)
-------------------------
Manufacturer: USBModem
Product: 3G PlugLink Dongle
Serial No.: 1234567890ABCDEF
-------------------------
Looking for active driver ...
OK, driver detached
Set up interface 0
Use endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
OK, message successfully sent
Reset response endpoint 0x81
Reset message endpoint 0x01
Check for mode switch (max. 20 times, once per second) ...
Search for target devices ...
found USB ID 1bbb:0195
vendor ID matched
found USB ID 0424:2660
found USB ID 8087:0024
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 03f0:0024
found USB ID 8087:0024
found USB ID 1d6b:0002
Search for target devices ...
found USB ID 1bbb:0195
vendor ID matched
found USB ID 0424:2660
found USB ID 8087:0024
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 03f0:0024
found USB ID 8087:0024
found USB ID 1d6b:0002
Search for target devices ...
found USB ID 1bbb:0195
vendor ID matched
found USB ID 0424:2660
found USB ID 8087:0024
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 03f0:0024
found USB ID 8087:0024
found USB ID 1d6b:0002
Search for target devices ...
found USB ID 1bbb:0195
vendor ID matched
found USB ID 0424:2660
found USB ID 8087:0024
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 03f0:0024
found USB ID 8087:0024
found USB ID 1d6b:0002
Search for target devices ...
found USB ID 1bbb:0195
vendor ID matched
found USB ID 0424:2660
found USB ID 8087:0024
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 03f0:0024
found USB ID 8087:0024
found USB ID 1d6b:0002
Search for target devices ...
found USB ID 1bbb:0195
vendor ID matched
found USB ID 0424:2660
found USB ID 8087:0024
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 03f0:0024
found USB ID 8087:0024
found USB ID 1d6b:0002
Search for target devices ...
found USB ID 1bbb:0195
vendor ID matched
found USB ID 0424:2660
found USB ID 8087:0024
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 03f0:0024
found USB ID 8087:0024
found USB ID 1d6b:0002
Search for target devices ...
found USB ID 1bbb:0195
vendor ID matched
found USB ID 0424:2660
found USB ID 8087:0024
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 03f0:0024
found USB ID 8087:0024
found USB ID 1d6b:0002
Search for target devices ...
found USB ID 1bbb:0195
vendor ID matched
found USB ID 0424:2660
found USB ID 8087:0024
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 03f0:0024
found USB ID 8087:0024
found USB ID 1d6b:0002
Search for target devices ...
found USB ID 1bbb:0195
vendor ID matched
found USB ID 0424:2660
found USB ID 8087:0024
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 03f0:0024
found USB ID 8087:0024
found USB ID 1d6b:0002
Search for target devices ...
found USB ID 1bbb:0195
vendor ID matched
found USB ID 0424:2660
found USB ID 8087:0024
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 03f0:0024
found USB ID 8087:0024
found USB ID 1d6b:0002
Search for target devices ...
found USB ID 1bbb:0195
vendor ID matched
found USB ID 0424:2660
found USB ID 8087:0024
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 03f0:0024
found USB ID 8087:0024
found USB ID 1d6b:0002
Search for target devices ...
found USB ID 1bbb:0195
vendor ID matched
found USB ID 0424:2660
found USB ID 8087:0024
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 03f0:0024
found USB ID 8087:0024
found USB ID 1d6b:0002
Search for target devices ...
found USB ID 1bbb:0195
vendor ID matched
found USB ID 0424:2660
found USB ID 8087:0024
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 03f0:0024
found USB ID 8087:0024
found USB ID 1d6b:0002
Search for target devices ...
found USB ID 1bbb:0195
vendor ID matched
found USB ID 0424:2660
found USB ID 8087:0024
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 03f0:0024
found USB ID 8087:0024
found USB ID 1d6b:0002
Search for target devices ...
found USB ID 1bbb:0195
vendor ID matched
found USB ID 0424:2660
found USB ID 8087:0024
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 03f0:0024
found USB ID 8087:0024
found USB ID 1d6b:0002
Search for target devices ...
found USB ID 1bbb:0195
vendor ID matched
found USB ID 0424:2660
found USB ID 8087:0024
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 03f0:0024
found USB ID 8087:0024
found USB ID 1d6b:0002
Search for target devices ...
found USB ID 1bbb:0195
vendor ID matched
found USB ID 0424:2660
found USB ID 8087:0024
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 03f0:0024
found USB ID 8087:0024
found USB ID 1d6b:0002
Search for target devices ...
found USB ID 1bbb:0195
vendor ID matched
found USB ID 0424:2660
found USB ID 8087:0024
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 03f0:0024
found USB ID 8087:0024
found USB ID 1d6b:0002
Search for target devices ...
found USB ID 1bbb:0195
vendor ID matched
found USB ID 0424:2660
found USB ID 8087:0024
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 03f0:0024
found USB ID 8087:0024
found USB ID 1d6b:0002
No new devices in target mode or class found
Mode switch has failed. Bye!
fail:
--------------------------------
(end of usb_modeswitch output)
USB dir exists: /sys/bus/usb/devices/1-1.5
Warning: USB attribute "serial" not readable.
All done, exit
Any help appreciated