follow up to Bug 131756 ... the default mount perms for /proc/bus/usb is 0664 and usb group access ... perhaps the udev rule: SUBSYSTEM=="usb_device", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="0644" should really read MODE="0664" and add GROUP="usb"
Should we be setting it to group "usb"? I didn't even know we had such a group... wow, never knew that... Anyway, what would this help here? I thought the sane and gphoto udev rules were handling things properly now.
it would allow for people to access all usb devices by being in the usb group ... that way we wouldnt need every single usb package out there to install custom udev rules to get around the problem
*** Bug 150422 has been marked as a duplicate of this bug. ***
Created attachment 101814 [details, diff] udev.rules-usb-fix.patch *bump* gregkh: this bug is holding up stabilization of everything that depends on the new version of libusb. I've attached a patch with the exact change for Gentoo. If you don't have time to apply it yourself, just ACK here, and I'll get it in the tree.
Which version of udev do you wish for me to bump for this? The stable version, or the latest unstable one? Hm, I think it's about time I marked the latest unstable as stable anyway, unless this would cause a problem for libusb?
I was just changing the files/udev.rules-098 directly, since that is used for all of the recent ebuilds. Better practice would be moving the change to a files/udev.rules-103, but either way, I see no problem with putting this change straight to stable. Putting it in stable is more useful since libusb and the other apps are going stable shortly after this patch is in the tree.
Is anyone still on top of this?
*** Bug 155810 has been marked as a duplicate of this bug. ***
(In reply to comment #8) > *** Bug 155810 has been marked as a duplicate of this bug. *** > Well those are different devices nodes /dev/usb/hiddevN but if they get fixed in this bug then I am fine with the duplicate.
Added this rule to udev-104.
*** Bug 162861 has been marked as a duplicate of this bug. ***