Re: detecting modems on USB

Andreas Fink <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
On 16.08.2006, at 10:53, fred wrote:

> I've played with code that enumerate usb devices,etc..but haven't  
> figured
> how to associate the usb device
> with a /dev/ttyUSBnn device properly/correctly or how? ...don't  
> know enough
> yet
> eg modem on device
> ls /proc/bus/usb/002
> 001  002
>
> the falcom modem is the 002 device,
>
> yet the serial device is attached to /dev/ttyUSB0.......
>


This is done by the USB driver. Kannel just uses a serial port given  
by its config file.
So if you got a USB device which has a serial port, then its up to  
the USB device driver to declare which port it will use.
So this is not really kannel question
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.