http://qa.mandrakesoft.com/show_bug.cgi?id=2851
[EMAIL PROTECTED] changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
------- Additional Comments From [EMAIL PROTECTED] 2003-10-25 12:57 -------
This bug is still valid.
[EMAIL PROTECTED] newlook]# rpm -q devfsd
devfsd-1.3.25-32mdk
[EMAIL PROTECTED] newlook]# uname -r
2.4.22-18mdk
I changed commented out the DEVICE=/dev/lirc line in /etc/sysconfig/lircd and
uncommented the DEVICE=/dev/lirc/0. I then restarted lircd with the following
results:
Stopping Linux Infrared Remote Control mouse daemon: [ OK ]
Stopping Linux Infrared Remote Control daemon: [ OK ]
Starting Linux Infrared Remote Control daemon: [ OK ]
Starting Linux Infrared Remote Control mouse daemon: [ OK ]
[EMAIL PROTECTED] newlook]# tail /var/log/syslog
Oct 25 18:50:54 i216-191 kernel: lirc_dev: lirc_register_plugin:sample_rate: 10
Oct 25 18:50:54 i216-191 kernel: _devfs_append_entry(0): dir: "lirc" is not a
directory
Oct 25 18:50:54 i216-191 kernel: devfs_register(lirc/0): could not append to
parent, err: -20
Oct 25 18:50:54 i216-191 lircd 0.6.6[12840]: lircd(any) ready
Oct 25 18:50:54 i216-191 lircd: lircd startup succeeded
Oct 25 18:50:54 i216-191 lircd 0.6.6[12840]: accepted new client on /tmp/.lircd
Oct 25 18:50:54 i216-191 lircd 0.6.6[12840]: could not open /dev/lirc/0
Oct 25 18:50:54 i216-191 lircd 0.6.6[12840]: default_init(): Not a directory
Oct 25 18:50:54 i216-191 lircd 0.6.6[12840]: caught signal
Oct 25 18:50:54 i216-191 lircmd: lircmd startup succeeded
[EMAIL PROTECTED] newlook]# ls /dev/lirc* -l
crw-r--r-- 1 root root 61, 0 Oct 25 15:54 /dev/lirc
srw-rw-rw- 1 root root 0 Oct 25 15:54 /dev/lircd=
prw-r--r-- 1 root root 0 Oct 25 15:54 /dev/lircm|
------- Additional Comments From [EMAIL PROTECTED] 2003-11-12 11:25 -------
[EMAIL PROTECTED] sysconfig]# rpm -q devfsd
devfsd-1.3.25-32mdk
[EMAIL PROTECTED] sysconfig]# uname -r
2.4.22-24mdk
[EMAIL PROTECTED] sysconfig]# rpm -qa|grep lirc
liblirc0-0.6.6-3mdk
lirc-remotes-0.6.6-1mdk
lirc-0.6.6-3mdk
Nov 12 18:19:03 i115-184 kernel: lirc_dev: IR Remote Control driver registered,
at major 61
Nov 12 18:19:03 i115-184 kernel: lirc_i2c: chip found @ 0x4b (PV951 IR)
Nov 12 18:19:03 i115-184 kernel: tuner: type already set (1)
Nov 12 18:19:03 i115-184 kernel: lirc_dev: lirc_register_plugin:sample_rate: 10
Nov 12 18:19:03 i115-184 kernel: _devfs_append_entry(0): dir: "lirc" is not a
directory
Nov 12 18:19:03 i115-184 kernel: devfs_register(lirc/0): could not append to
parent, err: -20
Nov 12 18:19:03 i115-184 lircd 0.6.6[11488]: lircd(any) ready
Nov 12 18:19:03 i115-184 lircd: lircd startup succeeded
Nov 12 18:19:03 i115-184 lircd 0.6.6[11488]: accepted new client on /tmp/.lircd
Nov 12 18:19:03 i115-184 lircd 0.6.6[11488]: could not open /dev/lirc/0
Nov 12 18:19:03 i115-184 lircd 0.6.6[11488]: default_init(): Not a directory
Nov 12 18:19:03 i115-184 lircd 0.6.6[11488]: caught signal
Nov 12 18:19:03 i115-184 lircmd: lircmd startup succeeded
[EMAIL PROTECTED] sysconfig]# ls -l /dev/lirc* -l
crw-r--r-- 1 root root 61, 0 Nov 12 15:26 /dev/lirc
srw-rw-rw- 1 root root 0 Nov 12 15:26 /dev/lircd=
prw-r--r-- 1 root root 0 Nov 12 15:26 /dev/lircm|
As previously, the fix is to change the device used in /etc/sysconfig/lircd to
the non-devfs device.
--
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
------- Reminder: -------
assigned_to: [EMAIL PROTECTED]
status: REOPENED
creation_date:
description:
With the latest cooker update from 6th of March, lircd does not create /dev/lirc/0. I
am taking
a stab in the dark and assuming that because I run a system with devfs that the module
is not
creating the devfs entry.
Changing /etc/sysconfig/lircd from:
(this results in lircmd and crew not being able to communicate with the kernel space
portion of
this and hence all the problems that arrise from that)
# The device node that communicates with the IR device.
# with devfs enabled
DEVICE=/dev/lirc/0
# without devfs
#DEVICE=/dev/lirc
To:
# The device node that communicates with the IR device.
# with devfs enabled
#DEVICE=/dev/lirc/0
# without devfs
DEVICE=/dev/lirc
Fixes the problem and all other remaining mdk packages work as expected (tested with
irw
and xawtv). I've banged my head about this one for a month or so now since getting my
new
PV951 tuner card and just decided to have another dig at it. Hopefully this will get
fixed for the
final release.