Duncan Webb wrote:
Alexander E. Patrakov wrote:
Duncan Webb wrote:
Matthew Burgess wrote:
# usbfs-like device nodes
SUBSYSTEM="usb_device", PROGRAM="/bin/sh -c 'X=%k X=$${X#usbdev}
B=$${X%%%%.*} D=$${X#*.}; echo bus/usb/$$B/$$D'", SYMLINK+="%c"
Only after linux-2.6.14 please, and synchronously with patching libusb
in BLFS and removing the /proc/bus/usb mount. But those rules will of
course do no harm with earlier kernel.
Well, linux-2.6.14 is out. But should this rule (that only adds a
symlink) be a part of LFS or BLFS? In this form plus GROUP=usb, I prefer
BLFS. If we change this rule to use NAME instead of SYMLINK (so that
/dev/bus/usb/1/2 is a device node, not a symlink to /dev/usbdev1.2),
then the answer should be exactly the same as for ALSA rules.
--
Alexander E. Patrakov
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page