Huawei USB Data Card EC156 doesnot work in Ubuntu 11.04
Posted: 19 Jun 2011, 06:52
Hi,
Below is the details of lsusb output in verbose mode for the non working Tata Photon+ USB
Data Card Huawei Mobile Broadband Model : EC 156 HSIA USB Stick Huawei Technologies
Co. Ltd in Ubuntu Linux 11.04. Please suggest/guide.
Regards
Kaushal
kaushal@kaushal-laptop:~$ dpkg -l '*usb-modeswitch*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-====================================-=================
ii usb-modeswitch 1.1.7-1 mode switching tool for controlling "flip flop" USB devices
ii usb-modeswitch-data 20110227-2 mode switching data for usb-modeswitch
un usb-modeswitch-data-packed <none> (no description available)
kaushal@kaushal-laptop:~$dmesg
[29984.647468] usb 2-1.5: new full speed USB device using ehci_hcd and
address 113
[29984.742212] scsi12 : usb-storage 2-1.5:1.0
[29985.741838] scsi 12:0:0:0: CD-ROM HUAWEI Mass Storage
2.31 PQ: 0 ANSI: 0
[29985.757759] sr2: scsi-1 drive
[29985.758110] sr 12:0:0:0: Attached scsi CD-ROM sr2
[29985.758380] sr 12:0:0:0: Attached scsi generic sg4 type 5
kaushal@kaushal-laptop:~$ lsusb
Bus 002 Device 113: ID 12d1:1505 Huawei Technologies Co., Ltd.
kaushal@kaushal-laptop:~$ sudo usb_modeswitch -I -W -c /etc/usb_modeswitch.conf
Reading config file: /etc/usb_modeswitch.conf
* 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= not set
DefaultProduct= not set
TargetVendor= not set
TargetProduct= not set
TargetClass= not set
TargetProductList=""
DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
KobilMode=0
MessageEndpoint= not set
MessageContent=""
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00
InquireDevice disabled
Success check disabled
System integration mode disabled
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 113 on 002
usb_os_find_devices: Found 112 on 002
usb_os_find_devices: Found 004 on 002
skipping descriptor 0xFF
skipping descriptor 0xB
skipped 2 class/vendor specific endpoint descriptors
skipped 6 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 22 class/vendor specific interface descriptors
usb_os_find_devices: Found 003 on 002
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 002 on 002
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 006 on 001
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 005 on 001
skipped 1 class/vendor specific interface descriptors
skipping descriptor 0xFF
skipped 1 class/vendor specific endpoint descriptors
usb_os_find_devices: Found 004 on 001
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 003 on 001
usb_os_find_devices: Found 002 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
No default vendor/product ID given. Aborting.
Below is the details of lsusb output in verbose mode for the non working Tata Photon+ USB
Data Card Huawei Mobile Broadband Model : EC 156 HSIA USB Stick Huawei Technologies
Co. Ltd in Ubuntu Linux 11.04. Please suggest/guide.
Regards
Kaushal
kaushal@kaushal-laptop:~$ dpkg -l '*usb-modeswitch*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-====================================-=================
ii usb-modeswitch 1.1.7-1 mode switching tool for controlling "flip flop" USB devices
ii usb-modeswitch-data 20110227-2 mode switching data for usb-modeswitch
un usb-modeswitch-data-packed <none> (no description available)
kaushal@kaushal-laptop:~$dmesg
[29984.647468] usb 2-1.5: new full speed USB device using ehci_hcd and
address 113
[29984.742212] scsi12 : usb-storage 2-1.5:1.0
[29985.741838] scsi 12:0:0:0: CD-ROM HUAWEI Mass Storage
2.31 PQ: 0 ANSI: 0
[29985.757759] sr2: scsi-1 drive
[29985.758110] sr 12:0:0:0: Attached scsi CD-ROM sr2
[29985.758380] sr 12:0:0:0: Attached scsi generic sg4 type 5
kaushal@kaushal-laptop:~$ lsusb
Bus 002 Device 113: ID 12d1:1505 Huawei Technologies Co., Ltd.
kaushal@kaushal-laptop:~$ sudo usb_modeswitch -I -W -c /etc/usb_modeswitch.conf
Reading config file: /etc/usb_modeswitch.conf
* 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= not set
DefaultProduct= not set
TargetVendor= not set
TargetProduct= not set
TargetClass= not set
TargetProductList=""
DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
KobilMode=0
MessageEndpoint= not set
MessageContent=""
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00
InquireDevice disabled
Success check disabled
System integration mode disabled
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 113 on 002
usb_os_find_devices: Found 112 on 002
usb_os_find_devices: Found 004 on 002
skipping descriptor 0xFF
skipping descriptor 0xB
skipped 2 class/vendor specific endpoint descriptors
skipped 6 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 22 class/vendor specific interface descriptors
usb_os_find_devices: Found 003 on 002
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 002 on 002
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 006 on 001
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 005 on 001
skipped 1 class/vendor specific interface descriptors
skipping descriptor 0xFF
skipped 1 class/vendor specific endpoint descriptors
usb_os_find_devices: Found 004 on 001
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 003 on 001
usb_os_find_devices: Found 002 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
No default vendor/product ID given. Aborting.
Code: Select all
Bus 002 Device 008: ID 12d1:1505 Huawei Technologies Co., Ltd.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x12d1 Huawei Technologies Co., Ltd.
idProduct 0x1505
bcdDevice 0.00
iManufacturer 1 HUA�WEI TECHNOLOGIES
iProduct 2 HUAWEI Mobile
iSerial 4 �������������������
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
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
Device Status: 0x0000
(Bus Powered)