Package: usb-modeswitch-data
Version: 20100221-1
Severity: important

Reporting this here for the draisberghof bb requires registration. It's just a 
bad thing to have to get registrated with dozens of boards, wikis, trac or 
whatever and keeping track of software. I seek to contribute but not
waste effort and energy in useless regs and get humbled by 1k more of spam
messages.

Having that said, here's the report:

Device:
- Model: MC503HSA
- Type: MF636

After an usb-modeswitch-data update the modem was unusable as 
usb-modeswitch-data matched idVendor=19d2, idProduct=0037 in 
/etc/usb_modeswitch.d/19d2:2000, no ttyUSB? devices being created.

l /dev/ttyU*
ls: impossibile accedere a /dev/ttyU*: No such file or directory


Logging enabled in /lib/udev/usb_modeswitch: /var/log/usb_modeswitch_1-3\:1.0
The log shows a couple of tentatives exposing the problem with the 
/etc/usb_modeswitch.d/19d2:2000 file. 

Once this file was removed the ttyUSB? devices where created again.

Using debian, usb-modeswitch-data:
dpkg -l usb-modeswitch-data
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Nome                        Versione                    Descrizione
+++-===========================-===========================-======================================================================
ii  usb-modeswitch-data         20100221-1                  mode switching data 
for usb-modeswitch

dmesg output:
[686354.596155] usb 1-3: new high speed USB device using ehci_hcd and address 52
[686354.713111] usb 1-3: New USB device found, idVendor=19d2, idProduct=0037
[686354.713120] usb 1-3: New USB device strings: Mfr=3, Product=2, 
SerialNumber=4
[686354.713127] usb 1-3: Product: ONDA WCDMA Technologies MSM
[686354.713132] usb 1-3: Manufacturer: ONDA,Incorporated
[686354.713137] usb 1-3: SerialNumber: P673M2ODCD010000
[686354.715352] option 1-3:1.0: GSM modem (1-port) converter detected
[686354.715583] usb 1-3: GSM modem (1-port) converter now attached to ttyUSB0
[686354.715758] option 1-3:1.1: GSM modem (1-port) converter detected
[686354.715936] usb 1-3: GSM modem (1-port) converter now attached to ttyUSB1
[686354.717048] scsi54 : usb-storage 1-3:1.2
[686354.717509] option 1-3:1.3: GSM modem (1-port) converter detected
[686354.717770] usb 1-3: GSM modem (1-port) converter now attached to ttyUSB2

Content of /var/log/usb_modeswitch_1-3\:1.0 :

USB_ModeSwitch log from Wed Mar 17 01:43:48 CET 2010

raw args from udev: 1-3:1.0/1-3:1.0
USB dir exists: /sys/bus/usb/devices/1-3
----------------
USB values from sysfs:
  manufacturer  ONDA,Incorporated
  product       ONDA WCDMA Technologies MSM
  serial        P673M2ODCD010000
----------------
SCSI attributes not needed, moving on
checking config: /etc/usb_modeswitch.d/19d2:2000:uPr=ZTE_WCDMA
matching usb(product)
  match string: ZTE WCDMA
 device string: ONDA WCDMA Technologies MSM
* no match, not switching with this config
checking config: /etc/usb_modeswitch.d/19d2:2000:uPr=ZTE_CDMA
matching usb(product)
  match string: ZTE CDMA
 device string: ONDA WCDMA Technologies MSM
* no match, not switching with this config
checking config: /etc/usb_modeswitch.d/19d2:2000:uPr=USB_ZTE
matching usb(product)
  match string: USB ZTE
 device string: ONDA WCDMA Technologies MSM
* no match, not switching with this config
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 003
usb_os_find_busses: Found 006
usb_os_find_busses: Found 005
usb_os_find_busses: Found 001
usb_os_find_busses: Found 004
usb_os_find_busses: Found 002
usb_os_find_devices: Found 032 on 003
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 003 on 003
usb_os_find_devices: Found 001 on 003
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 006
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 048 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Couldn't open /dev/bus/usb/002/065
usb_os_find_devices: Found 001 on 002
Reading config file: /etc/usb_modeswitch.d/19d2:2000

 * usb-modeswitch: handle USB devices with multiple modes
 * Version 1.1.0 (C) Josua Dietze 2010
 * Based on libusb 0.1.12

 ! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor=  0x19d2
DefaultProduct= 0x2000
TargetVendor=   0x19d2
TargetProduct=  not set
TargetProductList=0001,0002,0015,0031,0037,0052,0055,0063
TargetClass=    not set

DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
MessageEndpoint= not set
MessageContent="5553424312345678000000000000061b000000030000000000000000000000"
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 0a5c:2110
  searching devices, found USB ID 0483:2016
  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 19d2:2000
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0002
 No devices in target mode or class found
Looking for default devices ...
  searching devices, found USB ID 0a5c:2110
  searching devices, found USB ID 0483:2016
  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 19d2:2000
   found matching vendor ID
   found matching product ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0002
 Found default devices (1)
Accessing device 048 on bus 001 ...

USB description data (for identification)
-------------------------
Manufacturer: ONDA,Incorporated
     Product: ONDA WCDMA Technologies MSM
  Serial No.: P673M2ODCD010000
-------------------------
Looking for active driver ...
 OK, driver found ("usb-storage")
 OK, driver "usb-storage" detached
Setting up communication with interface 0 ...
Trying to send the message 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

USB_ModeSwitch log from Wed Mar 17 01:51:05 CET 2010

raw args from udev: 1-3:1.0/1-3:1.0
USB dir exists: /sys/bus/usb/devices/1-3
----------------
USB values from sysfs:
  manufacturer  ONDA,Incorporated
  product       ONDA WCDMA Technologies MSM
  serial        P673M2ODCD010000
----------------
SCSI attributes not needed, moving on
checking config: /etc/usb_modeswitch.d/19d2:2000:uPr=ZTE_WCDMA
matching usb(product)
  match string: ZTE WCDMA
 device string: ONDA WCDMA Technologies MSM
* no match, not switching with this config
checking config: /etc/usb_modeswitch.d/19d2:2000:uPr=ZTE_CDMA
matching usb(product)
  match string: ZTE CDMA
 device string: ONDA WCDMA Technologies MSM
* no match, not switching with this config
checking config: /etc/usb_modeswitch.d/19d2:2000:uPr=USB_ZTE
matching usb(product)
  match string: USB ZTE
 device string: ONDA WCDMA Technologies MSM
* no match, not switching with this config

All done, exiting

End of Log

l /dev/ttyU*
crw-rw---- 1 root dialout 188, 0 17 mar 01:59 /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 1 17 mar 01:59 /dev/ttyUSB1
crw-rw---- 1 root dialout 188, 2 17 mar 02:01 /dev/ttyUSB2



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.33 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages usb-modeswitch-data depends on:
ii  udev                          151-2      /dev/ and hotplug management daemo

Versions of packages usb-modeswitch-data recommends:
ii  usb-modeswitch                1.1.0-2    mode switching tool for controllin

usb-modeswitch-data suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to