View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 22 posts ] 
Go to page Previous  1, 2

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Sat May 19, 2007 2:51 pm 
Offline
Joined: Tue Aug 09, 2005 2:09 pm
Posts: 107
cecil wrote:
As root:
Code:
cd /lib/modules/2.6.18-chw-13/misc/
mv lirc_dev.ko lirc_dev.ko.no
mv lirc_atiusb.ko lirc_atiusb.ko.no


cecil,
I have decided to switch from the kernel driver to lirc since I was having problems with the kernel driver in release R5F1, however I need to run the lirc-reconfig.sh script after every reboot in order to get it working. I undid the steps quoted above but, how do I undo these steps:

Code:
/etc/init.d/lirc stop
update-rc.d -f lirc remove
rmmod lirc_atiusb
rmmod lirc_dev
rmmod ati_remote
modprobe ati_remote


I am just guessing that this is why lirc is not starting back up after each reboot.[/quote]

_________________
P4 1.6 GHz
1.2 GB RAM
Nvidia GeForce4 MX 4000
Hauppage PVR 500 MCE
Soundblaster Live
ATI Remote Wonder II


Top
 Profile  
 
PostPosted: Sun Jan 20, 2008 3:44 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
footeo wrote:
It looks like the older ATI Remote wonder kernel driver is back in R5F1 because the most of the keys no longer do anything and the buttons repeat at a really fast rate now. Is there anyway to fix this? I have seen some old posts that suggested altering the source for the ati driver and re-compiling. Has anyone else run into this problem?


I did just this morning. Reinstalled R5F27 on my frontend after a HD crash and now I find (after following Cecil's instructions about) that only the arrow keys on the remote work and as well they work at a very fast speed compared to the speed they ran at before the reinstall. Suggestions anyone?

I did follow a link from the wiki page on ati remote to this page but I want to know what I'm getting into without some advice from someone in the know.

Thanks all!

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 20, 2008 5:33 pm 
Offline
Joined: Tue Aug 09, 2005 2:09 pm
Posts: 107
I have since switched to using lirc instead of the kernel driver. It took a little tweaking of the lircrc file to get it to work to my liking (changed most of the repeat setting to 2 instead of 4 or 5) but, I think that it offers much better program specific control as well as the ability to launch scripts from key presses using irexec. (My power button now exits mythfrontend to the mythwelcome screen). The only drawback is that it no longer functions as a mouse but, I can use vncviewer on my laptop to do any of the mousing I might need to do. I don't find that I need a mouse all that much. Let me know if you decide to go that route I may be able to help you or, at least give you my lircrc file.

_________________
P4 1.6 GHz
1.2 GB RAM
Nvidia GeForce4 MX 4000
Hauppage PVR 500 MCE
Soundblaster Live
ATI Remote Wonder II


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 21, 2008 2:51 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
Please do (your config file). Also, if you can outline the process you used to get lirc up and running and removing the kernel mods that'd be cool.... I know there is a dir with all the setup scripts but can't remember where on the fs they reside.

Thanks!

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 22, 2008 9:50 am 
Offline
Joined: Tue Aug 09, 2005 2:09 pm
Posts: 107
You should be able to just run:
Code:
/usr/local/bin/lirc-reconfig.sh

which I believe removes the kernel driver and installs the ati remote under lirc.

Here is my lircrc file which is saved as /home/mythtv/.mythtv/lircrc
I think I ended up making a symlink /home/mythtv/.lircrc and I don't really know if that was necessary you probably could just save the file as /home/mythtv/.lircrc

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

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

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

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

begin
    prog = mythtv
#Jumppoint for MythVideo created in Mythweb
    button = BOOK
    config = $
    repeat = 2
end

begin
    prog = mythtv
#Jumppoint for MythWeater created in Mythweb
    button = HAND
    config = %
    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 = MOUSE_UP
    config = Up
    repeat = 2
end

begin
    prog = mythtv
    button = MOUSE_DOWN
    config = Down
    repeat = 2
end

begin
    prog = mythtv
    button = MOUSE_LEFT
    config = Left
    repeat = 2
end

begin
    prog = mythtv
    button = MOUSE_RIGHT
    config = Right
    repeat = 2
end

begin
    prog = mythtv
    button = MOUSE_RIGHT_BTN
    config = Esc
    repeat = 2
end

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

begin
    prog = irexec
    button = POWER
    config = pkill mythfrontend
    repeat = 2
end

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

begin
    prog = mythtv
    button = ARROW_UP
    config = Up
    repeat = 2
end

begin
    prog = mythtv
    button = ARROW_DOWN
    config = Down
    repeat = 2
end

begin
    prog = mythtv
    button = ARROW_LEFT
    config = Left
    repeat = 2
end

begin
    prog = mythtv
    button = ARROW_RIGHT
    config = Right
    repeat = 2
end

begin
    prog = mythtv
    button = D
    config = Esc
    repeat = 2
end

begin
    prog = mythtv
    button = CH_UP
    config = Up
    repeat = 2
end

begin
    prog = mythtv
    button = CH_DOWN
    config = Down
    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 = MUTE
    config = F9 
    repeat = 8
end

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

begin
    prog = mythtv
    button = DVD_ROOTMENU
    config = M 
    repeat = 2
end

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


begin
    prog = mythtv
    button = A
    config = S 
    repeat = 2
end

begin
    prog = mythtv
    button = B
    config = I   
    repeat = 2
end

begin
    prog = mythtv
    button = C
    config = T   
    repeat = 2
end

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

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

begin
    prog = mythtv
    button = BACK
    config = < 
    repeat = 2
end

begin
    prog = mythtv
    button = NEXT
    config = > 
    repeat = 2
end

begin
    prog = mythtv
    button = BACK
    config = Left 
    repeat = 2
end


begin
    prog = mythtv
    button = NEXT
    config = Right 
    repeat = 2
end

begin
    prog = mythtv
    button = RECORD
    config = R
    repeat = 2
end

begin
    prog = mythtv
    button = STOP
    config = Esc
    repeat = 2
end

begin
    prog = mythtv
    button = PLAY
    config = P
    repeat = 2
end

begin
    prog = mythtv
    button = PAUSE
    config = P
    repeat = 2
end

#Page Up/Down
begin
    prog = mythtv
    button = E
    config = PgUp
    repeat = 2
end

begin
    prog = mythtv
    button = F
    config = PgDown
    repeat = 2
end

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

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

#Mplayer

begin
    prog = mplayer
    button = PLAY
    config = pause
    repeat = 2
end

begin
    prog = mplayer
    button = PAUSE
    config = pause
    repeat = 2
end

begin
    prog = mplayer
    button = STOP
    config = quit
    repeat = 2
end

#begin
#    prog = mplayer
#    button = POWER
#    config = quit
#    repeat = 2
#end

begin
    prog = mplayer
    button = D
    config = quit
    repeat = 2
end

begin
    prog = mplayer
    button = MOUSE_RIGHT_BTN
    config = quit
    repeat = 2
end

begin
    prog = mplayer
    button = MUTE
    config = mute
    repeat = 2
end

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

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

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

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

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

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

#Xine

begin
    prog = xine
    button = PLAY
    config = Play
    repeat = 2
end

begin
    prog = xine
    button = PAUSE
    config = PAUSE
    repeat = 2
end

begin
    prog = xine
    button = STOP
    config = Stop
    repeat = 2
end

#begin
#    prog = xine
#    button = POWER
#    config = Quit
#    repeat = 2
#end

begin
    prog = xine
    button = D
    config = quit
    repeat = 2
end

begin
    prog = xine
    button = MOUSE_RIGHT_BTN
    config = quit
    repeat = 2
end

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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



When I was poking around the forum I found some info on using delay with the repeat function which looked interesting and may cure my mute button issues. For some reason my mute button is a little temperamental.

You will also notice I commented out my power button functions for other applications so that it only makes mythfrontend exit. I may not have needed to do this but, it does exit to mythwelcome quite nicely now.

_________________
P4 1.6 GHz
1.2 GB RAM
Nvidia GeForce4 MX 4000
Hauppage PVR 500 MCE
Soundblaster Live
ATI Remote Wonder II


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 22, 2008 3:12 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
I'll mess with it once I get some time. Thanks very much for the info and config file, dude.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 02, 2008 9:45 am 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
FINALLY! I figured it out. The answer wasn't to use lirc at all. The key is copying over the ati_remote.ko from the /usr/lib/krp/Dragon/

Here, read this thread I just made to avoid any confusion.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ] 
Go to page Previous  1, 2



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 3 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