udev 024 and LIRC support
Greg,
Good question. I've been waiting a long time for the merge. I'm using the patch from:
http://flameeyes.web.ctonet.it/lirc/
lirc-2.6.4-20040318.bz2
I had to modify Kconfig slightly before it would apply, but it does work.
Here's my Kconfig patch:
lirc-2.6.4-20040318.new renamed from lirc-2.6.4-20040318 +0 -1
@@ -56,18 +56,17 @@ diff -Npaur linux-2.6.4/Documentation/li + +1. enabling/using shared IRQ +2. init/drop IRQ-usage in lirc_open/lirc_close -diff -Npaur linux-2.6.4/drivers/char/Kconfig
linux-2.6.4-lirc/drivers/char/Kconfig
---- linux-2.6.4/drivers/char/Kconfig 2004-03-15 14:44:47.533164736
+0100
-+++ linux-2.6.4-lirc/drivers/char/Kconfig 2004-03-15 15:03:14.207924600
+0100
-@@ -600,6 +600,8 @@ config PC9800_OLDLP_CONSOLE
- depends on PC9800_OLDLP
+--- linux-2.6.5/drivers/Kconfig 2004-04-03 22:38:17.000000000 -0500
++++ linux-2.6.5/drivers/Kconfig.new 2004-04-06 18:35:02.000000000 -0400
+@@ -42,6 +42,8 @@ source "drivers/char/Kconfig"
+ source "drivers/i2c/Kconfig"
+source "drivers/char/lirc/Kconfig"
+
- menu "Mice"
+ source "drivers/misc/Kconfig"
- config BUSMOUSE
+ source "drivers/media/Kconfig"
diff -Npaur linux-2.6.4/drivers/char/Kconfig.orig
linux-2.6.4-lirc/drivers/char/Kconfig.orig
--- linux-2.6.4/drivers/char/Kconfig.orig 1970-01-01 01:00:00.000000000
+0100
+++ linux-2.6.4-lirc/drivers/char/Kconfig.orig 2004-03-15
14:44:47.533164736 +0100
-Todd
Quoted 20 lines · Greg KH
Quoted 6 lines · Todd Musall
Greg,
Instead I used this rule to create /dev/vc/[0-9] symlinks:
KERNEL="tty[0-9]", NAME="%k", SYMLINK="vc/%m"
Quoted 7 lines
Works like a charm.
I've almost got udev completely working. My last issue is with LIRC. The device node
/dev/lirc0isn't being created. I'm using a patched LIRC version for 2.6 kernels and on devfs everything works fine. I haven't had time to debug it further but wondered if anyone else has got LIRC working with udev?Odds are lirc code needs to be patched to work with sysfs. Does anyone know why the lirc code is not in the mainline kernel? I can't seem to be able to connect to the site that holds their 2.6 kernel patch...
greg k-h
Signature · 13 lines
Todd Musall <[email protected]> ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel