Difference between revisions of "ATI Remote Wonder"
(→openSUSE 10.2) |
(→openSUSE 10.2: - added expected output) |
||
Line 51: | Line 51: | ||
(You may need your installation CDs or DVD for the filesets.)<br> | (You may need your installation CDs or DVD for the filesets.)<br> | ||
4. Plug in the USB receiver back in<br> | 4. Plug in the USB receiver back in<br> | ||
− | 5. Type in "lsmod | grep -i ati" | + | 5. Type in "lsmod | grep -i ati". The output should look something like this: |
+ | lirc_atiusb 21408 0 | ||
+ | lirc_dev 18548 1 lirc_atiusb | ||
+ | usbcore 114896 3 lirc_atiusb,usbhid,uhci_hcd | ||
6. "lirc_atiusb" should show up. This is the module for the ATI USB Wonder remote<br> | 6. "lirc_atiusb" should show up. This is the module for the ATI USB Wonder remote<br> | ||
7. Add these lines to your /etc/modprobe.conf:<br> | 7. Add these lines to your /etc/modprobe.conf:<br> |
Revision as of 00:12, 7 March 2007
Contents
ATI Remote Wonder (RF, USB, full size)
Vendors Support Website: http://mirror.ati.com/products/remotewonder/index.html
Support Status: USB RF Receiver Supported
Description
USB Remote intended for Media Center PCs The original ATI Remote Wonder. There are two other models: Remote Wonder Plus and Remote Wonder II.
Issues and Problems
This works as of Lirc 8.0 using the lirc module: "lirc_atiusb"
You must disable the ati_remote module from loading.
FC4: Disable it by adding ati_remote into the /etc/hotplug/blacklist file. SuSE 10.2: Disable it by adding "blacklist ati_remote" to /etc/modprobe.d/blacklist
Associated Software
Lirc: http://www.lirc.org/
Installation guide
Here are the directions for setting up the ATI Remote Wonder with lirc.
Fedora Core
Fedora Core 5 steps:
1. Make sure "ati_remote" is blacklisted.
2. Plug in the USB reciever
3. Type in "lsmod"
4. You should see a module called "lirc_atiusb" this actually the module for the ATI USB Wonder remote
5. (fedora core 4). Add these lines to your /etc/modprobe.conf (for fedora core 4 and before only!)
alias char-major-61 lirc_atiusb
alias lirc_dev lirc_atiusb
6. (fedora core 5) Add this line to /etc/rc.local
/sbin/modprobe lirc_atiusb
7. Copy the contents of the example lircd.conf config file to /etc/lircd.conf.
8. start the lircd daemon
9. Run "irw" and press buttons on your remote you should see output for each button.
10. For MythTV users Make your /home/username/.mythtv/lircrc file (listed below)
openSUSE 10.2
1. Make sure "ati_remote" is blacklisted.
2. If you have already plugged in the usb receiver, physically remove it and use "rmmod ati_remote" to remove the module.
3. check that "lirc-kmp-default" is installed: rpm -qa | grep -i lirc
This contains the required "lirc_atiusb" module. If it is not installed, install it with
yast -> Software -> Software Management -> Search -> "lirc" -> Accept
(You may need your installation CDs or DVD for the filesets.)
4. Plug in the USB receiver back in
5. Type in "lsmod | grep -i ati". The output should look something like this:
lirc_atiusb 21408 0 lirc_dev 18548 1 lirc_atiusb usbcore 114896 3 lirc_atiusb,usbhid,uhci_hcd
6. "lirc_atiusb" should show up. This is the module for the ATI USB Wonder remote
7. Add these lines to your /etc/modprobe.conf:
alias char-major-61 lirc_atiusb alias lirc_dev lirc_atiusb
8. Copy the contents of the lircd.conf config file below to /etc/lircd.conf
9. Save the lircrc file below to /home/mythtv/.mythtv/lircrc - make sure the owner is set to mythtv (chown mythtv /home/mythtv/.mythtv/lircrc)
10. Start the lircd daemon: lircd
11. Verify it is running: ps -ef | grep lircd
12. Run "irw" and press any button on your remote. If the mappings are correct, you should see output for each button you press. If nothing is showing up, you may need to use "irrecord config_file.conf" to record your own ir mappings.
When using irrecord and naming the buttons, be sure to use the same naming schemes as those in the "begin codes" section of the lircrc file (see example below). This will allow you to copy/paste the example lircrc given below it in the next step. The example lirc.conf given has the buttons listed in the same order as the are placed on the remote. It is very important that the "button" names in the lircrc match those specified in the lirc.conf.
13. Use yast to setup the lirc daemon to start at boot time:
yast -> System -> System Services (Runlevel) -> lirc -> Enable -> Finish
14. Start up mythfrontend as mythtv (assuming that is your account) and the remote should be working.
Example of a lircd.conf
# brand: ATI Remote Wonder # model no. of remote control: 5000023600 # devices being controlled by this remote: ATI USB Receiver # # Found on a linpvr.org forum, thanks. begin remote name ati_remote bits 40 eps 30 aeps 100 one 0 0 zero 0 0 gap 235966 toggle_bit 0 begin codes a 0x00000014D5000000 b 0x00000014D6010000 power 0x00000014D7020000 tv 0x00000014D8030000 dvd 0x00000014D9040000 web 0x00000014DA050000 media_library 0x00000014DB060000 drag 0x00000014DC070000 mouse-button_left 0x000000144D780000 mouse-button_right 0x00000014517C0000 mouse-up 0x0000001447720000 mouse-down 0x0000001448730000 mouse-left 0x0000001445700000 mouse-right 0x0000001446710000 mouse-left_up 0x0000001449740000 mouse-right_up 0x000000144A750000 mouse-left_down 0x000000144C770000 mouse-right_down 0x000000144B760000 vol-up 0x00000014DD080000 vol-down 0x00000014DE090000 mute 0x00000014DF0A0000 chan-up 0x00000014E00B0000 chan-down 0x00000014E10C0000 1 0x00000014E20D0000 2 0x00000014E30E0000 3 0x00000014E40F0000 4 0x00000014E5100000 5 0x00000014E6110000 6 0x00000014E7120000 7 0x00000014E8130000 8 0x00000014E9140000 9 0x00000014EA150000 0 0x00000014EC170000 dvd-root_menu 0x00000014EB160000 launch_setup 0x00000014ED180000 c 0x00000014EE190000 d 0x00000014F01B0000 tv_on_demand 0x00000014F11C0000 max_window 0x00000014F5200000 cursor-up 0x00000014EF1A0000 cursor-down 0x00000014F7220000 cursor-left 0x00000014F21D0000 cursor-right 0x00000014F41F0000 ok 0x00000014F31E0000 e 0x00000014F6210000 f 0x00000014F8230000 rewind 0x00000014F9240000 play 0x00000014FA250000 fastforward 0x00000014FB260000 record 0x00000014FC270000 stop 0x00000014FD280000 pause 0x00000014FE290000 end codes end remote
Example of a lircrc - works with lirc.conf above
# # MythTV native LIRC config file for # the ATI-Wonder Remote # using lirc_atiusb driver # begin prog = mythtv button = a config = E repeat = 2 end begin prog = mythtv button = b config = O repeat = 2 end #begin #prog = mythtv #button = tv #config = Key Alt-T CurrentWindow #repeat = 2 #end begin prog = mythtv button = stop config = Esc repeat = 2 end begin prog = mythtv button = fastforward config = Right repeat = 2 end begin prog = mythtv button = rewind config = Left repeat = 2 end begin prog = mythtv button = max_window config = V repeat = 2 end begin prog = mythtv button = pause config = P repeat = 2 end begin prog = mythtv button = play config = P repeat = 2 end begin prog = mythtv button = mute config = F9 repeat = 2 end begin prog = mythtv button = vol-down config = F10 repeat = 2 end begin prog = mythtv button = vol-up config = F11 repeat = 2 end begin prog = mythtv button = f config = PgDown repeat = 2 end begin prog = mythtv button = d config = PgUp repeat = 2 end begin prog = mythtv button = c config = F4 repeat = 2 end begin prog = mythtv button = e config = Esc repeat = 2 end begin prog = mythtv button = cursor-right config = Right repeat = 2 end begin prog = mythtv button = cursor-left config = Left repeat = 2 end begin prog = mythtv button = cursor-up config = Up repeat = 2 end begin prog = mythtv button = cursor-down config = Down repeat = 2 end begin prog = mythtv button = chan-up config = Up repeat = 2 end begin prog = mythtv button = chan-down config = Down repeat = 2 end begin prog = mythtv button = rewind config = Left repeat = 2 end begin prog = mythtv button = ok config = Enter repeat = 2 end begin prog = mythtv button = 1 config = 1 repeat = 2 end begin prog = mythtv button = 2 config = 2 repeat = 2 end begin prog = mythtv button = 3 config = 3 repeat = 2 end begin prog = mythtv button = 4 config = 4 repeat = 2 end begin prog = mythtv button = 5 config = 5 repeat = 2 end begin prog = mythtv button = 6 config = 6 repeat = 2 end begin prog = mythtv button = 7 config = 7 repeat = 2 end begin prog = mythtv button = 8 config = 8 repeat = 2 end begin prog = mythtv button = 9 config = 9 repeat = 2 end begin prog = mythtv button = 0 config = 0 repeat = 2 end begin prog = mythtv button = record config = R repeat = 2 end begin prog = mythtv button = check config = Enter repeat = 2 end ### MPlayer lirc setup # # Remember to ln -s ./.mythtv/lircrc ../.lircrc for mplayer to work! # Show OSD begin prog = mplayer button = tv_on_demand repeat = 3 config = osd end # Pause playback begin prog = mplayer button = pause repeat = 3 config = pause end begin prog = mplayer button = play repeat = 3 config = pause end # Stop playback and exit begin prog = mplayer button = stop repeat = 3 config = quit end # Mute begin prog = mplayer button = mute repeat = 3 config = mute end # Seek back 10 seconds begin prog = mplayer button = rewind repeat = 3 config = seek -10 end # Seek forward 30 seconds begin prog = mplayer button = fastforward repeat = 3 config = seek +30 end # Quit begin prog = mplayer button = e repeat = 3 config = quit end