Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: [SOLVED] help with HSDPA USB Modem Alcatel X030

  1. #1
    Join Date
    Sep 2006
    Beans
    34

    [SOLVED] help with HSDPA USB Modem Alcatel X030

    Could anybody please help me try to get this 3G modem working?

    I have seen some instructions on setting up similar modems like this one, but in my case unfortunately I can't get the driver to load as a usb-serial device: it always gets created as a usb storage device.

    Could anybody please give me any hint on how to get to the point where I can create the tty devices so that I can use '''wvdial'''? Any hint on how to do debugging or manipulate the usb drivers beyond modprobe would be greatly appreciated.

  2. #2
    Join Date
    Aug 2008
    Location
    Brunei & Australia
    Beans
    24
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: help with HSDPA USB Modem Alcatel X030

    Is it mounting as a flash disk or CD-ROM instead?

    If so I've got a quick way (although not sustainable in the long run) to get it going.

    1] Unmount the flash disk.
    2] Pull out device from USB.
    3] Disable HAL... sudo /etc/init.d/hal stop
    4] Plug the modem back in.
    5] use dmesg to see if the modem has been detected yet (you will need to give it some time).

    The problem with this of course is that you have to disable your hardware abstraction layer just to use the modem... But its a quick way to check if it is working.

    - Nick Lake

  3. #3
    Join Date
    Sep 2006
    Beans
    34

    Re: help with HSDPA USB Modem Alcatel X030

    Thank you very much for that reply! It did get me one step further. I could load usbserial pointing it to the particular device ID that I find with lsusb:

    root@betun:/etc# lsusb
    Bus 003 Device 001: ID 0000:0000
    Bus 002 Device 001: ID 0000:0000
    Bus 004 Device 001: ID 0000:0000
    Bus 001 Device 006: ID 1c9e:1001
    Bus 001 Device 001: ID 0000:0000
    Bus 005 Device 001: ID 0000:0000
    root@betun:/etc# modprobe usbserial vendor=0x1c9e product=0x1001
    [92591.191242] usbcore: registered new interface driver usbserial
    [92591.191305] /build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
    [92591.191369] usbserial_generic 1-1:1.0: generic converter detected
    [92591.191786] usb 1-1: generic converter now attached to ttyUSB0
    [92591.191808] usbcore: registered new interface driver usbserial_generic
    [92591.191813] /build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c: USB Serial Driver core
    Unfortunately, serial device /dev/ttyUSB0 doesn't respond

    Digging further into the matter, I think what happens is that this is a "Flip-Flop" USB device, which starts as a USB-Storage device and then must be switched into the USB-Modem device. I'm trying to use tools and information about this kind of issue which are found here. I got there by following this thread.

    Unfortunately again, it seems that the Alcatel OT-X020 is not exactly like mine device, since the switch command that I rescued from there doesn't seem to do anything:

    usb_modeswitch -v 0x1c9e -p 0x1001 -V 0x1c9e -P 0x6061 -C 0xff -d 1
    Perhaps the target device and string is not correct? I'm now trying to dig more into the matter to see if I can sniff on Windows somehow to figure out if the device is indeed a Flip-Flop and what would be the right way to get it switched.

    Again, any futher hint really appreciated.

  4. #4
    Join Date
    Sep 2006
    Beans
    34

    Re: help with HSDPA USB Modem Alcatel X030

    A small update: using vmware + drivers on Windows XP, I can see the device is indeed switched into ID 1c9e:6061 ... why doesn't it work using usb_modeswitch?

  5. #5
    Join Date
    Aug 2008
    Location
    Brunei & Australia
    Beans
    24
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: help with HSDPA USB Modem Alcatel X030

    Hmmm... what's a "flip flop" device?

    As it seems to have registered to USB0 can you send AT commands to it? Try the following command...

    echo “AT" > /dev/ttyUSB0

    If the serial device returns "OK" then the modem should be communicating OK.

    Silly question but did you set up the connection properly... try:
    sudo pppconfig

    - Nick

  6. #6
    Join Date
    Sep 2006
    Beans
    34

    Re: help with HSDPA USB Modem Alcatel X030

    Hi Nick,

    Note that I'm learning about this as I go, so I'm no expert.

    A "flip flop" or "multiple device" USB device seems to be a device that can behave as a different USB device at different times, using the same USB connection. Citing from the USB_ModeSwitch web page:

    "Several new USB devices [...] act like a flash storage and start installing the driver from there. After that [...] switches the mode internally, the storage device vanishes [...], and a new device (like an USB modem) shows up
    I can assert this is the case for me since, when I first plug the device, lsusb reports it as a 1c9e:1001, which gets detected and works as a USB storage device, but after using VMWare with a Windoze XP image and the device drivers, it turns into a USB Modem which is reported by lsusb as a 1c9e:6061 device.

    The 6061 device then can be used by usbserial, which generates three ttyUSB* devices which do respond to AT* and other commands - the original 1001 device, when forced to usbserial, does NOT respond to these commands.

    So, what I now need to do is to solve the following problems
    1) Get the device to switch from storage to modem within Linux, using usb_modeswitch or an equivalent - though this is not as critical now since I have this clunky workaround to do it with VMWare
    2) To properly configure the connection using wvdial, pppdial or something like that.

    I have tried with pppconfig as you suggested as well as with wvdialconf, but to no avail. I'm not sure what the proper connection properties are or whether the type of connection this modem uses (3G) is supported at all by those dialers. Do you have any suggestion on how to go about finding this out? Any pointers about different connection types and how to configure them?

    I'm right now finishing to trace the modem communication on Windows so that I can post it. Perhaps that will give an idea of what type of connection needs to happen.

    Thanks,
    Julian

  7. #7
    Join Date
    Sep 2006
    Beans
    34

    Re: help with HSDPA USB Modem Alcatel X030

    Here is a first pass at the trace in Windows, not 10% sure it is complete or accurate:

    ATE
    OK
    ATE0
    OK
    AT+CPIN?
    OK
    +CPIN: SIM PIN
    OK
    AT+CPNNUM
    PIN1=3; PUK1=10; PIN2=0; PUK2=10
    OK
    AT+CPIN="1234"
    OK
    AT+NWLCK?
    +NWLCK: UNKNOWN LOCK STATUS
    OK
    AT+NWLCK?
    +NWLCK: UNKNOWN LOCK STATUS
    OK
    AT+NWLCK?
    +NWLCK: UNKNOWN LOCK STATUS
    OK
    AT+NWLCK?
    +NWLCK: UNKNOWN LOCK STATUS
    OK
    AT+NWLCK?
    +NWLCK: UNKNOWN LOCK STATUS
    OK
    AT+NWLCK?
    +NWLCK: NETWORK UNLOCKED
    OK
    AT+CIMI
    722341175366945
    OK
    AT+CGMR
    LQA0007.1.2_D02B
    OK
    AT+CLCK="SC",2
    +CLCK: 1
    OK
    AT+COPS=3,2
    OK
    AT+MODODR?
    +MODODR: 2
    OK
    AT+BNDPRF?
    +BNDPRF: 65535,16383
    OK
    AT+CSCA?
    +CME ERROR: SIM busy
    AT+CPMS="SM"
    +CMS ERROR: 314
    AT+CPMS="SM",,"SM"
    +CMS ERROR: 314
    AT+CPBS="SM"
    +CME ERROR: SIM busy
    AT+COPS?
    +COPS: 0,2,"72234",2
    OK
    AT+CSQ
    +CSQ: 11,92
    OK
    AT+PSRAT
    +PSRAT: UMTS
    OK
    AT+PSRAT
    +PSRAT: HSDPA
    OK
    Any idea which dialer I can configure to do this and how?
    Thanks,
    Julian

  8. #8
    Join Date
    Sep 2006
    Beans
    34

    Re: help with HSDPA USB Modem Alcatel X030

    Here's a slightly better version, the "> " lines are the ones that were sent to the modem, the rest are replies:

    > ATE
    OK
    > ATE0
    OK
    > AT+CPIN?
    +CPIN: SIM PIN
    OK
    > AT+CPNNUM
    PIN1=3; PUK1=10; PIN2=0; PUK2=10
    OK
    > AT+CPIN="1234"
    OK
    > AT+NWLCK?
    +NWLCK: UNKNOWN LOCK ST> ATUS
    OK
    > AT+NWLCK?
    +NWLCK: UNKNOWN LOCK ST> ATUS
    OK
    > AT+NWLCK?
    +NWLCK: UNKNOWN LOCK ST> ATUS
    OK
    > AT+NWLCK?
    +NWLCK: UNKNOWN LOCK ST> ATUS
    OK
    > AT+NWLCK?
    +NWLCK: UNKNOWN LOCK ST> ATUS
    OK
    > AT+NWLCK?
    +NWLCK: NETWORK UNLOCKED
    OK
    > AT+CIMI
    722341175366945
    OK
    > AT+CGMR
    LQA0007.1.2_D02B
    OK
    > AT+CLCK="SC",2
    +CLCK: 1
    OK
    > AT+COPS=3,2
    OK
    > AT+MODODR?
    +MODODR: 2
    OK
    > AT+BNDPRF?
    +BNDPRF: 65535,16383
    OK
    > AT+CSCA?
    +CME ERROR: SIM busy
    > AT+CPMS="SM"
    +CMS ERROR: 314
    > AT+CPMS="SM",,"SM"
    +CMS ERROR: 314
    > AT+CPBS="SM"
    +CME ERROR: SIM busy
    > AT+COPS?
    +COPS: 0,2,"72234",2
    OK
    > AT+CSQ
    +CSQ: 11,92
    OK
    > AT+PSRAT
    +PSRAT: UMTS
    OK
    > AT+PSRAT
    +PSRAT: HSDPA
    OK

  9. #9
    Join Date
    Sep 2006
    Beans
    34

    Re: help with HSDPA USB Modem Alcatel X030

    Here's a slightly better version, the "> " lines are the ones that were sent to the modem, the rest are replies:

    > ATE
    OK
    > ATE0
    OK
    > AT+CPIN?
    +CPIN: SIM PIN
    OK
    > AT+CPNNUM
    PIN1=3; PUK1=10; PIN2=0; PUK2=10
    OK
    > AT+CPIN="1234"
    OK
    > AT+NWLCK?
    +NWLCK: UNKNOWN LOCK ST> ATUS
    OK
    > AT+NWLCK?
    +NWLCK: UNKNOWN LOCK ST> ATUS
    OK
    > AT+NWLCK?
    +NWLCK: UNKNOWN LOCK ST> ATUS
    OK
    > AT+NWLCK?
    +NWLCK: UNKNOWN LOCK ST> ATUS
    OK
    > AT+NWLCK?
    +NWLCK: UNKNOWN LOCK ST> ATUS
    OK
    > AT+NWLCK?
    +NWLCK: NETWORK UNLOCKED
    OK
    > AT+CIMI
    722341175366945
    OK
    > AT+CGMR
    LQA0007.1.2_D02B
    OK
    > AT+CLCK="SC",2
    +CLCK: 1
    OK
    > AT+COPS=3,2
    OK
    > AT+MODODR?
    +MODODR: 2
    OK
    > AT+BNDPRF?
    +BNDPRF: 65535,16383
    OK
    > AT+CSCA?
    +CME ERROR: SIM busy
    > AT+CPMS="SM"
    +CMS ERROR: 314
    > AT+CPMS="SM",,"SM"
    +CMS ERROR: 314
    > AT+CPBS="SM"
    +CME ERROR: SIM busy
    > AT+COPS?
    +COPS: 0,2,"72234",2
    OK
    > AT+CSQ
    +CSQ: 11,92
    OK
    > AT+PSRAT
    +PSRAT: UMTS
    OK
    > AT+PSRAT
    +PSRAT: HSDPA
    OK

  10. #10
    Join Date
    Aug 2008
    Beans
    1

    Re: help with HSDPA USB Modem Alcatel X030

    Hi there,
    Having the same problem.
    I'm a newby in all this linux world.

    Could you guys already solved it ?

    TIA

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •