[PATCH libevdev 0/8] libevdev backwards-compatibility
Gaetan Nadon
memsize at videotron.ca
Mon Oct 14 05:25:34 PDT 2013
On 13-10-14 02:14 AM, Peter Hutterer wrote:
> libevdev fails to build or run on older kernels. This set of patches enables libevdev to build on
> RHEL6 and anything later (I suspect). the runtime behaviour changes depending on the kernel but is
> largely modelled on what makes sense.
>
> Cheers,
> Peter
> _______________________________________________
> Input-tools mailing list
> Input-tools at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/input-tools
>
I have applied the patches and ran "sudo make check":
Making check in test
make check-TESTS check-local
Running suite(s): libevdev_has_event tests
libevdev event tests
libevdev init tests
libevdev error in libevdev_change_fd: BUG: device not initialized.
call libevdev_set_fd() first
libevdev error in libevdev_set_fd: BUG: device already initialized.
libevdev error in libevdev_grab: BUG: invalid grab parameter 0
libevdev error in libevdev_grab: BUG: invalid grab parameter 0x1
Event queue
Event names
libevdev uinput device tests
libevdev error in libevdev_uinput_create_from_device: BUG: Invalid fd -1
93%: Checks: 89, Failures: 5, Errors: 1
test-libevdev-has-event.c:144:E:event codes:test_event_codes:0:
(after this point) Test timeout expired
test-libevdev-has-event.c:372:F:multitouch
info:test_slot_init_value:0: Assertion 'libevdev_get_slot_value(dev,
0, 0x35)==100' failed: libevdev_get_slot_value(dev, 0, 0x35)==0,
100==100
test-libevdev-events.c:409:F:SYN_DROPPED deltas:test_syn_delta_mt:0:
Assertion 'rc==LIBEVDEV_READ_STATUS_SYNC' failed: rc==-22,
LIBEVDEV_READ_STATUS_SYNC==1
test-libevdev-init.c:62:F:device init:test_init_from_invalid_fd:0:
Assertion 'rc==-25' failed: rc==-22, -25==-25
test-libevdev-init.c:286:F:clock id:test_set_clock_id:0: Assertion
'rc==0' failed: rc==-22, 0==0
test-libevdev-init.c:326:F:clock id:test_clock_id_events:0:
Assertion 'rc==0' failed: rc==-22, 0==0
FAIL: test-libevdev
==================
1 of 1 test failed
==================
make[2]: *** [check-TESTS] Error 1
make[1]: *** [check-am] Error 2
make: *** [check-recursive] Error 1
Linux memsize 3.2.0-54-generic #82-Ubuntu SMP Tue Sep 10 20:08:42 UTC
2013 x86_64 x86_64 x86_64 GNU/Linux
In the docs, it says the tests create lots of X devices. How can I
see/remove those?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/input-tools/attachments/20131014/16d415ec/attachment-0001.html>
More information about the Input-tools
mailing list