Re: Phone detect on serial ports

littletux <[email protected]>
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <[email protected]>
Hi,

Le vendredi 26 août 2005 à 23:02 -0400, Stephen Wood a écrit :
> What would need to be done to add phone detect for (non-USB) serial
> ports.  I presume that some cycling through baud rates would be
> needed.  Is there also some issue with the two interfaces on LG
> phones?
> 
> I am working with a few Samsung phones that connect to a serial port.
> 
> Stephen

I've tried to play with serial ports detection a bit, you can add, in
comscan.py, just after
        ("/dev/cua", "Standard serial port", "serial"),
the line
	("/dev/tts/", "Standard serial port", "serial"),
or
	("/dev/ttyS", "Standard serial port", "serial"),

It helps detecting the phone on my distro, but detection is rather long,
the same AT commands are repeated again and again, for each model
detection.

Could the commands' results be cached ?

Regards,

Guillaume B.





-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
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.