View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 46 posts ] 
Go to page Previous  1, 2, 3, 4  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Mar 03, 2012 9:14 pm 
Offline
Joined: Mon Dec 24, 2007 9:47 am
Posts: 535
Location: Ottawa, Canada
actually yes. Mine are also now in /etc/lircd.conf and /etc/lircrc. I'm certain when I looked before they were in /etc/lirc but I am no longer sure of the context.

In any event, for custom lircrc and lircd.conf files you should create a directory called ~/remotes (/home/mythtv/remotes). In there create a directory called say "abi_remotes" and then put your lircrc and lircd.conf there. In the Service Menu you can then choose your custom remote.

If it helps, I've documented much of this in http://linhes.org/projects/linhes/wiki/ ... tomization


Top
 Profile  
 
PostPosted: Sat Mar 03, 2012 11:51 pm 
Offline
Joined: Tue Nov 14, 2006 2:55 pm
Posts: 245
Location: South Jersey
This will help tremendously. Thanks.

Thanks especially for taking on the thankless job of documenting this.

Abbygirl

_________________
R6.04, dual core 3ghz, 3 gig memory, Zotac 8400 passive heat sink dvi/hdmi out video, 500 gig sata, dual tuner hdhomerun, streamzap remote

Abby


Top
 Profile  
 
PostPosted: Sun Mar 04, 2012 8:39 am 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 997
Location: Lexington, Ky
christ wrote:
actually yes. Mine are also now in /etc/lircd.conf and /etc/lircrc. I'm certain when I looked before they were in /etc/lirc but I am no longer sure of the context.

After my upgrade to 7.2 I had to copy the lircd.conf and lircrc to /etc/lirc in order to get my remote to work.


Top
 Profile  
 
PostPosted: Mon Mar 05, 2012 7:26 am 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1343
Location: Orlando FL
@ozdemon just an FYI keyboard commands don't "learn" well because of the nature of a keyboard it sends multiple commands with each press. a down an on and an up. I have struggled with 3 different IR learning remotes and just gave up on it.

_________________
My System


Top
 Profile  
 
PostPosted: Mon Mar 05, 2012 1:28 pm 
Offline
Joined: Wed Jun 10, 2009 8:39 pm
Posts: 118
mattbatt wrote:
I have struggled with 3 different IR learning remotes and just gave up on it.


Ouch! Did the 3 include a Harmony?

_________________
* Asus M3N78-EM, AMD 5050e, Nvidia 8300 IGP, QNAP TS-439 Pro II, Linhes 7.4


Top
 Profile  
 
PostPosted: Mon Mar 05, 2012 4:24 pm 
Offline
Joined: Mon Dec 24, 2007 9:47 am
Posts: 535
Location: Ottawa, Canada
mattbatt wrote:
@ozdemon just an FYI keyboard commands don't "learn" well because of the nature of a keyboard it sends multiple commands with each press. a down an on and an up. I have struggled with 3 different IR learning remotes and just gave up on it.

I'm not really sure what you mean by this. I certainly have 3 harmony remotes working fine on two different types of receivers. ir-keytable does often send more than one key press plus an up event but these are easily filtered with lircrc.

Did you mean ir-record functionality?


Top
 Profile  
 
PostPosted: Tue Mar 06, 2012 12:54 am 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1343
Location: Orlando FL
Not to hijacked the thread but yes record with an Ir keyboard I found the stream so much easier to learn.

_________________
My System


Top
 Profile  
 
PostPosted: Sat Mar 17, 2012 2:52 pm 
Offline
Joined: Tue Nov 14, 2006 2:55 pm
Posts: 245
Location: South Jersey
I finally had a Saturday to work on this. Still no joy in mudville.

ir-keytable shows proper output and irw sees that I'm pressing keys on the remote. But myth is *not* using the keys. Absolutely no idea why. I'm sure I'm missing something obvious.

Arrows keys continue to work fine. The menu, exit, stop, ffw, rwd, etc. do not work whatsoever.

# ir-keytable -t
Found /sys/class/rc/rc0/ (/dev/input/event4) with:
Driver streamzap, table rc-streamzap
Supported protocols: NEC RC-5 RC-6 JVC SONY LIRC other
Enabled protocols: LIRC
Repeat delay = 500 ms, repeat period = 33 ms

# ps -ef | grep lirc
root 916 913 0 14:29 ? 00:00:00 runsv lircd
root 5348 5308 0 14:30 ? 00:00:00 /usr/sbin/lircd -r -n -d /dev/lirc0 --output /var/run/lirc/lircd

# irw (with key presses)
00000000000028d2 02 OK Streamzap_PC_Remote
00000000000028d2 00 OK_UP Streamzap_PC_Remote
00000000000028d0 00 UP Streamzap_PC_Remote
00000000000028d0 01 UP Streamzap_PC_Remote
00000000000028d0 00 UP_UP Streamzap_PC_Remote
00000000000028d6 00 EXIT Streamzap_PC_Remote
00000000000028d6 01 EXIT Streamzap_PC_Remote
00000000000028d6 02 EXIT Streamzap_PC_Remote
00000000000028d6 00 EXIT_UP Streamzap_PC_Remote
00000000000028d5 00 MENU Streamzap_PC_Remote
00000000000028d5 01 MENU Streamzap_PC_Remote
00000000000028d5 00 MENU_UP Streamzap_PC_Remote
00000000000028d8 00 PAUSE Streamzap_PC_Remote
00000000000028d8 01 PAUSE Streamzap_PC_Remote
00000000000028d8 00 PAUSE_UP Streamzap_PC_Remote
00000000000028d9 00 STOP Streamzap_PC_Remote
00000000000028d9 01 STOP Streamzap_PC_Remote
00000000000028d9 00 STOP_UP Streamzap_PC_Remote
00000000000028cf 00 VOL_DOWN Streamzap_PC_Remote

