What modem/phone are you using ??

I've seen that problem with enfora usb modems (EDG1228) where the usb
firmware of the modem is not compatible with linux (the usb is detected
as cp2101 driver).

check this:

[18998.913582] usb 1-1: new full speed USB device using uhci_hcd and
address 3
[18999.081354] usb 1-1: configuration #1 chosen from 1 choice
[18999.301150] usbcore: registered new interface driver usbserial
[18999.301737] /build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c: USB 
Serial support registered for generic
[18999.302437] usbcore: registered new interface driver
usbserial_generic
[18999.302448] /build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c: USB 
Serial Driver core
[18999.320435] /build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c: USB 
Serial support registered for cp2101
[18999.320495] cp2101 1-1:1.0: cp2101 converter detected
[18999.428314] usb 1-1: reset full speed USB device using uhci_hcd and
address 3
[18999.573088] usb 1-1: cp2101 converter now attached to ttyUSB0
[18999.573126] usbcore: registered new interface driver cp2101
[18999.573133] /build/buildd/linux-2.6.24/drivers/usb/serial/cp2101.c:
Silicon Labs CP2101/CP2102 RS232 serial adaptor driver v0.07
r...@einstein:~# 


Even though it said tty is attached to ttyUSB0 I'm unable to connect to
the modem with any terminal app (ie cu, minicom, vdial). So far I was
unable to make them work.


Regards


Alvaro


On Sat, 2009-03-21 at 08:23 +0700, Paul Darius wrote:
> I do not know anything about minicom...
> 
> But I try to change the device to /dev/ttyUSB1 or /dev/ttyUSB2 and the
> result as follow "
> # /usr/local/sbin/bearerbox /etc/kannel.conf
> 2009-03-21 08:19:52 [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0
> 2009-03-21 08:19:52 [0] WARNING: DLR: using default 'internal' for storage 
> type.
> 2009-03-21 08:19:52 [0] DEBUG: Kannel bearerbox version `1.2.0'.
> System Linux, release 2.6.18-92.1.22.el5, version #1 SMP Tue Dec 16
> 12:03:43 EST 2008, machine i686.
> Hostname HTT-2, IP 127.0.0.1.
> Libxml version 20626.
> Using native malloc.
> 
> 2009-03-21 08:19:52 [0] INFO: Added logfile
> `/var/log/kannel/bearerbox.log' with level `1'.
> 2009-03-21 08:19:52 [0] INFO: ----------------------------------------
> 2009-03-21 08:19:52 [0] INFO: Kannel bearerbox II version 1.2.0 starting
> 2009-03-21 08:19:52 [0] INFO: SSL not supported, no SSL initialization done.
> 2009-03-21 08:19:52 [0] DEBUG: HTTP: Opening server at port 13000.
> 2009-03-21 08:19:52 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
> 2009-03-21 08:19:52 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
> 2009-03-21 08:19:52 [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run)
> 2009-03-21 08:19:52 [0] DEBUG: starting smsbox connection module
> 2009-03-21 08:19:52 [0] DEBUG: Started thread 4 (gw/bb_boxc.c:smsboxc_run)
> 2009-03-21 08:19:52 [0] ERROR: at_open_data_link: error opening the
> character device </dev/ttyUSB1>
> 2009-03-21 08:19:52 [0] ERROR: System error 2: No such file or directory
> 2009-03-21 08:19:52 [0] ERROR: Failed to create Smsc wrapper
> 2009-03-21 08:19:52 [0] PANIC: Cannot start with SMSC connection failing
> 
> the dmesg added when I added the device :
> usb 4-2: new full speed USB device using uhci_hcd and address 3
> usb 4-2: configuration #1 chosen from 1 choice
> pl2303 4-2:1.0: pl2303 converter detected
> usb 4-2: pl2303 converter now attached to ttyUSB0
> 
> So, I do not think wrong device
> 
> PD
> 


Reply via email to