Bruce Dubbs wrote:

Most of contents are deleted.  I understand what you wrote and it seems
reasonable, but I think it is limited.  What about ieee1394?  pcmcia? I
don't know if serial or parallel ports are considered removable devices
or not.  There is also the floppy and/or cdrom on some laptops.

Unfortunately, I am not qualified to write about ieee1394 and pcmcia. As for floppy and CD-ROMs, LFS already sets the group of those devices to "floppy" and "cdrom". For floppies, it matches the device name. For CD-ROMs, the "id_cdrom" program is used.

Also, does udev address other events like closing a laptop lid?  I'm not
sure about this, but if udev doesn't address it, what does?

I have no laptop, but I _guess_ that's a task for acpid.

I think if we are going to address removable devices, we need to mention
the entire spectrum at least at a high level.

Indeed.

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

Shouldn't this also have SYMLINK="scanner" or similar?

No, because nobody will open this symlink (IOW: there is no way to tell libsane to open /dev/scanner as a libusb device)

--
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