I’m trying to map a Tivo Stream 4K remote for use on an Ugoos AM6B+ under CoreELEC 21.0, but it’s not working for any button but the select button.
cat /proc/bus/input/devices
I: Bus=0005 Vendor=0471 Product=1207 Version=0110
N: Name="TiVo Remote"
P: Phys=c0:f5:35:0e:2d:4f
S: Sysfs=/devices/virtual/misc/uhid/0005:0471:1207.0009/input/input8
U: Uniq=ac:eb:51:08:91:ca
H: Handlers=sysrq kbd leds event8
B: PROP=0
B: EV=12001f
B: KEY=3f 3007f 0 0 0 0 483ffff 17aff32d bf544446 0 0 1 130ff3 8b17c007 ffff7bfa d9415fff ffbeffdf ffefffff ffffffff fffffffe
B: REL=c0
B: ABS=101 0
B: MSC=10
B: LED=1f
evtest /dev/input/event8
Input driver version is 1.0.1
Input device ID: bus 0x5 vendor 0x471 product 0x1207 version 0x110
Input device name: "TiVo Remote"
Supported events:
...
*Press Select Key*
Event: time 1712643414.772952, type 4 (EV_MSC), code 4 (MSC_SCAN), value c0041
Event: time 1712643414.772952, type 1 (EV_KEY), code 28 (KEY_ENTER), value 1
Event: time 1712643414.772952, -------------- SYN_REPORT ------------
Event: time 1712643414.874782, type 4 (EV_MSC), code 4 (MSC_SCAN), value c0041
Event: time 1712643414.874782, type 1 (EV_KEY), code 28 (KEY_ENTER), value 0
Event: time 1712643414.874782, -------------- SYN_REPORT ------------
*Press Neflix key*
Event: time 1712643577.450678, type 4 (EV_MSC), code 4 (MSC_SCAN), value c01c8
Event: time 1712643577.450678, type 1 (EV_KEY), code 240 (KEY_UNKNOWN), value 1
Event: time 1712643577.450678, -------------- SYN_REPORT ------------
Event: time 1712643577.552032, type 4 (EV_MSC), code 4 (MSC_SCAN), value c01c8
Event: time 1712643577.552032, type 1 (EV_KEY), code 240 (KEY_UNKNOWN), value 0
Event: time 1712643577.552032, -------------- SYN_REPORT ------------
Edit /storage/.config/hwdb/99-tivo.hwdb
#Tivo Stream 4k Remote
evdev:input:b0005v0471p1207*
KEYBOARD_KEY_c0041=enter
KEYBOARD_KEY_c01c8=enter
udevadm hwdb --update
udevadm trigger -s input
reboot
Result is select key works, netflix key does nothing. Trying to remap channel up/down, “i”, tivo button, etc. all don’t work either.
With kodi debug logging on pushing the netflix keys gives
2024-04-08 23:22:19.657 T:5319 debug <general>: Keyboard: scancode: 0xf0, sym: 0x00, unicode: 0x00, modifier: 0x0
2024-04-08 23:22:19.657 T:5319 debug <general>: GetActionCode: Trying Hardy keycode for 0xf200
2024-04-08 23:22:19.657 T:5319 info <general>: Skipped 3 duplicate messages..
2024-04-08 23:22:19.657 T:5319 debug <general>: HandleKey: 0 (0xf200, obc-61697) pressed, window 10000, action is
2024-04-08 23:22:19.750 T:5319 debug <general>: Keyboard: scancode: 0xf0, sym: 0x00, unicode: 0x00, modifier: 0x0
systemd-analyze cat-config udev/hwdb.d shows the entries from the .hwdb file have been read. And the select key working says it’s been read too as it doesn’t work without the hwdb file.
So what am I doing wrong for all the other keys that they aren’t getting mapped to whatever I map them to?