[ solved ] Remote – No: OK, EXIT, context menu – key functions
Home › Forums › GeeXboX for PC › [ solved ] Remote – No: OK, EXIT, context menu – key functions
This topic contains 18 replies, has 3 voices, and was last updated by
takeitapart 6 days, 10 hours ago.
-
AuthorPosts
-
I give.. Been round and round on this
Using forum posts beginning here: http://www.geexbox.org/forum/topic/terratec-cinergy-hybrid-t-usb-xs-remote/#post-2579
I worked through the tests below.
The key tests show the correct keys are being pressed, and the remote works. Eenter key and play work, but without EXIT and context menu, it’s a one way street that dead ends.
I also tried the IR instructions here: http://www.solid-run.com/mw/index.php?title=GeeXboX#Remote_control
but the /usr/bin/change-rc file is non existant in my installAnd I may be working completely off base as systemctl stop eventlircd.service
gives me “Failed to issue method call: Unit eventlircd.service not loaded”Wondering if I could remap the keys from this table:
http://www.geexbox.org/geexbox-daily-usage-inputs-and-key-mapping/c for context menu and esc for exit?
can someone point me in a direction.
These were run from telnet on a fresh x386 Geexbox 3.1 installcat /proc/bus/input/devices
I: Bus=0003 Vendor=045e Product=006d Version=0200
N: Name=”Media Center Ed. eHome Infrared Remote Transceiver (045e:006d)”
P: Phys=usb-0000:00:1d.1-1
S: Sysfs=/devices/pci0000:00/0000:00:1d.1/usb7/7-1/7-1:1.0/rc/rc0/input6
U: Uniq=
H: Handlers=kbd event6
B: PROP=0
B: EV=100013
B: KEY=fff 0 0 200 108fc32e 2376051 0 0 0 7 158000 4192 4001 8e9680 0 0 10000000
B: MSC=10udevadm info –query=all –name=/dev/input/event6
P: /devices/pci0000:00/0000:00:1d.1/usb7/7-1/7-1:1.0/rc/rc0/input6/event6
N: input/event6
S: input/by-id/usb-Microsoft_Microsoft_IR_Transceiver_MS0ZO5PL-event-if00
S: input/by-path/pci-0000:00:1d.1-usb-0:1:1.0-event
E: DEVLINKS=/dev/input/by-id/usb-Microsoft_Microsoft_IR_Transceiver_MS0ZO5PL-event-if00 /dev/input/by-path/pci-0000:00:1d.1-usb-0:1:1.0-event
E: DEVNAME=/dev/input/event6
E: DEVPATH=/devices/pci0000:00/0000:00:1d.1/usb7/7-1/7-1:1.0/rc/rc0/input6/event6
E: ID_BUS=usb
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: ID_MODEL=Microsoft_IR_Transceiver
E: ID_MODEL_ENC=Microsoftx20IRx20Transceiver
E: ID_MODEL_ID=006d
E: ID_PATH=pci-0000:00:1d.1-usb-0:1:1.0
E: ID_PATH_TAG=pci-0000_00_1d_1-usb-0_1_1_0
E: ID_REVISION=0200
E: ID_SERIAL=Microsoft_Microsoft_IR_Transceiver_MS0ZO5PL
E: ID_SERIAL_SHORT=MS0ZO5PL
E: ID_TYPE=generic
E: ID_USB_DRIVER=mceusb
E: ID_USB_INTERFACES=:ffffff:
E: ID_USB_INTERFACE_NUM=00
E: ID_VENDOR=Microsoft
E: ID_VENDOR_ENC=Microsoft
E: ID_VENDOR_ID=045e
E: MAJOR=13
E: MINOR=70
E: SUBSYSTEM=input
E: USEC_INITIALIZED=77136Input driver version is 1.0.1
Input device ID: bus 0×3 vendor 0x45e product 0x6d version 0×200
Input device name: “Media Center Ed. eHome Infrared Remote Transceiver (045e:006d)”
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 28 (KEY_ENTER)
Event code 103 (KEY_UP)
Event code 105 (KEY_LEFT)
Event code 106 (KEY_RIGHT)
Event code 108 (KEY_DOWN)
Event code 111 (KEY_DELETE)
Event code 113 (KEY_MUTE)
Event code 114 (KEY_VOLUMEDOWN)
Event code 115 (KEY_VOLUMEUP)
Event code 119 (KEY_PAUSE)
Event code 128 (KEY_STOP)
Event code 142 (KEY_SLEEP)
Event code 161 (KEY_EJECTCD)
Event code 164 (KEY_PLAYPAUSE)
Event code 167 (KEY_RECORD)
Event code 168 (KEY_REWIND)
Event code 174 (KEY_EXIT)
Event code 207 (KEY_PLAY)
Event code 208 (KEY_FASTFORWARD)
Event code 210 (KEY_PRINT)
Event code 212 (KEY_CAMERA)
Event code 224 (KEY_BRIGHTNESSDOWN)
Event code 225 (KEY_BRIGHTNESSUP)
Event code 226 (KEY_MEDIA)
Event code 352 (KEY_OK)
Event code 356 (KEY_POWER2)
Event code 358 (KEY_INFO)
Event code 365 (KEY_EPG)
Event code 366 (KEY_PVR)
Event code 368 (KEY_LANGUAGE)
Event code 369 (KEY_TITLE)
Event code 370 (KEY_SUBTITLE)
Event code 372 (KEY_ZOOM)
Event code 373 (KEY_MODE)
Event code 377 (KEY_TV)
Event code 385 (KEY_RADIO)
Event code 386 (KEY_TUNER)
Event code 387 (KEY_PLAYER)
Event code 389 (KEY_DVD)
Event code 392 (KEY_AUDIO)
Event code 393 (KEY_VIDEO)
Event code 398 (KEY_RED)
Event code 399 (KEY_GREEN)
Event code 400 (KEY_YELLOW)
Event code 401 (KEY_BLUE)
Event code 402 (KEY_CHANNELUP)
Event code 403 (KEY_CHANNELDOWN)
Event code 407 (KEY_NEXT)
Event code 412 (KEY_PREVIOUS)
Event code 425 (KEY_PRESENTATION)
Event code 512 (KEY_NUMERIC_0)
Event code 513 (KEY_NUMERIC_1)
Event code 514 (KEY_NUMERIC_2)
Event code 515 (KEY_NUMERIC_3)
Event code 516 (KEY_NUMERIC_4)
Event code 517 (KEY_NUMERIC_5)
Event code 518 (KEY_NUMERIC_6)
Event code 519 (KEY_NUMERIC_7)
Event code 520 (KEY_NUMERIC_8)
Event code 521 (KEY_NUMERIC_9)
Event code 522 (KEY_NUMERIC_STAR)
Event code 523 (KEY_NUMERIC_POUND)
Event type 4 (EV_MSC)
Event code 4 (MSC_SCAN)
Event type 20 (EV_REP)??? this next step doesn’t look right.. (“start” doesn’t work either, but the key test works) ???
systemctl stop eventlircd.service
Failed to issue method call: Unit eventlircd.service not loadedevtest /dev/input/event6
Testing … (interrupt to exit)
Event: time 1383764851.740502, type 4 (EV_MSC), code 4 (MSC_SCAN), value 800f0422
Event: time 1383764851.740502, type 1 (EV_KEY), code 352 (KEY_OK), value 1
Event: time 1383764851.740502, ————- SYN_REPORT ————
Event: time 1383764851.836493, type 4 (EV_MSC), code 4 (MSC_SCAN), value 800f0422
Event: time 1383764851.836493, ————- SYN_REPORT ————
Event: time 1383764851.979527, type 4 (EV_MSC), code 4 (MSC_SCAN), value 800f0422
Event: time 1383764851.979527, ————- SYN_REPORT ————
Event: time 1383764852.230083, type 1 (EV_KEY), code 352 (KEY_OK), value 0
Event: time 1383764852.230083, ————- SYN_REPORT ————
Event: time 1383764852.836494, type 4 (EV_MSC), code 4 (MSC_SCAN), value 800f0423
Event: time 1383764852.836494, type 1 (EV_KEY), code 174 (KEY_EXIT), value 1
Event: time 1383764852.836494, ————- SYN_REPORT ————
Event: time 1383764852.963496, type 4 (EV_MSC), code 4 (MSC_SCAN), value 800f0423
Event: time 1383764852.963496, ————- SYN_REPORT ————
Event: time 1383764853.214080, type 1 (EV_KEY), code 174 (KEY_EXIT), value 0
Event: time 1383764853.214080, ————- SYN_REPORT ————
Event: time 1383764854.361482, type 4 (EV_MSC), code 4 (MSC_SCAN), value 800f040b
Event: time 1383764854.361482, type 1 (EV_KEY), code 28 (KEY_ENTER), value 1
Event: time 1383764854.361482, ————- SYN_REPORT ————
Event: time 1383764854.504499, type 4 (EV_MSC), code 4 (MSC_SCAN), value 800f040b
Event: time 1383764854.504499, ————- SYN_REPORT ————
Event: time 1383764854.754090, type 1 (EV_KEY), code 28 (KEY_ENTER), value 0
Event: time 1383764854.754090, ————- SYN_REPORT ————
Event: time 1383764855.457522, type 4 (EV_MSC), code 4 (MSC_SCAN), value 800f040a
Event: time 1383764855.457522, type 1 (EV_KEY), code 111 (KEY_DELETE), value 1
Event: time 1383764855.457522, ————- SYN_REPORT ————
Event: time 1383764855.584518, type 4 (EV_MSC), code 4 (MSC_SCAN), value 800f040a
Event: time 1383764855.584518, ————- SYN_REPORT ————
Event: time 1383764855.833987, type 1 (EV_KEY), code 111 (KEY_DELETE), value 0
Event: time 1383764855.833987, ————- SYN_REPORT ————
Event: time 1383764856.744497, type 4 (EV_MSC), code 4 (MSC_SCAN), value 800f0416
Event: time 1383764856.744497, type 1 (EV_KEY), code 207 (KEY_PLAY), value 1
Event: time 1383764856.744497, ————- SYN_REPORT ————
Event: time 1383764856.887502, type 4 (EV_MSC), code 4 (MSC_SCAN), value 800f0416
Event: time 1383764856.887502, ————- SYN_REPORT ————
Event: time 1383764857.137962, type 1 (EV_KEY), code 207 (KEY_PLAY), value 0
Event: time 1383764857.137962, ————- SYN_REPORT ————-
This topic was modified 2 weeks ago by
tomlohave.
ok …
please do :
opkg update opkg install eventlircd systemctl stop xbmc systemctl start eventlircd systemctl start xbmc systemctl status eventlircdopkg update – Updated
opkg install eventlircd – Installed
systemctl stop xbmc – no response
systemctl start eventlircd – no response
systemctl start xbmc – no response
systemctl status eventlircd
eventlircd.service – Eventlircd daemon
Loaded: loaded (/lib/systemd/system/eventlircd.service; disabled)
Active: active (running) since Wed 2013-11-06 21:09:13 UTC; 6min ago
Process: 649 ExecStart=/usr/sbin/eventlircd $EV_OPTS (code=exited, status=0/SUCCESS)
Process: 645 ExecStartPre=/usr/bin/change-rc (code=exited, status=0/SUCCESS)
Main PID: 651 (eventlircd)
CGroup: /system.slice/eventlircd.service
└─651 /usr/sbin/eventlircd -evmap=/etc/eventlircd.d -socket=/var/run/lirc/lircd -release=_UPNov 06 21:09:13 geexbox change-rc[645]: No specific keymaps, abording …
Tried remote – no difference
Reboot – no difference
systemctl status eventlircd – same as above
cst /proc/bus/input/devices – Media enter Ed. eHome… had changed to event3
stop xbmc
stop eventlircd.service
evtest /dev/input/event3
Same results as previous post – correct keys being readopkg update – Updated opkg install eventlircd – Installed systemctl stop xbmc – no response systemctl start eventlircd – no response systemctl start xbmc – no response“no response” is ok
ok , your remote is not (yet) correctly used
You can look at /lib/udev/rules.d/98-eventlircd.rules
You remote should be added here
and evmap file too in /etc/eventlircd.d/ with the name 03_045e_006d.evmap
with the form : (copy from other file, you need to adapt it from evtest report)KEY_1 = KEY_NUMERIC_1 # 1 KEY_2 = KEY_NUMERIC_2 # 2 KEY_3 = KEY_NUMERIC_3 # 3 KEY_4 = KEY_NUMERIC_4 # 4 KEY_5 = KEY_NUMERIC_5 # 5 KEY_6 = KEY_NUMERIC_6 # 6 KEY_7 = KEY_NUMERIC_7 # 7 KEY_8 = KEY_NUMERIC_8 # 8 KEY_9 = KEY_NUMERIC_9 # 9 KEY_0 = KEY_NUMERIC_0 # 0 KEY_UP = KEY_UP # Up Arrow KEY_DOWN = KEY_DOWN # Down Arrow KEY_LEFT = KEY_LEFT # Left Arrow KEY_RIGHT = KEY_RIGHT # Right Arrow KEY_ENTER = KEY_ENTER # Enter & Ok KEY_DELETE = KEY_CLEAR # Clear KEY_HOME = KEY_HOME # Home KEY_SLEEP = KEY_POWER # Power KEY_DVD = KEY_DVD # DVD/VCD KEY_MP3 = KEY_MP3 # Music KEY_MEDIA = KEY_IMAGES # Pictures KEY_VIDEO = KEY_VIDEO # Videos KEY_TV = KEY_TV # Live TV KEY_RECORD = KEY_RECORD # Record KEY_RADIO = KEY_RADIO # Radio KEY_AUDIO = KEY_AUDIO # SAP KEY_TEXT = KEY_TEXT # Teletext/CC KEY_LAST = KEY_LAST # Last CH KEY_SUBTITLE = KEY_SUBTITLE # Subtitle KEY_LANGUAGE = KEY_LANGUAGE # Language KEY_ANGLE = KEY_ANGLE # Angle KEY_BACK = KEY_BACK # BACK KEY_PROPS = KEY_INFO # Info/EPG KEY_MENU = KEY_MENU # DVD Menu KEY_VOLUMEDOWN = KEY_VOLUMEDOWN # Vol - KEY_VOLUMEUP = KEY_VOLUMEUP # Vol + KEY_MUTE = KEY_MUTE # Mute KEY_CHANNELUP = KEY_CHANNELUP # CH/PG up KEY_CHANNELDOWN = KEY_CHANNELDOWN # CH/PG down KEY_PLAY = KEY_PLAY # Play KEY_REWIND = KEY_REWIND # Rev KEY_PAUSE = KEY_PAUSE # Pause KEY_FASTFORWARD = KEY_FASTFORWARD # Fwd KEY_PREVIOUSSONG = KEY_PREVIOUS # Prev KEY_STOPCD = KEY_STOP # Stop KEY_NEXTSONG = KEY_NEXT # NextGood luck.
-
This reply was modified 2 weeks, 3 days ago by
tomlohave.
Yep that did it!
Thank you for the incredibly fast and accurate help Tomlohave! I appreciate your commitment to this project!
You (all) have created a truly beautiful, fast, efficient, and user friendly product!Now to help the next sod that comes along with the same question.
I’m using one of those 3# wide gray HP IR USB receivers
After a fresh Geexbox 3.1 x386 install (while connected to internet)
opkg update
opkg install eventlircd
systemctl stop xbmc
systemctl start eventlircd
systemctl start xbmcI put the following in a file and saved in /etc/eventlircd.d/ as 03_045e_006d.evmap
(see above to figure out why I used that filename – hint Vendor=045e Product=006d)KEY_0 – KEY_NUMERIC_0
KEY_1 – KEY_NUMERIC_1
KEY_2 – KEY_NUMERIC_2
KEY_3 – KEY_NUMERIC_3
KEY_4 – KEY_NUMERIC_4
KEY_5 – KEY_NUMERIC_5
KEY_6 – KEY_NUMERIC_6
KEY_7 – KEY_NUMERIC_7
KEY_8 – KEY_NUMERIC_8
KEY_9 – KEY_NUMERIC_9
KEY_DELETE – KEY_DELETE
KEY_ENTER – KEY_ENTER
KEY_SLEEP – KEY_SLEEP
KEY_HOME – KEY_MEDIA
KEY_MUTE – KEY_MUTE
KEY_INFO – KEY_INFO
KEY_VOLUMEUP – KEY_VOLUMEUP
KEY_VOLUMEDOWN – KEY_VOLUMEDOWN
KEY_CHANNELUP – KEY_CHANNELUP
KEY_CHANNELDOWN – KEY_CHANNELDOWN
KEY_FASTFORWARFD – KEY_FASTFORWARD
KEY_REWIND – KEY_REWIND
KEY_PLAY – KEY_PLAY
KEY_RECORD – KEY_RECORD
KEY_PAUSE – KEY_PAUSE
KEY_STOP – KEY_STOP
KEY_NEXT – KEY_NEXT
KEY_PREVIOUS – KEY_PREVIOUS
KEY_NUMERIC_POUND – KEY_NUMERIC_POUND
KEY_NUMERIC_STAR – KEY_NUMERIC_STAR
KEY_UP – KEY_UP
KEY_DOWN – KEY_DOWN
KEY_LEFT – KEY_LEFT
KEY_RIGHT – KEY_RIGHT
KEY_ENTER – KEY_OK
KEY_EXIT – KEY_EXIT
KEY_DVD – KEY_DVD
KEY_TUNER – KEY_TUNER
KEY_EPG – KEY_EPG
KEY_ZOOM – KEY_ZOOM
KEY_MODE – KEY_MODE
KEY_PRESENTATION – KEY_PRESENTATION
KEY_EJECTCD – KEY_EJECTCD
KEY_RIGHTNESSUP – KEY_BRIGHTNESSUP
KEY_TV – KEY_TV
KEY_AUDIO – KEY_AUDIO
KEY_HOME – KEY_PVR
KEY_CAMERA – KEY_CAMERA
KEY_VIDEO – KEY_VIDEO
KEY_LANGUAGE – KEY_LANGUAGE
KEY_TITLE – KEY_TITLE
KEY_PRINT – KEY_PRINT
KEY_RADIO – KEY_RADIO
KEY_SUBTITLE – KEY_SUBTITLE
KEY_RED – KEY_RED
KEY_GREEN – KEY_GREEN
KEY_YELLOW – KEY_YELLOW
KEY_BLUE – KEY_BLUE
KEY_POWER2 – KEY_POWER2
KEY_PLAYPAUSE – KEY_PLAYPAUSE
KEY_PLAYER – KEY_PLAYER
KEY_BRIGHTNESSDOWN – KEY_BRIGHTNESSDOWN
KEY_PLAYPAUSE – KEY_PLAYPAUSEThe list has more keys than the remote and i customized a couple but this should get you started.
Then added this, down near the bottom of /lib/udev/rules.d/98-eventlircd.rules
There are others (examples) just like it already in the file.ENV{ID_VENDOR_ID}==”045e”, ENV{ID_MODEL_ID}==”006d”,
ENV{eventlircd_enable}=”true”,
ENV{eventlircd_evmap}=”03_$env{ID_VENDOR_ID}_$env{ID_MODEL_ID}.evmap”Reboot and everything worked.
Notes:
I used a thumb drive and the XBMC->system=>File Manager to move files in and out.Thanks for the test

