Re: Application that shows modem lights.

From: Rogier Wolff (R.E.Wolff@BitWizard.nl)
Date: Mon Jun 19 2000 - 14:30:37 EST


Rob van Nieuwkerk wrote:
> > Suggestions?
>
> Yes:
> cat /proc/tty/driver/serial
>
> or use the "statserial" program

Statserial opens the serial port in question. It suffers from
"interfering with normal operation".

The /proc/tty/driver/serial is however the winning hint. I'll make my
application use that when available, and I'll make my drivers support
a similar file. I'm not sure how the filename is determined, under
tty/driver, but I'll figure it out.

                                Roger.

-- 
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
*       Common sense is the collection of                                *
******  prejudices acquired by age eighteen.   -- Albert Einstein ********

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:17 EST