View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 11 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Jun 28, 2006 11:46 pm 
Offline
Joined: Sun Mar 05, 2006 10:52 pm
Posts: 9
My ATI Remote Wonder II fails to operate in MythTV (no response from the press of any button).

During KnoppMyth R5C7 installation I selected ATI-USB for remote, if I remember correctly. but a warning flashed up immediately to the effective of:

Warning! Remote not detected (I should have been able to detect it).

Is this the correct device to select for this remote?

I tried KnoppMyth a few months ago and had the same problem with that release as well...

I am a newbie to Linux and X, so I am not that familiar with how to trouibleshoot this problem - any help would be graciously accepted!

Thanks,

Greg


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 29, 2006 4:21 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
The ATI-USB in question is the original ATi Remote Wonder. Kernel support for this remote isn't availabe in 2.6.15. It is however in 2.6.17 which the next release uses (It will be out when it is ready). If you want, you can read the various threads on upgrading your kernel. If you have questions, you should ask in those threads...

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 29, 2006 9:24 pm 
Offline
Joined: Sun Mar 05, 2006 10:52 pm
Posts: 9
I am relieved to know that it isn't something I did wrong in the install!

I will probably just wait for the next version - we will see how confident I get with tweaking everything.

Thanks!!

Greg


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 13, 2006 1:13 pm 
Offline
Joined: Tue Feb 21, 2006 10:55 am
Posts: 98
cesman wrote:
The ATI-USB in question is the original ATi Remote Wonder. Kernel support for this remote isn't availabe in 2.6.15. It is however in 2.6.17 which the next release uses (It will be out when it is ready). If you want, you can read the various threads on upgrading your kernel. If you have questions, you should ask in those threads...


Cecil, you just made me a happy man. I love the look, feel and layout of the remote wonder II. I'm really happy I'll be able to use them in the next release. Thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 14, 2006 12:46 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
You're welcome.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 28, 2006 10:37 am 
Offline
Joined: Tue Apr 11, 2006 7:44 am
Posts: 287
Location: Los Angeles, CA
Now that R5D1 is out, does the Remote Wonder II work? Does it still use lirc (as the original Remote Wonder does)?

I have been thinking about replacing my Remote Wonder with the Remote Wonder II, but am still a bit leary about how well the RWII is supported. Especially as it pertains to remapping button functions.

Thanks

_________________
Tim

LinHES 8.4
HDHR3
BioStar A770, AMD X2 4050e, 2GB RAM
GigaByte GeForce 8400, Chaintech AV710
USB-UIRT


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 28, 2006 3:32 pm 
Offline
Joined: Tue Feb 21, 2006 10:55 am
Posts: 98
I havn't had time to test mine yet.

I'm hoping not, but I'm guessing one of us will need to set up the button configs and give a working layout to Cecil for inclusion into the next release. The support for the device was supposed to be added into the kernel that R5D1 uses but that doesn't mean that a valid lirc config was also included. Cecil can't do EVERYTHING for us.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 01, 2006 7:28 pm 
Offline
Joined: Thu Jan 13, 2005 9:55 am
Posts: 135
Location: Decatur, Ga., USA
I spent waaay too much time today troubleshooting my ATI Remote Wonder II with a KnoppMyth remote frontend, but I DID manage to make it work. I've included my "/home/mythtv/.mythtv/lircrc", "/etc/lirc/lirc.conf" and "/etc/lirc/hardware.conf" files for posterity.

All friggin' day, man. Most of my woes were my lack of understanding of the ways of LIRC and USB.

Here's what I did to make this thing work:


1) fresh install of R5D1 on a remote frontend. Chose "atiusb" as my remote. Please note: I'm not sure if any of this writeup is correct or accurate or even in keeping with traditional Linux expectations. All I know is that it worked for me.

Criticism is most welcome!!!

2) move "/lib/modules/2.6.17-chw-8/kernel/drivers/usb/input/ati_remote2.ko" and "/lib/modules/2.6.17-chw-8/kernel/drivers/usb/input/ati_remote.ko" to "~/mythtv".
-reason: these modules were stepping on the lirc_atiusb driver, hogging the Remote Wonder II. The Remote Wonder II would "work" in X with rudimentary usefullness: inside of KM frontend up and down, right and left cursor worked. The mouse worked outside of KM frontend. LIRC, however, refused to work at all.

This is going to be a long post. Sorry, Cecil! :roll:

3) Once the modules in 2) above were out of the way, I could get LIRC to respond via irw and manually starting LIRC, but LIRC would not start at boot. To resolve this, I added "/etc/init.d/lirc start" to the bottom of "/etc/init.d/bootmisc.sh". Once I did that, LIRC would work, but not at boot because of my wireless USB keyboard and mouse. Unplugging them allowed LIRC to start at boot, and lo and behold, the Remote Wonder II began to respond.

4) Next, I edited "/home/mythtv/.mythtv/lircrc", "/etc/lirc/lirc.conf" files to suit my system. These files are still a bit incomplete, and the alert KnoppMyth hack will note that I use VLC as my MythVideo player; however they provide what I was looking for in a working RF remote.


/home/mythtv/.mythtv/lircrc:
Code:
# ~/.mythtv/lircrc
#
# MythTV native LIRC config file for
# the ATI-Remote Wonder II
# using lirc_atiusb driver
#

begin
#Jumppoint for Program Guide created in Mythweb
    prog = mythtv
    button = TV
    config = !
end

begin
#Jumppoint for DVD playback created in Mythweb
    prog = mythtv
    button = DVD
    config = @
end

begin
    prog = mythtv
#Jumppoint for MythWeater created in Mythweb
    button = WEB
    config = #
end

begin
    prog = mythtv
#Jumppoint for MythVideo created in Mythweb
    button = list
    config = $
end

begin
    prog = mythtv
#Jumppoint for MythWeater created in Mythweb
    button = HAND
    config = %
end

begin
prog = mythtv
button = 1
config = 1
repeat = 5
end

begin
prog = mythtv
button = 2
config = 2
repeat = 5
end

begin
prog = mythtv
button = 3
config = 3
repeat = 5
end

begin
prog = mythtv
button = 4
config = 4
repeat = 5
end

begin
prog = mythtv
button = 5
config = 5
repeat = 5
end

begin
prog = mythtv
button = 6
config = 6
repeat = 5
end

begin
prog = mythtv
button = 7
config = 7
repeat = 5
end

begin
prog = mythtv
button = 8
config = 8
repeat = 5
end

begin
prog = mythtv
button = 9
config = 9
repeat = 5
end

begin
prog = mythtv
button = 0
config = 0
repeat = 5
end

begin
    prog = mythtv
    button = MOUSE_UP
    config = Up
end

begin
    prog = mythtv
    button = MOUSE_DOWN
    config = Down
end

begin
    prog = mythtv
    button = MOUSE_LEFT
    config = Left
end

begin
    prog = mythtv
    button = MOUSE_RIGHT
    config = Right
end

begin
    prog = mythtv
    button = MOUSE_RIGHT_BTN
    config = Esc
end

begin
    prog = mythtv
# Enter button
    button = MOUSE_LEFT_BTN
    config = Return
end

begin
    prog = mythtv
    button = POWER
    config = Esc
end

begin
    prog = mythtv
# Enter button
    button = OK
    config = Return
end

begin
    prog = mythtv
    button = ARROW_UP
    config = Up
end

begin
    prog = mythtv
    button = ARROW_DOWN
    config = Down
end

begin
    prog = mythtv
    button = ARROW_LEFT
    config = Left
end

begin
    prog = mythtv
    button = ARROW_RIGHT
    config = Right
end

begin
    prog = mythtv
    button = D
    config = Y
end

begin
prog = mythtv
button = CH_UP
config = Page Up
end

begin
prog = mythtv
button = CH_DOWN
config = Page Down
end

begin
  prog = mythtv
  button = VOL_DOWN
  repeat = 3
  config = [ 
end

begin
  prog = mythtv
  button = VOL_UP
  repeat = 3
  config = ] 
end
begin
    prog = mythtv
    button = MUTE
    config = F9 
end

begin
# Mute for MythMusic
    prog = mythtv
    button = MUTE
    config = | 
end

begin
    prog = mythtv
    button = check
    config = S 
end

begin
    prog = mythtv
# Enter button
    button = SETUP
    config = Return
end


begin
    prog = mythtv
    button = A
    config = S 
end

begin
    prog = mythtv
    button = info
    config = I   
end

begin
    prog = mythtv
#  Channel Guide
    button = C
    config = S   
end

begin
prog = mythtv
# Change focus for PiP (to change channel in the other window)
button = MAXIMIZE
config = B
end

begin
prog = mythtv
# Toggle PiP on/off
button = TV_ON_DEMAND
config = V
end

begin
    prog = mythtv
    button = BACK
    config = < 
end

begin
    prog = mythtv
    button = NEXT
    config = > 
end

begin
    prog = mythtv
    button = BACK
    config = Left 
end


begin
    prog = mythtv
    button = NEXT
    config = Right 
end

begin
prog = mythtv
button = REC
config = R
end

begin
prog = mythtv
button = STOP
config = Esc
end

begin
prog = mythtv
button = PLAY
config = P
end

begin
prog = mythtv
button = PAUSE
config = P
end

#Page Up/Down
begin
prog = mythtv
button = E
config = Esc
end

begin
prog = mythtv
button = F
config = PgDown
end

begin
prog = mythtv
button = E
# Use for backwards commercial skip
config = Q
end

begin
prog = mythtv
button = F
# Use for forward commercial skip
config = Z
end

#Mplayer

begin
prog = mplayer
button = PLAY
config = pause
end

begin
prog = mplayer
button = PAUSE
config = pause
end

begin
prog = mplayer
button = STOP
config = quit
end

begin
prog = mplayer
button = POWER
config = quit
end

begin
prog = mplayer
button = D
config = quit
end

begin
prog = mplayer
button = MOUSE_RIGHT_BTN
config = quit
end

begin
prog = mplayer
button = MUTE
config = mute
end

begin
prog = mplayer
button = E
repeat = 6
config = seek -10
end

begin
prog = mplayer
button = F
repeat = 6
config = seek 10
end

begin
prog = mplayer
button = BACK
repeat = 6
config = seek -70
end

begin
prog = mplayer
button = NEXT
repeat = 6
config = seek 70
end

begin
prog = mplayer
button = VOL_DOWN
repeat = 6
config = volume -1
end

begin
prog = mplayer
button = VOL_UP
repeat = 6
config = volume 1
end

#Xine

begin
prog = xine
button = PLAY
config = Play
end

begin
prog = xine
button = PAUSE
config = PAUSE
end

begin
prog = xine
button = STOP
config = Stop
end

begin
prog = xine
button = POWER
config = Quit
end

begin
prog = xine
button = D
config = quit
end

begin
prog = xine
button = MOUSE_RIGHT_BTN
config = quit
end

begin
prog = xine
button = ARROW_UP
repeat = 4
config = EventUp
end

begin
prog = xine
button = ARROW_DOWN
repeat = 4
config = EventDown
end

begin
prog = xine
button = ARROW_LEFT
repeat = 4
config = EventLeft
end

begin
prog = xine
button = ARROW_RIGHT
repeat = 4
config = EventRight
end

begin
prog = xine
button = OK
repeat = 0
config = EventSelect
end

begin
prog = xine
button = MOUSE_UP
repeat = 4
config = EventUp
end

begin
prog = xine
button = MOUSE_DOWN
repeat = 4
config = EventDown
end

begin
prog = xine
button = MOUSE_LEFT
repeat = 4
config = EventLeft
end

begin
prog = xine
button = MOUSE_RIGHT
repeat = 4
config = EventRight
end

begin
prog = xine
button = MOUSE_LEFT_BTN
repeat = 0
config = EventSelect
end

begin
prog = xine
button = DVD_ROOTMENU
repeat = 0
config = Menu
end

#vol down
begin
prog = xine
button = VOL_DOWN
repeat = 1
config = Volume-
end

#vol up
begin
prog = xine
button = VOL_UP
repeat = 1
config = Volume+
end

begin
prog = xine
button = TV_ON_DEMAND
repeat = 1
config = ZoomIn
end

begin
prog = xine
button = MAXIMIZE
repeat = 1
config = ZoomOut
end

#skip chapter forward
begin
prog = xine
button = NEXT
repeat = 1
config = EventNext
end

#skip chapter backward
begin
prog = xine
button = BACK
repeat = 1
config = EventPrior
end

begin
prog = xine
button = F
repeat = 2
config = SeekRelative+45
end

begin
prog = xine
button = E
repeat = 2
config = SeekRelative-45
end

# VLC

begin
  prog = vlc
  button = Ok
  config = key-nav-activate
end
begin
  prog = vlc
  button = ARROW_UP
  config = key-nav-up
end
begin
  prog = vlc
  button = ARROW_DOWN
  config = key-nav-down
end
begin
  prog = vlc
  button = ARROW_RIGHT
  config = key-nav-right
end
begin
  prog = vlc
  button = ARROW_LEFT
  config = key-nav-left
end
begin
  prog = vlc
  button = PAUSE
  config = key-pause
end
begin
  prog = vlc
  button = STOP
  config = key-quit
end
# Use this target if you have a combined play/pause button
begin
  prog = vlc
  button = PLAY
  config = key-play-pause
  repeat = 0
end
begin
  prog = vlc
  button = E
  config = key-quit
end
begin
  prog = vlc
  button = Channel+
  config = key-next
  repeat = 0
end
begin
  prog = vlc
  button = Channel-
  config = key-prev
  repeat = 0
end
begin
  prog = vlc
  button = Red
  config = key-slower
end
begin
  prog = vlc
  button = Green
  config = key-faster
end
begin
  prog = vlc
  button = rewind
  config = key-jump-10sec
  repeat = 1
end
begin
  prog = vlc
  button = ffwd
  config = key-jump+10sec
  repeat = 1
end
begin
  prog = vlc
  button = Chan-Stop
  config = key-jump-1min
end
begin
  prog = vlc
  button = Chan+Play
  config = key-jump+1min
end

#Audio controls
begin
  prog = vlc
  button = VOL_DOWN
  config = key-vol-down
  repeat = 1
end
begin
  prog = vlc
  button = VOL_UP
  config = key-vol-up
  repeat = 1
end
begin
  prog = vlc
  button = SOMEBUTTON
  config = key-audio-track
end
begin
  prog = vlc
  button = Mute
  config = key-vol-mute
end



/etc/lirc/lirc.conf
Code:
#
# brand: ATI Remote Wonder II
# aka: ATI Sapphire Remote Bob II USB
# model no. of remote control: 5000024400
#

begin remote

   name      ATI-RemoteWonderII
   bits      16
   eps      30
   aeps      100

   one      0 0
   zero      0 0
   pre_data_bits   8
   pre_data   0x0
   post_data_bits   16
   post_data   0x0
   gap      299851
   toggle_bit   0

   begin codes
      aux1         0x023F
      aux2         0x023F
      aux3         0x023F
      aux4         0x023F
      mouse_left_btn      0x02A9
      mouse_right_btn      0x02AA
      a         0x0278
      b         0x0279
      power         0x020C
      dvd         0x0238
      tv         0x0239
      help         0x02BE
      pc         0x023F
      resize         0x02D5
      hand         0x02D0
      ati         0x028E
      vol_up         0x0210
      vol_down      0x0211
      mute         0x020D
      ch_up         0x0220
      ch_down         0x0221
      mouse_cursor_up      0x01FF
      mouse_cursor_down   0x02FF
      mouse_cursor_left   0x20FF
      mouse_cursor_right   0x10FF
      mouse_cursor_upleft   0x21FF
      mouse_cursor_upright   0x11FF
      mouse_cursor_downleft   0x22FF
      mouse_cursor_downright   0x12FF
      1         0x0201
      2         0x0202
      3         0x0203
      4         0x0204
      5         0x0205
      6         0x0206
      7         0x0207
      8         0x0208
      9         0x0209
      0         0x0200
      list         0x0254
      check         0x0282
      info         0x02F9
      timer         0x0296
      arrow_up      0x0258
      arrow_left      0x025A
      arrow_right      0x025B
      arrow_down      0x0259
      ok         0x025C
      c         0x027A
      d         0x027B
      play         0x022C
      e         0x027C
      f         0x027D
      rewind         0x0229
      rec         0x0237
      stop         0x0231
      pause         0x0230
      ffwd         0x0228
   end codes