I will push your file to our tree.
Note: I think a 3.1.1 release should contains it
After some further testing I have a couple of questions.
I thought I was remapping keys with the above file..
I know by the KEY_NUMERIC* the column on the right is the remote key (column on the left is XBMC input)
Using evtest to make sure I was mapping the correct keys… I mapped
KEY_ENTER – KEY_OK worked.
KEY_EXIT – KEY_EXIT worked
KEY_HOME – KEY_MEDIA didn’t work
KEY_EPG – KEY_MEDIA didn’t work
(KEY_EPG – KEY_EPG works,gives me the context menu, I wanted to map it to the media key too)
KEY_SLEEP – KEY_SLEEP doesn’t work
KEY_POWER – KEY_SLEEP doesn’t work
I also had a typo on KEY_BRIGHTNESSUP aboveI looked at other .evmap files in /etc/eventlircd.d/ and the use KEY_SLEEP and KEY_POWER.
Is there a conflict somewhere? Something being included before or after that might be overriding these few remaps?
If you point me in a direction I’ll keep testing.. any ideas?What is in logfile (root.xbmctempxbmc.log) when pressed not working buttons?
Edit-time st5amp threw me off
Fresh boot
Push the remote’s power button 3 times. (KEY_SLEEP)
Push the Media button 3 times Key_Media
Telnet in and nano /root/.xbmc/temp/xbmc.log
Notice: Background loader start, auto delete: false
Error: Remote Translator: Can’t find button browser_homeGoing to map browser_home and see what happens
-
This reply was modified 2 weeks, 1 day ago by
takeitapart.
in /usr/share/xbmc/system/Lircmap.xml
look at keys for devinput deviceAll used keys should be here
KEY_LEFT KEY_RIGHT KEY_UP KEY_DOWN KEY_ENTER KEY_DELETE KEY_PROG1 KEY_EXIT KEY_RECORD KEY_PLAY KEY_PAUSE KEY_STOP KEY_FASTFORWARD KEY_REWIND KEY_VOLUMEUP KEY_VOLUMEDOWN KEY_CHANNELUP KEY_CHANNELDOWN KEY_NEXT KEY_PREVIOUS KEY_EPG KEY_SUBTITLE KEY_LANGUAGE KEY_INFO KEY_ZOOM KEY_MUTE KEY_POWER KEY_EJECT KEY_VIDEO KEY_AUDIO KEY_CAMERA KEY_TUNER KEY_TEXT KEY_NUMERIC_1 KEY_NUMERIC_2 KEY_NUMERIC_3 KEY_NUMERIC_4 KEY_NUMERIC_5 KEY_NUMERIC_6 KEY_NUMERIC_7 KEY_NUMERIC_8 KEY_NUMERIC_9 KEY_NUMERIC_0 KEY_NUMERIC_STAR KEY_NUMERIC_POUND KEY_RED KEY_GREEN KEY_YELLOW KEY_BLUE KEY_MEDIA Solved (for me anyway)
grep -H -r “browser_home” /root
got me to /root/.xbmc/userdata/Lircmap.xml
nano /root/.xbmc/userdata/Lircmap.xml
last line in
is
KEY_MEDIA
I modified this to
KEY_MEDIA <- my preference to remap this
…
There was no entry for KEY_SLEEP under “dev input”
so I added
KEY_SLEEP>
and I’m happy to report both worked.
…
You may have a more elegant way of doing this.. I’d be interested in knowing about it if you do.
Thanks again for your help!!If I can make one request/suggestion.
When I fat finger ctrl-z in nano it breaks me out, and I can’t get back in using “fg”
Inconvenient but a small price to pay for such a tiny distro so I’m not complaining.
Great work!Please, can you sent me (in about, the team) your modified file then I can make a regular diff to add to our tree.
and I use not so often nano
Thanks for all your feedback.I’ve got 2 more different IR receivers waiting to be tested now that I’ve got this one working.
Weekends are usually hectic.
Give me a couple of days and I’ll test then send you the details & files for all three.no problem
I’m back…
And after a day of testing, I think I went about this the wrong way.
Here’s why:
I have several MCE remotes RC6 style
When I do a fresh 3.1 install and plug in any of the 3 (different model) IR receivers I have, some remote keys work (up,down,left right,enter), but some do not (OK, Back, and Power).
When I run evtest /dev/input/event6, I see the keys I’m pressing being correctly read (KEY_OK, KEY_EXIT, KEY_SLEEP) just no reaction in xbmc.
This is without running the update and without eventlircd installed or running.
And when I look in xbmc.log, (no eventlirc running) there are no errors reported.So my question is.. what is handling these remote codes if not eventlirc, and where are it’s keymaps?
I say I went about this the wrong way because after installing updates and starting eventlirc then doing all of the below, my OK, EXIT and SLEEP buttons aren’t working on my new install. I’m going to pull files from my other working install tomorrow, but I think re-maps I made in the .evmap file worked where maps in the Lircmap.xml did not.
Also in looking at some of the other .evmap files I notice they are much smaller. For the most part they only remap/define a few keys rather than defining all of them as I did. Like there is a master file somewhere else and only the “special” keys for that receiver need remapping.Your thoughts?
================
Summary:
================
Two files modified:
/root/.xbmc/userdata/Lircmap.xml
/lib/udev/rules.d/98-eventlircd.rulesThree files created:
/etc/eventlircd.d/03_045e_006d.evmap
/etc/eventlircd.d/03_0609_031d.evmap
/etc/eventlircd.d/03_0471_060c.evmap
================
Modified Files:
================
=== File#1
/root/.xbmc/userdata/Lircmap.xml last section
CHANGE:
KEY_MEDIA
KEY_OK
KEY_EXIT
ADD:
KEY_SLEEP
=== File #2
/lib/udev/rules.d/98-eventlircd.rules
Add the following in the bottom area of the fileENV{ID_VENDOR_ID}==”045e”, ENV{ID_MODEL_ID}==”006d”,
ENV{eventlircd_enable}=”true”,
ENV{eventlircd_evmap}=”03_$env{ID_VENDOR_ID}_$env{ID_MODEL_ID}.evmap”ENV{ID_VENDOR_ID}==”0609″, ENV{ID_MODEL_ID}==”031d”,
ENV{eventlircd_enable}=”true”,
ENV{eventlircd_evmap}=”03_$env{ID_VENDOR_ID}_$env{ID_MODEL_ID}.evmap”ENV{ID_VENDOR_ID}==”0471″, ENV{ID_MODEL_ID}==”060c”,
ENV{eventlircd_enable}=”true”,
ENV{eventlircd_evmap}=”03_$env{ID_VENDOR_ID}_$env{ID_MODEL_ID}.evmap”
================
Added Files
Note/Suggestion:
Rather than creating 3 redundant files.. I think the line in /lib/udev/rules.d/98-eventlircd.rules
ENV{eventlircd_evmap}=”03_$env{ID_VENDOR_ID}_$env{ID_MODEL_ID}.evmap”
could just be set to point to a single “RC6 – remote file” for each new IR receiver vendor_ID/model_ID
================
/etc/eventlircd.d/03_045e_006d.evmap
/etc/eventlircd.d/03_0609_031d.evmap
/etc/eventlircd.d/03_0471_060c.evmap
All contain the following
KEY_0 – KEY_NUMERIC_0
KEY_1 – KEY_NUMERIC_1
KEY_2 – KEY_NUMERIC_2
KEY_3 – KEY_NUMERIC_3
KEY_4 – KEY_NUMERIC_4
KEY_5 – KEY_NUMERIC_5
KEY_6 – KEY_NUMERIC_6
KEY_7 – KEY_NUMERIC_7
KEY_8 – KEY_NUMERIC_8
KEY_9 – KEY_NUMERIC_9
KEY_DELETE – KEY_DELETE
KEY_ENTER – KEY_ENTER
KEY_SLEEP – KEY_SLEEP
KEY_MEDIA – KEY_MEDIA
KEY_MUTE – KEY_MUTE
KEY_INFO – KEY_INFO
KEY_VOLUMEUP – KEY_VOLUMEUP
KEY_VOLUMEDOWN – KEY_VOLUMEDOWN
KEY_CHANNELUP – KEY_CHANNELUP
KEY_CHANNELDOWN – KEY_CHANNELDOWN
KEY_FASTFORWARFD – KEY_FASTFORWARD
KEY_REWIND – KEY_REWIND
KEY_PLAY – KEY_PLAY
KEY_RECORD – KEY_RECORD
KEY_PAUSE – KEY_PAUSE
KEY_STOP – KEY_STOP
KEY_NEXT – KEY_NEXT
KEY_PREVIOUS – KEY_PREVIOUS
KEY_NUMERIC_POUND – KEY_NUMERIC_POUND
KEY_NUMERIC_STAR – KEY_NUMERIC_STAR
KEY_UP – KEY_UP
KEY_DOWN – KEY_DOWN
KEY_LEFT – KEY_LEFT
KEY_RIGHT – KEY_RIGHT
KEY_ENTER – KEY_OK
KEY_EXIT – KEY_EXIT
KEY_DVD – KEY_DVD
KEY_TUNER – KEY_TUNER
KEY_EPG – KEY_EPG
KEY_ZOOM – KEY_ZOOM
KEY_MODE – KEY_MODE
KEY_PRESENTATION – KEY_PRESENTATION
KEY_EJECTCD – KEY_EJECTCD
KEY_BRIGHTNESSUP – KEY_BRIGHTNESSUP
KEY_TV – KEY_TV
KEY_AUDIO – KEY_AUDIO
KEY_PVR – KEY_PVR
KEY_CAMERA – KEY_CAMERA
KEY_VIDEO – KEY_VIDEO
KEY_LANGUAGE – KEY_LANGUAGE
KEY_TITLE – KEY_TITLE
KEY_PRINT – KEY_PRINT
KEY_RADIO – KEY_RADIO
KEY_SUBTITLE – KEY_SUBTITLE
KEY_RED – KEY_RED
KEY_GREEN – KEY_GREEN
KEY_YELLOW – KEY_YELLOW
KEY_BLUE – KEY_BLUE
KEY_POWER2 – KEY_POWER2
KEY_PLAYPAUSE – KEY_PLAYPAUSE
KEY_PLAYER – KEY_PLAYER
KEY_BRIGHTNESSDOWN – KEY_BRIGHTNESSDOWN
KEY_PLAYPAUSE – KEY_PLAYPAUSEHardware data used to create files
=== IR receiver #1
I: Bus=0003 Vendor=045e Product=006d Version=0200
N: Name=”Media Center Ed. eHome Infrared Remote Transceiver (045e:006d)”
P: Phys=usb-0000:00:1d.1-1
S: Sysfs=/devices/pci0000:00/0000:00:1d.1/usb7/7-1/7-1:1.0/rc/rc0/input6
U: Uniq=
H: Handlers=kbd event6
B: PROP=0
B: EV=100013
B: KEY=fff 0 0 200 108fc32e 2376051 0 0 0 7 158000 4192 4001 8e9680 0 0 10000000
B: MSC=10
===
P: /devices/pci0000:00/0000:00:1d.1/usb7/7-1/7-1:1.0/rc/rc0/input6/event6
N: input/event6
S: input/by-id/usb-Microsoft_Microsoft_IR_Transceiver_MS0ZO5PL-event-if00
S: input/by-path/pci-0000:00:1d.1-usb-0:1:1.0-event
E: DEVLINKS=/dev/input/by-id/usb-Microsoft_Microsoft_IR_Transceiver_MS0ZO5PL-event-if00 /dev/input/by-path/pci-0000:00:1d.1-usb-0:1:1.0-event
E: DEVNAME=/dev/input/event6
E: DEVPATH=/devices/pci0000:00/0000:00:1d.1/usb7/7-1/7-1:1.0/rc/rc0/input6/event6
E: ID_BUS=usb
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: ID_MODEL=Microsoft_IR_Transceiver
E: ID_MODEL_ENC=Microsoftx20IRx20Transceiver
E: ID_MODEL_ID=006d
E: ID_PATH=pci-0000:00:1d.1-usb-0:1:1.0
E: ID_PATH_TAG=pci-0000_00_1d_1-usb-0_1_1_0
E: ID_REVISION=0200
E: ID_SERIAL=Microsoft_Microsoft_IR_Transceiver_MS0ZO5PL
E: ID_SERIAL_SHORT=MS0ZO5PL
E: ID_TYPE=generic
E: ID_USB_DRIVER=mceusb
E: ID_USB_INTERFACES=:ffffff:
E: ID_USB_INTERFACE_NUM=00
E: ID_VENDOR=Microsoft
E: ID_VENDOR_ENC=Microsoft
E: ID_VENDOR_ID=045e
E: MAJOR=13
E: MINOR=70
E: SUBSYSTEM=input
E: USEC_INITIALIZED=77136
E: eventlircd_enable=true
E: eventlircd_evmap=03_045e_006d.evmap=== IR receiver #2
I: Bus=0003 Vendor=0609 Product=031d Version=0000
N: Name=”Media Center Ed. eHome Infrared Remote Transceiver (0609:031d)”
P: Phys=usb-0000:00:1d.2-1
S: Sysfs=/devices/pci0000:00/0000:00:1d.2/usb8/8-1/8-1:1.0/rc/rc2/input11
U: Uniq=
H: Handlers=kbd event2
B: PROP=0
B: EV=100013
B: KEY=fff 0 0 200 108fc32e 2376051 0 0 0 7 158000 4192 4001 8e9680 0 0 10000000
B: MSC=10
===
P: /devices/pci0000:00/0000:00:1d.2/usb8/8-1/8-1:1.0/rc/rc2/input11/event2
N: input/event2
S: input/by-id/usb-SMK_eHome_Infrared_Transceiver_SM006joK-event-if00
S: input/by-path/pci-0000:00:1d.2-usb-0:1:1.0-event
E: DEVLINKS=/dev/input/by-id/usb-SMK_eHome_Infrared_Transceiver_SM006joK-event-if00 /dev/input/by-path/pci-0000:00:1d.2-usb-0:1:1.0-event
E: DEVNAME=/dev/input/event2
E: DEVPATH=/devices/pci0000:00/0000:00:1d.2/usb8/8-1/8-1:1.0/rc/rc2/input11/event2
E: ID_BUS=usb
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: ID_MODEL=eHome_Infrared_Transceiver
E: ID_MODEL_ENC=eHomex20Infraredx20Transceiver
E: ID_MODEL_ID=031d
E: ID_PATH=pci-0000:00:1d.2-usb-0:1:1.0
E: ID_PATH_TAG=pci-0000_00_1d_2-usb-0_1_1_0
E: ID_REVISION=0000
E: ID_SERIAL=SMK_eHome_Infrared_Transceiver_SM006joK
E: ID_SERIAL_SHORT=SM006joK
E: ID_TYPE=generic
E: ID_USB_DRIVER=mceusb
E: ID_USB_INTERFACES=:ffffff:
E: ID_USB_INTERFACE_NUM=00
E: ID_VENDOR=SMK
E: ID_VENDOR_ENC=SMK
E: ID_VENDOR_ID=0609
E: MAJOR=13
E: MINOR=66
E: SUBSYSTEM=input
E: USEC_INITIALIZED=56387969
E: eventlircd_enable=true
E: eventlircd_evmap=03_0609_031d.evmap=== IR receiver #3
I: Bus=0003 Vendor=0471 Product=060c Version=0101
N: Name=”Media Center Ed. eHome Infrared Remote Transceiver (0471:060c)”
P: Phys=usb-0000:00:1d.2-1
S: Sysfs=/devices/pci0000:00/0000:00:1d.2/usb8/8-1/8-1:1.0/rc/rc3/input13
U: Uniq=
H: Handlers=kbd event2
B: PROP=0
B: EV=100013
B: KEY=fff 0 0 200 108fc32e 2376051 0 0 0 7 158000 4192 4001 8e9680 0 0 10000000
B: MSC=10
===
P: /devices/pci0000:00/0000:00:1d.2/usb8/8-1/8-1:1.0/rc/rc3/input13/event2
N: input/event2
S: input/by-id/usb-_BB+_Dongle_e.d__@JKD-event-if00
S: input/by-path/pci-0000:00:1d.2-usb-0:1:1.0-event
E: DEVLINKS=/dev/input/by-id/usb-_BB+_Dongle_e.d__@JKD-event-if00 /dev/input/by-path/pci-0000:00:1d.2-usb-0:1:1.0-event
E: DEVNAME=/dev/input/event2
E: DEVPATH=/devices/pci0000:00/0000:00:1d.2/usb8/8-1/8-1:1.0/rc/rc3/input13/event2
E: ID_BUS=usb
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: ID_MODEL=BB+_Dongle_e.d_
E: ID_MODEL_ENC=BB+x20Donglex28e.dx29
E: ID_MODEL_ID=060c
E: ID_PATH=pci-0000:00:1d.2-usb-0:1:1.0
E: ID_PATH_TAG=pci-0000_00_1d_2-usb-0_1_1_0
E: ID_REVISION=0101
E: ID_SERIAL=_BB+_Dongle_e.d__@JKD
E: ID_SERIAL_SHORT=@JKD
E: ID_TYPE=generic
E: ID_USB_DRIVER=mceusb
E: ID_USB_INTERFACES=:ffffff:
E: ID_USB_INTERFACE_NUM=00
E: ID_VENDOR_ENC=x20
E: ID_VENDOR_ID=0471
E: MAJOR=13
E: MINOR=66
E: SUBSYSTEM=input
E: USEC_INITIALIZED=61036085
E: eventlircd_enable=true
E: eventlircd_evmap=03_0471_060c.evmap-
This reply was modified 1 week, 1 day ago by
takeitapart.
-
This topic was modified 2 weeks ago by
-
AuthorPosts
You must be logged in to reply to this topic.