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

nate s nate.strickland at gmail.com
Sat Oct 9 06:14:50 UTC 2004


it looks like the /dev/lirc device has 000 permissions?  try chmod 666 /dev/lirc

-Nate


On Fri, 8 Oct 2004 23:52:40 -0500, Brian Donaldson
<brian.donaldson at gmail.com> wrote:
> Again, thank you for your help so far.  Here's the additional output
> you requested:
> 
> [root at localhost mythtv]# /sbin/lsmod
> Module                  Size  Used by    Tainted: P
> snd-pcm-oss            43304   0  (autoclean)
> lirc_i2c                4860   0  (autoclean) (unused)
> i2c-core               20868   0  (autoclean) [lirc_i2c]
> lirc_dev                9808   0  (autoclean) [lirc_i2c]
> snd-mixer-oss          15992   0  (autoclean) [snd-pcm-oss]
> snd-via82xx            17604   0  (autoclean)
> snd-pcm                82848   0  (autoclean) [snd-pcm-oss snd-via82xx]
> snd-timer              19556   0  (autoclean) [snd-pcm]
> snd-ac97-codec         67216   0  (autoclean) [snd-via82xx]
> snd-mpu401-uart         5280   0  (autoclean) [snd-via82xx]
> snd-rawmidi            18112   0  (autoclean) [snd-mpu401-uart]
> snd-seq-device          5976   0  (autoclean) [snd-rawmidi]
> gameport                3380   0  (autoclean) [snd-via82xx]
> snd                    48068   0  (autoclean) [snd-pcm-oss snd-mixer-oss snd-via
> 82xx snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device
> ]
> soundcore               6500   4  (autoclean) [snd]
> snd-page-alloc          7372   0  (autoclean) [snd-mixer-oss snd-via82xx snd-pcm
>  snd-timer snd-rawmidi snd-seq-device snd]
> smbfs                  42320   1  (autoclean)
> parport_pc             18468   1  (autoclean)
> lp                      8356   0  (autoclean)
> parport                36800   1  (autoclean) [parport_pc lp]
> autofs4                14040   2  (autoclean)
> via-rhine              14704   1
> mii                     3992   0  [via-rhine]
> floppy                 56380   0  (autoclean)
> sg                     34828   0  (autoclean) (unused)
> scsi_mod              109384   1  (autoclean) [sg]
> xfs                   611292   1  (autoclean)
> keybdev                 2656   0  (unused)
> hid                    23652   0  (unused)
> ehci-hcd               19784   0  (unused)
> usb-uhci               25772   0  (unused)
> usbcore                77984   1  [hid ehci-hcd usb-uhci]
> mousedev                5236   1  (autoclean)
> input                   5824   0  (autoclean) [keybdev hid mousedev]
> videodev                8960   0  (autoclean)
> nvidia-1_0-6111      4766764   6  (autoclean)
> ext3                   88712   2
> jbd                    51304   2  [ext3]
> 
> [root at localhost mythtv]# mknod /dev/lirc c 61 0
> mknod: `/dev/lirc': File exists
> 
> [root at localhost mythtv]# dmesg | grep ivtv (This returns no results.)
> 
> [root at localhost mythtv]# ls -l /dev/lirc*
> c---------    1 root     root      61,   0 Sep 13 12:57 /dev/lirc
> srw-rw-rw-    1 root     root            0 Oct  8 00:49 /dev/lircd
> 
> [root at localhost mythtv]# rpm -qa kernel-module-lirc-\*
> kernel-module-lirc-2.4.22-1.2199.nptl_52.rhfc1.at-0.7.0-38_pre7.rhfc1.at
> 
> [root at localhost mythtv]# apt-get install kernel-module-lirc-`uname -r`
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Selecting kernel-module-lirc-2.4.22-1.2199.nptl_52.rhfc1.at#0.7.0-38_pre7.rhfc1.at
> for 'kernel-module-lirc-2.4.22-1.2199.nptl_52.rhfc1.at'
> kernel-module-lirc-2.4.22-1.2199.nptl_52.rhfc1.at#0.7.0-38_pre7.rhfc1.at
> is already the newest version.
> 0 upgraded, 0 newly installed, 0 removed and 182 not upgraded.
> 
> Thank you again for all your help so far.  Let me know if I can post
> anything else that might help.
> 
> Brian
> 
> 
> 
> 
> On Fri, 8 Oct 2004 05:14:53 -0700, Pete Cable <petercable at gmail.com> wrote:
> > How 'bout the output from lsmod, dmesg (just the ivtv stuff) and ls -l
> > /dev/lirc*
> >
> > I don't see anything wrong with your /etc/modules.conf
> >
> > On Fri, 8 Oct 2004 06:39:49 -0500, Brian Donaldson
> >
> >
> > <brian.donaldson at gmail.com> wrote:
> > > Thanks for the help so far.  Here's the output you requested:
> > >
> > > [mythtv at localhost mythtv]$ rpm -qa ivtv
> > > ivtv-0.1.9-24.rhfc1.at
> > >
> > > [mythtv at localhost mythtv]$ cat /etc/modules.conf
> > > path[toplevel]=/lib/modules/`uname -r`/updates
> > > # default path
> > > path[toplevel]=/lib/modules/`uname -r`
> > > alias eth0 via-rhine
> > > alias usb-controller usb-uhci
> > > alias usb-controller1 ehci-hcd
> > > #alias sound-slot-0 via82cxxx_audio
> > > #post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L
> > > >/dev/null 2>&1 || :
> > > #pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S
> > > >/dev/null 2>&1 || :
> > > # --- BEGIN: Generated by ALSACONF, do not edit. ---
> > > # --- ALSACONF verion 1.0.2 ---
> > > alias char-major-116 snd
> > > alias char-major-14 soundcore
> > > alias sound-service-0-0 snd-mixer-oss
> > > alias sound-service-0-1 snd-seq-oss
> > > alias sound-service-0-3 snd-pcm-oss
> > > alias sound-service-0-8 snd-seq-oss
> > > alias sound-service-0-12 snd-pcm-oss
> > > alias snd-card-0 snd-via82xx
> > > alias sound-slot-0 snd-via82xx
> > > options snd-via82xx index=0  dxs_support=0
> > > # --- END: Generated by ALSACONF, do not edit. ---
> > > # ivtv modules setup
> > > alias char-major-81 videodev
> > > alias char-major-81-0 ivtv
> > > alias char-major-61 lirc_i2c
> > > options ivtv ivtv_debug=1 mpg_buffers=90
> > > options tuner type=2 # NTSC Tuner
> > > options msp3400 once=1 simple=1
> > > add below ivtv msp3400 saa7115 tuner
> > > add above ivtv lirc_dev lirc_i2c
> > > # nvidia kernel module
> > > alias char-major-195 nvidia-1_0-6111
> > >
> > > It looks like the line...
> > >
> > > alias char-major-81-0 ivtv
> > >
> > > ...is in the /etc/modules.conf file.
> > >
> > > Thank you all for your help.
> > >
> > > --
> > > Brian
> > >
> > > On Fri, 08 Oct 2004 07:20:27 -0400, Wayne Steenburg
> > >
> > >
> > > <w.steenburg at myactv.net> wrote:
> > > >
> > > >
> > > > On Fri, 2004-10-08 at 01:55, 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.
> > > > >
> > > > > Thank you,
> > > > >
> > > > > Brian
> > > > >
> > > > > ______________________________________________________________________
> > > > The ivtv module isn't loading properly. Try posting the results of: $rpm
> > > > -qa ivtv
> > > > $rpm -qa kernel-module-ivtv\*
> > > > $cat /etc/modules.conf
> > > >
> > > > You should have the following line in /etc/modules.conf:
> > > >
> > > > alias char-major-81-0 ivtv
> > > >
> > > > Wayne Steenburg
> > > >
> > > >
> > > > _______________________________________________
> > > > 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
> > >
> > >
> > >
> >
> > 
> > _______________________________________________
> 
> 
> > 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