How to get a seamless remote experience
LB06
Fan Posts: 316 Joined: Aug 2010 Reputation: 10 Location: Europe |
2012-06-30 00:38
Post: #81
Oops, I was replying to a post on page 1. Excusez-moi.
[Linux] How-to get a seamless remote experience [Linux] Judder-free 24p playback Advice: Linux and AMD Radeon. Just don't do it!
(This post was last modified: 2012-06-30 00:40 by LB06.)
|
| find quote |
tammer
Junior Member Posts: 8 Joined: Jul 2008 Reputation: 0 |
2012-08-02 00:16
Post: #82
Thanks so much for this excellent guide! I got mine to work earlier, but I pined for a step-by-step like this one.
Quick question, I don't see anything mentioned about transmitting (as in using an ir-blaster to send signals). I'm assuming I'll need LIRC to communicate with ir-core to do so. Just curious if you knew a way to do so with only ir-core. |
| find quote |
biau
Junior Member Posts: 4 Joined: Aug 2012 Reputation: 0 |
(2012-06-10 21:20)brando56894 Wrote: It may look like it's working correctly but actually it isn't. What you see from ir-keytable is just the commands that the remote is sending, Linux nor XBMC understand those except for volume, mute and up/down/left/right. All that proves is that your receiver is communicating with the remote successfully, which is the first step (obviously!thank you very much for posting your config, it helps me to make my remote works with xbmc. Just a small modification I've made: you can change from Code: <h>XBMC.ActivateWindow(Home)</h>Code: <h>ActivateWindow(Home)</h> |
| find quote |
HunterZ
Member Posts: 59 Joined: Dec 2010 Reputation: 0 Location: Seattle |
2012-09-26 05:26
Post: #84
(2011-07-10 13:46)teeedubb Wrote: One thing worth mentioning is that to resume from the remote with newer kernels you need to enable wake up on the actual receiver device aswell as the usb port.Thanks for this, but it's not quite working for me. I have an Acer Revo AR3610 HTPC with XBMCbuntu and a Windows MCE IR remote + USB sensor. The remote worked great out of the box (although I did have to fix the LIRC config at one point, as it got an apt-get update at one point that made it start expecting the wrong device name or something), except that it won't wake the HTPC from suspend/sleep. I followed your guide, and it did make the LED on the USB IR work when the HTPC is asleep, but the HTPC still doesn't wake up when I press the power button (or any other button) on the MCE remote. I tried running with the BIOS set to S1 and then with S3, with no success. All "wake on X" options are enabled except for "wake on RTC" (which lets you choose a time to wake up), including "wake on USB keyboard/mouse". Here is my setup: Code: xbmc@htpc:~$ lsusbAs you can see, everything is configured correctly per your guide. EDIT: Never mind! It turns out I needed to set wakeup enabled on USB0 instead of USB2. Works great now!
(This post was last modified: 2012-09-26 05:35 by HunterZ.)
|
| find quote |
Plecebo
Junior Member Posts: 15 Joined: Jun 2009 Reputation: 0 |
2012-10-05 09:20
Post: #85
Thanks for this great guide, i'm almost 100% happy with my remote/xbmc configuration, except for one issue.
Only in xbmc my remote responds to a quick double key press with an unpredictable repetition of the key press. Here is my info. I have one of these ir recievers: http://shop.inteset.com/Products/28-inte...oards.aspx but I was having similar issues with my usb ir reciever Running Ubuntu 12.04 with the stable PPA install of xbmc Eden but I had similar issues running xbmc Eden on 11.10 Code: root@xbmc:~# uname -aCode: root@xbmc:~# sudo apt-get purge lircreceiver detected fine Code: root@xbmc:~# ir-keytableGot the config loading on boot Code: cat /etc/rc.local the file /etc/rc_keymaps/rc6_mce is a copy of the default rc6_mce file, no changes made so far. Here is a pastebin of the output of ir-keytable -t : http://paste.ubuntu.com/1261418/ Here is a xbmc debug log of the same events : http://paste.ubuntu.com/1261421/ (sorry should have turned off library scans before rebooting, the relevant stuff is near the bottom) You can see i press the down button key two times, but xbmc registers like 20 presses. So far the only solution i've seen is to install lirc and it works. I'd rather figure out what is going on then just default to lirc. Any ideas? |
| find quote |
cw-kid
Fan Posts: 562 Joined: Jun 2012 Reputation: 0 |
2013-02-26 00:15
Post: #86
Thank you very much LB06 for taking the time to write this guide, it has made things clearer for me. I am hoping it will help me to finally get my remote control working properly?
I am a Linux and XBMC newbie and have been really struggling to get my MCE remote control working with a Soundgraph iMON receiver. I initially followed this guide here which kinda works but I end up with lots of buttons on the remote control that send double commands / presses so it doesn't work well as all. I am trying to do part 2.3 Let the kernel cooperate with LIRC. As I intend to later use irexec to launch scripts to run wget commands to control some thing on my home automation system. Anyways.. When I run this command: xbmc@xbmc01:~$ sudo /usr/bin/ir-keytable -c -w /lib/udev/rc_keymaps/imon_mce -p RC-6,LIRC Read imon_mce table Old keytable cleared Wrote 77 keycode(s) to driver Protocols changed to RC-6 LIRC My remote control stops working all together. If I run the command again but take off the LIRC Protocol my remote starts working again. xbmc@xbmc01:~$ sudo /usr/bin/ir-keytable -c -w /lib/udev/rc_keymaps/imon_mce -p RC-6 Read imon_mce table Old keytable cleared Wrote 77 keycode(s) to driver Protocols changed to RC-6 I also ran this command: sudo modprobe ir-lirc-codec Any ideas? I have been right through the imon_mce keymap file and checked all the scancodes are correct with ir-keytable -t I think LIRC is setup correctly. lircd.conf Code: #This configuration has been automatically generated viahardware.conf Code: # /etc/lirc/hardware.confAlso ir-keytable -t only seems to work when LIRC is disabled or not configured to use the Linux Input Layer, should both ir-keytable -t and irw work at the same time? Thanks |
| find quote |
dencrypt
Junior Member Posts: 2 Joined: Oct 2012 Reputation: 0 |
2013-02-27 12:45
Post: #87
Just want to give anyone else struggling with this with Debian Wheezy and median X10.
All worked in ir-keytable and everything was mapped correctly but irw would not take any arguments when using the remote. Turns out I was missing the inputlirc package somehow and as soon as I installed this irw started to work. Hope it helps anyone. Took me a while
|
| find quote |
cw-kid
Fan Posts: 562 Joined: Jun 2012 Reputation: 0 |
2013-02-27 16:05
Post: #88
I decided to try the do everything in kernel option, so I uninstalled LIRC.
After making some changes in the imon_mce keymap file most buttons are now working OK and I no longer have the double command / presses problem! In the keymap file I had to change things like KEY_INFO to KEY_I and KEY_STOP to KEY_X for these buttons to then start working. I was using this page here which list XBMC Keyboard shortcuts. However some buttons are still not working: 1. All the number buttons 0-9 do not work. FIXED Changing KEY_NUMERIC_1 to KEY_1 2. On the MCE remote control there are buttons that say Pictures / Video / Music etc, I would like these buttons to jump me in to those parts of XBMC but I don't know how to do this ? CTRL+I on the keyboard opens pictures but I can't put in CTRL+I in to the imon_mce keymap file ? 3. The skip and previous buttons don't do anything, shouldnt they skip music tracks back and forth ? I've tried using comma and period Can anyone help me fix these buttons that are not working? I haven't really started looking at the keyboard.xml file yet, all I have done is copied the one from here and put it in this folder: :/home/xbmc/.xbmc/userdata/keymaps Below is my current imon_mce keymap file which is in /etc/rc_keymaps. Code: # table imon_mce, type: RC6I am using an OrigenAE M10 HTTP case which has a SoundGraph VF-310 unit. Bus 002 Device 003: ID 15c2:0036 SoundGraph Inc. LC16M VFD Display/IR Receiver I am using a Logitech Harmony 895 remote control programmed as a MCE remote. I also have a standard Microsoft MCE remote here for testing as well. Thanks EDIT: I got SkipNext and SkipPrevious working, I added the following in to the keyboard.xml file Code: <!-- Added by Stuart -->This then meant I could press F1 on the keyboard to Skip and F2 for Previous. I then changed the buttons in the imon_mce keymap file Code: 0x800ff41b KEY_F2 #Previous buttonNow when I am playing music the Skip / Previous buttons are working. Not sure if this was the best way to do it? But at least it works. One thing I don't like the PowerToggle button on the remote control handset brings up the Shutdown menu in XBMC. Before it would just suspend the PC. EDIT2: XBMC.ShutDown() = Shutdown and power off I just added this line in to the keyboard.xml file Code: <suspend>XBMC.ShutDown()</suspend>I then edited the imon_mce keymap file and changed Code: 0x800ff40c KEY_POWERto be Code: 0x800ff40c KEY_SUSPENDNow when I press the powertoggle button on the MCE remote control the PC is suspended (S3 Sleep mode). I also have it set to suspend in the XBMC Settings -> System -> Power saving -> Shutdown function = Suspend.
(This post was last modified: 2013-02-27 22:13 by cw-kid.)
|
| find quote |
GreatEmerald
Junior Member Posts: 9 Joined: Mar 2013 Reputation: 1 |
2013-03-11 20:57
Post: #89
(2011-09-15 23:29)koekiemonster Wrote: so now my problem: Yeap, same issue here. Tapping a button sometimes does not go the required number of steps, and holding an arrow button makes it zoom all over the place extremely fast, it's like 100 presses in a second. While holding the volume buttons does nothing, I have to tap them to slowly change the volume. I know that if I use it with LIRC, it will work, but I want to find out why it won't work with the pure in-kernel solution. Part of the reason is that I have had problems when resuming LIRC, the remote simply didn't respond, and I can't do anything with wakeup, because it's a PCI remote, not a USB one. (Then again, the whole card used to lock up every time it resumed from sleep, so it might have been related to that - solved by having systemd automatically remove the kernel module for the card before going to sleep, and reinserting it on wakeup. Still, if I took the time to set this up with the in-kernel method, it would be nice to finish the task...) |
| find quote |
teeedubb
Member+ Posts: 741 Joined: Mar 2010 Reputation: 11 Location: Down Under |
2013-03-11 21:34
Post: #90
Have you guys tried changind the repeat and delays? Eg:
sudo ir-keytable --delay 500 sudo ir-keytable --period 50 ? XBMC Steam Launcher - Only available for XBMC. |
| find quote |

)The first thing you should do is remove lirc, you're not going to need it, ir-keytable is the new replacement for lirc. I know it's a little time consuming but you may want to run 

Search
Help