Page 1 of 2

Onda MSA110UP

Posted: 11 Nov 2010, 18:58
by estanis
I work in 3G modem Onda MSA110UP, but I'm having trouble making it work. When you add it in TargetProductList, this is recognized, but I can not make it work, whether in networkmanager in wvdial or kppp.
When you connect your modem, it is identified as 19d2:2000 and is switched to 19d2:0091.
Follow config file adjusted:

Code: Select all

########################################################
# ZTE devices
# Onda MSA110UP

DefaultVendor=  0x19d2
DefaultProduct= 0x2000

TargetVendor=   0x19d2
TargetProductList="0001,0002,0015,0016,0017,0031,0037,0052,0055,0063,0064,0091,0108,0128"

MessageContent="5553424312345678000000000000061e000000000000000000000000000000"
MessageContent2="5553424312345679000000000000061b000000020000000000000000000000"
MessageContent3="55534243123456702000000080000c85010101180101010101000000000000"

NeedResponse=1
CheckSuccess=20

lsusb -v -d 19d2:0091

Code: Select all

Bus 001 Device 009: ID 19d2:0091 ONDA Communication S.p.A. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x19d2 ONDA Communication S.p.A.
  idProduct          0x0091 
  bcdDevice            0.00
  iManufacturer           3 ONDA,Incorporated
  iProduct                2 ONDA WCDMA Technologies MSM
  iSerial                 4 P671A2ODTD010000
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          131
    bNumInterfaces          5
    bConfigurationValue     1
    iConfiguration          1 ONDA Configuration
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval              32
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval              32
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval              32
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval              32
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval              32
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval              32
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        4
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               5
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x86  EP 6 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval              32
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x05  EP 5 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval              32
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)

OK, this output /var/log/message:

Code: Select all

Nov 11 14:47:36  kernel: [ 2866.886274] usb 1-5: new high speed USB device using ehci_hcd and address 10
Nov 11 14:47:36  kernel: [ 2867.002889] usb 1-5: New USB device found, idVendor=19d2, idProduct=2000
Nov 11 14:47:36  kernel: [ 2867.002893] usb 1-5: New USB device strings: Mfr=3, Product=2, SerialNumber=4
Nov 11 14:47:36  kernel: [ 2867.002895] usb 1-5: Product: ONDA WCDMA Technologies MSM
Nov 11 14:47:36  kernel: [ 2867.002897] usb 1-5: Manufacturer: ONDA,Incorporated
Nov 11 14:47:36  kernel: [ 2867.002899] usb 1-5: SerialNumber: P671A2ODTD010000
Nov 11 14:47:36  kernel: [ 2867.005525] scsi15 : usb-storage 1-5:1.0
Nov 11 14:47:36  usb_modeswitch: switching 19d2:2000 (ONDA,Incorporated: ONDA WCDMA Technologies MSM)
Nov 11 14:47:38  kernel: [ 2868.982540] usb 1-5: USB disconnect, address 10
Nov 11 14:47:43  kernel: [ 2873.866153] usb 1-5: new high speed USB device using ehci_hcd and address 11
Nov 11 14:47:43  kernel: [ 2873.983282] usb 1-5: New USB device found, idVendor=19d2, idProduct=0091
Nov 11 14:47:43  kernel: [ 2873.983286] usb 1-5: New USB device strings: Mfr=3, Product=2, SerialNumber=4
Nov 11 14:47:43  kernel: [ 2873.983289] usb 1-5: Product: ONDA WCDMA Technologies MSM
Nov 11 14:47:43  kernel: [ 2873.983291] usb 1-5: Manufacturer: ONDA,Incorporated
Nov 11 14:47:43  kernel: [ 2873.983292] usb 1-5: SerialNumber: P671A2ODTD010000
Nov 11 14:47:43  kernel: [ 2873.987028] option 1-5:1.0: GSM modem (1-port) converter detected
Nov 11 14:47:43  kernel: [ 2873.987125] usb 1-5: GSM modem (1-port) converter now attached to ttyUSB0
Nov 11 14:47:43  kernel: [ 2873.987219] option 1-5:1.1: GSM modem (1-port) converter detected
Nov 11 14:47:43  kernel: [ 2873.987274] usb 1-5: GSM modem (1-port) converter now attached to ttyUSB1
Nov 11 14:47:43  kernel: [ 2873.987349] option 1-5:1.2: GSM modem (1-port) converter detected
Nov 11 14:47:43  kernel: [ 2873.987401] usb 1-5: GSM modem (1-port) converter now attached to ttyUSB2
Nov 11 14:47:43  kernel: [ 2873.987540] scsi16 : usb-storage 1-5:1.3
Nov 11 14:47:43  kernel: [ 2873.987742] option 1-5:1.4: GSM modem (1-port) converter detected
Nov 11 14:47:43  kernel: [ 2873.987856] usb 1-5: GSM modem (1-port) converter now attached to ttyUSB3
Nov 11 14:47:43  usb_modeswitch: switched to 19d2:0091 (ONDA,Incorporated: ONDA WCDMA Technologies MSM)
Nov 11 14:47:43  modem-manager: (ttyUSB1) opening serial device...
Nov 11 14:47:43  modem-manager: (ttyUSB0) opening serial device...
Nov 11 14:47:43  modem-manager: (ttyUSB2) opening serial device...
Nov 11 14:47:43  modem-manager: (ttyUSB3) opening serial device...
Nov 11 14:47:44  kernel: [ 2874.990571] scsi 16:0:0:0: Direct-Access     ONDA     MMC Storage      2.31 PQ: 0 ANSI: 2
Nov 11 14:47:44  kernel: [ 2874.991457] sd 16:0:0:0: Attached scsi generic sg6 type 0
Nov 11 14:47:44  kernel: [ 2875.000524] sd 16:0:0:0: [sdf] Attached SCSI removable disk
Nov 11 14:48:00  modem-manager: (ttyUSB3) closing serial device...
Nov 11 14:48:00  modem-manager: (ZTE): GSM modem /sys/devices/pci0000:00/0000:00:02.1/usb1/1-5 claimed port ttyUSB3
Nov 11 14:48:00  modem-manager: (ttyUSB1) closing serial device...
Nov 11 14:48:00  modem-manager: (ttyUSB1) opening serial device...
Nov 11 14:48:00  modem-manager: (ZTE): GSM modem /sys/devices/pci0000:00/0000:00:02.1/usb1/1-5 claimed port ttyUSB1
Nov 11 14:48:00  modem-manager: (ttyUSB1) closing serial device...
Nov 11 14:48:19  modem-manager: (ttyUSB0) closing serial device...
Nov 11 14:48:19  modem-manager: (ttyUSB0) opening serial device...
Nov 11 14:48:21  modem-manager: (ttyUSB2) closing serial device...
Nov 11 14:48:21  modem-manager: (ttyUSB2) opening serial device...
Nov 11 14:48:22  modem-manager: (ttyUSB0) closing serial device...
Nov 11 14:48:22  modem-manager: (ZTE): GSM modem /sys/devices/pci0000:00/0000:00:02.1/usb1/1-5 claimed port ttyUSB0
Nov 11 14:48:27  modem-manager: (ttyUSB2) closing serial device...
Nov 11 14:48:27  NetworkManager[1069]: <warn> (ttyUSB1): failed to look up interface index
Nov 11 14:48:27  NetworkManager[1069]: <info> (ttyUSB1): new GSM device (driver: 'option1' ifindex: -1)
Nov 11 14:48:27  NetworkManager[1069]: <info> (ttyUSB1): exported as /org/freedesktop/NetworkManager/Devices/5
Nov 11 14:48:27  NetworkManager[1069]: <info> (ttyUSB1): now managed
Nov 11 14:48:27  NetworkManager[1069]: <info> (ttyUSB1): device state change: 1 -> 2 (reason 2)
Nov 11 14:48:27  NetworkManager[1069]: <info> (ttyUSB1): deactivating device (reason: 2).
Nov 11 14:48:27  NetworkManager[1069]: <info> (ttyUSB1): device state change: 2 -> 3 (reason 0)

Above we are already seeing a problem (warn), but okay, go ahead. Right at this moment in networkmanager, I have the modem registered. Below the output of what happens when you try to connect.

Code: Select all

Nov 11 14:53:38  NetworkManager[1069]: <info> Activation (ttyUSB1) starting connection '3G'
Nov 11 14:53:38  NetworkManager[1069]: <info> (ttyUSB1): device state change: 3 -> 4 (reason 0)
Nov 11 14:53:38  NetworkManager[1069]: <info> Activation (ttyUSB1) Stage 1 of 5 (Device Prepare) scheduled...
Nov 11 14:53:38  NetworkManager[1069]: <info> Activation (ttyUSB1) Stage 1 of 5 (Device Prepare) started...
Nov 11 14:53:38  NetworkManager[1069]: <info> (ttyUSB1): device state change: 4 -> 6 (reason 0)
Nov 11 14:53:38  NetworkManager[1069]: <info> Activation (ttyUSB1) Stage 1 of 5 (Device Prepare) complete.
Nov 11 14:53:38  NetworkManager[1069]: <info> Activation (ttyUSB1) Stage 1 of 5 (Device Prepare) scheduled...
Nov 11 14:53:38  NetworkManager[1069]: <info> Activation (ttyUSB1) Stage 1 of 5 (Device Prepare) started...
Nov 11 14:53:38  NetworkManager[1069]: <info> (ttyUSB1): device state change: 6 -> 4 (reason 0)
Nov 11 14:53:38  NetworkManager[1069]: <info> Activation (ttyUSB1) Stage 1 of 5 (Device Prepare) complete.
Nov 11 14:53:38  modem-manager: (ttyUSB1) opening serial device...
Nov 11 14:53:38  modem-manager: Modem /org/freedesktop/ModemManager/Modems/3: state changed (disabled -> enabling)
Nov 11 14:53:38  modem-manager: (ttyUSB3) opening serial device...
Nov 11 14:53:38  modem-manager: Modem /org/freedesktop/ModemManager/Modems/3: state changed (enabling -> enabled)
Nov 11 14:53:38  NetworkManager[1069]: <info> WWAN now enabled by radio killswitch
Nov 11 14:53:38  modem-manager: Modem /org/freedesktop/ModemManager/Modems/3: state changed (enabled -> registered)
Nov 11 14:53:38  modem-manager: Modem /org/freedesktop/ModemManager/Modems/3: state changed (registered -> searching)
Nov 11 14:53:38  modem-manager: Modem /org/freedesktop/ModemManager/Modems/3: state changed (searching -> registered)
Nov 11 14:53:38  modem-manager: Modem /org/freedesktop/ModemManager/Modems/3: state changed (registered -> connecting)
Nov 11 14:53:38  modem-manager: Modem /org/freedesktop/ModemManager/Modems/3: state changed (connecting -> connected)
Nov 11 14:53:38  NetworkManager[1069]: <info> Activation (ttyUSB1) Stage 2 of 5 (Device Configure) scheduled...
Nov 11 14:53:38  NetworkManager[1069]: <info> Activation (ttyUSB1) Stage 2 of 5 (Device Configure) starting...
Nov 11 14:53:38  NetworkManager[1069]: <info> (ttyUSB1): device state change: 4 -> 5 (reason 0)
Nov 11 14:53:38  NetworkManager[1069]: <info> Activation (ttyUSB1) Stage 2 of 5 (Device Configure) successful.
Nov 11 14:53:38  NetworkManager[1069]: <info> Activation (ttyUSB1) Stage 3 of 5 (IP Configure Start) scheduled.
Nov 11 14:53:38  NetworkManager[1069]: <info> Activation (ttyUSB1) Stage 2 of 5 (Device Configure) complete.
Nov 11 14:53:38  NetworkManager[1069]: <info> Activation (ttyUSB1) Stage 3 of 5 (IP Configure Start) started...
Nov 11 14:53:38  NetworkManager[1069]: <info> (ttyUSB1): device state change: 5 -> 7 (reason 0)
Nov 11 14:53:38  NetworkManager[1069]: <info> starting PPP connection
Nov 11 14:53:38  NetworkManager[1069]: <info> pppd started with pid 5286
Nov 11 14:53:38  NetworkManager[1069]: <info> Activation (ttyUSB1) Stage 3 of 5 (IP Configure Start) complete.
Nov 11 14:53:38  pppd[5286]: Plugin /usr/lib/pppd/2.4.5/nm-pppd-plugin.so loaded.
Nov 11 14:53:38  pppd[5286]: pppd 2.4.5 started by root, uid 0
Nov 11 14:53:38  pppd[5286]: Removed stale lock on ttyUSB1 (pid 4663)
Nov 11 14:53:38  pppd[5286]: Using interface ppp0
Nov 11 14:53:38  pppd[5286]: Connect: ppp0 <--> /dev/ttyUSB1
Nov 11 14:53:59  NetworkManager[1069]: <warn> pppd timed out or didn't initialize our dbus module
Nov 11 14:53:59  NetworkManager[1069]: <info> (ttyUSB1): device state change: 7 -> 9 (reason 5)
Nov 11 14:53:59  NetworkManager[1069]: <info> Marking connection '3G' invalid.
Nov 11 14:53:59  NetworkManager[1069]: <warn> Activation (ttyUSB1) failed.
Nov 11 14:53:59  NetworkManager[1069]: <info> (ttyUSB1): device state change: 9 -> 3 (reason 0)
Nov 11 14:53:59  NetworkManager[1069]: <info> (ttyUSB1): deactivating device (reason: 0).
Nov 11 14:53:59  pppd[5286]: Terminating on signal 15
Nov 11 14:53:59  modem-manager: Modem /org/freedesktop/ModemManager/Modems/3: state changed (connected -> disconnecting)
Nov 11 14:53:59  dbus-daemon: [system] Rejected send message, 1 matched rules; type="error", sender=":1.1" (uid=0 pid=1069 comm="NetworkManager) interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply=0 destination=":1.97" (uid=0 pid=5286 comm="/usr/sbin/pppd))
Nov 11 14:54:00  modem-manager: Modem /org/freedesktop/ModemManager/Modems/3: state changed (disconnecting -> registered)
Nov 11 14:54:01  avahi-daemon[1089]: Withdrawing workstation service for ppp0.
Well, also tried to sniff the windows to get to code MessageContent, which tried but none worked. If want, I can post here.
I wait for suggestions to add to the compatibility of this modem.

