Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#4016 - Permissions in /proc/bus/usb not being set at boot time

Attached to Project: Arch Linux
Opened by Glyn Adgie (glyn) - Monday, 20 February 2006, 13:11 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

In /etc/udev/rules.d/sane.rules, the script /lib/udev/libusbscanner.sh is called to set the permissions and ownership of the scanner device in /proc/bus/usb/BBB/DDD, such that users in group "scanner" can use the scanner. Unfortunately, this does not work if the scanner is plugged in when the system is rebooted. You have to unplug the scanner and plug it back in again to get the right permissions. This appears to be because module autoloading loads the usb modules before /proc/bus/usb is mounted. I fixed this by blacklisting the usbcore module in /etc/rc.conf. It is then loaded towards the end of /etc/rc.sysinit, where /proc/bus/usb is mounted. I have not altered rc.sysinit.

Is blacklisting usbcore the right thing to do?
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Tuesday, 21 February 2006, 07:41 GMT
Reason for closing:  Fixed
Comment by Tobias Powalowski (tpowa) - Monday, 20 February 2006, 13:29 GMT
oh no, thanks for mentioning this :)
i'll try to fix this

Loading...