[opensuse] Problems printing., can't open usb device
I upgraded from 11.2 to 11.4 and when trying to print, I get this error in /var/log/cups/error_log libusb couldn't open USB device /dev/bus/usb/001/004: Permission denied. libusb requires write access to USB device nodes. I tried shutting off AppArmour to see if it would help, and it didn't. http://pastebin.com/sqx62Ap9 is the log output of error_log -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hello, On Jul 27 10:22 Michael S. Dunsavage wrote (excerpt):
I upgraded from 11.2 to 11.4 and when trying to print, I get this error in /var/log/cups/error_log
libusb couldn't open USB device /dev/bus/usb/001/004: Permission denied. libusb requires write access to USB device nodes.
I tried shutting off AppArmour to see if it would help, and it didn't. http://pastebin.com/sqx62Ap9 is the log output of error_log
Do you use HPLIP as RPM from openSUSE or did you install HPLIP from the HPLIP upstream project http://hplipopensource.com ? Usually the udev rules in /etc/udev/rules.d/55-hpmud.rules set OWNER="root", GROUP="lp", MODE="0664" for HP devices so that the CUPS backend which runs as user 'lp' has write access. Accordingly "ls -l /dev/bus/usb/001/004" should show you crw-rw-r-- 1 root lp ... /dev/bus/usb/001/004 If this is not the case, you may have to change the udev rules accordingly - perhaps you may even have to add a udev rule for your particular printer device - see the "lsusb" output to get the USB vendor and product IDs for your particular device. As a temporary workaround you could do as root: chown root:lp /dev/bus/usb/001/004 chmod u=rw,g=rw,o=r /dev/bus/usb/001/004 Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH -- Maxfeldstrasse 5 -- 90409 Nuernberg -- Germany HRB 16746 (AG Nuernberg) GF: Jeff Hawn, Jennifer Guild, Felix Imendoerffer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Johannes Meixner
-
Michael S. Dunsavage