The page at http://www.linuxfromscratch.org/blfs/view/svn/postlfs/devices.html has the following example udev rule:

SUBSYSTEM=="usb_device", SYSFS{idVendor}=="05d8",
  SYSFS{idProduct}=="4002", GROUP:="scanner", MODE:="0640"


This works fine with LFS-6.2, but SYSFS{idVendor,idProduct} needs to be converted to ATTRS{idVendor,idProduct} for later udev versions. However, such converted rule won't work with LFS-6.2.

Of course one can write on that page two examples for different udev versions, but can anyone think of a better solution? E.g., branching BLFS into two books, one of which tracks LFS-6.2 and the other targetted at LFS-development?

--
Alexander E. Patrakov
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to