From: Steven P. <n9...@n9...> - 2004-01-12 16:32:51
|
On Jan 12, 2004, at 1:13 AM, Roger Binns wrote: > Generally mark everything as serial unless you know it is a modem. > > The Sanyo phones are only modem. The LG should present a modem and a > serial interface, and they should be marked as such (so the autodetect > code picks/excludes the right thing). Maybe we're not on the same page here.... When I'm just scanning a list of devices that exist in the /dev filesystem, how am I to know what is or is not a modem or serial interface? That was my question. I can't be assured that the chosen string by the vendor will be representative of the actual use of the device. The LG phone on my creates a /dev/cu.usbmodemXXX and a /dev/tty.usbmodemXXX entry. There is no "serial" interface created as such. Now, in the case of the KeySpan adapter (which you may have connected and have found some way to plug your phone in to this using some serial adapter cable combination), I have no idea what it is. At any rate, what logic are you using on Linux and/or Windows to know this information? Are you just guessing as well, or does the system present more concrete information to you? How would the system tell me that it *is* a modem so I would know it's not serial? Sorry for the ignorance here, but I'm missing something. -. ----. -.-- - -.-- Steve Palm - n9...@n9... -. ----. -.-- - -.-- |