Author Message

<  Device Information  ~  Alcatel One Touch X080C

PostPosted: Sat Jun 23, 2012 4:02 pm Reply with quote
Posts: 8 Joined: Sat Jun 23, 2012 3:59 pm
Hi All,

Thank you first for this wonderful software.

I recently bought Alcatel One Touch X080C, it shows up in lsusb as :

Bus 002 Device 008: ID 1bbb:00ca T & A Mobile Phones

But it doesn't create any block device like /dev/ttyUSB* or /dev/ttyACM*

How can I debug this issue ?


Offline
PostPosted: Sun Jun 24, 2012 9:49 pm Reply with quote
Posts: 8 Joined: Sat Jun 23, 2012 3:59 pm
anybody have the same modem ?


Offline
PostPosted: Sun Jun 24, 2012 11:04 pm Reply with quote
Posts: 8 Joined: Sat Jun 23, 2012 3:59 pm
Here is dmesg output when I plug in the modem :

**************************************************************************
[ 6005.776109] usb 1-1.2: new full-speed USB device number 8 using ehci_hcd
[ 6005.862737] usb 1-1.2: New USB device found, idVendor=1bbb, idProduct=00ca
[ 6005.862747] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6005.862753] usb 1-1.2: Product: USB MMC Storage
[ 6005.862757] usb 1-1.2: Manufacturer: Qualcomm, Incorporated
[ 6005.864426] scsi8 : usb-storage 1-1.2:1.0
[ 6006.867611] scsi 8:0:0:0: CD-ROM OT-X080C MMC Storage 2.31 PQ: 0 ANSI: 2
[ 6006.875925] sr1: scsi3-mmc drive: 0x/0x caddy
[ 6006.876672] sr 8:0:0:0: Attached scsi CD-ROM sr1
[ 6006.877414] sr 8:0:0:0: Attached scsi generic sg2 type 5
[ 6006.977513] sr1: CDROM (ioctl) error, command: Xpwrite, Read disk info 51 00 00 00 00 00 00 00 02 00
[ 6006.977538] sr: Sense Key : Hardware Error [current]
[ 6006.977546] sr: Add. Sense: No additional sense information
***************************************************************************


Offline
PostPosted: Sun Jun 24, 2012 11:05 pm Reply with quote
Posts: 8 Joined: Sat Jun 23, 2012 3:59 pm
and here is the output of lsusb -vvv -d 1bbb:00ca

******************************************************************
Code:
Bus 001 Device 008: ID 1bbb:00ca T & A Mobile Phones
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x1bbb T & A Mobile Phones
  idProduct          0x00ca
  bcdDevice            0.00
  iManufacturer           1 Qualcomm, Incorporated
  iProduct                2 USB MMC Storage
  iSerial                 0
  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     0x85  EP 5 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     0x0a  EP 10 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
Device Status:     0x0000
  (Bus Powered)
*******************************************************


Offline
PostPosted: Sun Jun 24, 2012 11:14 pm Reply with quote
Posts: 8 Joined: Sat Jun 23, 2012 3:59 pm
usb_modeswitch version : 1.2.3
usb_modeswitch-data version : 20120531
kernel version : 3.4.0
libusb version : 0.1.3


Offline
PostPosted: Mon Jun 25, 2012 12:34 am Reply with quote
Posts: 8 Joined: Sat Jun 23, 2012 3:59 pm
Now, I mounted /dev/sr1 then used "Eject" from file browser.

Here is dmesg output now :

************************************************************************
[ 7342.328077] usb 1-1.2: reset full-speed USB device number 8 using ehci_hcd
[ 7342.802412] usb 1-1.2: device not accepting address 8, error -32
[ 7342.814299] usb 1-1.2: USB disconnect, device number 8
[ 7352.631725] usb 1-1.2: new full-speed USB device number 9 using ehci_hcd
[ 7352.694607] usb 1-1.2: device descriptor read/64, error -32
[ 7352.882511] usb 1-1.2: New USB device found, idVendor=1bbb, idProduct=00ca
[ 7352.882521] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 7352.882527] usb 1-1.2: Product: Modem X080C CDMA Technologies
[ 7352.882532] usb 1-1.2: Manufacturer: Qualcomm, Incorporated
[ 7352.888264] scsi9 : usb-storage 1-1.2:1.4
[ 7353.891314] scsi 9:0:0:0: Direct-Access OT-X080C MMC Storage 2.31 PQ: 0 ANSI: 2
[ 7353.893055] sd 9:0:0:0: Attached scsi generic sg2 type 0
[ 7353.899418] sd 9:0:0:0: [sdb] Attached SCSI removable disk
*************************************************************************
and lsusb -vvv -d 1bbb:00ca

*************************************************************************
Code:
Bus 002 Device 006: ID 1bbb:00ca T & A Mobile Phones
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x1bbb T & A Mobile Phones
  idProduct          0x00ca
  bcdDevice            0.00
  iManufacturer           1 Qualcomm, Incorporated
  iProduct                2 Modem X080C CDMA Technologies
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          131
    bNumInterfaces          5
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              3 Modem X080C CDMA Technologies
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval             128
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 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     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              3 Modem X080C CDMA Technologies
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 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     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              3 Modem X080C CDMA Technologies
      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     0x07  EP 7 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              3 Modem X080C CDMA Technologies
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x86  EP 6 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     0x06  EP 6 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        4
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 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     0x0a  EP 10 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
Device Status:     0x0000
  (Bus Powered)

****************************************************


Offline
PostPosted: Mon Jun 25, 2012 9:04 am Reply with quote
Site Admin Posts: 6496 Joined: Sat Nov 03, 2007 12:30 am
It should be not too hard to make your modem fully supported ...

First, go to "/usr/share/usb_modeswitch". There you find all the config files, either single or compressed together in "configPack.tar.gz". Find the config file "1bbb:f052" in the folder or in the pack and copy it to "/etc/usb_modeswitch.d". Rename the copy to "1bbb:00ca", then edit it with any text editor and add this line to it:
Code:
TargetClass=0xff
Remove the other "Target" lines, your device does not seem to change its IDs.
For now, keep the "MessageContent" line as it is. There is annother one to try if this one doesn't work.

Now, edit the file "/lib/udev/rules.d/40-usb_modeswitch.rules" (BTW, you may need admin rights to do the edits). Look for a line that says:
Code:
ATTRS{idVendor}=="1bbb", ATTRS{idProduct}=="f052", ...
Copy that line and paste it anywhere (probably right below the original). Change the "idProduct" value so that the whole line reads:
Code:
ATTRS{idVendor}=="1bbb", ATTRS{idProduct}=="f0ca", RUN+="usb_modeswitch '%b/%k'"
From now on you should see a system reaction in the dmesg output after you plug in your stick. If you want a detailed analysis what is going on, you can enable usb_modeswitch's logging as described on the main doc page, paragraph "Troubleshooting".



Offline
PostPosted: Thu Jun 28, 2012 1:59 am Reply with quote
Posts: 8 Joined: Sat Jun 23, 2012 3:59 pm
Thanks a lot Josh, that worked.

Will that be in next usb_modeswitch-data package ?


Offline
PostPosted: Thu Jun 28, 2012 9:03 pm Reply with quote
Site Admin Posts: 6496 Joined: Sat Nov 03, 2007 12:30 am
Absolutely!

If you want you can give me your name (or any nickname of your choice) via PM or mail, and I'll include you as the contributor of this device in the reference file.



Offline
PostPosted: Tue Jul 03, 2012 1:08 pm Reply with quote
Posts: 8 Joined: Sat Jun 23, 2012 3:59 pm
My name is "Hicham HAOUARI"

As a small correction, the line for /lib/udev/rules.d/40-usb_modeswitch.rules is

Code:
ATTRS{idVendor}=="1bbb", ATTRS{idProduct}=="00ca", RUN+="usb_modeswitch '%b/%k'"


the config file is the same as you said :

Code:
# Alcatel OT X080C

TargetClass=0xff

MessageContent="55534243123456788000000080000606f50402527000000000000000000000"


Josh wrote:
Absolutely!

If you want you can give me your name (or any nickname of your choice) via PM or mail, and I'll include you as the contributor of this device in the reference file.



Offline
PostPosted: Wed Jul 04, 2012 7:01 pm Reply with quote
Site Admin Posts: 6496 Joined: Sat Nov 03, 2007 12:30 am
Thanks, that was a copy/paste error. Will add the corrected version.


Offline

Display posts from previous:  Sort by:

All times are UTC+02:00
Page 1 of 1
11 posts
Users browsing this forum: No registered users and 1 guest
Search for:
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 post attachments in this forum
cron