I'm writing this post to put all infos gathered so far about trying to switch the AnyDATA to work as a modem on Debian unstable. I'm using the following software:
kernel: 2.6.31
udev: 146-6
usb_modeswitch: 1.0.5-1
I disabled all udev magic which tries to switch the device, it didn't work. Here is what I get in the logs when plugging the device:
Nov 8 10:52:05 think kernel: [ 7762.980127] usb 5-2: new full speed USB device using uhci_hcd and address 18
Nov 8 10:52:06 think kernel: [ 7763.140213] usb 5-2: New USB device found, idVendor=05c6, idProduct=1000
Nov 8 10:52:06 think kernel: [ 7763.140223] usb 5-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Nov 8 10:52:06 think kernel: [ 7763.140230] usb 5-2: Product: USB MMC Storage
Nov 8 10:52:06 think kernel: [ 7763.140235] usb 5-2: Manufacturer: AnyDATA Corporation
Nov 8 10:52:06 think kernel: [ 7763.140241] usb 5-2: SerialNumber: 000000000002
Nov 8 10:52:06 think kernel: [ 7763.140478] usb 5-2: configuration #1 chosen from 1 choice
Nov 8 10:52:06 think kernel: [ 7763.147283] scsi21 : SCSI emulation for USB Mass Storage devices
Trying to switch the device:
Reading config file: /etc/usb_modeswitch.conf
* usb_modeswitch: handle USB devices with multiple modes
* Version 1.0.5 (C) Josua Dietze 2009
* Based on libusb 0.1.12
DefaultVendor= 0x05c6
DefaultProduct= 0x1000
TargetVendor= 0x16d5
TargetProduct= 0x6502
TargetClass= not set
DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
MessageEndpoint= not set
MessageContent="5553424312345678000000000000061b000000020000000000000000000000"
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00
InquireDevice enabled (default)
Success check disabled
usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 003
usb_os_find_busses: Found 005
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_busses: Found 004
usb_os_find_busses: Found 007
usb_os_find_busses: Found 006
usb_os_find_devices: Found 004 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 019 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 002
skipping descriptor 0xB
skipped 1 class/vendor specific endpoint descriptors
skipped 5 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 001 on 002
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 001
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 007
usb_os_find_devices: Found 001 on 006
Looking for target devices ...
No devices in target mode or class found
Looking for default devices ...
Found default devices (1)
Accessing device 019 on bus 005 ...
Using endpoints 0x08 (out) and 0x87 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
USB error: could not get bound driver: No data available
No driver found. Either detached before or never attached
Received inquiry data (detailed identification)
-------------------------
Vendor String:
Model String: @Ùkÿÿ
Revision String:
-------------------------
USB error: error sending control message: Connection timed out
Error: could not get description string "manufacturer"
USB error: error sending control message: Connection timed out
Error: could not get description string "product"
USB error: error sending control message: Connection timed out
Error: could not get description string "serial number"
Device description data (identification)
-------------------------
Manufacturer:
Product:
Serial No.:
-------------------------
Setting up communication with interface 0 ...
USB error: could not clear/halt ep 8: Connection timed out
Trying to send the message to endpoint 0x08 ...
OK, message successfully sent
USB error: could not clear/halt ep 8: Connection timed out
Device is gone, skipping any further commands
Run lsusb to note any changes. Bye.
and in the logs I get:
Nov 8 10:54:31 think usb_modeswitch: switching 05c6:1000 (: )
Nov 8 10:54:31 think kernel: [ 7908.385828] usb 5-2: usbfs: process 12614 (usb_modeswitch) did not claim interface 0 before use
Any more infos needed?