Vous êtes sur la page 1sur 4

[ubuntu] Asus P7131 Hybrid Remote Control Setup - Ubuntu ...

http://ubuntuforums.org/showthread.php?t=1905166

Search

Or, Sign in using your Launchpad ID

Ubuntu Forums > The Ubuntu Forum Community > Main Support Categories > Hardware & Laptops [ubuntu] Asus P7131 Hybrid Remote Control Setup Register Forum Information Ubuntu Community

User Name User Name Password Today's Posts

Remember Me?

Log in
Search

Hardware & Laptops Problems with hardware & laptops not being detected or supported during or after install. New Reply Thread Tools January 6th, 2012 Display Modes #1 Asus P7131 Hybrid Remote Control Setup Hi,

hopelessone
Has an Ubuntu Drip

This guide is for the Asus P7131 Hybrid TV Card on Ubuntu 11.10 for XBMC 1. Put TV card into computer 2. install rmware: Join Date: Sep 2007 Location: Australia Beans: 709 Ubuntu 12.04 Precise Pangolin Code: sudo apt-get install linux-firmware-nonfree

3. If you cant get all the buttons working do this: Code: sudo apt-get install ir-keytable

4. Code: sudo ir-keytable

Quote: 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 ms 5. Code: sudo cp /lib/udev/rc_keymaps/asus_pc39 /etc/rc_keymaps/

6. Edit the le: Code: sudo gedit /etc/rc_keymaps/asus_pc39

1 de 4

09-06-2012 10:43

[ubuntu] Asus P7131 Hybrid Remote Control Setup - Ubuntu ...

http://ubuntuforums.org/showthread.php?t=1905166

Quote: ==> 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 extra buttons can be congured from: http://xbmc.exstatic.org/ir_keys.txt Edit Lircmap.xml if you change any under <altname>devinput</altname> Code: sudo gedit /usr/share/xbmc/system/Lircmap.xml

7. Test it: Code: sudo ir-keytable -c sudo /usr/bin/ir-keytable -p NEC,RC5 -w /etc/rc_keymaps/asus_pc39 sudo ir-keytable -t

8. Now you can install LIRC, (Select none,none) 9. Edit /etc/lirc/hardware.conf so that it looks like: Code:

2 de 4

09-06-2012 10:43

[ubuntu] Asus P7131 Hybrid Remote Control Setup - Ubuntu ...

http://ubuntuforums.org/showthread.php?t=1905166

sudo gedit /etc/lirc/hardware.conf

Quote: # /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 even if there seems to be a good cong le #START_LIRCMD="false" #Try to load appropriate kernel modules LOAD_MODULES="false" # Default conguration les for your hardware if any LIRCMD_CONF="" #Forcing noninteractive reconguration #If lirc is to be recongured by an external application #that doesn't have a debconf frontend available, the noninteractive #frontend can be invoked and set to parse REMOTE and TRANSMITTER #It will then populate all other variables without any user input #If you would like to congure lirc via standard methods, be sure #to leave this set to "false" FORCE_NONINTERACTIVE_RECONFIGURATION="false" START_LIRCMD="" 10. Edit /etc/lirc/lircd.conf so that it looks like this: Code: sudo gedit /etc/lirc/lircd.conf

Quote: include "/usr/share/lirc/remotes/devinput/lircd.conf.devinput" 11. edit the /etc/init.d/lirc so lircd always connects to the right device even if its device number changes after reboot. Code: sudo gedit /etc/init.d/lirc

Find the part and change in red: Quote: #If we have a REMOTE_DEVICE or REMOTE_DRIVER dened (either because no devices #were dened, OR if we explicitly did), then populate REMOTE_ARGS if [ ! -z "$REMOTE_DEVICE" ] || [ ! -z "$REMOTE_DRIVER" ]; then if [ -n "$REMOTE_DEVICE" ] && [ "$REMOTE_DEVICE" != "none" ]; then

3 de 4

09-06-2012 10:43

[ubuntu] Asus P7131 Hybrid Remote Control Setup - Ubuntu ...

http://ubuntuforums.org/showthread.php?t=1905166

REMOTE_ARGS="--device=name=$REMOTE_DEVICE $REMOTE_ARGS" 12. Fire up lirc. Code: sudo /etc/init.d/lirc start

13. Now when you run irw Quote: blade@oneiric:~$ irw 000000008001018e 00 KEY_RED devinput 0000000080010190 00 KEY_YELLOW devinput 0000000080010191 00 KEY_BLUE devinput 000000008001018f 00 KEY_GREEN devinput And every things ne.. Credit: http://forum.xbmc.org/showthread.php?t=101151 http://deneb.homedns.org/things/?p=81&replytocom=24 Last edited by hopelessone; January 13th, 2012 at 02:59 AM..

New Reply Bookmarks Digg del.icio.us StumbleUpon Previous Thread | Next Thread Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is O Forum Rules Google

Forum Jump

Hardware & Laptops

Go
ubuntu forums - archive - top

vBulletin 2000 - 2012, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical Canonical Ltd. Tango Icons Tango Desktop Project. bilberry

4 de 4

09-06-2012 10:43

Vous aimerez peut-être aussi