Input device problem

Tony Houghton h at realh.co.uk
Mon Dec 15 06:26:28 PST 2008


On Mon, 15 Dec 2008 13:26:57 +1000
Peter Hutterer <peter.hutterer at who-t.net> wrote:

> On Sun, Dec 14, 2008 at 10:25:29PM +0000, Tony Houghton wrote:
> > > On Sat, Dec 13, 2008 at 07:51:50PM +0000, Tony Houghton wrote:
> > > > I've got a DVB card (saa7146 chip) with a remote control which appears
> > > > as a Linux input device. The trouble is certain keys which correspond to
> > > > keys on an ordinary keyboard also appear on /dev/console when pressed,
> > > > which I don't want.
> > > 
> > > try upgrading to xserver 1.5.2.
> > 
> > This is happening even on the console though, not just in X.
> 
> well, if it pretends to be a keyboard then it's only natural that the keys end
> up on the console. The only way to get around that is to grab the event device
> (google for EVIOCGRAB).

I thought I could prevent it by configuriong HAL to remove the
properties that say it's a keyboard though, but I failed.

> > The trouble is X would probably crash or whatever it's doing before I
> > got to see the result of evtest, although I suppose I could run it
> > in a console or over ssh with DISPLAY set.
> 
> evtest is a console program.

Oh, it logs console events, not X events?

-- 
TH * http://www.realh.co.uk



More information about the xorg mailing list