Hello, I am triying to use a GSM modem (huawei e220). I was successfull using it on my linux box (Gentoo linux) with the "option" module.
In the board, I'm using the SDK devboard-R2_10, so I cannot use the "option" module because the huawei is only supported in >2.6.19 kernels. Instead the "option" module, I use the "usb-serial" module this way: insmod /lib/modules/2.6.19/kernel/drivers/usb/serial/usbserial.ko vendor=0x12d1 product=0x1003 and I get the follow: drivers/usb/serial/usb-serial.c: USB Serial support registered for generic usbserial_generic 1-2:1.0: generic converter detected usb 1-2: generic converter now attached to ttyUSB0 usbserial_generic 1-2:1.1: generic converter detected usb 1-2: generic converter now attached to ttyUSB1 usbserial_generic 1-2:1.2: generic converter detected usb 1-2: generic converter now attached to ttyUSB2 usbcore: registered new interface driver usbserial_generic drivers/usb/serial/usb-serial.c: USB Serial Driver core The output is right, so I try to connect with the next chat script: IMEOUT 60 ABORT 'BUSY' ABORT 'ERROR' ABORT 'NO CARRIER' '' 'ATZ' OK 'ATE0V1&D2&C1S0=0+IFC=2,2' '' AT+CGDCONT=1,"IP","ac.vodafone.es" OK 'ATM0' OK 'ATX3' OK ATD*99***1# CONNECT ''ABORT BUSY And that's what I get on /var/log/messages: Jan 1 00:00:32 axis-00408cae0109 pppd[732]: pppd 2.4.2b3 started by root, uid 0 Jan 1 00:00:34 axis-00408cae0109 chat[734]: timeout set to 60 seconds Jan 1 00:00:34 axis-00408cae0109 chat[734]: abort on (BUSY) Jan 1 00:00:34 axis-00408cae0109 chat[734]: abort on (ERROR) Jan 1 00:00:34 axis-00408cae0109 chat[734]: abort on (NO CARRIER) Jan 1 00:00:34 axis-00408cae0109 chat[734]: send (ATZ^M) Jan 1 00:00:41 axis-00408cae0109 login[735]: root login on `pts/1' Jan 1 00:01:34 axis-00408cae0109 chat[734]: alarm Jan 1 00:01:34 axis-00408cae0109 chat[734]: -- write timed out Jan 1 00:01:34 axis-00408cae0109 chat[734]: Failed Jan 1 00:01:34 axis-00408cae0109 pppd[732]: Connect script failed It seems that I cannot write to /dev/ttyUSB0. Any hints about where could be the problem? Thank you. -- Francisco J. Yáñez http://fjyaniez.nazaries.net