Thanks,

Posted: 11 Nov 2010, 19:12
by Josh
Well, the switching seems to have worked, and driver binding went well after you added the target ID to the list.

I will add the ID to the next data package release.

The problems with NetworkManager/ModemManager are known, but that is something I can't do anything about. See the main doc page, "How to use".

Also, if you are using wvdial, edit the config file manually, set "/dev/gsmmodem" as the device and add "Stupid Mode = 1".


Posted: 11 Nov 2010, 23:08
by estanis
Josh, the device /dev/gsmmodem is not created. I've had with trying to wvdial option Stupid mode = 1. I'm trying with two machines, one with Fedora 14 and one with Kubuntu 10.10. I also tried using UMTSmon, but without success. The application states that an error occurred in PPPD, but that error? It's hard to debug, you have any suggestions?
The recognition of the device as compatible with ZTE, can not be a problem?

Thanks,

Posted: 12 Nov 2010, 08:38
by Josh
estanis wrote:Josh, the device /dev/gsmmodem is not created.
That is strange. Do you have version 1.1.4 installed, with the latest data package?

Posted: 12 Nov 2010, 12:52
by estanis
[marcelo@marcelo Download]$ usb_modeswitch --version
* usb_modeswitch: handle USB devices with multiple modes
* Version 1.1.4 (C) Josua Dietze 2010
* Based on libusb0 (0.1.12 and above)

! PLEASE REPORT NEW CONFIGURATIONS !

What can I do to help? How can I debug to find the problem? Strengthening I tried both in Fedora 14 and Kubuntu 10.10, distributions that are newly released. Thank you for your attention.

Posted: 12 Nov 2010, 19:41
by Josh
You can indeed try to find the problem:

First, enable logging in /etc/usb_modeswitch.conf. Then, you can use a special version of the wrapper script which tells some more things about the sym-linking process (small files in /var/log, one for each interface). Replace the standard wrapper in /usr/sbin with this (after uncompressing, of course):

http://www.draisberghof.de/usb_modeswit ... patcher.gz

Posted: 14 Nov 2010, 14:21
by estanis
Well, following files output.

Code: Select all

marcelo@hp:/var/log$ sudo cat usb_modeswitch_1-1.1\:1.0 

USB_ModeSwitch log from Sun Nov 14 00:22:39 BRST 2010

Using global config file: /etc/usb_modeswitch.conf
raw args from udev: /1-1.1:1.0
Bus ID for device not given by udev.
 Trying to determine it from kernel name (1-1.1:1.0) ...
USB dir exists: /sys/bus/usb/devices/1-1.1
----------------
USB values from sysfs:
  manufacturer  ONDA,Incorporated
  product       ONDA WCDMA Technologies MSM
  serial        P671A2ODTD010000
----------------
SCSI attributes not needed, moving on
checking config: /etc/usb_modeswitch.d/19d2:2000
! matched, now switching
 (running command: /usr/sbin/usb_modeswitch -I -W -c /etc/usb_modeswitch.d/19d2:2000)

verbose output of usb_modeswitch:
--------------------------------
usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_devices: Found 003 on 002
skipping descriptor 0xB
skipped 1 class/vendor specific endpoint descriptors
skipped 6 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 9 class/vendor specific interface descriptors
usb_os_find_devices: Found 002 on 002
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 015 on 001
usb_os_find_devices: Found 002 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
Reading config file: /etc/usb_modeswitch.d/19d2:2000
Warning: TargetProductList overrides TargetProduct!
 * usb_modeswitch: handle USB devices with multiple modes
 * Version 1.1.4 (C) Josua Dietze 2010
 * Based on libusb0 (0.1.12 and above)

 ! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor=  0x19d2
DefaultProduct= 0x2000
TargetVendor=   0x19d2
TargetProduct=  not set
TargetClass=    not set
TargetProductList="0001,0002,0015,0016,0017,0031,0037,0052,0055,0063,0064,0091,0108,0128"

DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
MessageEndpoint=  not set
MessageContent="5553424312345678000000000000061e000000000000000000000000000000"
MessageContent2="5553424312345679000000000000061b000000020000000000000000000000"
MessageContent3="55534243123456702000000080000c85010101180101010101000000000000"
NeedResponse=1
ResponseEndpoint= not set
Interface=0x00

InquireDevice disabled
Success check enabled, max. wait time 20 seconds
System integration mode enabled


Looking for target devices ...
  searching devices, found USB ID 064e:a127
  searching devices, found USB ID 8087:0020
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 19d2:2000
   found matching vendor ID
  searching devices, found USB ID 8087:0020
  searching devices, found USB ID 1d6b:0002
 No devices in target mode or class found
Looking for default devices ...
  searching devices, found USB ID 064e:a127
  searching devices, found USB ID 8087:0020
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 19d2:2000
   found matching vendor ID
   found matching product ID
   adding device
  searching devices, found USB ID 8087:0020
  searching devices, found USB ID 1d6b:0002
 Found devices in default mode or class (1)
Accessing device 015 on bus 001 ...
Using endpoints 0x01 (out) and 0x81 (in)
Using endpoints 0x01 (out) and 0x81 (in)

USB description data (for identification)
-------------------------
Manufacturer: ONDA,Incorporated
     Product: ONDA WCDMA Technologies MSM
  Serial No.: P671A2ODTD010000
-------------------------
Looking for active driver ...
 OK, driver found ("usb-storage")
 OK, driver "usb-storage" detached
Setting up communication with interface 0 ...
Using endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
 OK, message successfully sent
Reading the response to the message (CSW) ...
 OK, response successfully read (13 bytes).
Trying to send message 2 to endpoint 0x01 ...
 OK, message successfully sent
Reading the response to message 2 ...
 OK, response successfully read (13 bytes).
Trying to send message 3 to endpoint 0x01 ...
USB error: could not claim interface 0: No such device
usb_os_find_devices: Found 003 on 002
skipping descriptor 0xB
skipped 1 class/vendor specific endpoint descriptors
skipped 6 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 9 class/vendor specific interface descriptors
usb_os_find_devices: Found 002 on 002
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 002 on 001
usb_os_find_devices: Found 001 on 001
usb_os_find_devices: Found 003 on 002
skipping descriptor 0xB
skipped 1 class/vendor specific endpoint descriptors
skipped 6 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 9 class/vendor specific interface descriptors
usb_os_find_devices: Found 002 on 002
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 002 on 001
usb_os_find_devices: Found 001 on 001
usb_os_find_devices: Found 003 on 002
skipping descriptor 0xB
skipped 1 class/vendor specific endpoint descriptors
skipped 6 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 9 class/vendor specific interface descriptors
usb_os_find_devices: Found 002 on 002
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 002 on 001
usb_os_find_devices: Found 001 on 001
usb_os_find_devices: Found 003 on 002
skipping descriptor 0xB
skipped 1 class/vendor specific endpoint descriptors
skipped 6 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 9 class/vendor specific interface descriptors
usb_os_find_devices: Found 002 on 002
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 002 on 001
usb_os_find_devices: Found 001 on 001
usb_os_find_devices: Found 003 on 002
skipping descriptor 0xB
skipped 1 class/vendor specific endpoint descriptors
skipped 6 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 9 class/vendor specific interface descriptors
usb_os_find_devices: Found 002 on 002
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 002 on 001
usb_os_find_devices: Found 001 on 001
usb_os_find_devices: Found 003 on 002
skipping descriptor 0xB
skipped 1 class/vendor specific endpoint descriptors
skipped 6 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 9 class/vendor specific interface descriptors
usb_os_find_devices: Found 002 on 002
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 016 on 001
usb_os_find_devices: Found 002 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
 OK, message successfully sent
Reading the response to message 3 ...
 OK, response successfully read (0 bytes).
Resetting response endpoint 0x81
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 ...
 Original device can't be accessed anymore. Good.
 Searching for target devices ...
  searching devices, found USB ID 064e:a127
  searching devices, found USB ID 8087:0020
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 8087:0020
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 064e:a127
  searching devices, found USB ID 8087:0020
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 8087:0020
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 064e:a127
  searching devices, found USB ID 8087:0020
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 8087:0020
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 064e:a127
  searching devices, found USB ID 8087:0020
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 8087:0020
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 064e:a127
  searching devices, found USB ID 8087:0020
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 8087:0020
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 064e:a127
  searching devices, found USB ID 8087:0020
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 19d2:0091
   found matching vendor ID
   found matching product ID from list
  searching devices, found USB ID 8087:0020
  searching devices, found USB ID 1d6b:0002

Found target device 016 on bus 001

Target device description data
-------------------------
Manufacturer: ONDA,Incorporated
     Product: ONDA WCDMA Technologies MSM
  Serial No.: P671A2ODTD010000
-------------------------
 Found correct target device

Mode switch succeeded. Bye.

ok:19d2:0091
--------------------------------
(end of usb_modeswitch output)

Driver module is "option", ID path is /sys/bus/usb-serial/drivers/option1

Now checking for newly created serial devices ...
 new serial devices found, driver has bound
Checking for AVOID_RESET_QUIRK attribute
 AVOID_RESET_QUIRK activated

All done, exiting

Code: Select all

sudo cat usb_modeswitch_-3226848 
USB_ModeSwitch log from Sun Nov 14 00:22:46 BRST 2010
My port is ttyUSB3, my interface is 4

marcelo@hp:/var/log$ sudo cat usb_modeswitch_-3228310 
USB_ModeSwitch log from Sun Nov 14 00:22:46 BRST 2010
My port is ttyUSB2, my interface is 2

marcelo@hp:/var/log$ sudo cat usb_modeswitch_-3232012 
USB_ModeSwitch log from Sun Nov 14 00:22:46 BRST 2010
My port is ttyUSB0, my interface is 0

marcelo@hp:/var/log$ sudo cat usb_modeswitch_-3239514 
USB_ModeSwitch log from Sun Nov 14 00:22:46 BRST 2010
My port is ttyUSB1, my interface is 1

Thanks,

Posted: 14 Nov 2010, 18:38
by Josh
The main log is fine, but there are essential parts missing in the little logs. I suspect there may have been an error.

Would you repeat the "download and replace" procedure, please (same link) ?

I have made some changes to the dispatcher.


Posted: 14 Nov 2010, 22:32
by estanis
Ok, follow:

Code: Select all

[root@marcelo log]# cat usb_modeswitch_4208516752 
USB_ModeSwitch log from Sun Nov 14 18:15:07 BRST 2010

My port is ttyUSB3, my interface is 4
devDir:  /sys/devices/pci0000:00/0000:00:02.1/usb1/1-5
dev_top: 1-5
sysPath: /sys/devices/pci0000:00/0000:00:02.1/usb1/1-5/1-5:1.4/ttyUSB3/tty/ttyUSB3
Checking my endpoints in /sys/devices/pci0000:00/0000:00:02.1/usb1/1-5/1-5:1.4
  in epDir /sys/devices/pci0000:00/0000:00:02.1/usb1/1-5/1-5:1.4/ep_85
found interrupt endpoint /sys/devices/pci0000:00/0000:00:02.1/usb1/1-5/1-5:1.4/ep_85

--> I am an interrupt port

Looking for lower interrupt endpoints
 in ifDir /sys/devices/pci0000:00/0000:00:02.1/usb1/1-5/1-5:1.0
  in epDir /sys/devices/pci0000:00/0000:00:02.1/usb1/1-5/1-5:1.0/ep_81
  in epDir /sys/devices/pci0000:00/0000:00:02.1/usb1/1-5/1-5:1.0/ep_01
 in ifDir /sys/devices/pci0000:00/0000:00:02.1/usb1/1-5/1-5:1.1
  in epDir /sys/devices/pci0000:00/0000:00:02.1/usb1/1-5/1-5:1.1/ep_82
  in epDir /sys/devices/pci0000:00/0000:00:02.1/usb1/1-5/1-5:1.1/ep_02
 in ifDir /sys/devices/pci0000:00/0000:00:02.1/usb1/1-5/1-5:1.2
  in epDir /sys/devices/pci0000:00/0000:00:02.1/usb1/1-5/1-5:1.2/ep_83
  in epDir /sys/devices/pci0000:00/0000:00:02.1/usb1/1-5/1-5:1.2/ep_03
 in ifDir /sys/devices/pci0000:00/0000:00:02.1/usb1/1-5/1-5:1.3
  in epDir /sys/devices/pci0000:00/0000:00:02.1/usb1/1-5/1-5:1.3/ep_04
  in epDir /sys/devices/pci0000:00/0000:00:02.1/usb1/1-5/1-5:1.3/ep_84

--> No interrupt interface below me
Return symlink name "gsmmodem" and exit


[root@marcelo log]# cat usb_modeswitch_4208520418 
USB_ModeSwitch log from Sun Nov 14 18:15:07 BRST 2010

My port is ttyUSB1, my interface is 1
devDir:  /sys/devices/pci0000:00/0000:00:02.1/usb1/1-5
dev_top: 1-5
sysPath: /sys/devices/pci0000:00/0000:00:02.1/usb1/1-5/1-5:1.1/ttyUSB1/tty/ttyUSB1
Checking my endpoints in /sys/devices/pci0000:00/0000:00:02.1/usb1/1-5/1-5:1.1
  in epDir /sys/devices/pci0000:00/0000:00:02.1/usb1/1-5/1-5:1.1/ep_82
  in epDir /sys/devices/pci0000:00/0000:00:02.1/usb1/1-5/1-5:1.1/ep_02

--> I am not an interrupt port
Return empty name and exit



[root@marcelo log]# cat usb_modeswitch_4208523371 
USB_ModeSwitch log from Sun Nov 14 18:15:07 BRST 2010

My port is ttyUSB2, my interface is 2
devDir:  /sys/devices/pci0000:00/0000:00:02.1/usb1/1-5
dev_top: 1-5
sysPath: /sys/devices/pci0000:00/0000:00:02.1/usb1/1-5/1-5:1.2/ttyUSB2/tty/ttyUSB2
Checking my endpoints in /sys/devices/pci0000:00/0000:00:02.1/usb1/1-5/1-5:1.2
  in epDir /sys/devices/pci0000:00/0000:00:02.1/usb1/1-5/1-5:1.2/ep_83
  in epDir /sys/devices/pci0000:00/0000:00:02.1/usb1/1-5/1-5:1.2/ep_03

--> I am not an interrupt port
Return empty name and exit



[root@marcelo log]# cat usb_modeswitch_4208533915 
USB_ModeSwitch log from Sun Nov 14 18:15:07 BRST 2010

My port is ttyUSB0, my interface is 0
devDir:  /sys/devices/pci0000:00/0000:00:02.1/usb1/1-5
dev_top: 1-5
sysPath: /sys/devices/pci0000:00/0000:00:02.1/usb1/1-5/1-5:1.0/ttyUSB0/tty/ttyUSB0
Checking my endpoints in /sys/devices/pci0000:00/0000:00:02.1/usb1/1-5/1-5:1.0
  in epDir /sys/devices/pci0000:00/0000:00:02.1/usb1/1-5/1-5:1.0/ep_81
  in epDir /sys/devices/pci0000:00/0000:00:02.1/usb1/1-5/1-5:1.0/ep_01

--> I am not an interrupt port
Return empty name and exit


Thanks,

Posted: 15 Nov 2010, 08:46
by Josh
Now you are getting the expected output, even if I did not try to fix anything ...

After this run you should have the "gsmmodem" symlink in /dev.

Posted: 15 Nov 2010, 15:09
by estanis
Hello Josh!

Now it worked perfectly, but only by wvdial.
What it indicates is that the connection interface is most often that did the tests is ttyUSB3. NetworkManager insists on trying to make a connection through ttyUSB1.
The worst is that if you try to connect by networkmanager, no longer able to connect via wvdial, you must reconnect the modem and forget about the networkmanager.
If you know a way to force the interface /dev/gsmmodem in networkmanager, please let me know.

At most, follows my wvdial configuration, if it can interest someone with difficulties with this modem:

Code: Select all

[Dialer tim]
Modem = /dev/gsmmodem
Baud = 921600
Username = tim
Password = tim
Phone = *99#
Stupid mode = 1
Init1 = AT+CGDCONT=1,"IP","timbrasil.br"
#Carrier Check = 0
ISDN = 0
Thank you for your attention, we now have over a supported modem!

Posted: 15 Nov 2010, 15:57
by Josh
The problem with NetworkManager is well known; unfortunately, the versions that I tested did not have any way to set the modem port manually ...

The /dev/gsmmodem link is just a little helper to find the correct port if a device provides more than one vendor-specific interface. Only the interface with "interrupt transfer type" is suitable for connection.

Of course you could have looked at "lsusb -v" and noticed that you have to use the highest interface because it has an endpoint with interrupt transfer. But I'm not sure that there is a guarantee that this maps to the highest ttyUSB count.

NetworkManager (or rather modem-manager) seems to have trouble finding the right port if it's something higher than ttyUSB1.


Posted: 20 Nov 2010, 21:55
by galafuz
Hello, I've got this very same 3g modem from TIM and am trying to make it work in Debian Lenny. I've installed usb_modeswitch and it's data package as well as wvdial. I also downloaded and replaced the wraper in /usr/sbin from the link in this thread and changed my wvdial.conf to match estanis' config. However, when I run wvdial it still tells me that it can't find /dev/gsmmodem

Can you guys help me? Did I miss a step somewhere? Any information I can provide to help?

Posted: 21 Nov 2010, 10:35
by Josh
The wrapper that you replaced does not do anything special except logging some extra information. It's important that you have usb_modeswitch version 1.1.4 installed.

Then you switch on logging in "/etc/usb_modeswitch.conf" and you get lots of debug output in /var/log.


Posted: 21 Nov 2010, 22:23
by galafuz
Hell Josh, I've checked and the usb_modeswitch version installed is indeed 1.1.4.

Here's the output of the file usb_modeswitch_5-5:1.0 in /var/log when I plugged the device after switching the logging on:

Code: Select all



USB_ModeSwitch log from Sun Nov 21 14:59:33 BRST 2010

Using global config file: /etc/usb_modeswitch.conf
raw args from udev: 5-5:1.0/5-5:1.0 {}
USB dir exists: /sys/bus/usb/devices/5-5
----------------
USB values from sysfs:
  manufacturer	ONDA,Incorporated
  product	ONDA WCDMA Technologies MSM
  serial	P671A2ODTD010000
----------------
SCSI attributes not needed, moving on
checking config: /etc/usb_modeswitch.d/19d2:2000
! matched, now switching
 (running command: /usr/sbin/usb_modeswitch -I -W -c /etc/usb_modeswitch.d/19d2:2000)

verbose output of usb_modeswitch:
--------------------------------
usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 005
usb_os_find_busses: Found 003
usb_os_find_busses: Found 004
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_devices: Found 005 on 005
usb_os_find_devices: Found 004 on 005
usb_os_find_devices: Found 001 on 005
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 002 on 003
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 003
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
USB error: could not get bound driver: No data available
Reading config file: /etc/usb_modeswitch.d/19d2:2000
Warning: TargetProductList overrides TargetProduct!
 * usb_modeswitch: handle USB devices with multiple modes
 * Version 1.1.4 (C) Josua Dietze 2010
 * Based on libusb0 (0.1.12 and above)

 ! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor=  0x19d2
DefaultProduct= 0x2000
TargetVendor=   0x19d2
TargetProduct=  not set
TargetClass=    not set
TargetProductList="0001,0002,0015,0016,0017,0031,0037,0052,0055,0063,0064,0108,0128"

DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
MessageEndpoint=  not set
MessageContent="5553424312345678000000000000061e000000000000000000000000000000"
MessageContent2="5553424312345679000000000000061b000000020000000000000000000000"
MessageContent3="55534243123456702000000080000c85010101180101010101000000000000"
NeedResponse=1
ResponseEndpoint= not set
Interface=0x00

InquireDevice disabled
Success check enabled, max. wait time 20 seconds
System integration mode enabled


Looking for target devices ...
  searching devices, found USB ID 19d2:2000
   found matching vendor ID
  searching devices, found USB ID 152d:2329
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 062a:0102
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
 No devices in target mode or class found
Looking for default devices ...
  searching devices, found USB ID 19d2:2000
   found matching vendor ID
   found matching product ID
   adding device
  searching devices, found USB ID 152d:2329
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 062a:0102
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
 Found devices in default mode or class (1)
Accessing device 005 on bus 005 ...
Using endpoints 0x01 (out) and 0x81 (in)
Using endpoints 0x01 (out) and 0x81 (in)

USB description data (for identification)
-------------------------
Manufacturer: ONDA,Incorporated
     Product: ONDA WCDMA Technologies MSM
  Serial No.: P671A2ODTD010000
-------------------------
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
Reading the response to the message (CSW) ...
 OK, response successfully read (13 bytes).
Trying to send message 2 to endpoint 0x01 ...
 OK, message successfully sent
Reading the response to message 2 ...
 OK, response successfully read (13 bytes).
Trying to send message 3 to endpoint 0x01 ...
USB error: could not claim interface 0: No such device
usb_os_find_devices: Couldn't open /dev/bus/usb/005/005
usb_os_find_devices: Found 004 on 005
usb_os_find_devices: Found 001 on 005
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 002 on 003
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 003
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
usb_os_find_devices: Found 004 on 005
usb_os_find_devices: Found 001 on 005
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 002 on 003
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 003
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
usb_os_find_devices: Found 004 on 005
usb_os_find_devices: Found 001 on 005
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 002 on 003
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 003
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
usb_os_find_devices: Found 004 on 005
usb_os_find_devices: Found 001 on 005
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 002 on 003
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 003
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
usb_os_find_devices: Found 004 on 005
usb_os_find_devices: Found 001 on 005
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 002 on 003
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 003
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
usb_os_find_devices: Found 006 on 005
usb_os_find_devices: Found 004 on 005
usb_os_find_devices: Found 001 on 005
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 002 on 003
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 003
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
usb_os_find_devices: Found 006 on 005
usb_os_find_devices: Found 004 on 005
usb_os_find_devices: Found 001 on 005
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 002 on 003
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 003
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
usb_os_find_devices: Found 006 on 005
usb_os_find_devices: Found 004 on 005
usb_os_find_devices: Found 001 on 005
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 002 on 003
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 003
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
usb_os_find_devices: Found 006 on 005
usb_os_find_devices: Found 004 on 005
usb_os_find_devices: Found 001 on 005
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 002 on 003
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 003
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
usb_os_find_devices: Found 006 on 005
usb_os_find_devices: Found 004 on 005
usb_os_find_devices: Found 001 on 005
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 002 on 003
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 003
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
 OK, message successfully sent
Reading the response to message 3 ...
 OK, response successfully read (0 bytes).
Resetting response endpoint 0x81
Resetting message endpoint 0x01

Checking for mode switch (max. 20 times, once per second) ...
 Waiting for original device to vanish ...
 Original device can't be accessed anymore. Good.
 Searching for target devices ...
  searching devices, found USB ID 152d:2329
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 062a:0102
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
 Searching for target devices ...
  searching devices, found USB ID 152d:2329
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 062a:0102
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
 Searching for target devices ...
  searching devices, found USB ID 152d:2329
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 062a:0102
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
 Searching for target devices ...
  searching devices, found USB ID 152d:2329
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 062a:0102
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
 Searching for target devices ...
  searching devices, found USB ID 152d:2329
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 062a:0102
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
 Searching for target devices ...
  searching devices, found USB ID 19d2:0091
   found matching vendor ID
  searching devices, found USB ID 152d:2329
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 062a:0102
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
 Searching for target devices ...
  searching devices, found USB ID 19d2:0091
   found matching vendor ID
  searching devices, found USB ID 152d:2329
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 062a:0102
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
 Searching for target devices ...
  searching devices, found USB ID 19d2:0091
   found matching vendor ID
  searching devices, found USB ID 152d:2329
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 062a:0102
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
 Searching for target devices ...
  searching devices, found USB ID 19d2:0091
   found matching vendor ID
  searching devices, found USB ID 152d:2329
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 062a:0102
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
 Searching for target devices ...
  searching devices, found USB ID 19d2:0091
   found matching vendor ID
  searching devices, found USB ID 152d:2329
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 062a:0102
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found usb_os_find_devices: Found 006 on 005
usb_os_find_devices: Found 004 on 005
usb_os_find_devices: Found 001 on 005
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 002 on 003
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 003
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
usb_os_find_devices: Found 006 on 005
usb_os_find_devices: Found 004 on 005
usb_os_find_devices: Found 001 on 005
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 002 on 003
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 003
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
usb_os_find_devices: Found 006 on 005
usb_os_find_devices: Found 004 on 005
usb_os_find_devices: Found 001 on 005
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 002 on 003
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 003
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
usb_os_find_devices: Found 006 on 005
usb_os_find_devices: Found 004 on 005
usb_os_find_devices: Found 001 on 005
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 002 on 003
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 003
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
usb_os_find_devices: Found 006 on 005
usb_os_find_devices: Found 004 on 005
usb_os_find_devices: Found 001 on 005
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 002 on 003
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 003
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
usb_os_find_devices: Found 006 on 005
usb_os_find_devices: Found 004 on 005
usb_os_find_devices: Found 001 on 005
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 002 on 003
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 003
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
usb_os_find_devices: Found 006 on 005
usb_os_find_devices: Found 004 on 005
usb_os_find_devices: Found 001 on 005
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 002 on 003
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 003
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
usb_os_find_devices: Found 006 on 005
usb_os_find_devices: Found 004 on 005
usb_os_find_devices: Found 001 on 005
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 002 on 003
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 003
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
usb_os_find_devices: Found 006 on 005
usb_os_find_devices: Found 004 on 005
usb_os_find_devices: Found 001 on 005
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 002 on 003
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 003
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
usb_os_find_devices: Found 006 on 005
usb_os_find_devices: Found 004 on 005
usb_os_find_devices: Found 001 on 005
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 002 on 003
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 003
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
USB ID 1d6b:0001
 Searching for target devices ...
  searching devices, found USB ID 19d2:0091
   found matching vendor ID
  searching devices, found USB ID 152d:2329
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 062a:0102
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
 Searching for target devices ...
  searching devices, found USB ID 19d2:0091
   found matching vendor ID
  searching devices, found USB ID 152d:2329
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 062a:0102
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
 Searching for target devices ...
  searching devices, found USB ID 19d2:0091
   found matching vendor ID
  searching devices, found USB ID 152d:2329
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 062a:0102
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
 Searching for target devices ...
  searching devices, found USB ID 19d2:0091
   found matching vendor ID
  searching devices, found USB ID 152d:2329
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 062a:0102
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
 Searching for target devices ...
  searching devices, found USB ID 19d2:0091
   found matching vendor ID
  searching devices, found USB ID 152d:2329
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 062a:0102
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
 Searching for target devices ...
  searching devices, found USB ID 19d2:0091
   found matching vendor ID
  searching devices, found USB ID 152d:2329
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 062a:0102
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
 Searching for target devices ...
  searching devices, found USB ID 19d2:0091
   found matching vendor ID
  searching devices, found USB ID 152d:2329
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 062a:0102
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
 Searching for target devices ...
  searching devices, found USB ID 19d2:0091
   found matching vendor ID
  searching devices, found USB ID 152d:2329
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 062a:0102
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
 Searching for target devices ...
  searching devices, found USB ID 19d2:0091
   found matching vendor ID
  searching devices, found USB ID 152d:2329
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 062a:0102
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
 Searching for target devices ...
  searching devices, found USB ID 19d2:0091
   found matching vendor ID
  searching devices, found USB ID 152d:2329
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 062a:0102
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
 No new devices in target mode or class found

Mode switch has failed. Bye.

fail:
--------------------------------
(end of usb_modeswitch output)


All done, exiting
What should I do next?

Thanks for the help