Re: USB / udev only work for root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sarah Messer wrote:
The problem is not present on an OpenSUSE 10.0 machine running identical code with straight libusb-0.1/pyusb

/etc/udev/rules.d/55-libsane.rules contains the following lines (among many others):

# ENV{DEVTYPE}=="usb_device", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0664", OWNER="root", GROUP="root"

SUBSYSTEM=="usb", ACTION=="add|change", SYSFS{idVendor}=="0699", SYSFS{idProduct}=="0368", GROUP="usb", MODE="0664"

Change SYSFS to ATTRS.

Piter Punk
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux