Date: Fri, 27 Oct 2000 15:29:50 +0200 From: Alexander Maret <maret@atrada.net> To: 'Poul-Henning Kamp' <phk@critter.freebsd.dk> Cc: "'msmith@mass.osd.bsdi.com'" <msmith@mass.osd.bsdi.com>, "'freebsd-hackers@freebsd.org'" <freebsd-hackers@freebsd.org> Subject: Re: Accessing the tty structure of an opened device Message-ID: <58A002A02C5ED311812E0050044517F00D2614@erlangen01.atrada.de>
next in thread | raw e-mail | index | archive | help
> -----Ursprungliche Nachricht----- > From: Poul-Henning Kamp [mailto:phk@critter.freebsd.dk] > Subject: Re: Accessing the tty structure of an opened device > > You will need to do this in a device driver, there is no way you > can reliably measure that from userland. > > Trust me on this: I've tried. That's what I wanted to do. I wanted to write a character device which on read() passes the last IR-code. Well as Mike Smith told me: "you cannot poll the serial line at anything like a useful speed to perform IR decoding" my hopes are all gone to get a simple solution. Do I have to write my own serial driver to get what I want or is it possible to use functions of the "build in" serial device driver? Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?58A002A02C5ED311812E0050044517F00D2614>