Author Message

<  Device Information  ~  ADU-500A - Ubuntu 9.10

AliEX
Posted: Mon Nov 02, 2009 9:31 pm Reply with quote
Joined: 31 Oct 2009 Posts: 3
usb_modeswitch not work in Ubuntu 9.10
My modem AnyData ADU-500A. I use Ubuntu 9.10 (kernel v. - 2.6.31-14-generic) and usb_modeswitch 1.0.5.
Quote:

########################################################
# AnyDATA ADU-500A, ADU-510A, ADU-510L, ADU-520A

DefaultVendor= 0x05c6
DefaultProduct= 0x1000

TargetVendor= 0x16d5
TargetProduct= 0x6502

MessageContent="5553424312345678000000000000061b000000020000000000000000000000"
########################################################


Here my outputs...
lsusb
Quote:

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 004: ID 05c6:1000 Qualcomm, Inc.
Bus 005 Device 003: ID 04b4:0033 Cypress Semiconductor Corp.
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


lsusb -v
Quote:

Bus 005 Device 004: ID 05c6:1000 Qualcomm, Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x05c6 Qualcomm, Inc.
idProduct 0x1000
bcdDevice 0.00
iManufacturer 1
iProduct 2
iSerial 3
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk (Zip)
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x87 EP 7 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x08 EP 8 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0


result of running usb_modeswitch...

Quote:

Looking for target devices ...
No devices in target mode or class found
Looking for default devices ...
Found default devices (1)
Accessing device 006 on bus 005 ...
Using endpoints 0x08 (out) and 0x87 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
No driver found. Either detached before or never attached

Received inquiry data (detailed identification)
-------------------------
Vendor String: H�N�
Model String: ýdi
Revision String: al.s
-------------------------
Error: could not get description string "manufacturer"
Error: could not get description string "product"
Error: could not get description string "serial number"

Device description data (identification)
-------------------------
Manufacturer:
Product:
Serial No.:
-------------------------
Setting up communication with interface 0 ...
Trying to send the message to endpoint 0x08 ...
OK, message successfully sent
Device is gone, skipping any further commands
Resetting usb device Segmentation fault


dmesg
Quote:

[ 1283.808016] usb 5-1: new full speed USB device using uhci_hcd and address 6
[ 1283.969257] usb 5-1: configuration #1 chosen from 1 choice
[ 1283.977159] scsi8 : SCSI emulation for USB Mass Storage devices
[ 1283.977351] usb-storage: device found at 6
[ 1283.977355] usb-storage: waiting for device to settle before scanning
[ 1352.209558] usb 5-1: usbfs: USBDEVFS_CONTROL failed cmd usb_modeswitch rqt 128 rq 6 len 255 ret -110
[ 1353.209564] usb 5-1: usbfs: USBDEVFS_CONTROL failed cmd usb_modeswitch rqt 128 rq 6 len 255 ret -110
[ 1354.209570] usb 5-1: usbfs: USBDEVFS_CONTROL failed cmd usb_modeswitch rqt 128 rq 6 len 255 ret -110
[ 1354.209649] usb 5-1: usbfs: process 2292 (usb_modeswitch) did not claim interface 0 before use
[ 1365.213782] usb_modeswitch[2292]: segfault at 0 ip 00d1502d sp bfdd4880 error 4 in libusb-0.1.so.4.4.4[d12000+6000]
View user's profile Send private message
valyR
Posted: Tue Nov 03, 2009 6:21 am Reply with quote
Joined: 28 Oct 2009 Posts: 12
try to find if you have ...like me in

lib/udev the file modem-modeswitch or in another place ....

Remove this file , reboot computer and try again.

wound solutions ...
If you have dual boot with windows start the modem in win and restart computer in ubuntu. Or start the modem with a live opensuse11.2 open modem and restart the computer.
View user's profile Send private message Yahoo Messenger
keleg2
Posted: Tue Nov 03, 2009 3:25 pm Reply with quote
Joined: 03 Nov 2009 Posts: 2
In my Mandriva 2010 RC2 (kernel 31.5) similar error
Found solution
1) key -I for usb_modeswitch
2) sleep/wakeup computer
after wakeup modem connected! Smile

why?
I think that the reason to reset USB on sleep|wakeup
on my system key -R is not working - "segmentation error"
View user's profile Send private message
AliEX
Posted: Fri Nov 06, 2009 6:49 am Reply with quote
Joined: 31 Oct 2009 Posts: 3
All thanks. The modem works. Did as said valyR. I'm happy! Smile
View user's profile Send private message

Display posts from previous:  

All times are GMT + 1 Hour
Page 1 of 1
Post new topicReply to topic

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum