Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84312 - No /dev/lirc file after merging lirc-0.7.0-r1
Summary: No /dev/lirc file after merging lirc-0.7.0-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-06 09:42 UTC by Grzegorz Chwesewicz
Modified: 2006-02-05 08:58 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grzegorz Chwesewicz 2005-03-06 09:42:29 UTC
When I merged lirc-0.7.0-r1 there was no /dev/lirc file, and for example irrecord complained about fault of /dev/lirc file. After doing: "mknod /dev/lirc u 61 0" everything works ok. I think that this can be fault of "--enable-sandboxed" option. As we can read at http://www.lirc.org/html/technical.html :

"--enable-sandboxed
    Prevents any changes out of the installation directory on "make install":
        * will not create device nodes on /dev/
        * will not run depmod"


Reproducible: Always
Steps to Reproduce:




Expected Results:  
In my opinion ebuild should create /dev/lirc device file.
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2005-03-06 11:10:11 UTC
Was there a /dev/lircd/lirc0 ?
Comment 2 Grzegorz Chwesewicz 2005-03-06 11:14:37 UTC
No there was no /dev/lircd/lirc0 or even /dev/lircd/ dir.
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2005-03-06 11:16:41 UTC
ok, after loading the correct module, there should be a /dev/lirc0 file, any chance?
Comment 4 Grzegorz Chwesewicz 2005-03-06 11:33:33 UTC
ensima-gentoo root # lsmod|grep lirc
ensima-gentoo lirc #
ensima-gentoo root # ls /dev/lirc*
ensima-gentoo lirc #
ensima-gentoo root # irrecord test123

irrecord -  application for recording IR-codes for usage with lirc

Copyright (C) 1998,1999 Christoph Bartelmus(lirc@bartelmus.de)

irrecord: could not init hardware (lircd running ? --> close it, check permissions)

From /var/log/messages:
Mar  6 20:34:36 ensima-gentoo irrecord: could not get file information for /dev/lirc
Mar  6 20:34:36 ensima-gentoo irrecord: default_init(): No such file or directory
Mar  6 20:35:31 ensima-gentoo irrecord: could not get file information for /dev/lirc
Mar  6 20:35:31 ensima-gentoo irrecord: default_init(): No such file or directory

ensima-gentoo root # modprobe lirc_serial
ensima-gentoo root # lsmod|grep lirc
lirc_serial            11488  0
lirc_dev               11596  1 lirc_serial

ensima-gentoo root # irrecord test123 (got same errors in /var/log/messages as above)

ensima-gentoo root # mknod /dev/lirc c 61 0
ensima-gentoo root #
ensima-gentoo root # ls /dev/lirc*
crw-r--r--  1 root root 61, 0 mar  6 20:37 /dev/lirc

Now irrecord works fine, I can test my remote, and it works (dots are appearing).
Comment 5 Heinrich Wendel (RETIRED) gentoo-dev 2005-03-25 03:47:57 UTC
what kernel do you use?
Comment 6 Grzegorz Chwesewicz 2005-03-25 04:32:50 UTC
gentoo 2.6.10-gentoo-r6
Comment 7 Heinrich Wendel (RETIRED) gentoo-dev 2005-04-22 10:33:36 UTC
try a newer kernel and lirc-0.7.1
Comment 8 Mark Knecht 2005-06-19 11:11:13 UTC
Is anything happening with this bug report? I emerged lirc this morning and see
the same problem. The emerge seems to have created lircd but nothing else:

myth12 ~ # ls -al /dev/lirc*
srw-rw-rw-  1 root root 0 Jun 19 01:24 /dev/lircd
myth12 ~ #

therefore I cannot complete the installation of a remote in this state. I'm
using 2.6.11-gentoo-r3 from the 2005.0 installation CD but rebuilt to handle the
hardware in the system.

I'm investigating if this is somehow a kernel config issue. I think I've
followed the Gentoo Wiki on MthTV. This lircd stuff is on a frontend only
machine where I'd like to use a streamzap remote control.

Possibly this is just another udev issue?

Thanks!
Comment 9 Heinrich Wendel (RETIRED) gentoo-dev 2005-07-10 08:34:12 UTC
please try again, i added a udev patch 
Comment 10 Christoph Gysin 2005-10-17 10:35:27 UTC
I can confirm that the udev rule works. Could you add this also to 0.7.0 and
0.7.1? I use this on a xbox, and 0.7.0 is the latest version working properly there.

To make conf.d/lirc conform with the udev rules, please also have a look at:
http://bugs.gentoo.org/show_bug.cgi?id=104677
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-02-05 08:58:10 UTC
(In reply to comment #10)
> I can confirm that the udev rule works. 

Closing.