| Posts: 6Joined: Thu Aug 25, 2011 1:40 pm
|
Here is the log file. Also another observation about manual execution on modeswitch.
DisableSwitching=1 and sudo usb_modeswitch -c 1e0e:f000 make the switch happen instantly,
but sadly Network Manager does not detect any modem. AFAIK this is some kind of timing issue.
Thanks for the help so far.
USB_ModeSwitch log from Thu Aug 25 14:27:11 EEST 2011
raw args from udev: /1-2:1.0
Using global config file: /etc/usb_modeswitch.conf Bus ID for device not given by udev. Trying to determine it from kernel name (1-2:1.0) ... USB dir exists: /sys/bus/usb/devices/1-2 Warning: USB attribute "serial" not found. ---------------- USB values from sysfs: manufacturer A-Link product A-Link serial ---------------- Found packed config collection /usr/share/usb_modeswitch/configPack.tar.gz Searching overriding entries named: /etc/usb_modeswitch.d/1e0e:f000* SCSI attributes not needed, moving on checking config: 1e0e:f000 Extracting config 1e0e:f000 from collection /usr/share/usb_modeswitch/configPack.tar.gz ! matched, now switching (running command: /usr/sbin/usb_modeswitch -I -W -c /var/lib/usb_modeswitch/current_cfg)
Verbose debug output of usb_modeswitch and libusb follows (Note that some USB errors are expected in the process) -------------------------------- usb_set_debug: Setting debugging level to 15 (on) usb_os_find_busses: Found 005 usb_os_find_busses: Found 004 usb_os_find_busses: Found 003 usb_os_find_busses: Found 002 usb_os_find_busses: Found 001 usb_os_find_devices: Found 002 on 005 usb_os_find_devices: Found 001 on 005 error obtaining child information: Inappropriate ioctl for device usb_os_find_devices: Found 001 on 004 usb_os_find_devices: Found 001 on 003 usb_os_find_devices: Found 003 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 usb_os_find_devices: Found 051 on 001 usb_os_find_devices: Found 001 on 001 error obtaining child information: Inappropriate ioctl for device
Reading config file: /var/lib/usb_modeswitch/current_cfg
* usb_modeswitch: handle USB devices with multiple modes * Version 1.1.6 (C) Josua Dietze 2010 * Based on libusb0 (0.1.12 and above)
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x1e0e DefaultProduct= 0xf000 TargetVendor= 0x1e0e TargetProduct= not set TargetClass= not set TargetProductList="9200,9000"
DetachStorageOnly=0 HuaweiMode=0 SierraMode=0 SonyMode=0 GCTMode=0 KobilMode=0 MessageEndpoint= not set MessageContent="555342431234567800000000000006bd000000020000000000000000000000" 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 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 062a:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1e0e:f000 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 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 062a:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1e0e:f000 found matching vendor ID found matching product ID adding device searching devices, found USB ID 1d6b:0002 Found devices in default mode, class or configuration (1) Accessing device 051 on bus 001 ... Getting the current device configuration ... OK, got current device configuration (1) Using endpoints 0x01 (out) and 0x81 (in) Using endpoints 0x01 (out) and 0x81 (in)
USB description data (for identification) ------------------------- Manufacturer: A-Link Product: A-Link Serial No.: not provided ------------------------- 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 ... USB error: could not release intf 0: No such device usb_os_find_busses: Found 005 usb_os_find_busses: Found 004 usb_os_find_busses: Found 003 usb_os_find_busses: Found 002 usb_os_find_busses: Found 001 usb_os_find_devices: Found 002 on 005 usb_os_find_devices: Found 001 on 005 error obtaining child information: Inappropriate ioctl for device usb_os_find_devices: Found 001 on 004 usb_os_find_devices: Found 001 on 003 usb_os_find_devices: Found 003 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 usb_os_find_devices: Found 001 on 001 usb_os_find_busses: Found 005 usb_os_find_busses: Found 004 usb_os_find_busses: Found 003 usb_os_find_busses: Found 002 usb_os_find_busses: Found 001 usb_os_find_devices: Found 002 on 005 usb_os_find_devices: Found 001 on 005 error obtaining child information: Inappropriate ioctl for device usb_os_find_devices: Found 001 on 004 usb_os_find_devices: Found 001 on 003 usb_os_find_devices: Found 003 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 usb_os_find_devices: Found 001 on 001 usb_os_find_busses: Found 005 usb_os_find_busses: Found 004 usb_os_find_busses: Found 003 usb_os_find_busses: Found 002 usb_os_find_busses: Found 001 usb_os_find_devices: Found 002 on 005 usb_os_find_devices: Found 001 on 005 error obtaining child information: Inappropriate ioctl for device usb_os_find_devices: Found 001 on 004 usb_os_find_devices: Found 001 on 003 usb_os_find_devices: Found 003 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 usb_os_find_devices: Found 001 on 001 usb_os_find_busses: Found 005 usb_os_find_busses: Found 004 usb_os_find_busses: Found 003 usb_os_find_busses: Found 002 usb_os_find_busses: Found 001 usb_os_find_devices: Found 002 on 005 usb_os_find_devices: Found 001 on 005 error obtaining child information: Inappropriate ioctl for device usb_os_find_devices: Found 001 on 004 usb_os_find_devices: Found 001 on 003 usb_os_find_devices: Found 003 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 usb_os_find_devices: Found 001 on 001 usb_os_find_busses: Found 005 usb_os_find_busses: Found 004 usb_os_find_busses: Found 003 usb_os_find_busses: Found 002 usb_os_find_busses: Found 001 usb_os_find_devices: Found 002 on 005 usb_os_find_devices: Found 001 on 005 error obtaining child information: Inappropriate ioctl for device usb_os_find_devices: Found 001 on 004 usb_os_find_devices: Found 001 on 003 usb_os_find_devices: Found 003 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 usb_os_find_devices: Found 001 on 001 usb_os_find_busses: Found 005 usb_os_find_busses: Found 004 usb_os_find_busses: Found 003 usb_os_find_busses: Found 002 usb_os_find_busses: Found 001 usb_os_find_devices: Found 002 on 005 usb_os_find_devices: Found 001 on 005 error obtaining child information: Inappropriate ioctl for device usb_os_find_devices: Found 001 on 004 usb_os_find_devices: Found 001 on 003 usb_os_find_devices: Found 003 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 usb_os_find_devices: Found 001 on 001 usb_os_find_busses: Found 005 usb_os_find_busses: Found 004 usb_os_find_busses: Found 003 usb_os_find_busses: Found 002 usb_os_find_busses: Found 001 usb_os_find_devices: Found 002 on 005 usb_os_find_devices: Found 001 on 005 error obtaining child information: Inappropriate ioctl for device usb_os_find_devices: Found 001 on 004 usb_os_find_devices: Found 001 on 003 usb_os_find_devices: Found 003 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 usb_os_find_devices: Found 001 on 001 usb_os_find_busses: Found 005 usb_os_find_busses: Found 004 usb_os_find_busses: Found 003 usb_os_find_busses: Found 002 usb_os_find_busses: Found 001 usb_os_find_devices: Found 002 on 005 usb_os_find_devices: Found 001 on 005 error obtaining child information: Inappropriate ioctl for device usb_os_find_devices: Found 001 on 004 usb_os_find_devices: Found 001 on 003 usb_os_find_devices: Found 003 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 usb_os_find_devices: Found 001 on 001 usb_os_find_busses: Found 005 usb_os_find_busses: Found 004 usb_os_find_busses: Found 003 usb_os_find_busses: Found 002 usb_os_find_busses: Found 001 usb_os_find_devices: Found 002 on 005 usb_os_find_devices: Found 001 on 005 error obtaining child information: Inappropriate ioctl for device usb_os_find_devices: Found 001 on 004 usb_os_find_devices: Found 001 on 003 usb_os_find_devices: Found 003 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 usb_os_find_devices: Found 001 on 001 usb_os_find_busses: Found 005 usb_os_find_busses: Found 004 usb_os_find_busses: Found 003 usb_os_find_busses: Found 002 usb_os_find_busses: Found 001 usb_os_find_devices: Found 002 on 005 usb_os_find_devices: Found 001 on 005 error obtaining child information: Inappropriate ioctl for device usb_os_find_devices: Found 001 on 004 usb_os_find_devices: Found 001 on 003 usb_os_find_devices: Found 003 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 usb_os_find_devices: Found 001 on 001 usb_os_find_busses: Found 005 usb_os_find_busses: Found 004 usb_os_find_busses: Found 003 usb_os_find_busses: Found 002 usb_os_find_busses: Found 001 usb_os_find_devices: Found 002 on 005 usb_os_find_devices: Found 001 on 005 error obtaining child information: Inappropriate ioctl for device usb_os_find_devices: Found 001 on 004 usb_os_find_devices: Found 001 on 003 usb_os_find_devices: Found 003 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 usb_os_find_devices: Found 001 on 001 usb_os_find_busses: Found 005 usb_os_find_busses: Found 004 usb_os_find_busses: Found 003 usb_os_find_busses: Found 002 usb_os_find_busses: Found 001 usb_os_find_devices: Found 002 on 005 usb_os_find_devices: Found 001 on 005 error obtaining child information: Inappropriate ioctl for device usb_os_find_devices: Found 001 on 004 usb_os_find_devices: Found 001 on 003 usb_os_find_devices: Found 003 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 usb_os_find_devices: Found 001 on 001 OK, message successfully sent Reading the response to the message (CSW) ... OK, response successfully read (13 bytes). Resetting response endpoint 0x81 Resetting message endpoint 0x01 Device is gone, skipping any further commands
Checking for mode switch (max. 20 times, once per second) ... Searching for target devices ... 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 062a:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0002 Searching for target devices ... 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 062a:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0002 Searching for target devices ... 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 062a:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0002 Searching for target devices ... 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 062a:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0002 Searching for target devices ... 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 062a:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0002 Searching for target devices ... 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 062a:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0002 Searching for target devices ... 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 062a:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0002 Searching for target devices ... 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 062a:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0002 Searching for target devices ... 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 062a:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0002 Searching for target devices ... 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 062a:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0002 Searching for target devices ... 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 062a:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0002 Searching for target devices ... seusb_os_find_busses: Found 005 usb_os_find_busses: Found 004 usb_os_find_busses: Found 003 usb_os_find_busses: Found 002 usb_os_find_busses: Found 001 usb_os_find_devices: Found 002 on 005 usb_os_find_devices: Found 001 on 005 error obtaining child information: Inappropriate ioctl for device usb_os_find_devices: Found 001 on 004 usb_os_find_devices: Found 001 on 003 usb_os_find_devices: Found 003 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 usb_os_find_devices: Found 001 on 001 usb_os_find_busses: Found 005 usb_os_find_busses: Found 004 usb_os_find_busses: Found 003 usb_os_find_busses: Found 002 usb_os_find_busses: Found 001 usb_os_find_devices: Found 002 on 005 usb_os_find_devices: Found 001 on 005 error obtaining child information: Inappropriate ioctl for device usb_os_find_devices: Found 001 on 004 usb_os_find_devices: Found 001 on 003 usb_os_find_devices: Found 003 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 usb_os_find_devices: Found 001 on 001 usb_os_find_busses: Found 005 usb_os_find_busses: Found 004 usb_os_find_busses: Found 003 usb_os_find_busses: Found 002 usb_os_find_busses: Found 001 usb_os_find_devices: Found 002 on 005 usb_os_find_devices: Found 001 on 005 error obtaining child information: Inappropriate ioctl for device usb_os_find_devices: Found 001 on 004 usb_os_find_devices: Found 001 on 003 usb_os_find_devices: Found 003 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 usb_os_find_devices: Found 001 on 001 usb_os_find_busses: Found 005 usb_os_find_busses: Found 004 usb_os_find_busses: Found 003 usb_os_find_busses: Found 002 usb_os_find_busses: Found 001 usb_os_find_devices: Found 002 on 005 usb_os_find_devices: Found 001 on 005 error obtaining child information: Inappropriate ioctl for device usb_os_find_devices: Found 001 on 004 usb_os_find_devices: Found 001 on 003 usb_os_find_devices: Found 003 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 usb_os_find_devices: Found 001 on 001 usb_os_find_busses: Found 005 usb_os_find_busses: Found 004 usb_os_find_busses: Found 003 usb_os_find_busses: Found 002 usb_os_find_busses: Found 001 usb_os_find_devices: Found 002 on 005 usb_os_find_devices: Found 001 on 005 error obtaining child information: Inappropriate ioctl for device usb_os_find_devices: Found 001 on 004 usb_os_find_devices: Found 001 on 003 usb_os_find_devices: Found 003 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 usb_os_find_devices: Found 001 on 001 usb_os_find_busses: Found 005 usb_os_find_busses: Found 004 usb_os_find_busses: Found 003 usb_os_find_busses: Found 002 usb_os_find_busses: Found 001 usb_os_find_devices: Found 002 on 005 usb_os_find_devices: Found 001 on 005 error obtaining child information: Inappropriate ioctl for device usb_os_find_devices: Found 001 on 004 usb_os_find_devices: Found 001 on 003 usb_os_find_devices: Found 003 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 usb_os_find_devices: Found 001 on 001 usb_os_find_busses: Found 005 usb_os_find_busses: Found 004 usb_os_find_busses: Found 003 usb_os_find_busses: Found 002 usb_os_find_busses: Found 001 usb_os_find_devices: Found 002 on 005 usb_os_find_devices: Found 001 on 005 error obtaining child information: Inappropriate ioctl for device usb_os_find_devices: Found 001 on 004 usb_os_find_devices: Found 001 on 003 usb_os_find_devices: Found 003 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 usb_os_find_devices: Found 001 on 001 usb_os_find_busses: Found 005 usb_os_find_busses: Found 004 usb_os_find_busses: Found 003 usb_os_find_busses: Found 002 usb_os_find_busses: Found 001 usb_os_find_devices: Found 002 on 005 usb_os_find_devices: Found 001 on 005 error obtaining child information: Inappropriate ioctl for device usb_os_find_devices: Found 001 on 004 usb_os_find_devices: Found 001 on 003 usb_os_find_devices: Found 003 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 usb_os_find_devices: Found 001 on 001 arching 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 062a:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0002 Searching for target devices ... 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 062a:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0002 Searching for target devices ... 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 062a:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0002 Searching for target devices ... 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 062a:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0002 Searching for target devices ... 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 062a:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0002 Searching for target devices ... 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 062a:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0002 Searching for target devices ... 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 062a:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0002 Searching for target devices ... 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 062a:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0002 Searching for target devices ... 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 062a:0001 searching devices, found USB ID 1d6b:0001 searching devices, 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)
Device directory in sysfs is gone! Something went wrong, aborting
|