Bugzilla – Bug 565950
xsane/skanlite: Permission denied for HP LaserJet 3030
Last modified: 2009-12-18 19:54:21 UTC
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.5) Gecko/20091103 SUSE/3.5.5-1.1.2 Firefox/3.5.5 Scanner not found with openSUE 11.2 but found with openSUSE 11.1 (multi boot). Version 4.3.4 (KDE 4.3.4) "release 2" NOT working with: > rpm -qa|grep sane|sort libksane0-4.3.4-1.2.i586 sane-backends-1.0.20-8.3.i586 sane-backends-autoconfig-1.0.20-8.3.i586 xsane-0.997-2.1.i586 openSUSE 11.1: Version 4.3.2 (KDE 4.3.2) OK with: > rpm -qa|grep sane|sort libksane0-4.3.2-1.1 sane-backends-1.0.19-99.1 sane-backends-autoconfig-1.0.19-99.1 sane-frontends-1.0.14-302.42 xsane-0.996-0.pm.1 Reproducible: Always Steps to Reproduce: 1. start xsane or skanlite from konsole as user -> no devices found 2. 3. Actual Results: libusb couldn't open USB device /dev/bus/usb/001/001: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/002/001: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/002/002: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/002/003: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/002/004: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/002/005: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/002/006: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/003/001: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/004/001: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/004/002: Permission denied. libusb requires write access to USB device nodes. Expected Results: xsane and skanlite detect hp LaserJet 3030 and scanning is OK like in openSUSE 11.1.
It looks like a duplicate of bug #542473 ("HAL does not set ACL for normal user access for USB devices with "scanner" capability") See there how to check if this one is really a duplicate. The best workaround to get those kind of HAL issues out of sight is to use the YaST scanner module and: ----------------------------------------------------------- .. you could access the scanner via the 'saned' as a workaround. For this workaround choose 'scanning via network' and select the 'local host configuration'. ---------------------------------------------------------- In particular on a workstation in a trusted network environment (e.g. when the Suse firewall protects it from acceess from the external network zone / Internet) this workaround should cause no security problems. Alternatively - and to get additionally even the device status information via hp-toolbox working: In particular on a workstation in a trusted network environment (e.g. when the Suse firewall protects it from acceess from the external network zone / Internet) you may change as a workaround in /etc/udev/rules.d/55-hpmud.rules in the line (which is only here shown wrapped): ATTR{idVendor}=="03f0", ATTR{idProduct}=="??17", OWNER="root", GROUP="lp", MODE="664", ENV{sane_hpaio}="yes" the MODE="664" to MODE="666" to allow any user read/write access. According to /usr/share/hplip/data/models/models.dat the USB IDs for a HP LaserJet 3030 are 03f0:1617 so that the above line in /etc/udev/rules.d/55-hpmud.rules should be the right one for your device. Check the actual USB IDs whit the output of "lsusb" (you may have to run it as root). *** This bug has been marked as a duplicate of bug 542473 ***
Thank you, the 'saned' workaround with 'local host configuration' brings back the expected functionality.