Red Hat Bugzilla – Bug 143904
libusbscanner fuctions incorrectly at times
Last modified: 2007-11-30 17:10:57 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Description of problem:
/etc/hotplug/usb/libusbscanner is not the orginal script that's
included with the gphoto2 source. The changed libusbscanner included
in FC3 assumes that the scanner gets 'plugged' in after the user has
logged in, this apperently does not take into consideration scanners
which are 'plugged' in before/during boot, at which point root is
still the console owner.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Have a scanner (supported by sane) plugged in before booting up
2. Attempt `scanimage -L` as unprivilged user
3. Attempt `scanimage -L` as root
Actual Results: Step 2: provided no scanners in list of detected scanners
Step 3: provided one (1) scanner in list of detected scanners
Expected Results: Step 2 and Step 3 should yield identical results
(unless explicitly configured not to)
An `ls -l` of the appropriate device files under /proc/bus/usb reveals
permissions on file(s) don't allow access by unpriviled user.
Replacing /etc/hotplug/usb/libusbscanner with the libusbscanner script
provided by sane as part of its hotplug tools, and following the steps
given, solves this problem.
This sounds like it could be related to bug #121511
bug #121511 seems to be as a result of the same problem, however I can't be sure
as the person did not provide more details.
Please try the current updates-testing packages and report back:
*** This bug has been marked as a duplicate of 142727 ***