Thread: Asus P7131 Hybrid Remote Control Setup
hi,
guide asus p7131 hybrid tv card on ubuntu 11.10 xbmc
1. put tv card computer
2. install firmware:
3. if cant buttons working this:code:sudo apt-get install linux-firmware-nonfree
4.code:sudo apt-get install ir-keytablecode:sudo ir-keytable5.found /sys/class/rc/rc0/ (/dev/input/event2) with:
driver saa7134, table rc-asus-pc39
supported protocols: nec rc-5 rc-6 jvc sony lirc
enabled protocols: nec rc-5 rc-6 jvc sony lirc
repeat delay = 500 ms, repeat period = 125 ms6. edit file:code:sudo cp /lib/udev/rc_keymaps/asus_pc39 /etc/rc_keymaps/
code:sudo gedit /etc/rc_keymaps/asus_pc39extra buttons can configured from:==> asus_pc39 <==
# table asus_pc39, type: rc5
0x082a key_0
0x0816 key_1
0x0812 key_2
0x0814 key_3
0x0836 key_4
0x0832 key_5
0x0834 key_6
0x080e key_7
0x080a key_8
0x080c key_9
0x0801 key_radio
0x083c key_menu
0x0815 key_volumeup
0x0826 key_volumedown
0x0808 key_up
0x0804 key_down
0x0818 key_left
0x0810 key_right
0x081a key_pause
0x0806 key_blue
0x081e key_tv
0x0822 key_back
0x0835 key_channelup
0x0824 key_channeldown
0x0825 key_enter
0x0839 key_play
0x0821 key_previous
0x0819 key_next
0x0831 key_rewind
0x0805 key_fastforward
0x0809 key_stop
0x0811 key_record
0x0829 key_power
0x082e key_zoom
0x082c key_macro
0x081c key_home
0x083a key_pvr
0x0802 key_mute
0x083e key_dvd
0x0803 key_text
0x080b key_red
0x080d key_yellow
0x0807 key_green
0x0820 key_audio
0x0837 key_screen
http://xbmc.exstatic.org/ir_keys.txt
edit lircmap.xml if change under <altname>devinput</altname>
7. test it:code:sudo gedit /usr/share/xbmc/system/lircmap.xml
8. can install lirc, (select none,none)code:sudo ir-keytable -c sudo /usr/bin/ir-keytable -p nec,rc5 -w /etc/rc_keymaps/asus_pc39 sudo ir-keytable -t
9. edit /etc/lirc/hardware.conf looks like:
code:sudo gedit /etc/lirc/hardware.conf10. edit /etc/lirc/lircd.conf looks this:# /etc/lirc/hardware.conf
#
#chosen remote control
remote="asus mycinema p7131"
remote_modules=""
remote_driver="devinput"
remote_device="saa7134*"
remote_socket=""
remote_lircd_conf="asus/mycinema.conf"
remote_lircd_args=""
#chosen ir transmitter
transmitter="none"
transmitter_modules=""
transmitter_driver=""
transmitter_device=""
transmitter_socket=""
transmitter_lircd_conf=""
transmitter_lircd_args=""
#enable lircd
start_lircd="true"
#don't start lircmd if there seems config file
#start_lircmd="false"
#try load appropriate kernel modules
load_modules="false"
# default configuration files hardware if any
lircmd_conf=""
#forcing noninteractive reconfiguration
#if lirc reconfigured external application
#that doesn't have debconf frontend available, noninteractive
#frontend can invoked , set parse remote , transmitter
#it populate other variables without user input
#if configure lirc via standard methods, sure
#to leave set "false"
force_noninteractive_reconfiguration="false"
start_lircmd=""
code:sudo gedit /etc/lirc/lircd.conf11. edit /etc/init.d/lirc lircd connects right device if device number changes after reboot.include "/usr/share/lirc/remotes/devinput/lircd.conf.devinput"
find part , change in red:code:sudo gedit /etc/init.d/lirc
12. fire lirc.#if have remote_device or remote_driver defined (either because no devices
#were defined, or if explicitly did), populate remote_args
if [ ! -z "$remote_device" ] || [ ! -z "$remote_driver" ]; then
if [ -n "$remote_device" ] && [ "$remote_device" != "none" ]; then
remote_args="--device=name=$remote_device $remote_args"
13. when run irwcode:sudo /etc/init.d/lirc start
and every things fine..blade@oneiric:~$ irw
000000008001018e 00 key_red devinput
0000000080010190 00 key_yellow devinput
0000000080010191 00 key_blue devinput
000000008001018f 00 key_green devinput
credit:
http://forum.xbmc.org/showthread.php?t=101151
http://deneb.homedns.org/things/?p=81&replytocom=24
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Hardware [ubuntu] Asus P7131 Hybrid Remote Control Setup
Ubuntu
Comments
Post a Comment