Author: dnicholson
Date: 2007-07-31 07:27:00 -0600 (Tue, 31 Jul 2007)
New Revision: 8259

Modified:
   branches/6.3/udev-config/25-lfs.rules
   branches/6.3/udev-config/ChangeLog
Log:
Merge r8258 from trunk


Modified: branches/6.3/udev-config/25-lfs.rules
===================================================================
--- branches/6.3/udev-config/25-lfs.rules       2007-07-31 13:25:54 UTC (rev 
8258)
+++ branches/6.3/udev-config/25-lfs.rules       2007-07-31 13:27:00 UTC (rev 
8259)
@@ -82,7 +82,7 @@
 
 # USB devices go in their own subdirectory
 
-SUBSYSTEM=="usb_device", PROGRAM="/bin/sh -c 'X=%k; X=$${X#usbdev}; 
B=$${X%%%%.*} D=$${X#*.}; echo bus/usb/$$B/$$D'", NAME="%c"
+SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", 
NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}"
 KERNEL=="hiddev*",          NAME="usb/%k"
 KERNEL=="auer*",            NAME="usb/%k"
 KERNEL=="legousbtower*",    NAME="usb/%k"

Modified: branches/6.3/udev-config/ChangeLog
===================================================================
--- branches/6.3/udev-config/ChangeLog  2007-07-31 13:25:54 UTC (rev 8258)
+++ branches/6.3/udev-config/ChangeLog  2007-07-31 13:27:00 UTC (rev 8259)
@@ -1,3 +1,9 @@
+2007-07-31     Dan Nicholson <[EMAIL PROTECTED]>
+       * 25-lfs.rules: Changed the usb_device rule tto create /dev/bus/usb
+         nodes if the usb_device in 2.6.22+ kernels. The rule was also changed
+         to only trigger on "add" events. This change is not backwards
+         compatible with older kernels.
+
 2007-06-12     Dan Nicholson <[EMAIL PROTECTED]>
        * 25-lfs.rules: Fix the CPUID nodes from cpu/%n/cpu to cpu/%n/cpuid,
          which is what's expected in userspace apps such as x86info.

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to