defective ir-keytable udev rule → custom keytable does not get loaded
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
v4l-utils (Ubuntu) |
Expired
|
High
|
Unassigned |
Bug Description
ir-keytable v1.18.0-2build1 ships /lib/udev/
ACTION=="add", SUBSYSTEM=="rc", RUN+="/
After upgrading to Focal, this does not get triggered at boot, nor if I (re)insert my receiver when the system is running. Therefore, the custom keytable does not get loaded.
This is the udev events that occur when I insert the receiver:
$ sudo udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
KERNEL[1195.829011] add /devices/
KERNEL[1195.834989] add /devices/
KERNEL[1195.874055] add /devices/
KERNEL[1195.875019] add /devices/
KERNEL[1195.875183] add /devices/
KERNEL[1196.134164] add /devices/
KERNEL[1196.134448] bind /devices/
KERNEL[1196.134704] bind /devices/
UDEV [1196.158923] add /devices/
UDEV [1196.174559] add /devices/
UDEV [1196.194750] add /devices/
UDEV [1196.196268] add /devices/
UDEV [1196.197180] add /devices/
UDEV [1196.224577] add /devices/
UDEV [1196.231346] bind /devices/
UDEV [1196.244978] bind /devices/
Note how there's no «(rc)» displayed on any of the lines, which means that the «SUBSYSTEM=="rc"» condition from the udev rule filters all of the above events.
I found a rule that works at https://<email address hidden>
ACTION=="add", SUBSYSTEM=="input", SUBSYSTEMS=="rc", KERNEL=="event*", ENV{.rc_
Creating a custom /etc/udev/
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ir-keytable 1.18.0-2build1 [modified: usr/bin/
ProcVersionSign
Uname: Linux 5.4.0-56-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
Date: Sun Dec 6 18:05:06 2020
SourcePackage: v4l-utils
UpgradeStatus: Upgraded to focal on 2020-12-06 (0 days ago)
Hi,
the issue is the same as in LP #1903966. The following commit should fix it also for the 1.18 version:
https:/ /salsa. debian. org/debian/ libv4l/ -/commit/ e12bd27aa844663 601d81c99ecbdff 33c9b5e9f3
Until the version in focal is fixed, you could use the v4l-utils-stable PPA:
https:/ /code.launchpad .net/~libv4l/ +archive/ ubuntu/ stable
The (pending) Build recipe is here: /code.launchpad .net/~libv4l/ +recipe/ v4l-utils- stable- 1.20
https:/
Thanks,
Gregor