[mythtv-users] Lirc fails

Jeff Rapp jrapp at nctc.net
Thu Nov 18 00:33:47 UTC 2004


Correct me if I'm wrong, but don't you need to have the WinTV card
initialized before lirc can see the IR port?  That seems to be how it worked
for me.  

Jeff Rapp

-----Original Message-----
From: mythtv-users-bounces at mythtv.org
[mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Lane Schwartz
Sent: Wednesday, November 17, 2004 4:28 PM
To: mythtv-users at mythtv.org
Subject: [mythtv-users] Lirc fails

Well, I can't seem to get lirc to work.

I have a P4 HT 2.8 GHz system built on FC2 using Jarod's guide. I have
a PVR-250 and a WinTV-FM in the machine. Right now, the WinTV isn't
configured in Myth or in /etc/modprobe.conf.

What happens is, I start lircd as root, then try to run irw as mythtv.
irw sends me back to the command prompt, not giving me a chance to
enter anything. Looking at /var/log/messages shows me the error:


[root at myth root]# tail /var/log/messages -f
Nov 17 16:16:45 myth kernel: agpgart: Putting AGP V3 device at
0000:00:00.0 into 8x mode
Nov 17 16:16:45 myth kernel: agpgart: Putting AGP V3 device at
0000:01:00.0 into 8x mode
Nov 17 16:16:47 myth gdm-autologin(pam_unix)[2714]: session opened for
user mythtv by (uid=0)
Nov 17 16:16:51 myth kernel: ACPI: PCI interrupt 0000:00:02.7[C] ->
GSI 18 (level, low) -> IRQ 193
Nov 17 16:16:52 myth kernel: AC'97 0 analog subsections not ready
Nov 17 16:16:52 myth kernel: intel8x0_measure_ac97_clock: measured 49887
usecs
Nov 17 16:16:52 myth kernel: intel8x0: clocking to 48000
Nov 17 16:17:35 myth sshd(pam_unix)[2925]: session opened for user
root by (uid=0)
Nov 17 16:17:42 myth lircd 0.7.0[2981]: lircd(any) ready
Nov 17 16:17:42 myth lircd: lircd startup succeeded


This was the point when I ran /usr/bin/irw as the mythtv user. Nothing
gets displayed; I simply get kicked back to the command line. Here's
what gets sent to /var/log/messages:


Nov 17 16:17:53 myth lircd 0.7.0[2981]: accepted new client on /dev/lircd
Nov 17 16:17:53 myth kernel: lirc_dev: IR Remote Control driver
registered, at major 61
Nov 17 16:17:53 myth lircd 0.7.0[2981]: could not open /dev/lirc
Nov 17 16:17:53 myth lircd 0.7.0[2981]: default_init(): No such device 
Nov 17 16:17:53 myth lircd 0.7.0[2981]: caught signal


Here's my /etc/modprobe.conf:

alias eth0 sis900
alias snd-card-0 snd-intel8x0
install snd-intel8x0 /sbin/modprobe --ignore-install snd-intel8x0 &&
/usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-intel8x0 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ;
}; /sbin/modprobe -r --ignore-remove snd-intel8x0

alias char-major-61 lirc_i2c

alias char-major-81 videodev
alias char-major-81-0 ivtv

alias usb-controller ehci-hcd
alias usb-controller1 ohci-hcd

# nvidia kernel module
alias char-major-195 nvidia-1_0-6629

install lirc_i2c /sbin/modprobe ivtv; /sbin/modprobe --ignore-install
lirc_i2



I modified /etc/init.d/lircd, changing

daemon lircd 
to 
daemon lircd -d /dev/lirc 

as per discussion in this thread: 

http://www.gossamer-threads.com/lists/mythtv/users/79971?search_string=stopp
ing%20infrared%20remote%20control%20default%20init;#79971


No change in what happens. 

I'd appreciate any pointers or tips.

Thanks,
Lane
-- 
"No, we've had no evidence that Saddam Hussein was involved in 9/11."
-- George W. Bush, 17 Sept 2003



More information about the mythtv-users mailing list