2016-09-11, 22:08
Isn't it what udev's hwdb intended for? https://cgit.freedesktop.org/systemd/sys...board.hwdb
OpenELEC:~ # systemctl stop eventlircd.service
OpenELEC:~ # systemctl stop eventlircd
OpenELEC:~ # systemctl stop kodi
OpenELEC:~ # systemctl stop kodi.service
hid_mapper --list-devices
Found HID device at /dev/hidraw0
Manufacturer : 058F312D81A
Product name : Modiotek USB Headset
Found HID device at /dev/hidraw1
Manufacturer : 058F312D81A
Product name : Modiotek USB Headset
Found HID device at /dev/hidraw2
Manufacturer : 058F312D81A
Product name : Modiotek USB Headset
OpenELEC:~ # hid_mapper --learn --manufacturer '058F312D81A' product 'Modiotek USB Headset' --map ''
Unable to find specified HID device
OpenELEC:~ #
OpenELEC:~ # hid_mapper --learn --lookup-id --manufacturer '03e7' product '0d01' --map ''
Unable to find specified HID device
OpenELEC:~ #
OpenELEC:~ # hid_mapper --learn --lookup-id --manufacturer 03e7 product 0d01 --map ''
Unable to find specified HID device
OpenELEC:~ #