Date: Fri, 27 Oct 2000 07:35:17 -0700 From: Mike Smith <msmith@mass.osd.bsdi.com> To: Alexander Maret <maret@atrada.net> Cc: "'Poul-Henning Kamp'" <phk@critter.freebsd.dk>, "'freebsd-hackers@freebsd.org'" <freebsd-hackers@freebsd.org> Subject: Re: Accessing the tty structure of an opened device Message-ID: <200010271435.e9REZHF00426@mass.osd.bsdi.com> In-Reply-To: Your message of "Fri, 27 Oct 2000 15:29:50 %2B0200." <58A002A02C5ED311812E0050044517F00D2614@erlangen01.atrada.de>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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? You will need to write your own. Even then, polling an inbound signal is not going to be reliable. Use a UART or some other appropriate hardware decoder. -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E 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?200010271435.e9REZHF00426>