Hi Erez,

On Tue, Aug 31, 2010 at 11:52:06AM +0300, Erez D wrote:
> I am looking for a simple way to know which serial ports i have.
> I want to have a list of all serial ports, either onboard, via usb, via
> bluetooth etc ...
> I'm looking for a better way than scanning /dev/ttyS* /dev/ttyUSB*
> /dev/usb/... etc ...
> 
> 
> In cygwin I just look under
> /proc/registry/HKEY_LOCAL_MACHINE/HARDWARE/DEVICEMAP/SERIALCOMM/
> is there somthing similiar in linux (probably somewhere in /proc) ?

Try /sys/class/tty/.

baruch

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - bar...@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

_______________________________________________
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to