Sorry – Another XBMCBuntu remote thread
#1
Hi All, sorry for the new thread, but I was going round in circles looking at other XBMCBuntu remote threads.
I do seem to have made some progress based on info in other threads, notably these ones.
http://forum.xbmc.org/showthread.php?tid=104541
http://forum.xbmc.org/showthread.php?tid=101151
http://forum.xbmc.org/showthread.php?tid=131112

The progress was going from no responses at all to getting pretty much all buttons recognized via ‘ir-keytable –t’, but I still only have up, down, left & right working in XBMC.

The progress appears to be due to installing lirc and adding a couple of lines to rc.local:
ir-keytable -c
ir-keytable -w /lib/udev/rc_keymaps/imon_mce

A few system details;
The case is a Thermaltake DH-102, which came with an Soundgraph iMon ir receiver [and an lcd touch screen] and I’m using a Logitech Harmony One remote [emulating an MCE remote(not imon pad)].
I did get all this working with XBMC live with lirc [had to use irrecord], and I thought I could sort it on XBMCBuntu too, but so far I just seem to be trying variations of the same thing over and over again.

ir-keytable looks like this:
Found /sys/class/rc/rc0/ (/dev/input/event8) with:
Driver imon, table rc-imon-pad
Supported protocols: RC-6 other
Enabled protocols: RC-6
Repeat delay = 500 ms, repeat period = 125 ms

lsusb output
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 0a81:0101 Chesen Electronics Corp. Keyboard
Bus 004 Device 002: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 004 Device 003: ID 1997:0409
Bus 005 Device 002: ID 15c2:0034 SoundGraph Inc.

At the moment I get this out of ‘ir-keytable –t’
Testing events. Please, press CTRL-C to abort.
1338090351.145952: event MSC: scancode = 2000052
1338090351.145966: event key down: KEY_UP (0x0067)
1338090351.145969: event sync
1338090351.249978: event key up: KEY_UP (0x0067)
1338090351.249984: event sync
1338090352.081960: event MSC: scancode = 2000051
1338090352.081970: event key down: KEY_DOWN (0x006c)
1338090352.081972: event sync
1338090352.169966: event key up: KEY_DOWN (0x006c)
1338090352.169968: event sync


Based on the above sample [I get correct responses to all buttons] I think I’m close and assume I just need to edit something somewhere to get it all working, but after reading a few other threads and trying a few things I haven’t gotten any further [with just up, down, left & right working in XBMC]. If someone could point me in the right direction I’d really appreciate it.
Regards

Ash
Reply
#2
I'm interested in this as well. I'm interested in getting a remote for my XBMCBuntu configuration.
Reply
#3
Hi, just a quick update. Haven't had much time to devote to this during the week, but I've just managed to make some minor progress by editing my imon_mce [/etc/rc_keymaps/imon_mce] file to rename the KEY_OK to KEY_ENTER. I can navigate the menu and select files ect now.

0x02000028 KEY_ENTER
0x800ff422 KEY_ENTER
#0x02000028 KEY_OK
#0x800ff422 KEY_OK

This is only a temporary change that will last till the next reboot, but as this works ok I'll now make the same change to /lib/udev/rc_keymaps/imon_mce which is loaded via the rc.local file.

If I could just work out which file I needed to edit in Eden to map all the imon_mce mapped buttons I think I could sort this in ten minutes...
Reply
#4
Ok, another update. I somehow missed this thread: http://forum.xbmc.org/showthread.php?tid=126711&page=5 [page 5, post 43 in particular].

Replacing the contents of my imon_mce file with the one's provided in that thread [thanks to sparkie2640 with a hat tip to gokudo] has resolved some more buttons. Still a few not working but I feel I'm getting closer.

I also note that the power button turns off the HTPC but does not turn it back on...

Reply
#5
To get all buttons working I used lirc over the top of the ir-keytables. I still get the problem of not being able to turn on HTPC with remote though. But I like all buttons working well!
Antec Fusion Micro 350 Remote | AMD AM3 X2 240e (45W) Sythe Shuriken Rev.B | Gigabyte MA785GMT-UD2H | Onboard ATI HD4200 | 2 x 1GB Kingston HyperX DDR3 1333 | Antec 350W 80+certified PSU | 2x Samsung Spinpoint F3 1TB | KWorld USB DVB-T395 | HDD Dual boot XBMC Live Dharma 10.0 + Win7
Reply
#6
(2012-08-03, 18:53)NebulaOdyssey Wrote: I still get the problem of not being able to turn on HTPC with remote though.

What type of IR receiver do you have? In other words, how does it connect to your computer?

Many people have a receiver that connects via USB. If that is how yours connects, you cannot power on your system using the remote but you may be able to wake up from a sleeping state. Check your BIOS settings.

If you have an IR receiver that connects to CIR header on the motherboard, then you may be (should be?) able to power on from an "off" state. Again, check your BIOS settings.

I am curious why you are using lirc instead of using the kernel IR functions. There are advantages to lirc (mapping multiple keys to a button) but otherwise, I am not aware of any advantage. You may, in fact, have some conflict between the kernal and lirc. See this thread: http://forum.xbmc.org/showthread.php?tid=104541
Reply
#7
It's incredible that years after the first HTPC was built the industry comes up with crap like CIR instead of offering something really useful. The forum is full of reports where users looking for a reasonable way to power up their systems by remote button press or by timer. Even more posts complaining about problems with standby/resume which is primarily used because of the lack of feature for powering up.

I am writing this because I am building me a new box and doing a redesing of my custom ir receiver. I can provide the schematics or maybe if there's enough interest we can have a small series build for a reasonable price. Here are the features:

- decodes all RC-6 and NEC codes -> I use a cheap universal remote for controlling TV and HTPC
- programmable power-on button
- wakes up system by simulating power button press
- can cut off power to mobo when off (my system has a standby power consumption of < 300 mW)
- programmable timer for use with PVR, switches on psu + mobo



Reply
#8
(2012-06-02, 13:10)23571113 Wrote: Ok, another update. I somehow missed this thread: http://forum.xbmc.org/showthread.php?tid=126711&page=5 [page 5, post 43 in particular].

Replacing the contents of my imon_mce file with the one's provided in that thread [thanks to sparkie2640 with a hat tip to gokudo] has resolved some more buttons. Still a few not working but I feel I'm getting closer.

I also note that the power button turns off the HTPC but does not turn it back on...

I am going to look into that topic as well. None of the buttons of my Harmony 555 remote are working, except for powering the HTPC on.

Have you gotten everything to work yet?

How have you setup your Harmony Remote in the Harmony-software? As a MCE-remote or as Imon-pad?
TV: Panasonic L32E5
AVR: Panasonic BTT282
HTPC: Antec Fusion 430 Silver - Antec Earthwatts EA-500D Green - Asrock A75M-HVS - AMD A8-3870K - Scythe Ninja Rev. B - Kingston 2x4 GB 1866Mhz - Crucial M4 SSD 64GB - OS: Windows 8 x64
REMOTE: Logitech Harmony 555
STORAGE: Synology DS211 [2TB]
GAMING: PS3 Classic 80GB
Reply

Logout Mark Read Team Forum Stats Members Help
Sorry – Another XBMCBuntu remote thread0