Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 150223
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: udev maintainers <udev-bugs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: SpanKY <vapier@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
udev.rules-usb-fix.patch udev.rules-usb-fix.patch patch Robin Johnson 2006-11-13 02:12 0000 1007 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 150223 depends on: Show dependency tree
Bug 150223 blocks: 126089 131756
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-10-05 18:58 0000
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"

------- Comment #1 From Greg Kroah-Hartman 2006-10-05 22:45:21 0000 -------
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.

------- Comment #2 From SpanKY 2006-10-06 08:59:34 0000 -------
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

------- Comment #3 From SpanKY 2006-10-07 17:32:04 0000 -------
*** Bug 150422 has been marked as a duplicate of this bug. ***

------- Comment #4 From Robin Johnson 2006-11-13 02:12:57 0000 -------
Created an attachment (id=101814) [details]
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.

------- Comment #5 From Greg Kroah-Hartman 2006-11-13 09:26:24 0000 -------
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?

------- Comment #6 From Robin Johnson 2006-11-13 14:30:30 0000 -------
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.

------- Comment #7 From Jory A. Pratt 2007-01-07 15:21:10 0000 -------
Is anyone still on top of this?

------- Comment #8 From Jakub Moc (RETIRED) 2007-01-15 11:00:33 0000 -------
*** Bug 155810 has been marked as a duplicate of this bug. ***

------- Comment #9 From Petteri Räty 2007-01-15 17:19:55 0000 -------
(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.

------- Comment #10 From Matthias Schwarzott 2007-01-19 15:38:18 0000 -------
Added this rule to udev-104.

------- Comment #11 From Jakub Moc (RETIRED) 2007-01-20 01:02:54 0000 -------
*** Bug 162861 has been marked as a duplicate of this bug. ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug