[mythtv-users] Re: Lirc Problems - could not open /dev/lirc

Brian Donaldson brian.donaldson at gmail.com
Sat Oct 9 14:50:18 UTC 2004


Man, you guys are great.  It's still not working, but your help is
greatly appreciated.

Pete - Regarding ivtv, I am able to capture/record TV with the
PVR-250.  I'm not sure if that helps or not.

I tried "chmod 644 /dev/lirc" and "chmod 666 /dev/lirc" as Pete and
Nate S. suggested, but I still get "connect: Connection refused" when
I try to run irw.  The "-w" switch on the lspci command appears to be
invalid on my system so here's the output of lspci -v:

[root at localhost mythtv]# /sbin/lspci -v
00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host Bridge
        Subsystem: ABIT Computer Corp.: Unknown device 140f
        Flags: bus master, 66Mhz, medium devsel, latency 8
        Memory at d0000000 (32-bit, prefetchable) [size=128M]
        Capabilities: [80] AGP version 3.5
        Capabilities: [c0] Power Management version 2

00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge (prog-if 00 [Normal
        Flags: bus master, 66Mhz, medium devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        Memory behind bridge: e4000000-e5ffffff
        Prefetchable memory behind bridge: d8000000-dfffffff
        Capabilities: [80] Power Management version 2

00:0a.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416)
        Subsystem: Hauppauge computer works Inc. WinTV PVR 250
        Flags: bus master, medium devsel, latency 32, IRQ 10
        Memory at e0000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [44] Power Management version 2

00:10.0 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev
        Subsystem: ABIT Computer Corp.: Unknown device 140f
        Flags: bus master, medium devsel, latency 32, IRQ 11
        I/O ports at d000 [size=32]
        Capabilities: [80] Power Management version 2

00:10.1 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev
        Subsystem: ABIT Computer Corp.: Unknown device 140f
        Flags: bus master, medium devsel, latency 32, IRQ 3
        I/O ports at d400 [size=32]
        Capabilities: [80] Power Management version 2

00:10.2 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev
        Subsystem: ABIT Computer Corp.: Unknown device 140f
        Flags: bus master, medium devsel, latency 32, IRQ 10
        I/O ports at d800 [size=32]
        Capabilities: [80] Power Management version 2

00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82) (prog-if 20 [EHC
        Subsystem: ABIT Computer Corp.: Unknown device 140f
        Flags: bus master, medium devsel, latency 32, IRQ 5
        Memory at e6000000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [80] Power Management version 2

00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
        Subsystem: ABIT Computer Corp.: Unknown device 140f
        Flags: bus master, stepping, medium devsel, latency 0
        Capabilities: [c0] Power Management version 2

00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/
f 8a [Master SecP PriP])
        Subsystem: ABIT Computer Corp.: Unknown device 140f
        Flags: bus master, medium devsel, latency 32
        I/O ports at dc00 [size=16]
        Capabilities: [c0] Power Management version 2

00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 A
        Subsystem: ABIT Computer Corp.: Unknown device 140f
        Flags: medium devsel, IRQ 10
        I/O ports at e000 [size=256]
        Capabilities: [c0] Power Management version 2

00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
        Subsystem: ABIT Computer Corp.: Unknown device 140f
        Flags: bus master, medium devsel, latency 32, IRQ 11
        I/O ports at e400 [size=256]
        Memory at e6001000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [40] Power Management version 2

01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 440 AGP
        Flags: bus master, 66Mhz, medium devsel, latency 248, IRQ 11
        Memory at e4000000 (32-bit, non-prefetchable) [size=16M]
        Memory at d8000000 (32-bit, prefetchable) [size=128M]
        Expansion ROM at <unassigned> [disabled] [size=128K]
        Capabilities: [60] Power Management version 2
        Capabilities: [44] AGP version 3.0

Thanks again for all your help.

Brian


On Sat, 9 Oct 2004 05:45:26 -0700, Pete Cable <petercable at gmail.com> wrote:
> Brian is having more problems than just the permissions on /dev/lirc
> however. It looks to me like ivtv is failing to load, and I'm not sure
> lirc_i2c will find a valid device without ivtv loaded first.
> 
> On Sat, 9 Oct 2004 11:15:31 +0200, Axel Thimm <axel.thimm at atrpms.net> wrote:
> 
> 
> > On Fri, Oct 08, 2004 at 05:56:39PM -0700, nate s wrote:
> > > I had exactly this same problem with a leadtek winfast 2000, in fact I
> > > posted my solution to someone else just a couple weeks ago.  I had to
> > > create the device node myself, as UDEV doesn't support lirc yet.  (I
> > > don't know if FC2 is using UDEV or devfs, I'm on gentoo)
> >
> > Neither in its default state, but FC3 will be using udev.
> >
> > > -Nate
> > >
> > >
> > > On Fri, 8 Oct 2004 15:11:31 +0200, Axel Thimm <axel.thimm at atrpms.net> wrote:
> > > > On Fri, Oct 08, 2004 at 12:55:41AM -0500, Brian Donaldson wrote:
> > > > > I'm running Fedora Core 1 installed with ATrpms from Jarod's
> > > > > instructions (which are excellent by the way).  Kernel version is
> > > > > 2.4.22-1.2199.nptl_52.rhfc1.at.  I have one PVR-250 installed with the
> > > > > grey remote.  I think the version of lirc that I have installed is
> > > > > 0.7.0pre7.
> > > > >
> > > > > When I run "/sbin/service lircd start" it seems to start ok, but when
> > > > > I run irw it first just brings me back to the prompt.  Then if I run
> > > > > irw again it says "connect: Connection refused".  Here's the output of
> > > > > /var/log/messages:
> > > > >
> > > > >
> > > > > Oct  8 00:35:33 localhost modprobe: modprobe: Can't locate module char-major-81-
> > > > > 0
> > > > > Oct  8 00:37:59 localhost sshd(pam_unix)[4371]: session opened for user mythtv b
> > > > > y (uid=500)
> > > > > Oct  8 00:38:12 localhost ntpd[3804]: kernel time discipline status change 41
> > > > > Oct  8 00:40:22 localhost ntpd[3804]: kernel time discipline status change 1
> > > > > Oct  8 00:42:13 localhost su(pam_unix)[4429]: session opened for user root by my
> > > > > thtv(uid=500)
> > > > > Oct  8 00:42:44 localhost lircd 0.7.0pre7[4482]: lircd(any) ready
> > > > > Oct  8 00:42:44 localhost lircd: lircd startup succeeded
> > > > > Oct  8 00:42:52 localhost lircd 0.7.0pre7[4482]: accepted new client on /dev/lir
> > > > > cd
> > > > > Oct  8 00:42:52 localhost lircd 0.7.0pre7[4482]: could not open /dev/lirc
> > > > > Oct  8 00:42:52 localhost lircd 0.7.0pre7[4482]: default_init(): No such device
> > > > > Oct  8 00:42:52 localhost lircd 0.7.0pre7[4482]: caught signal
> > > > >
> > > > > If there's any other useful information that I can post please let me
> > > > > know.  Thank you in advance for any help you can provide.
> > > >
> > > > /dev/lirc is part of kernel-module-lirc-`uname -r`. Didn't you install it?
> > > >
> > > > rpm -qa kernel-module-lirc-\*
> > > > apt-get install kernel-module-lirc-`uname -r`
> > > >
> >
> > > _______________________________________________
> > > mythtv-users mailing list
> > > mythtv-users at mythtv.org
> > > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >
> >
> >
> >
> > --
> > Axel.Thimm at ATrpms.net
> >
> > 
> > _______________________________________________
> 
> 
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >
> >
> >
> >
> 
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 
> 
>


More information about the mythtv-users mailing list