Author |
Message |
Girkers
|
Posted: Sat Aug 30, 2008 5:06 am |
|
Joined: Tue Mar 22, 2005 9:18 pm
Posts: 1422
Location:
Brisbane, Queensland, Australia
|
I have just configured my remote and when I use the up and down buttons on the remote the selection moves two items not one. When I do a check of the remote with irw a single key press produces two lines of exactly the same data. I recorded the the lircd.conf file personally.
I am steering towards something in the lircrc file or the MythTV keybindings, I really don't know where to look. Does anyone have any ideas on how I can resolve this issue.
Thanks
_________________ Girkers
|
|
Top |
|
|
tjc
|
Posted: Sat Aug 30, 2008 8:59 am |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
Maybe you need to adjust the repeat settings in /home/mythtv/.mythtv/lircrc
The comment in mine says:
Quote: # Note the "repeat = " strings in the volume and channel. # This means that if you hold down the key, every nth instance will be # passed. This depends on your system, so you may want to increase or # decrease this and see what happens. repeat = 1 is probably too # fast.
|
|
Top |
|
|
cliffsjunk
|
Posted: Sat Aug 30, 2008 11:01 am |
|
Joined: Fri Sep 15, 2006 12:16 pm
Posts: 292
|
Does it do 2 every time or does it do something from 0 to 2 randomly
as my serial LIRC on an older, slower system does (especially when the
hard drive is very active)?
|
|
Top |
|
|
mjl
|
Posted: Sat Aug 30, 2008 2:18 pm |
|
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location:
Warwick, RI
|
Hi,
Not much for back ground on your setup but I get a similar action from my keyboard if my install picks up nv instead of nvidia for the x driver. I usually just change the driver so never have confirmed if the same action carried over to the remote.
Mike
|
|
Top |
|
|
Girkers
|
Posted: Sun Aug 31, 2008 4:06 am |
|
Joined: Tue Mar 22, 2005 9:18 pm
Posts: 1422
Location:
Brisbane, Queensland, Australia
|
OK gents (and ladies if present) I had gone through the three suggestions so far and they are wonderful considering the lack of information that I provided. Alas I am still at a loss.
Before I go further I should tell you the hardware involved as this may help. The IR receiver is connected through a DVico Dual Digital 4 (Rev 2) with the remote being a FusionREMOTE.
I have recorded my own lircd.conf file and it looks like this:
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.3-CVS-pvr150-2(devinput) on Sat Aug 30 15:28:16 2008 # # contributed by Garth Kirkwood (garth@gkcomputerservices.com) # # brand: DVico Dual Digital 4 Rev 2.0 # model no. of remote control: FusionREMOTE # devices being controlled by this remote: #
begin remote
name /etc/lirc/lircd.conf bits 16 eps 30 aeps 100
one 0 0 zero 0 0 pre_data_bits 16 pre_data 0x1 gap 199985 toggle_bit_mask 0x80000000
begin codes tv 0x0164 pc 0x0074 dtv 0x0179 mp3 0x0187 dvd 0x0185 profile 0x016C 1 0x0002 2 0x0003 3 0x0004 4 0x0005 5 0x0006 6 0x0007 7 0x0008 8 0x0009 9 0x000A 0 0x000B setup 0x008D guide 0x016D replay 0x00A5 skip 0x00A3 up 0x0067 down 0x006C left 0x0069 right 0x006A ok 0x0160 volup 0x0073 voldown 0x0072 chup 0x0192 chdown 0x0193 start 0x001C mute 0x0071 open 0x0086 play 0x00A4 stop 0x0080 input 0x0166 livetv 0x0182 rew 0x00A8 ff 0x00D0 back 0x009E 16:9_4:3 0x0173 screen 0x0174 alt-tab 0x000F snapshot 0x00D4 dvdmenu 0x008B rec 0x00A7 end codes
end remote
For some reason I have to have a copy of the lircd.conf file in /etc/ and /etc/lirc/ as lircd won't start unless I have a conf file in each directory. If I start LIRC without a conf file in /etc/lirc/ I get: Code: root@mythbox:/etc/lirc# /etc/init.d/lirc restart Stopping lirc daemon: lircmd lircd. ################################################## ## LIRC IS NOT CONFIGURED ## ## ## ## read /usr/share/doc/lirc/html/configure.html ## ################################################## Starting lirc daemon:.
And if I start LIRC without a conf file in /etc/ I get: Code: root@mythbox:/etc# /etc/init.d/lirc restart Stopping lirc daemon: lircmd lircd. Starting lirc daemon: lircdlircd: could not open config file '/etc/lircd.conf' lircd: No such file or directory .
When I do have the remote working this is some of the output from irw: Code: 000000000001006c 00 down /etc/lirc/lircd.conf 000000000001006c 00 down /etc/lirc/lircd.conf 000000000001006c 00 down /etc/lirc/lircd.conf 000000000001006c 00 down /etc/lirc/lircd.conf 0000000000010067 00 up /etc/lirc/lircd.conf 0000000000010067 00 up /etc/lirc/lircd.conf 0000000000010067 00 up /etc/lirc/lircd.conf 0000000000010067 00 up /etc/lirc/lircd.conf
Now I pressed the down button twice with a pause in between and the up button twice. As you can see the remote is sending the code twice on each button press. Here is the hardware.conf for information purposes: 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="dev/input" # If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be # automatically used instead DEVICE="/dev/input/event6" MODULES=""
#Default configuration files for your hardware if any LIRCD_CONF="/etc/lirc/lircd.conf" LIRCMD_CONF=""
This is a section from lircrc: Code: begin prog = mythtv button = up repeat = 5 config = Up end
begin prog = mythtv button = down repeat = 5 config = Down end
So is there anyone out there that may be able to steer me in some direction that may equate to a resolution.
Thanks.
_________________ Girkers
|
|
Top |
|
|
slowtolearn
|
Posted: Sun Aug 31, 2008 3:48 pm |
|
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location:
Farmington, MI USA
|
Girkers wrote: ... This is a section from lircrc: Code: begin prog = mythtv button = up repeat = 5 config = Up end
begin prog = mythtv button = down repeat = 5 config = Down end
Do your other keys have the repeat = 5? As tjc mentioned, try adjusting the repeat value...
|
|
Top |
|
|
Girkers
|
Posted: Mon Sep 01, 2008 12:10 am |
|
Joined: Tue Mar 22, 2005 9:18 pm
Posts: 1422
Location:
Brisbane, Queensland, Australia
|
With the repeat setting I have tried with it completely removed, with a value of 2 and a value of 5 all with the same result.
Is there a way I see what event is being passed to mythtv as when I run irw it stops Mythtv from receiving the IR events?
_________________ Girkers
|
|
Top |
|
|
slowtolearn
|
Posted: Mon Sep 01, 2008 8:56 am |
|
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location:
Farmington, MI USA
|
Although I don't see that it deals with the Up/Down keys specifically, I wonder if this code is in your version of lirc? (Not running a 5.5 box ATM so I can't check)
|
|
Top |
|
|
cliffsjunk
|
Posted: Tue Sep 09, 2008 7:29 pm |
|
Joined: Fri Sep 15, 2006 12:16 pm
Posts: 292
|
You shouldn't have to have two copies of lircd.conf. It is my
guess that that is related to your problem.
Did you build a lirc module from source or something like that?
Two conf files, two copies of lirc running, two key presses?
|
|
Top |
|
|
goofee
|
Posted: Tue Sep 09, 2008 8:40 pm |
|
Joined: Sat Feb 03, 2007 12:52 am
Posts: 187
Location:
Manitoba, Canada
|
on my stock install, /etc/lircd.conf is a link to /etc/lirc/lircd.conf
Code: $ ls -l /etc/lirc* lrwxrwxrwx 1 root root 20 Aug 1 18:42 /etc/lircd.conf - > /etc/lirc/lircd.conf lrwxrwxrwx 1 root root 21 Aug 1 18:42 /etc/lircmd.conf -> /etc/lirc/lircmd.conf
/etc/lirc: total 28 -rw-r--r-- 1 root root 469 Aug 1 22:04 hardware.conf -rw-r--r-- 1 root root 487 Dec 10 2006 hardware.conf.1st -rw------- 1 root root 672 Nov 5 2006 lirc-modules-source.conf -rw-r--r-- 1 root root 8604 Aug 2 11:14 lircd.conf -rw-r--r-- 1 root root 121 Oct 16 2006 lircmd.conf
I did have some unexpected results one time when I edited my lircrc file I accidently configured a button twice. I copied a section from the top mythtv section to the xine section but forgot to change the "prog= " from mythtv to xine. It resulted in double keypresses in mythtv and none in xine. Just a thought.
|
|
Top |
|
|
chunter2
|
Posted: Mon Sep 22, 2008 11:18 pm |
|
Joined: Mon May 02, 2005 9:00 am
Posts: 172
|
I seem to be having this problem too. It only seems to be in the Watch Recordings menu for me. At least what I've notices so far. It's very random. I can go a couple days without a problem but then other times its every key press. Anyone found a solution for this?
|
|
Top |
|
|
sparky34
|
Posted: Fri Oct 03, 2008 11:21 pm |
|
Joined: Wed Aug 29, 2007 9:57 pm
Posts: 2
|
chunter2 wrote: I seem to be having this problem too. It only seems to be in the Watch Recordings menu for me. At least what I've notices so far. It's very random. I can go a couple days without a problem but then other times its every key press. Anyone found a solution for this?
I'm having a similar problem on my EPIA M10000 box after upgrading to 5.5.
My problem occurs after playback and deleting the program. Trying to move around to watch another program after doing this causes the behavior. If I exit, then click 'Watch Recordings' it seems to resolve it.
I have no idea why deleting the program would cause the behavior but it does.
|
|
Top |
|
|
chunter2
|
Posted: Sat Oct 04, 2008 7:00 am |
|
Joined: Mon May 02, 2005 9:00 am
Posts: 172
|
sparky34 wrote: I'm having a similar problem on my EPIA M10000 box after upgrading to 5.5. My problem occurs after playback and deleting the program. Trying to move around to watch another program after doing this causes the behavior. If I exit, then click 'Watch Recordings' it seems to resolve it.
I have no idea why deleting the program would cause the behavior but it does.
The second post in this thread seems to have worked for me. (Cecil's post)
http://knoppmyth.net/phpBB2/viewtopic.php?t=18497
Not sure if this causes any other issues but I haven't noticed any yet.
|
|
Top |
|
|
Girkers
|
Posted: Sat Oct 04, 2008 6:08 pm |
|
Joined: Tue Mar 22, 2005 9:18 pm
Posts: 1422
Location:
Brisbane, Queensland, Australia
|
I have tried most suggestions except the one about recompiling lirc as I don't really know what I am doing there, so I am going to go back to step 1 and do a clean install and start from scratch. Is there a guide anywhere that will take me through the steps of setting up LIRC on a KnoppMyth 5.5 system, not using the inbuilt setup program?
Thanks
_________________ Girkers
|
|
Top |
|
|
Greg Frost
|
Posted: Sun Oct 12, 2008 8:54 pm |
|
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location:
Adelaide, Australia
|
How did you go with the clean install?
Is there a possibility that you apt-got something that installed a different version of lirc (different to the one that ships with R5.5)?
|
|
Top |
|
|