LinHES Forums http://forum.linhes.org/ |
|
7.1 Hauppauge remote without lirc http://forum.linhes.org/viewtopic.php?f=22&t=22343 |
Page 1 of 1 |
Author: | hartsu [ Sat Nov 26, 2011 3:25 pm ] |
Post subject: | 7.1 Hauppauge remote without lirc |
Usually I find the solution by reading this great forum, but now I have to ask.. Despite several attempts, none of my three remote control does not work properly with lirc / LinHES 7.1 combination. But since the Hauppauge remote is recognized / handled as a keyboard I managed to get it to work without lirc. I used xev to find keycodes sent by the controller, and I created .Xmodmap file in my home directory. Code: keycode 174 = i
keycode 177 = r keycode 233 = s keycode 152 = m keycode 110 = d etc.. The problem is that the .Xmodmap does not load when the machine starts. I add a line to ~/.xsession to call /usr/bin/xmodmap ~/.Xmodmap but modified keymap won't load at startup. Then I add this in .xinitrc: if [ -f $HOME/.Xmodmap ]; then /usr/bin/xmodmap $HOME/.Xmodmap fi But it had no effect. If I run xmodmap ~/.Xmodmap manually, my remote works perfectly. What file do I edit to do it automatically? |
Author: | brfransen [ Sat Nov 26, 2011 7:26 pm ] |
Post subject: | |
Either /etc/runit/1.local or ~/.fluxbox/apps should work. |
Author: | hartsu [ Sun Nov 27, 2011 3:28 am ] |
Post subject: | |
Thank You! /etc/runit/1.local : This one didn't work ~/.fluxbox/apps : This helped. Great! |
Author: | jniffen [ Thu Jan 05, 2012 3:59 am ] |
Post subject: | |
Which Hauppauge remote control do you have? Also, do you have a /sys/class/rc/rc0 directory? I have two PVR 350 cards and I can't get the LIRC to work or be recongized Any input will be appreciated. |
Author: | hartsu [ Fri Jan 06, 2012 4:37 am ] |
Post subject: | |
jniffen wrote: Which Hauppauge remote control do you have? Hauppauge TT-Budget C-1501 PCI. jniffen wrote: Also, do you have a /sys/class/rc/rc0 directory?
My / sys / class / rc / directory contents one symbolic link: rc0 -> ../../devices/pci0000:00/0000:00:10.0/0000:02:09.0/rc/rc0 |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |