Griffin Powermate evdev setup

Phil Endecott spam_from_xorg at chezphil.org
Tue Apr 28 02:33:10 PDT 2009


Peter Hutterer wrote:
> On Mon, Apr 27, 2009 at 12:09:17AM +0100, Phil Endecott wrote:

>> 	Option		"DIALRelativeAxisButtons" "4 5"
> This option isn't supported anymore.

OK.  I think something like this is needed, though.  If you have an 
application that actually "knows" about the dial axis that's fine, but 
in most cases you'll want to do some sort of mapping.  I don't see any 
mention of the mouse scroll wheel in the new evdev man page; how is 
that managed?

The old driver was ugly (bitmasks etc) but useful.  I hope the new 
version hasn't "thrown the baby out with the bath water".

> As Dan said, the device doesn't advertise a known combination of axes +
> buttons. Please run http://people.freedesktop.org/~whot/evtest.c against the
> device file and attach the output to a bug on bugs.freedesktop.org.

Here's the output, also filed as 
http://bugs.freedesktop.org/show_bug.cgi?id=21457 :

Input driver version is 1.0.0
Input device ID: bus 0x3 vendor 0x77d product 0x410 version 0x400
Input device name: "Griffin PowerMate"
Supported events:
   Event type 0 (Sync)
   Event type 1 (Key)
     Event code 256 (Btn0)
   Event type 2 (Relative)
     Event code 7 (Dial)
   Event type 4 (Misc)
     Event code 1 (Pulseled)
Grab succeeded, ungrabbing.
Testing ... (interrupt to exit)
Event: time 1240909108.341856, type 2 (Relative), code 7 (Dial), value -1
Event: time 1240909108.341878, -------------- Report Sync ------------
Event: time 1240909108.773822, type 2 (Relative), code 7 (Dial), value -1
Event: time 1240909108.773838, -------------- Report Sync ------------
Event: time 1240909109.029820, type 2 (Relative), code 7 (Dial), value -1
Event: time 1240909109.029836, -------------- Report Sync ------------
Event: time 1240909109.149823, type 2 (Relative), code 7 (Dial), value -1
Event: time 1240909109.149839, -------------- Report Sync ------------
Event: time 1240909109.357821, type 2 (Relative), code 7 (Dial), value 1
Event: time 1240909109.357837, -------------- Report Sync ------------
Event: time 1240909109.445820, type 2 (Relative), code 7 (Dial), value -1
Event: time 1240909109.445837, -------------- Report Sync ------------
Event: time 1240909109.509826, type 2 (Relative), code 7 (Dial), value -1
Event: time 1240909109.509843, -------------- Report Sync ------------
Event: time 1240909109.565820, type 2 (Relative), code 7 (Dial), value -1
Event: time 1240909109.565836, -------------- Report Sync ------------
Event: time 1240909109.629825, type 2 (Relative), code 7 (Dial), value -1
Event: time 1240909109.629841, -------------- Report Sync ------------
Event: time 1240909110.213829, type 2 (Relative), code 7 (Dial), value 1
Event: time 1240909110.213844, -------------- Report Sync ------------
Event: time 1240909110.253823, type 2 (Relative), code 7 (Dial), value 1
Event: time 1240909110.253839, -------------- Report Sync ------------
Event: time 1240909110.309823, type 2 (Relative), code 7 (Dial), value 1
Event: time 1240909110.309839, -------------- Report Sync ------------
Event: time 1240909110.381825, type 2 (Relative), code 7 (Dial), value 1
Event: time 1240909110.381842, -------------- Report Sync ------------
Event: time 1240909110.485828, type 2 (Relative), code 7 (Dial), value 1
Event: time 1240909110.485845, -------------- Report Sync ------------
Event: time 1240909110.573827, type 2 (Relative), code 7 (Dial), value 1
Event: time 1240909110.573842, -------------- Report Sync ------------
Event: time 1240909110.653830, type 2 (Relative), code 7 (Dial), value 1
Event: time 1240909110.653847, -------------- Report Sync ------------
Event: time 1240909112.125830, type 1 (Key), code 256 (Btn0), value 1
Event: time 1240909112.125847, -------------- Report Sync ------------
Event: time 1240909112.381823, type 1 (Key), code 256 (Btn0), value 0
Event: time 1240909112.381838, -------------- Report Sync ------------
Event: time 1240909112.789830, type 2 (Relative), code 7 (Dial), value 1
Event: time 1240909112.789845, -------------- Report Sync ------------
Event: time 1240909112.893831, type 1 (Key), code 256 (Btn0), value 1
Event: time 1240909112.893848, -------------- Report Sync ------------
Event: time 1240909113.141823, type 1 (Key), code 256 (Btn0), value 0
Event: time 1240909113.141838, -------------- Report Sync ------------


Thanks,  Phil.






More information about the xorg mailing list