[ILUG-BOM] Tata Photon+ Data Card EC156

Kaushal Shriyan kaushalshriyan at gmail.com
Sun Jun 19 11:49:15 IST 2011


On Sun, Jun 19, 2011 at 5:45 AM, Kaushal Shriyan
<kaushalshriyan at gmail.com> wrote:
> On Sat, Jun 18, 2011 at 8:59 PM, Nishit Dave <stargazer.dave at gmail.com> wrote:
>> Hi Kaushal,
>>
>> Try looking for your device in the file device-reference.txt, which is
>> available on Josua Dietze's website http://draisberghof.de
>>
>> It would be a good idea to look up the device ID in switched mode either
>> through Device Manager on Wibdows or on the internet.
>>
>> Copy the block that refers to your device to a text file and replace
>> usb_modeswitch.conf with it. Retry the procedure thereafter.  You could also
>> update your version of usb-modeswitch and usb_modeswitch-data.
>>
>> You can look at the related posts on my blog
>> http://freedune.wordpress.comfor some pointers.
>> ---sent from my Notion Ink Adam---
>> --
>> http://mm.glug-bom.org/mailman/listinfo/linuxers
>>
>
> Hi Nishit,
>
> 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
>
> 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)
>
> Please suggest further.
>
> Regards
>
> Kaushal
>

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 at 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 at 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 at kaushal-laptop:~$ lsusb
Bus 002 Device 113: ID 12d1:1505 Huawei Technologies Co., Ltd.

kaushal at 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.

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)


More information about the Linuxers mailing list