Build Your Own PVR Forum
March 19, 2010, 07:39:46 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: The forum is now up to date! let me know if anything goes bump in the night  pettersen   AT   Gmail  -- tnx!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: IRW killing LIRC Daemon ... Troubleshooting advice?  (Read 4305 times)
jert
Bantha Poodu
*

Karma: 0
Offline Offline

Posts: 2

PVR/DVR/HTPC Junkie


View Profile
« on: July 21, 2005, 11:38:21 AM »

Greetings, all.

First of all, I just want to say thankyou to the Linux byopvr community ... the posts here have saved me a major headache on more than one occasion.  But I don't seem to be able to find a solution to my current issue ...

I'm building a MythTV build on Fedora Core 3, using an ATI XT800Pro for TV-output and a Hauppauge WinTV PVR-150 for video capture. 

Yes, I know ... ATI = run for the hills!  Don't worry, I was able to solve those problems on my own.  My current issue, however, is with LIRC.

If I start up lircd -n (no daemon mode) and watch the output, starting up irw kills the daemon.  If I try to run irw a second time, I get a connection refused error ... and sure enough, the ps shows that lircd is no longer running. 

I'm using the LIRC 0.7.1 build, which is supposed to support the PVR 150 card, and I've got the newer black and grey Hauppauge remote ... from dmesg, it appears that all of the ivtv and lirc drivers are loading correctly.  Of course, the next question is always 'How about your lircd log?' ... but for some reason, it doesn't exist.

Can someone provide me with some guidance as to how to approach the troubleshooting of this problem?  I'm away from the box for a few hours now (needed a sanity break), so I won't be able to post logs for a bit ... but any help or advice people could provide in the meantime would be much appreciated.

Many thanks!
-Jeremy
Logged
bouchecl
Jedi Knight
****

Karma: 103
Offline Offline

Posts: 215


MythTV Evangelist


View Profile WWW
« Reply #1 on: July 21, 2005, 09:57:39 PM »

Greetings, all.

First of all, I just want to say thankyou to the Linux byopvr community ... the posts here have saved me a major headache on more than one occasion.  But I don't seem to be able to find a solution to my current issue ...

I'm building a MythTV build on Fedora Core 3, using an ATI XT800Pro for TV-output and a Hauppauge WinTV PVR-150 for video capture. 

[...]

Can someone provide me with some guidance as to how to approach the troubleshooting of this problem?  I'm away from the box for a few hours now (needed a sanity break), so I won't be able to post logs for a bit ... but any help or advice people could provide in the meantime would be much appreciated.

Thanks. We try. Wink

lirc gave me some headaches early on. But that's part of the fun!

I would check a couple of things:

Have you done EVERYTHING Jarod suggests in his howto, including the paragraph called "UPDATE"? It is important for instance to load both drivers very early in the boot process...

What version of the ivtv driver are you running? PVR-150 support is recent in ivtv and the developers are still tweaking with it. FWIW, I run lirc 0.7.1 with ivtv 0.36w (both from ATrpms) on a FC3 installation, although, my IR receiver is connected to a PVR-250.
Logged

Main backend/frontend:
SW: FedoraCore 5 (kernel 2.6.17-1.2174); MythTV 0.20; ivtv 0.70; lirc 0.81CVS / nVidia driver 1.0_8774

HW: AMD Sempron 3000+, Asus A7N8X-VM/400 mobo; 2 X 512 MB dual-channel RAM; Hauppauge PVR-150, Hauppauge PVR-500MCE, nVidia FX6200, 160 GB HD + 532 GB LVM (250 + 300 GB); serial IRBlaster, Silverstone LC11 case; Kameleon remote; Scientific Atlanta STB; Panasonic 27" TV, Gyration 2.4 Optical Air Mouse and Compact Keyboard.

Frontends: 3 dual boot Dell computers (Optiplex GX260; Dimension 4700, Latitude C600) running MythTV 0.20 frontend on FC4/FC5/FC6T2.

My Flickr Gallery
jert
Bantha Poodu
*

Karma: 0
Offline Offline

Posts: 2

PVR/DVR/HTPC Junkie


View Profile
« Reply #2 on: July 21, 2005, 10:31:20 PM »

Thanks for your reply.

I hadn't got as far as the UPDATE section, as I wanted to get it working manually before I started worrying about the 'at boot time' configuration.  As it is, I've managed to hack things together ... although I don't know whether there are any downsides to the way I fixed things.

I'm also running lirc 0.71 with ivtv 0.3.6w from ATrpms.  From the Lircd output before it would shut itself down, combined with a few hours of searching forums, I realized that the issue was with udev adding the 0 to my lirc device ...

ls /dev/lirc* was giving me '/dev/lircd' and '/dev/lirc0', but no /dev/lirc.

In the end, I started up the daemon (to create the /dev/lirc0 device) and used "ln -s /dev/lirc0 /dev/lirc" to create a symbolic link that would redirect the daemon to the actual device.  From that point I was able to get irw to stay up long enough to verify the IR receiver was working, and the rest of the setup went smooth as cake.

I don't know how valid a fix like this really is ... but as long as it has me up and running, I'm happy.  Smiley

Logged
JayRCz
Guest
« Reply #3 on: July 30, 2005, 11:20:08 PM »

That is one way to fix the problem. Another way is to start lircd using   lircd -d /dev/lirc0    I had the same problem and that's how I fixed it.
Logged
Pages: [1]
  Print  
 
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.069 seconds with 22 queries.