[ solved ] eventlircd and evmap gone in 3.1
Home › Forums › GeeXboX for PC › [ solved ] eventlircd and evmap gone in 3.1
This topic contains 5 replies, has 2 voices, and was last updated by
tomlohave 4 months, 1 week ago.
-
AuthorPosts
-
Hello,
I have an old Twinhan Remote from a DVB card (USB HID Keyboard type),
used it on GeeXbox 3.0 editing file: /lib/udev/rules.d/98-eventlircd.rules
to parse Vendor & Model USB ID’SENV{ID_VENDOR_ID}=="6253", ENV{ID_MODEL_ID}=="0100", ENV{eventlircd_enable}="true", ENV{eventlircd_evmap}="03_$env{ID_VENDOR_ID}_$env{ID_MODEL_ID}.evmap"and creating custom 03_6253_0100.evmap on /etc/eventlirc.d for key remapping.
Testing 3.1 devel-20140607-rfbba663 found that /etc/eventlircd.d folder is empty
(no evmaps). Neither /lib/udev/rules.d/98-eventlircd.rules is present.
Adding manually .evmaps and /lib/udev/rules.d/98-eventlircd.rules of ver. 3.0 didn’t work.
Seems like remote works ok with kernel driver as a keyboard but without remapping.# ir-keytable -t -d /dev/input/event4 Testing events. Please, press CTRL-C to abort. 1402574347.472503: event MSC: scancode = 7004b 1402574347.472503: event key down: KEY_CHANNELUP (0x0192) 1402574347.472503: event sync 1402574347.480463: event MSC: scancode = 7004b 1402574347.480463: event key up: KEY_CHANNELUP (0x0192) 1402574347.480463: event synccan you test if eventlircd package is installed ?
from a remote shell, try :
opkg list-installed | grep eventI’m checking a local build and it’s here
Hi Tomlohave, thank you for all your hard work and support.
Maybe my post lack some info, will try to expand.
This problem belongs to devel downloaded binary snapshot,
not my local build (still working to fix some compilation errors).
eventlircd package installed properly, but seems that some patch/commit
between 3.0 and latest 3.1 snapshot remove all *.evmap files from
/etc/eventlirc.d
also missing file from udev
/lib/udev/rules.d/98-eventlircd.rules
I am doing some hardware upgrade on my test HTPC to speedup testing,
will paste output of grep in some minutes.Clean install 3.1 devel-20140607-rfbba663 snapshot on CF (format,install)
configured settings on xbmc gui; video & audio output, timezone,etc.
Settings – System – Input devices: “Remote control sends keyboard presses” selected.
This is the output of opkg list:# opkg list-installed | grep event libevent - 2.0.21-stable-1 xbmc-eventclient - 1.0-2Seems eventlircd is not present.
[SOLVED] installed evntlircd, rebooted , edited /lib/udev/rules.d/98-eventlircd.rules
to fetch Twinhan Tech Remote Control USB Vendor & Model and ftp 03_6253_0100.evmap
(custom key map) to /etc/eventlircd.d and reboot again.
Now all key remapping works as expected, thank you.#-------------------------------------------------------------------- # Twinhan Tech Remote Control - evmap file (03_6253_0100.evmap) # Input device ID: bus 0x3 vendor 0x6253 product 0x100 version 0x110 #-------------------------------------------------------------------- #-------------------------------------------------------------------------------------------------------- # REMAPED KEYS: EVENT RECEIVED KEY = EVENT LIRC REMAPED # Comment Evcode-EvKey-RcuKey-Scancode-MapedKey #-------------------------------------------------------------------------------------------------------- KEY_VOLUMEDOWN = KEY_LEFT # Event code 114 (KEY_VOLUMEDOWN) # Vol- 70051 [left] KEY_VOLUMEUP = KEY_RIGHT # Event code 115 (KEY_VOLUMEUP) # Vol+ 70052 [right] KEY_CHANNELUP = KEY_UP # Event code 402 (KEY_CHANNELUP) # CH+ 7004b [up] KEY_CHANNELDOWN = KEY_DOWN # Event code 403 (KEY_CHANNELDOWN) # CH- 7004e [down] KEY_PLAY = KEY_OK # Event code 207 (KEY_PLAY) # Play 70028 [ok] KEY_RESTART = KEY_EXIT # Event code 408 (KEY_RESTART) # Recall 70006 [exit] KEY_POWER2 = KEY_POWER # Event code 356 (KEY_POWER2) # Power 7003f [power] KEY_FORWARD = KEY_VOLUMEUP # Event code 159 (KEY_FORWARD) # Forward 70011 [vol+] KEY_REWIND = KEY_VOLUMEDOWN # Event code 168 (KEY_REWIND) # Rewind 7000c [vol-] KEY_PRINT = KEY_SUBTITLE # Event code 210 (KEY_PRINT) # Capture 70013 [subtitle] KEY_PROGRAM = KEY_INFO # Event code 362 (KEY_PROGRAM) # Preview 7000e [Info] KEY_LIST = KEY_MENU # Event code 395 (KEY_LIST) # Record List 7000f [Menu]closing,
I have pushed your config :
https://github.com/OpenBricks/openbricks/commit/72f5a686d2d9384b49bf1660138263eaa0803e97 -
AuthorPosts
You must be logged in to reply to this topic.