On Thu, Jun 02, 2005 at 07:06:08PM +0100, Paul Brossier wrote: > On Thu, Jun 02, 2005 at 06:24:38PM +0200, Michael Schmitz wrote: > > Hi, > > > > I found the reason for pbbuttonsd not getting any more key events: > > mouseemu grabbing the device for exclusive use seems to prevent > > other processes from receiving events ... > > > > Line 232 of mouseemu.c: > > > > register_inputhandler(fd, keyboard_handler, 1); > > > > Change that 1 to 0 and key events are passed on to pbbuttonsd (I imagine > > the mouse register device call needs the same change to let pbbuttonsd > > react to mouse moves). > > I have tested this and after restarting both mouseemu and pbbuttonsd, i > got the pbbuttonsd keys back. This seems to fix #307068 as well.
pbbuttonsd must be started after mouseemu for this to work, and #307068 is still around: if a mouse was plugged at boot time, it's now pbbuttonsd that eats all the cpu when the mouse gets unpplugged. but the keyboard remains usable now, so it got much better already. paul -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]