* Missing Protocols ir-keytable Ubuntu 20.04
@ 2020-05-06 12:35 Ralf Schmidt
2020-05-08 9:03 ` Sean Young
2020-06-02 16:08 ` Sean Young
0 siblings, 2 replies; 5+ messages in thread
From: Ralf Schmidt @ 2020-05-06 12:35 UTC (permalink / raw)
To: linux-media
Only working Receiver: all RF X10 Wireless Receiver
All Outputs with just upgraded 5.4.0-29-generic Kernel (Ubuntu 20.04LTS)
and newly installed ir-keytable
ralf@nexus:~$ ir-keytable --version
IR keytable control version 1.18.0
ralf@nexus:~$ sudo ir-keytable -p all
[sudo] Passwort für ralf:
Die Protokolle für das Gerät können nicht geändert werden
Protokolle geändert in other
/dev/lirc0: kein Empfangsgerät für unverarbeitetes Infrarot
BPF-Protokoll rc-mm konnte weder in /etc/rc_keymaps/protocols noch in
/lib/udev/rc_keymaps/protocols gefunden werden
BPF-Protokoll imon konnte weder in /etc/rc_keymaps/protocols noch in
/lib/udev/rc_keymaps/protocols gefunden werden
BPF-Protokoll cec konnte weder in /etc/rc_keymaps/protocols noch in
/lib/udev/rc_keymaps/protocols gefunden werden
BPF-Protokoll xmp konnte weder in /etc/rc_keymaps/protocols noch in
/lib/udev/rc_keymaps/protocols gefunden werden
BPF-Protokoll sharp konnte weder in /etc/rc_keymaps/protocols noch in
/lib/udev/rc_keymaps/protocols gefunden werden
BPF-Protokoll rc-6 konnte weder in /etc/rc_keymaps/protocols noch in
/lib/udev/rc_keymaps/protocols gefunden werden
BPF-Protokoll mce_kbd konnte weder in /etc/rc_keymaps/protocols noch in
/lib/udev/rc_keymaps/protocols gefunden werden
BPF-Protokoll sanyo konnte weder in /etc/rc_keymaps/protocols noch in
/lib/udev/rc_keymaps/protocols gefunden werden
BPF-Protokoll nec konnte weder in /etc/rc_keymaps/protocols noch in
/lib/udev/rc_keymaps/protocols gefunden werden
BPF-Protokoll sony konnte weder in /etc/rc_keymaps/protocols noch in
/lib/udev/rc_keymaps/protocols gefunden werden
BPF-Protokoll jvc konnte weder in /etc/rc_keymaps/protocols noch in
/lib/udev/rc_keymaps/protocols gefunden werden
BPF-Protokoll rc-5-sz konnte weder in /etc/rc_keymaps/protocols noch in
/lib/udev/rc_keymaps/protocols gefunden werden
BPF-Protokoll rc-5 konnte weder in /etc/rc_keymaps/protocols noch in
/lib/udev/rc_keymaps/protocols gefunden werden
BPF-Protokoll lirc konnte weder in /etc/rc_keymaps/protocols noch in
/lib/udev/rc_keymaps/protocols gefunden werden
BPF-Protokoll unknown konnte weder in /etc/rc_keymaps/protocols noch in
/lib/udev/rc_keymaps/protocols gefunden werden
ralf@nexus:~$ sudo ir-keytable
/sys/class/rc/rc0/ gefunden mit:
Name: X10 WTI RF receiver
Treiber: ati_remote
Standardschlüsselcodeabbildung: rc-medion-x10-or2x
Eingabegerät: /dev/input/event11
LIRC Gerät: /dev/lirc0
Unterstützte Kernel-Protokolle: other
Kernelprotokolle aktivieren: other
bus: 3, Anbieter/Produkt: 0bc7:0006, Version: 0x0100
Wiederholungsverzögerung = 500 ms, Wiederholungsperiode = 125 ms
Another Remote, without problem in Ubuntu 18.04:
ralf@nexus:~$ ir-keytable
/sys/class/rc/rc0/ gefunden mit:
Name: cx88 IR (TeVii S464 DVB-S/S2)
Treiber: cx88xx
Standardschlüsselcodeabbildung: rc-tevii-nec
Eingabegerät: /dev/input/event9
LIRC Gerät: /dev/lirc0
Angehangene BPF-Protokolle: Keine Berechtigung
Unterstützte Kernel-Protokolle: lirc
Kernelprotokolle aktivieren: lirc
bus: 1, Anbieter/Produkt: d464:9022, Version: 0x0001
Wiederholungsverzögerung = 500 ms, Wiederholungsperiode = 125 ms
ralf@nexus:~$ sudo ir-keytable -p all
[sudo] Passwort für ralf:
Protokolle geändert in lirc
bpf_load_program() err=Das Argument ist ungültig
BPF-Protokoll rc-mm konnte weder in /etc/rc_keymaps/protocols noch in
/lib/udev/rc_keymaps/protocols gefunden werden
BPF-Protokoll imon konnte weder in /etc/rc_keymaps/protocols noch in
/lib/udev/rc_keymaps/protocols gefunden werden
BPF-Protokoll cec konnte weder in /etc/rc_keymaps/protocols noch in
/lib/udev/rc_keymaps/protocols gefunden werden
BPF-Protokoll xmp konnte weder in /etc/rc_keymaps/protocols noch in
/lib/udev/rc_keymaps/protocols gefunden werden
BPF-Protokoll sharp konnte weder in /etc/rc_keymaps/protocols noch in
/lib/udev/rc_keymaps/protocols gefunden werden
BPF-Protokoll rc-6 konnte weder in /etc/rc_keymaps/protocols noch in
/lib/udev/rc_keymaps/protocols gefunden werden
BPF-Protokoll mce_kbd konnte weder in /etc/rc_keymaps/protocols noch in
/lib/udev/rc_keymaps/protocols gefunden werden
BPF-Protokoll sanyo konnte weder in /etc/rc_keymaps/protocols noch in
/lib/udev/rc_keymaps/protocols gefunden werden
BPF-Protokoll nec konnte weder in /etc/rc_keymaps/protocols noch in
/lib/udev/rc_keymaps/protocols gefunden werden
BPF-Protokoll sony konnte weder in /etc/rc_keymaps/protocols noch in
/lib/udev/rc_keymaps/protocols gefunden werden
BPF-Protokoll jvc konnte weder in /etc/rc_keymaps/protocols noch in
/lib/udev/rc_keymaps/protocols gefunden werden
BPF-Protokoll rc-5-sz konnte weder in /etc/rc_keymaps/protocols noch in
/lib/udev/rc_keymaps/protocols gefunden werden
BPF-Protokoll rc-5 konnte weder in /etc/rc_keymaps/protocols noch in
/lib/udev/rc_keymaps/protocols gefunden werden
BPF-Protokoll other konnte weder in /etc/rc_keymaps/protocols noch in
/lib/udev/rc_keymaps/protocols gefunden werden
BPF-Protokoll unknown konnte weder in /etc/rc_keymaps/protocols noch in
/lib/udev/rc_keymaps/protocols gefunden werden
ralf@nexus:/lib/udev/rc_keymaps/protocols$ ls -Al
insgesamt 48
-rw-r--r-- 1 root root 3192 Mär 24 15:11 grundig.o
-rw-r--r-- 1 root root 4296 Mär 24 15:11 imon_rsc.o
-rw-r--r-- 1 root root 6376 Mär 24 15:11 manchester.o
-rw-r--r-- 1 root root 4336 Mär 24 15:11 pulse_distance.o
-rw-r--r-- 1 root root 4256 Mär 24 15:11 pulse_length.o
-rw-r--r-- 1 root root 3280 Mär 24 15:11 raw.o
-rw-r--r-- 1 root root 3688 Mär 24 15:11 rc_mm.o
-rw-r--r-- 1 root root 3320 Mär 24 15:11 xbox-dvd.o
But all the protocols are available
ralf@nexus:/lib/modules/5.4.0-29-generic/kernel/drivers/media/rc$ ls -l
insgesamt 716
-rw-r--r-- 1 root root 25664 Mai 5 01:48 ati_remote.ko
-rw-r--r-- 1 root root 33984 Mai 5 01:48 ene_ir.ko
-rw-r--r-- 1 root root 24896 Mai 5 01:48 fintek-cir.ko
-rw-r--r-- 1 root root 10936 Mai 5 01:48 igorplugusb.ko
-rw-r--r-- 1 root root 17160 Mai 5 01:48 iguanair.ko
-rw-r--r-- 1 root root 61240 Mai 5 01:48 imon.ko
-rw-r--r-- 1 root root 10008 Mai 5 01:48 imon_raw.ko
-rw-r--r-- 1 root root 8496 Mai 5 01:48 ir-imon-decoder.ko
-rw-r--r-- 1 root root 9248 Mai 5 01:48 ir-jvc-decoder.ko
-rw-r--r-- 1 root root 14192 Mai 5 01:48 ir-mce_kbd-decoder.ko
-rw-r--r-- 1 root root 8712 Mai 5 01:48 ir-nec-decoder.ko
-rw-r--r-- 1 root root 9008 Mai 5 01:48 ir-rc5-decoder.ko
-rw-r--r-- 1 root root 11848 Mai 5 01:48 ir-rc6-decoder.ko
-rw-r--r-- 1 root root 7472 Mai 5 01:48 ir-rcmm-decoder.ko
-rw-r--r-- 1 root root 10056 Mai 5 01:48 ir-sanyo-decoder.ko
-rw-r--r-- 1 root root 8984 Mai 5 01:48 ir-sharp-decoder.ko
-rw-r--r-- 1 root root 8976 Mai 5 01:48 ir-sony-decoder.ko
-rw-r--r-- 1 root root 11984 Mai 5 01:48 ir-xmp-decoder.ko
-rw-r--r-- 1 root root 43944 Mai 5 01:48 ite-cir.ko
drwxr-xr-x 2 root root 12288 Mai 5 01:48 keymaps
-rw-r--r-- 1 root root 60640 Mai 5 01:48 mceusb.ko
-rw-r--r-- 1 root root 30384 Mai 5 01:48 nuvoton-cir.ko
-rw-r--r-- 1 root root 78616 Mai 5 01:48 rc-core.ko
-rw-r--r-- 1 root root 11776 Mai 5 01:48 rc-loopback.ko
-rw-r--r-- 1 root root 35664 Mai 5 01:48 redrat3.ko
-rw-r--r-- 1 root root 26528 Mai 5 01:48 serial_ir.ko
-rw-r--r-- 1 root root 16216 Mai 5 01:48 sir_ir.ko
-rw-r--r-- 1 root root 15056 Mai 5 01:48 streamzap.ko
-rw-r--r-- 1 root root 13840 Mai 5 01:48 ttusbir.ko
-rw-r--r-- 1 root root 21880 Mai 5 01:48 winbond-cir.ko
-rw-r--r-- 1 root root 11936 Mai 5 01:48 xbox_remote.ko
Is there anything i can do, to get the protocols available in system,
but missing by ir-keytable, working?
On more thing: because off the removed -d parameter, Remotes like the
Technisat TTS35AI are no longer supported, such Type of Remotes are not
recognized in /sys/class/rc/.
Sorry for my bad English
Kind Regards
Ralf Schmidt
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Missing Protocols ir-keytable Ubuntu 20.04
2020-05-06 12:35 Missing Protocols ir-keytable Ubuntu 20.04 Ralf Schmidt
@ 2020-05-08 9:03 ` Sean Young
2020-06-02 16:08 ` Sean Young
1 sibling, 0 replies; 5+ messages in thread
From: Sean Young @ 2020-05-08 9:03 UTC (permalink / raw)
To: Ralf Schmidt; +Cc: linux-media
Hi Ralf,
On Wed, May 06, 2020 at 02:35:32PM +0200, Ralf Schmidt wrote:
> Only working Receiver: all RF X10 Wireless Receiver
> All Outputs with just upgraded 5.4.0-29-generic Kernel (Ubuntu 20.04LTS)
> and newly installed ir-keytable
>
> ralf@nexus:~$ ir-keytable --version
> IR keytable control version 1.18.0
>
> ralf@nexus:~$ sudo ir-keytable -p all
> [sudo] Passwort für ralf:
> Die Protokolle für das Gerät können nicht geändert werden
> Protokolle geändert in other
Well those messages can't both be true.
> /dev/lirc0: kein Empfangsgerät für unverarbeitetes Infrarot
> BPF-Protokoll rc-mm konnte weder in /etc/rc_keymaps/protocols noch in
> /lib/udev/rc_keymaps/protocols gefunden werden
> BPF-Protokoll imon konnte weder in /etc/rc_keymaps/protocols noch in
> /lib/udev/rc_keymaps/protocols gefunden werden
> BPF-Protokoll cec konnte weder in /etc/rc_keymaps/protocols noch in
> /lib/udev/rc_keymaps/protocols gefunden werden
> BPF-Protokoll xmp konnte weder in /etc/rc_keymaps/protocols noch in
> /lib/udev/rc_keymaps/protocols gefunden werden
> BPF-Protokoll sharp konnte weder in /etc/rc_keymaps/protocols noch in
> /lib/udev/rc_keymaps/protocols gefunden werden
> BPF-Protokoll rc-6 konnte weder in /etc/rc_keymaps/protocols noch in
> /lib/udev/rc_keymaps/protocols gefunden werden
> BPF-Protokoll mce_kbd konnte weder in /etc/rc_keymaps/protocols noch in
> /lib/udev/rc_keymaps/protocols gefunden werden
> BPF-Protokoll sanyo konnte weder in /etc/rc_keymaps/protocols noch in
> /lib/udev/rc_keymaps/protocols gefunden werden
> BPF-Protokoll nec konnte weder in /etc/rc_keymaps/protocols noch in
> /lib/udev/rc_keymaps/protocols gefunden werden
> BPF-Protokoll sony konnte weder in /etc/rc_keymaps/protocols noch in
> /lib/udev/rc_keymaps/protocols gefunden werden
> BPF-Protokoll jvc konnte weder in /etc/rc_keymaps/protocols noch in
> /lib/udev/rc_keymaps/protocols gefunden werden
> BPF-Protokoll rc-5-sz konnte weder in /etc/rc_keymaps/protocols noch in
> /lib/udev/rc_keymaps/protocols gefunden werden
> BPF-Protokoll rc-5 konnte weder in /etc/rc_keymaps/protocols noch in
> /lib/udev/rc_keymaps/protocols gefunden werden
> BPF-Protokoll lirc konnte weder in /etc/rc_keymaps/protocols noch in
> /lib/udev/rc_keymaps/protocols gefunden werden
> BPF-Protokoll unknown konnte weder in /etc/rc_keymaps/protocols noch in
> /lib/udev/rc_keymaps/protocols gefunden werden
Oops. Yes, I broke this. ir-keytable should not be doing this. I'll fix
this; in the mean time those messages can be ignored.
-snip-
> But all the protocols are available
Yes, you are right.
> On more thing: because off the removed -d parameter, Remotes like the
> Technisat TTS35AI are no longer supported, such Type of Remotes are not
> recognized in /sys/class/rc/.
Hmm it would be good to know more about this. What device is this exactly?
It would be good to have lsusb output.
> Sorry for my bad English
You are very clear and thank you for your bug report.
Thanks,
Sean
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Missing Protocols ir-keytable Ubuntu 20.04
2020-05-06 12:35 Missing Protocols ir-keytable Ubuntu 20.04 Ralf Schmidt
2020-05-08 9:03 ` Sean Young
@ 2020-06-02 16:08 ` Sean Young
2020-06-09 6:10 ` Peter Hutterer
1 sibling, 1 reply; 5+ messages in thread
From: Sean Young @ 2020-06-02 16:08 UTC (permalink / raw)
To: linux-media, linux-input, wayland-devel; +Cc: Ralf Schmidt
Hi,
On Wed, May 06, 2020 at 02:35:32PM +0200, Ralf Schmidt wrote:
> On more thing: because off the removed -d parameter, Remotes like the
> Technisat TTS35AI are no longer supported, such Type of Remotes are not
> recognized in /sys/class/rc/.
So I'm now the proud owner of this device.
This device is a usb dongle which is an IR receiver, but self-describes
as a usb hid keyboard device. It comes with a remote.
As far as I can figure out, there is no way to reprogram it.
So users have been re-mapping scancodes to different keycodes using:
ir-keytable -d /dev/input/eventN -c -k 0x12:KEY_F1
However, ir-keytable was designed load keymaps for rc devices, not hid
devices. This functionality was intentionally removed, as it was buggy
in many ways. ir-keytable does not exist for remapping usb hid keyboards.
This has left some users like Ralf in a situation where they can no longer
change the key mappings for their remote.
ir-keytable is probably not the right way to do this; it has no rules to
do this from udev, for example. What tooling is there for doing this
and what is the recommended way to do this?
Sean
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Missing Protocols ir-keytable Ubuntu 20.04
2020-06-02 16:08 ` Sean Young
@ 2020-06-09 6:10 ` Peter Hutterer
2020-06-10 12:43 ` Sean Young
0 siblings, 1 reply; 5+ messages in thread
From: Peter Hutterer @ 2020-06-09 6:10 UTC (permalink / raw)
To: Sean Young; +Cc: linux-media, linux-input, wayland-devel, Ralf Schmidt
On Tue, Jun 02, 2020 at 05:08:10PM +0100, Sean Young wrote:
> Hi,
>
> On Wed, May 06, 2020 at 02:35:32PM +0200, Ralf Schmidt wrote:
> > On more thing: because off the removed -d parameter, Remotes like the
> > Technisat TTS35AI are no longer supported, such Type of Remotes are not
> > recognized in /sys/class/rc/.
>
> So I'm now the proud owner of this device.
>
> This device is a usb dongle which is an IR receiver, but self-describes
> as a usb hid keyboard device. It comes with a remote.
>
> As far as I can figure out, there is no way to reprogram it.
>
> So users have been re-mapping scancodes to different keycodes using:
>
> ir-keytable -d /dev/input/eventN -c -k 0x12:KEY_F1
>
> However, ir-keytable was designed load keymaps for rc devices, not hid
> devices. This functionality was intentionally removed, as it was buggy
> in many ways. ir-keytable does not exist for remapping usb hid keyboards.
>
> This has left some users like Ralf in a situation where they can no longer
> change the key mappings for their remote.
>
> ir-keytable is probably not the right way to do this; it has no rules to
> do this from udev, for example. What tooling is there for doing this
> and what is the recommended way to do this?
remapping the keys through the udev builtins maybe?
see /usr/lib/udev/hwdb.d/60-keyboard.hwdb
Cheers,
Peter
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Missing Protocols ir-keytable Ubuntu 20.04
2020-06-09 6:10 ` Peter Hutterer
@ 2020-06-10 12:43 ` Sean Young
0 siblings, 0 replies; 5+ messages in thread
From: Sean Young @ 2020-06-10 12:43 UTC (permalink / raw)
To: Peter Hutterer; +Cc: linux-media, linux-input, wayland-devel, Ralf Schmidt
On Tue, Jun 09, 2020 at 04:10:14PM +1000, Peter Hutterer wrote:
> On Tue, Jun 02, 2020 at 05:08:10PM +0100, Sean Young wrote:
> > Hi,
> >
> > On Wed, May 06, 2020 at 02:35:32PM +0200, Ralf Schmidt wrote:
> > > On more thing: because off the removed -d parameter, Remotes like the
> > > Technisat TTS35AI are no longer supported, such Type of Remotes are not
> > > recognized in /sys/class/rc/.
> >
> > So I'm now the proud owner of this device.
> >
> > This device is a usb dongle which is an IR receiver, but self-describes
> > as a usb hid keyboard device. It comes with a remote.
> >
> > As far as I can figure out, there is no way to reprogram it.
> >
> > So users have been re-mapping scancodes to different keycodes using:
> >
> > ir-keytable -d /dev/input/eventN -c -k 0x12:KEY_F1
> >
> > However, ir-keytable was designed load keymaps for rc devices, not hid
> > devices. This functionality was intentionally removed, as it was buggy
> > in many ways. ir-keytable does not exist for remapping usb hid keyboards.
> >
> > This has left some users like Ralf in a situation where they can no longer
> > change the key mappings for their remote.
> >
> > ir-keytable is probably not the right way to do this; it has no rules to
> > do this from udev, for example. What tooling is there for doing this
> > and what is the recommended way to do this?
>
> remapping the keys through the udev builtins maybe?
> see /usr/lib/udev/hwdb.d/60-keyboard.hwdb
That's a good idea.
Ralf, what keyboard mappings are you using?
Thanks,
Sean
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-06-10 12:43 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-06 12:35 Missing Protocols ir-keytable Ubuntu 20.04 Ralf Schmidt
2020-05-08 9:03 ` Sean Young
2020-06-02 16:08 ` Sean Young
2020-06-09 6:10 ` Peter Hutterer
2020-06-10 12:43 ` Sean Young
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).