Package: usb-modeswitch
Version: 1.1.2-3
Severity: normal

I have here a Stick with idVendor=19d2, idProduct=2000 and before I had 
installed usb-modeswitch, I had to `eject /dev/sr1` to get into the GSM mode. 
After installing the usb-modeswitch package it is neither in GSM mode nor in 
cdrom mode.

It also didn't help to unload usb-storage and blacklist it.


--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.34-1-amd64

Debian Release: squeeze/sid
  500 unstable        ftp.uni-kl.de 
  500 unstable        ftp.debian.org 
  500 testing         ftp.debian.org 
  500 stable          ftp.debian.org 
    1 experimental    ftp.debian.org 

--- Package information. ---
Depends                     (Version) | Installed
=====================================-+-==============
libc6                        (>= 2.3) | 2.11.1-2
libusb-0.1-4            (>= 2:0.1.12) | 2:0.1.12-15
tcl                                   | 8.4.16-2
 OR tclsh                             | 
usb-modeswitch-data     (>= 20100127) | 20100418-1


Package's Recommends field is empty.

Suggests      (Version) | Installed
=======================-+-===========
comgt                   | 
wvdial                  | 





USB_ModeSwitch log from Tue Jun 08 15:25:05 CEST 2010

Using global config file: /etc/usb_modeswitch.conf
raw args from udev: 1-6:1.0/1-6:1.0
USB dir exists: /sys/bus/usb/devices/1-6
----------------
USB values from sysfs:
  manufacturer  ZTE,Incorporated
  product       ZTE CDMA Technologies MSM
  serial        P673A2VDF_MS
----------------
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
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 002 on 002
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 010 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

 * 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=  0x19d2
DefaultProduct= 0x2000
TargetVendor=   0x19d2
TargetProduct=  not set
TargetProductList=0001,0002,0015,0016,0017,0031,0037,0052,0055,0063
TargetClass=    not set

DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
MessageEndpoint= not set
MessageContent="55534243123456782000000080000c85010101180101010101000000000000"
NeedResponse=0
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 046d:c308
  searching devices, found USB ID 046d:c01e
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 19d2:2000
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
 No devices in target mode or class found
Looking for default devices ...
  searching devices, found USB ID 046d:c308
  searching devices, found USB ID 046d:c01e
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 19d2:2000
   found matching vendor ID
   found matching product ID
   adding device
  searching devices, found USB ID 1d6b:0002
 Found devices in default mode or class (1)
Accessing device 010 on bus 001 ...

USB description data (for identification)
-------------------------
Manufacturer: ZTE,Incorporated
     Product: ZTE CDMA Technologies MSM
  Serial No.: P673A2VDF_MS
-------------------------
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

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.

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


All done, exiting

Reply via email to