Author |
Message |
brplut40
|
Posted: Sun Apr 15, 2007 5:34 pm |
|
Joined: Fri Jan 27, 2006 3:43 pm
Posts: 17
|
I have a tira2 which i got lirc to work with correctly. I have verified by using irw which shows the associated key presses. I have setup a basic lircrc file for moving around myth. here is the lircd.conf file
Code: # Please make this file available to others # by sending it to <lirc@bartelmus.de> # # this config file was automatically generated # using lirc-0.8.1(tira) on Sun Apr 15 18:08:47 2007 # # contributed by # # brand: rem # model no. of remote control: # devices being controlled by this remote: #
begin remote
name rem.conf bits 32 eps 30 aeps 100
one 0 0 zero 0 0 pre_data_bits 8 pre_data 0x0 post_data_bits 24 post_data 0xF5D500 gap 207943 min_repeat 11 toggle_bit 0
begin codes right_arrow 0x89A67FF7 left_arrow 0x89267F77 up_arrow 0x0B2EFD7F down_arrow 0x0B8EFDDF select 0x030CF55D play 0x8BA67DF7 pause 0x8B2E7D7F fwd 0x8B0E7D5F rew 0x8B8E7DDF end codes
end remote
and the associated lircrc file Code: begin prog = mythtv button = right_arrow config = Right end
begin prog = mythtv button = left_arrow config = Left end
begin prog = mythtv button = up_arrow config = Up end
begin prog = mythtv button = down_arrow config = Down end
begin prog = mythtv button = select config = Return end
Can anyone tell me why i cannot get navigation within myth using the remote with this setup? What i am trying to accomplish right now is using the remote to highlight and select menus. I will add more advance features once I have this down.
|
|
Top |
|
 |
slowtolearn
|
Posted: Sun Apr 15, 2007 6:30 pm |
|
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location:
Farmington, MI USA
|
Assuming the codes in the lircd.conf file are correct, I would guess the lircrc file is A) not located in /home/mythtv/.mythtv or B) not readable by the mythtv user. The lircrc file itself looks fine to me.
|
|
Top |
|
 |
brplut40
|
Posted: Sun Apr 15, 2007 7:02 pm |
|
Joined: Fri Jan 27, 2006 3:43 pm
Posts: 17
|
location of lircrc is /home/mythtv/.mythtv/lircrc with a symlink from /home/mythtv/lircrc -> /home/mythtv/.mythtv/lircrc
The permissions on lircrc are 664 and the owner is mythtv
|
|
Top |
|
 |
slowtolearn
|
Posted: Sun Apr 15, 2007 7:19 pm |
|
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location:
Farmington, MI USA
|
brplut40 wrote: location of lircrc is /home/mythtv/.mythtv/lircrc with a symlink from /home/mythtv/lircrc -> /home/mythtv/.mythtv/lircrc Hmmm, on my R5D1 + .20 installs I have /home/mythtv/.lircrc (note the period) linked to /home/mythtv/.mythtv/lircrc. Are you running MythTV as root? brplut40 wrote: The permissions on lircrc are 664 and the owner is mythtv That should suffice.
Silly question: Have you restarted lircd since creating/changing the lirc files?
I haven't used irw myself, I use irrecord to capture the key press codes. Do you get the same codes with irrecord?
|
|
Top |
|
 |
brplut40
|
Posted: Sun Apr 15, 2007 8:58 pm |
|
Joined: Fri Jan 27, 2006 3:43 pm
Posts: 17
|
i am running the same knoppmyth version with the myth upgrade as well. The links are the same as yours, i mistyped and it is /home/mythtv/.lircrc that is linked. i have restarted lircd and rebooted the entire machine after changing the config files. and i did us irrecord to create the lircd.conf file.
|
|
Top |
|
 |
slowtolearn
|
Posted: Mon Apr 16, 2007 10:16 am |
|
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location:
Farmington, MI USA
|
brplut40 wrote: i am running the same knoppmyth version with the myth upgrade as well. The links are the same as yours, i mistyped and it is /home/mythtv/.lircrc that is linked. i have restarted lircd and rebooted the entire machine after changing the config files. and i did us irrecord to create the lircd.conf file. Well, you've got me stumped, only thing I can think of is that the lircrc file is not in the correct place. Are you running MythTV as a user other than mythtv?
EDIT: Have you verified that lircd is in fact running, and that your DEVICE= and MODULES= directives in /etc/lirc/hardware.conf are correct? /EDIT
|
|
Top |
|
 |
brplut40
|
Posted: Mon Apr 16, 2007 11:01 am |
|
Joined: Fri Jan 27, 2006 3:43 pm
Posts: 17
|
there is the fun part. i downloaded and installed lirc from source. I did the setup script, make, make install and everything worked ok. I have no /etc/lirc directory now. Which means i have no hardware.conf file located in /etc/lirc This may be the cause of some of my problems. I am hesitant to remove lirc, as i have it up and working. maybe you can explain how to do a clean uninstall and reinstall of lirc. Thanks for the help
|
|
Top |
|
 |
slowtolearn
|
Posted: Mon Apr 16, 2007 12:49 pm |
|
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location:
Farmington, MI USA
|
brplut40 wrote: there is the fun part. i downloaded and installed lirc from source. Well, that would have been nice to know right up front  brplut40 wrote: I did the setup script, make, make install and everything worked ok. I have no /etc/lirc directory now. Which means i have no hardware.conf file located in /etc/lirc This may be the cause of some of my problems. I am hesitant to remove lirc, as i have it up and working. maybe you can explain how to do a clean uninstall and reinstall of lirc. I haven't the foggiest, short of removing it all by hand.
I would recommend using the setup.sh that came with the lirc package to configure it. Then take a look through the config.log and make sure your driver and device file are configured properly, and then run make && make install.
|
|
Top |
|
 |
brplut40
|
Posted: Mon Apr 16, 2007 4:40 pm |
|
Joined: Fri Jan 27, 2006 3:43 pm
Posts: 17
|
I got it to work. I don't know what I was doing wrong but it works now. I restarted lircd, restarted the frontend, and it worked. Thanks for all the help, now I am of to get my remote to do all my work for me 
|
|
Top |
|
 |
cecil
|
Posted: Mon Apr 16, 2007 10:02 pm |
|
 |
Site Admin |
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location:
Whittier, Ca
|
Are the lircd.conf and lircrc complete? What lirc module is being used? Post as much detail as possible so this remote can work out the box in future releases...
|
|
Top |
|
 |