View unanswered posts    View active topics

All times are UTC - 6 hours





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

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Jan 10, 2007 3:07 pm 
Offline
Joined: Thu Mar 16, 2006 1:00 pm
Posts: 87
Since completely rebuilding my system with completely new components and upgrading to R5E50, I haven't been able to get my homebrew ir receiver working...I've spent days searching knoppmyth forums, lirc docs, and anyplace else I can think of, and nothing has worked to get my ir receiver to even acknowledge the remote. I'm beginning to think I may have physically damaged the receiver...I'm not exactly sure how to word my question, but what I'm looking for is the most basic point at which I can tell whether or not it is working...I have /dev/lirc0, but I'm not sure if that means the computer actually detected it, or if it's there because I told it it should be when I ran the lirc-reconfigure script. Make sense?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 10, 2007 3:23 pm 
Offline
Joined: Fri Nov 18, 2005 9:22 am
Posts: 777
Location: spencerport, ny (USA)
Did you follow the wiki, and did irw give any output?

I also found I could get funny output with this:
tail -f \dev\lirc0

It was enough to see that it was working, anyway.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 10, 2007 4:36 pm 
Offline
Joined: Thu Mar 16, 2006 1:00 pm
Posts: 87
irw gives me nothing. I hadn't tried tail -f /dev/lirc0 until now, but that also gives me nothing. So does that necsarily mean it's broken, or could it be something else?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 10, 2007 4:49 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
irw requires lircd to be configured correcly. The most basic test you can do is using mode2 (from memory):
Code:
mode2 -d /dev/lirc0
Then point your remote and press buttons and you should see mark/space information. If that doesnt work, it could be:
    1. Com ports are disabled in the bios.
    2. lirc-serial module not loaded correctly (although the existence of /dev/lirc0 suggests that this would probbaly not be the case).
    3. The lirc-serial module may by using the wrong com port (you are using com1 arent you)?
    4. Broken receiver.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 10, 2007 7:10 pm 
Offline
Joined: Thu Mar 16, 2006 1:00 pm
Posts: 87
Thanks Greg, that was exactly what I was looking for! Turns out, I had the wrong com port:-( I probably never would have thought to check that. Irw still doesn't work, but mode2 does, so at least I know the hardware is working fine, and I go back to configuring everything correctly. Thank you!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 11, 2007 2:08 am 
Offline
Joined: Thu Mar 16, 2006 1:00 pm
Posts: 87
grrr...I'm so confused! I feel like I'm really close but not quite there...I got irrecord working fine, created my lircd.conf and my lircrc...I had trouble getting irw to work, but after messing around with it for three hours, it finally started working...but, the remote does nothing with mythtv, mplayer, or anything else...how is this possible? My lircrc is configured correctly, and none of the buttons work, so I seriously doubt it could be a typo or something of the sort. It is supposed to be in /home/mythtv/.mythtv/lircrc, right? Any help?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 11, 2007 5:05 am 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
Does your lircrc require irexec or irxevent to be running? If so, open an xterm (alt-x) and run launch_irx.sh (I think thats what its called. just do laun<tab>).


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 11, 2007 2:03 pm 
Offline
Joined: Thu Mar 16, 2006 1:00 pm
Posts: 87
I'm not sure if it does, but running it doesn't make things work:-/


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 12, 2007 3:53 pm 
Offline
Joined: Thu Oct 26, 2006 8:40 am
Posts: 45
Location: Ohio
I'm having the same problem, I recompiled lirc(what a pain). Nothing has worked except for:
Code:
mode2 -d /dev/lirc0


My .lircrc and lircd.conf is the same as R5D1. Did the keys change or prog = mythtv change?

_________________
HD homerun
Hauppauge WinTV-HVR-1600 ATSC/ClearQAM
1.5 TB
2 GB ram
ASUS M4A78 Plus AM3/AM2+/AM2 AMD 770 ATX AMD Motherboard
AMD Athlon II X2 250 Regor 3.0GHz Socket AM3 65W Dual-Core Processor


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 12, 2007 4:19 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
You could be having the problem where the lircd daemon is not being passed its arguments (which it now needs because it needs to use /dev/lirc0 instead of defaulting to /dev/lirc).

Edit /etc/init.d/lirc and make sure the line that starts lirc looks like this:

Code:
      start-stop-daemon --start --quiet --exec /usr/sbin/lircd -- $LIRCD_ARGS\
                < /dev/null
The inportant addition being the "-- $LIRCD_ARGS" bit


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 12, 2007 4:37 pm 
Offline
Joined: Thu Oct 26, 2006 8:40 am
Posts: 45
Location: Ohio
It seems to be right for me.

My dmesg dosen't give me any error messages listed in that script either.

Code:
mythtv@mythtv:~$ dmesg | grep lirc
lirc_dev: IR Remote Control driver registered, at major 61
lirc_serial: auto-detected active low receiver
lirc_dev: lirc_register_plugin: sample_rate: 0

_________________
HD homerun
Hauppauge WinTV-HVR-1600 ATSC/ClearQAM
1.5 TB
2 GB ram
ASUS M4A78 Plus AM3/AM2+/AM2 AMD 770 ATX AMD Motherboard
AMD Athlon II X2 250 Regor 3.0GHz Socket AM3 65W Dual-Core Processor


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 12, 2007 7:14 pm 
Offline
Joined: Thu Oct 26, 2006 8:40 am
Posts: 45
Location: Ohio
Looked a little closer and found that the version I compiled is not the version installed.(had errors during make install)
Code:
lircd -v
lircd 0.8.1-CVS-pvr150


I'm thinking the pvr150 at the end means its the driver used for the pvr card and not my homebrew serial.

Should I try to remove it?

_________________
HD homerun
Hauppauge WinTV-HVR-1600 ATSC/ClearQAM
1.5 TB
2 GB ram
ASUS M4A78 Plus AM3/AM2+/AM2 AMD 770 ATX AMD Motherboard
AMD Athlon II X2 250 Regor 3.0GHz Socket AM3 65W Dual-Core Processor


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 12, 2007 7:45 pm 
Offline
Joined: Thu Oct 26, 2006 8:40 am
Posts: 45
Location: Ohio
Well mine is finally working hooray!!

Not sure why it wasn't, it may have been a combination of things:

1. bootmisc.sh had only one entry
Code:
setserial /dev/ttyS0 uart none

2. /etc/lirc/hardware.conf had these entries
Code:
DEVICE="/dev/lirc0"
MODULES="lirc_dev lirc_serial"

3. Restarted lircd
Code:
/etc/init.d/lirc restart

4. oh yeah believe it or not my biggest hurdle restart the frontend

Thanks alot

I thought of one more thing I did before I restarted lirc, I removed lircnav additions from my .lircrc (might have had something to do with it since lircnav doesn't appear to be in R5E50)

_________________
HD homerun
Hauppauge WinTV-HVR-1600 ATSC/ClearQAM
1.5 TB
2 GB ram
ASUS M4A78 Plus AM3/AM2+/AM2 AMD 770 ATX AMD Motherboard
AMD Athlon II X2 250 Regor 3.0GHz Socket AM3 65W Dual-Core Processor


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 17, 2007 4:56 pm 
Offline
Joined: Thu Mar 16, 2006 1:00 pm
Posts: 87
my /etc/init.d/lirc appears to be correct. I'm glad you got yours working glennph93, and I'm hoping if you were having the same problems I am, that that's good news for me...but I'm a little confused about how you fixed it...are you saying the the points you listed in your last post are the way they originally were, or what you changed them to? For example, did your bootmisc.sh have other lines and you deleted the others leaving only the setserial line, or did you add others in addition to that line?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 18, 2007 8:34 am 
Offline
Joined: Thu Oct 26, 2006 8:40 am
Posts: 45
Location: Ohio
Sorry yours is still not working. As for the bootmisc.sh entry I had two others(that I put in) that was in the wiki:
Code:
modprobe lirc_serial
/usr/local/sbin/lircd


after looking at the script used in R5E50 that installs lirc it didn't do that it just installed the setserial line and thats the same for the /etc/lirc/hardware.conf file it just changes the two lines
Code:
DEVICE="/dev/lirc0"
MODULES="lirc_dev lirc_serial"


After saying all that, I really think my problem was in the .lircrc file with the prog = lircnav entries. I can't be sure (I wish I took better notes) but I think when I restarted lirc before I did that, irw(as normal user) would bomb out and kill lircd(see if thats going on). Maybe you could make a real simple .lircrc file(one entry) and restart lirc and the frontend if that works, you know its that.

example:
Code:
begin
    prog = mythtv
    button = OFF #replace with correct lircd.conf entry
    config = Esc
end

_________________
HD homerun
Hauppauge WinTV-HVR-1600 ATSC/ClearQAM
1.5 TB
2 GB ram
ASUS M4A78 Plus AM3/AM2+/AM2 AMD 770 ATX AMD Motherboard
AMD Athlon II X2 250 Regor 3.0GHz Socket AM3 65W Dual-Core Processor


Top
 Profile  
 

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



All times are UTC - 6 hours




Who is online

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