Bug 124053 - USB scanner not handled by hotplug at startup
Summary: USB scanner not handled by hotplug at startup
Status: CLOSED DUPLICATE of bug 121511
Alias: None
Product: Fedora
Classification: Fedora
Component: hotplug
Version: 2
Hardware: i686
OS: Linux
medium
low
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
URL:
Whiteboard:
Keywords:
: 126508 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-05-23 13:19 UTC by Klaus-Peter Schrage
Modified: 2014-03-17 02:45 UTC (History)
4 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2006-02-21 19:03:36 UTC


Attachments (Terms of Use)

Description Klaus-Peter Schrage 2004-05-23 13:19:03 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040510

Description of problem:
My USB scanner AGFA SNAPSCAN 1212U_2 is well handled by hotplug if
plugged in AFTER system startup and user login.
But when the scanner is running BEFORE booting, permissions in
/proc/bus/usb/xyz are not set appropriately so that a normal user
might run it.


Version-Release number of selected component (if applicable):
hotplug-2004_04_01-1

How reproducible:
Always

Steps to Reproduce:
1. Connect and switch on scanner
2. Boot & log in as normal user
3. scanimage -L
    

Actual Results:  
No scanners were identified.

Expected Results:  
device `snapscan:libusb:002:002' is a AGFA SNAPSCAN 1212U_2 flatbed
scanner

Additional info:

As /etc/hotplug/usb/libusbscanner gives the ownership of $DEVICE to
$CONSOLEOWNER, permissions aren't set before any login. This could be
fixed by simply setting 'chmod 0666 "$DEVICE"' in the libusbscanner
script. I can't imagine any bad security risks about that ...

Comment 1 Dennis Björklund 2004-06-29 07:05:20 UTC
I have the same problem with my Epson Perfection 1240. I had no
problems in FC1.

Comment 2 Carlos Rodrigues 2004-07-06 17:21:48 UTC
Having this very same problem with a Mustek Bearpaw 1200. I disagree
that the severity is low.

Comment 3 Carlos Rodrigues 2004-07-09 20:49:14 UTC
This should be changed to sane-backends since
/etc/hotplug/usb/libusbscanner (and usbcam, which is less conspicuous
because most people use digital cameras as usb-storage devices and/or
connect them after login) belongs to this package.

Comment 4 Rodrigo Damazio 2004-07-10 21:38:30 UTC
I suppose this is the same as bug #122595.

Comment 5 Bill Nottingham 2004-08-03 16:51:45 UTC
*** Bug 126508 has been marked as a duplicate of this bug. ***

Comment 6 Bill Nottingham 2005-02-04 21:06:37 UTC

*** This bug has been marked as a duplicate of 121511 ***

Comment 7 Red Hat Bugzilla 2006-02-21 19:03:36 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.


Note You need to log in before you can comment on or make changes to this bug.