_________________
R6.04, dual core 3ghz, 3 gig memory, Zotac 8400 passive heat sink dvi/hdmi out video, 500 gig sata, dual tuner hdhomerun, streamzap remote

Abby


Top
 Profile  
 
PostPosted: Sat Mar 17, 2012 3:43 pm 
Offline
Joined: Wed Jun 10, 2009 8:39 pm
Posts: 118
abigailsweetashoney wrote:
I finally had a Saturday to work on this. Still no joy in mudville.


Abigail, did you try a fresh install of 7.2? As I said previously, my streamzap combo worked out of the box after I had selected it in the Linhes menu and rebooted.

_________________
* Asus M3N78-EM, AMD 5050e, Nvidia 8300 IGP, QNAP TS-439 Pro II, Linhes 7.4


Top
 Profile  
 
PostPosted: Sat Mar 17, 2012 11:33 pm 
Offline
Joined: Tue Nov 14, 2006 2:55 pm
Posts: 245
Location: South Jersey
I'd prefer not to re-install everything. I'm sure this is a simple fix that I (we?) arre alll missing. Can you send me your /etc/systemconfig file so I can compare?
thanaks, Abs

_________________
R6.04, dual core 3ghz, 3 gig memory, Zotac 8400 passive heat sink dvi/hdmi out video, 500 gig sata, dual tuner hdhomerun, streamzap remote

Abby


Top
 Profile  
 
PostPosted: Sun Mar 18, 2012 2:41 am 
Offline
Joined: Wed Jun 10, 2009 8:39 pm
Posts: 118
abigailsweetashoney wrote:
I'd prefer not to re-install everything. I'm sure this is a simple fix that I (we?) arre alll missing. Can you send me your /etc/systemconfig file so I can compare?
thanaks, Abs


I only used the streamzap combo as an interim measure until I could get my harmony remote working. I have since used an IR keyboard to map all necessary keys to the Harmony and selected "no remote" in the Linhes menu, so I would think that any file I sent you would be likely to cause you more harm (which you don't need at the moment).

BTW, it takes me less than 20 minutes to do a fresh install.

_________________
* Asus M3N78-EM, AMD 5050e, Nvidia 8300 IGP, QNAP TS-439 Pro II, Linhes 7.4


Top
 Profile  
 
PostPosted: Sun Mar 18, 2012 11:35 am 
Offline
Joined: Mon Dec 24, 2007 9:47 am
Posts: 535
Location: Ottawa, Canada
abigailsweetashoney wrote:
ir-keytable shows proper output and irw sees that I'm pressing keys on the remote. But myth is *not* using the keys. Absolutely no idea why. I'm sure I'm missing something obvious.

Arrows keys continue to work fine. The menu, exit, stop, ffw, rwd, etc. do not work whatsoever.

If irw is working for your keys then you have success up through lircd. The most likely culprit is a matching lircrc file. The output of irw does need to match the entries in your lircrc.


Top
 Profile  
 
PostPosted: Mon Mar 19, 2012 4:48 pm 
Offline
Joined: Tue Nov 14, 2006 2:55 pm
Posts: 245
Location: South Jersey
I'm presuming you mean the "STOP", "EXIT", "LEFT", "RIGHT", etc. have to match up. They do. Enclosed is a snippet from the /etc/lircrc file which is symlinked to /etc/lirc/lircrc and /home/mythtv/.lircrc. What's particularly strange is that LEFT, RIGHT, UP, and DOWN work but OK, MENU, and the others do not.

Note that when I use the keyboard all the "config" equivalents work just fine.


begin
prog = mythtv
button = LEFT
# navigates, or skips back during playback or live tv.
config = Left
end

begin
prog = mythtv
button = OK
config = Return
end

begin
prog = mythtv
button = RIGHT
# navigates, or skips forwards during playback or live tv.
config = Right
end

begin
prog = mythtv
button = DOWN
repeat = 3
config = Down
end

begin
prog = mythtv
button = MENU
config = m
end

begin
prog = mythtv
button = EXIT
config = Esc
end

_________________
R6.04, dual core 3ghz, 3 gig memory, Zotac 8400 passive heat sink dvi/hdmi out video, 500 gig sata, dual tuner hdhomerun, streamzap remote

Abby


Top
 Profile  
 
PostPosted: Mon Mar 19, 2012 8:19 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
With the search oddities the forums have had since the switch over it may be hard to find, but a while back I did a write up on how the LIRC files go together and which names have to match which other names. One of the things I noticed along the way is that a lot of the different LIRC files for different remotes were inconsistent, with no glabal standard for button names, so that getting a working set often meant going through the files side by side and making them match up.

Aha! Found it! http://forum.linhes.org/viewtopic.php?f=3&t=15551 Don't know if this will help or not...


Top
 Profile  
 
PostPosted: Mon Mar 19, 2012 8:32 pm 
Offline
Joined: Mon Dec 24, 2007 9:47 am
Posts: 535
Location: Ottawa, Canada
abigailsweetashoney wrote:
I'm presuming you mean the "STOP", "EXIT", "LEFT", "RIGHT", etc. have to match up. They do.

yes. that is what I mean.

You can also test the output of lircrc using "ircat mythtv". This can run while mythtv is running. It will show the translated output from lircrc. In your case for example "OK" should output "Return".

If you get the arrow keys being output from ircat then you are definitely going through lircrc (maybe just not the one you expected). If nothing then perhaps something like irxevent is running?

If you get all of your keys coming out properly with ircat then the only other culprit would be the key bindings.


Top
 Profile  
 

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



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 6 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:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu