On Mon, Oct 28, 2002 at 02:55:29PM -0500, David Walter wrote: > X loses keyboard on trivial operation > > ls -l /dev/kbd > > The kbd translator formerly believed it needed to start a new thread > for every open call. It also _closed_ the device after every > corresponding close_hook call.
It certainly is wrong to close the device with every close. But closing it in when the translator goes away is too late. I would expect that if you leave X, it won't set the keyboard back to raw mode and then you lose. The right thing is to count how many active users there are, and open/close the device accordingly. The reader thread needs to be made aware of that, of course. I will see what I can hack together. Thanks, Marcus -- `Rhubarb is no Egyptian god.' GNU http://www.gnu.org [EMAIL PROTECTED] Marcus Brinkmann The Hurd http://www.gnu.org/software/hurd/ [EMAIL PROTECTED] http://www.marcus-brinkmann.de/ _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd
