Bug 462817

Summary: Permission setting missing for USB scanners
Product: [openSUSE] openSUSE 11.1 Reporter: Juergen Helmers <juergen.helmers>
Component: HotplugAssignee: Johannes Meixner <jsmeix>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: atozmail, forgotten_DHIkF8sU1p, juergen.helmers, lnussel
Version: Final   
Target Milestone: ---   
Hardware: 32bit   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: complete output of "lshal"

Description Juergen Helmers 2008-12-29 19:16:03 UTC
Created attachment 262657 [details]
complete output of "lshal"

Hi!

I have used my Epson Perfection 1670 USB scanner on all previous OpenSuse version w/o any problems. The scanner can after configuration using yast be used by root but not by regular users. A regular user can find the scanner using sane-find-scanner but scanimage -L does not show a device attached. 

After the configuration using yast, this window pops up:

---------
The following models are currently not known to HAL:
USB-ID(hex)=04b8:011f

To access a scanner as normal user,
udev and HAL are needed to grant
appropriate access permissions automatically.
(Up to openSUSE 11.0 hal-resmgr is also needed.)
Therefore the scanner model must be known to HAL.
If the scanner is not known to HAL, a re-plug
of a USB scanner should help.
Otherwise a reboot should be done to restart
the whole udev and HAL machinery.
Check if the scanner is listed in the 'lshal' output.
If a SCSI scanner which was switched on during boot
is not listed in the 'lshal' output, the usual reason
is that the kernel module for the scanner's SCSI host
adapter does not notify HAL about the scanner device.
If even a reboot does not help, you could access
the scanner via the 'saned' as a workaround.
For this workaround choose 'scanning via network'
and select the 'local host configuration'.
--------

after disconnecting and connecting the device I get:

------- /var/log/message-------

Dec 29 20:00:10 linux-fndc kernel: usb 5-4: USB disconnect, address 6
Dec 29 20:00:13 linux-fndc kernel: usb 5-4: new high speed USB device using ehci_hcd and address 7
Dec 29 20:00:13 linux-fndc kernel: usb 5-4: configuration #1 chosen from 1 choice
Dec 29 20:00:13 linux-fndc kernel: usb 5-4: New USB device found, idVendor=04b8, idProduct=011f
Dec 29 20:00:13 linux-fndc kernel: usb 5-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Dec 29 20:00:13 linux-fndc kernel: usb 5-4: Product: EPSON Scanner
Dec 29 20:00:13 linux-fndc kernel: usb 5-4: Manufacturer: EPSON
Dec 29 20:00:47 linux-fndc kernel: usb 5-4: USB disconnect, address 7
Dec 29 20:00:54 linux-fndc kernel: usb 5-4: new high speed USB device using ehci_hcd and address 8
Dec 29 20:00:54 linux-fndc kernel: usb 5-4: configuration #1 chosen from 1 choice
Dec 29 20:00:54 linux-fndc kernel: usb 5-4: New USB device found, idVendor=04b8, idProduct=011f
Dec 29 20:00:54 linux-fndc kernel: usb 5-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Dec 29 20:00:54 linux-fndc kernel: usb 5-4: Product: EPSON Scanner
Dec 29 20:00:54 linux-fndc kernel: usb 5-4: Manufacturer: EPSON

----------

lshal -m:
Start monitoring devicelist:
-------------------------------------------------
20:00:54.682: usb_device_4b8_11f_noserial added
20:00:54.791: usb_device_4b8_11f_noserial_if0 added



I can find 04b8:011f in the following file:
/usr/share/hal/fdi/information/20thirdparty/70-scanner.fdi which would identify it correctly as an Epson Perfection 1670. 

I tried to reinstall all sane packages to no avail.


Cheers Juergen
Comment 1 Forgotten User DHIkF8sU1p 2009-01-01 16:08:27 UTC
Same Problem here with 11.1 x86_64,
scanner works fine with 11.0

Comment 2 Ann Simon 2009-01-03 04:09:08 UTC
Same problem.
Comment 3 Johannes Meixner 2009-01-07 08:25:11 UTC
In particular see the "Background information" at
https://bugzilla.novell.com/show_bug.cgi?id=438867#c3

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