Automatic Activation, Hotplug and UDEV, Configuration
Post Reply
lucadomenella
Posts: 1
Joined: 14 Jul 2011, 15:31
Location: Roma - Italy

Huawei E1800-Centos 5.6 -not able to setup ttyUSB0 12d1:1436

Post by lucadomenella » 14 Jul 2011, 15:55

Hi guys,

i tried to read a lot, but i cant get to work my USB dongle on my centos 5.6 server.
what i read from lsusb is:
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 001 Device 003: ID 12d1:1436 Huawei Technologies Co., Ltd.
Bus 001 Device 005: ID 413c:0000 Dell Computer Corp. DRAC 5 Virtual Keyboard and Mouse
Bus 001 Device 002: ID 413c:a001 Dell Computer Corp. Hub
Bus 001 Device 004: ID 04b4:6560 Cypress Semiconductor Corp. CY7C65640 USB-2.0 "TetraHub"

i haven't modified the defualt /etc/usb_modeswitch.conf, just changed to log.

when i boot my server or i restart the udevs. i see the following, that is the opposite of what i expect:
Jul 14 15:51:57 vm3new kernel: usbcore: registered new driver usbserial_generic
Jul 14 15:51:57 vm3new kernel: drivers/usb/serial/usb-serial.c: USB Serial Driver core
Jul 14 15:51:57 vm3new kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM modem (1-port)
Jul 14 15:51:57 vm3new kernel: option 1-3:1.0: GSM modem (1-port) converter detected
Jul 14 15:51:57 vm3new kernel: usb 1-3: GSM modem (1-port) converter now attached to ttyUSB0
Jul 14 15:51:57 vm3new kernel: option 1-3:1.3: GSM modem (1-port) converter detected
Jul 14 15:51:57 vm3new kernel: usb 1-3: GSM modem (1-port) converter now attached to ttyUSB1
Jul 14 15:51:57 vm3new kernel: option 1-3:1.4: GSM modem (1-port) converter detected
Jul 14 15:51:57 vm3new kernel: usb 1-3: GSM modem (1-port) converter now attached to ttyUSB2
Jul 14 15:51:57 vm3new kernel: usbcore: registered new driver option
Jul 14 15:51:57 vm3new kernel: drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.1
Jul 14 15:51:58 vm3new kernel: usbcore: deregistering driver option
Jul 14 15:51:58 vm3new kernel: option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
Jul 14 15:51:58 vm3new kernel: option 1-3:1.4: device disconnected
Jul 14 15:51:58 vm3new kernel: option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
Jul 14 15:51:58 vm3new kernel: option 1-3:1.3: device disconnected
Jul 14 15:51:58 vm3new kernel: option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
Jul 14 15:51:58 vm3new kernel: option 1-3:1.0: device disconnected
Jul 14 15:51:58 vm3new kernel: drivers/usb/serial/usb-serial.c: USB Serial deregistering driver GSM modem (1-port)
Jul 14 15:51:58 vm3new kernel: usbcore: deregistering driver usbserial_generic
Jul 14 15:51:58 vm3new kernel: drivers/usb/serial/usb-serial.c: USB Serial deregistering driver generic
Jul 14 15:51:58 vm3new kernel: usbcore: deregistering driver usbserial


i would expect to see the device is attached and not disconnected, i did some test on a centos 5.6 on a laptop and it was working, awfully i can't remove the usb dongle and reattach it, 'cuz its im ny datacenter that is far from my office :-(

then there is one thing i dont understand/know: how to determine which is the target for my device to became a serial for the modem ? and dont use it as storage ?

i see 12d1:1436... is it in storage mode or serial mode ? how to check it ?

please help me, im not able to send sms messages :-(

best regards,
Luca

Josh
Site Admin
Posts: 6593
Joined: 03 Nov 2007, 00:30

Post by Josh » 15 Jul 2011, 08:19

I have no idea what is happening on your system ... Probably some security response?

Anyway, to check the mode of a device run "lsusb -v -d <ID>", in your case:

Code: Select all

lsusb -v -d 12d1:1436
See if the first interface has class 8 (CDROM mode) or class 255 (modem mode).


Post Reply