Tue Feb 26 14:48:23 CET 2008

debian udev

the world evolved behind my back.. looks like 'hotplug' package in
debian is completely replaced by 'udev', but /etc/hotplug is still
there: some applications install scripts. (maybe udev uses these too?)


  > It's the existence of /etc/hotplug which confuses me.
  Easy, hotplug is not in its own package anymore, it is now included
  with udev, or replaced with udev.

the idea is you put stuff in /etc/udev/rules.d
for example, my 026_microchip.rules:

SYSFS{idVendor}=="04d8", SYSFS{idProduct}=="8000", MODE="0660", GROUP="microchip"
SYSFS{idVendor}=="04d8", SYSFS{idProduct}=="8001", MODE="0660", GROUP="microchip"

i had a file lingering in /etc/udev/libgphoto2.rules, but i'm not sure
if it's loaded.. this here:

points to the following solution:

/usr/lib/libgphoto2/print-camera-list udev-rules mode 0660 group plugdev >/etc/udev/rules.d/45-libgphoto2.rules