end remote


/etc/lirc/hardware.conf
Code:
# /etc/lirc/hardware.conf
#
# Arguments which will be used when launching lircd
LIRCD_ARGS=""

#Don't start lircmd even if there seems to be a good config file
START_LIRCMD=false

#Try to load appropriate kernel modules
LOAD_MODULES=true

# Run "lircd --driver=help" for a list of supported drivers.
DRIVER="default"
# If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be
# automatically used instead
DEVICE="/dev/lirc"
MODULES="lirc_dev lirc_atiusb"


I did all of this for lack of anything better to do with my Sunday. And the fact that I had a RWII laying in my junk box and no remote for my frontend.
I hope that this helps someone trying to do this same thing with their RWII.

Again, criticism is welcome. I figure there has to be an easier way to do this...isn't there?

-sTv 8)

note: I forgot to mention that I edited JumpPoints and Keybindings via MythWeb for this particular application. Added "!" to the LiveTV JumpPoint, "$" to the MythVideo JumpPoint and "%" to the MythWeather JumpPoint. I also changed some Keybindings: removed "C" from ToggleInputs in TV Playback, and reversed Jumpffwd and Jumprwnd keys (PgUp and PgDown).
I'll edit this post as I go back through my notes/skull cavity... :twisted:

_________________
R7.3 Backend
CPU: 1.8 GHz
RAM: 2Gb
Drives: 500Gb IDE; IDE DVD-RW
Mobo: eMachines
Tuners (Analog): PVR-250
Tuners (Digital): DCT-6200 Motorola Cable Box, HDHomeRun (OTA + cable)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 18, 2006 1:33 pm 
Offline
Joined: Sun Mar 05, 2006 10:52 pm
Posts: 9
I tested my RWII out with R5D1 and had the same experience with only a few of the buttons working, but a big improvement over not working at all!

Since I am not Linux savy I have not tried to get it working any better. Thanks Steeve for posting what you did to make it work!

Hopefully Cecil will be able to include this into the next release... :wink:

Just recently I picked up a 2nd PVR-150 and this one is came with the MCE remote (RC6, I believe), so now I have two remotes to choose from. I will give the MCE remote a try and see how it performs... Too bad that it isn't a wireless/radio remote.

Thanks for including the RWII support in R5D1 Cecil!
:D

Greg


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 20, 2007 9:37 pm 
Offline
Joined: Tue Apr 11, 2006 7:44 am
Posts: 287
Location: Los Angeles, CA
Well, I have been spending quite some time trying to get my RWII working in R5F27. I am using all of my config files that worked in R5E50, but nothing seems to be going in the newer version.

Has anyone with a RWII gotten it working in R5F27? I'd really like to have a working remote again.

So far, lircd appears to start and detect the remote. However, neither KM nor irw show any signs of getting a signal.

Thanks,

_________________
Tim

LinHES 8.4
HDHR3
BioStar A770, AMD X2 4050e, 2GB RAM
GigaByte GeForce 8400, Chaintech AV710
USB-UIRT


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 22, 2008 8:11 pm 
Offline
Joined: Tue Apr 11, 2006 7:44 am
Posts: 287
Location: Los Angeles, CA
Well, I just switched to using the kernel module. Most of the remote is now working but a few keys (CH+, CH-, OK, TV, DVD, etc.) don't register a keycode with the kernel module so they can't do anything. I would really like to be able to get this remote fully functional. But at least this gets me going a little bit.

_________________
Tim

LinHES 8.4
HDHR3
BioStar A770, AMD X2 4050e, 2GB RAM
GigaByte GeForce 8400, Chaintech AV710
USB-UIRT


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 25 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu