[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: button presses dont show up in xev
From:       Peter Hutterer <peter.hutterer () who-t ! net>
Date:       2011-07-26 22:10:06
Message-ID: 20110726221006.GB11043 () barra ! bne ! redhat ! com
[Download RAW message or body]

On Sat, May 14, 2011 at 01:48:19PM +0200, Johannes Schauer wrote:
> hi all,
> 
> I am running Debian unstable on the Notion Ink Adam tablet.
> The device is having four buttons that show up as /dev/input/event1.
> 
> /dev/input/event1 will also produce output when the buttons are pressed.
> The raw output of pressing all four buttons one after each other can be
> seen here: http://mister-muffin.de/p/pJo2.txt
> 
> evtest produces this output when pressing all four buttons one after
> another: http://mister-muffin.de/p/YoYL.txt

looks like your kernel driver is busted. evdev doesn't actually process
events until it sees an EV_SYN, it queues them up internally. You should be
seeing these lines in the evtest log:

Event: time 1311718017.941980, -------------- Report Sync ------------

They're missing, so I can only assume that the kernenl driver doesn't do the
right thing here. If you put xf86Msg() statements into
xf86-input-evdev/src/evdev.c:EvdevQueueKbdEvent, you'll probably see them
show up there (but not in EvdevPostQueuedEvents).

Cheers,
  Peter

> 
> I started xorg with "startx /usr/bin/xterm" and then started xev but in
> contrast to touchscreen events or events from the attached usb
> keyboard, there is no output when pressing one of those four buttons.
> 
> This is my /var/log/Xorg.0.log: http://mister-muffin.de/p/j6lq.txt
> 
> And here is my /proc/bus/input/devices: http://mister-muffin.de/p/PjEq.txt
> 
> How can I find out what is wrong and why I get output on
> /dev/input/event1 and with evtest but nothing with xev?
> 
> cheers, josch
_______________________________________________
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: freedesktop-xorg@progressive-comp.com
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic