[Bug 342496] New: USB printer does not work with CUPS
8: udi = '/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial' usb.vendor = 'Hewlett-Packard' usb.bus_number = 1 (0x1) usb.linux.device_number = 9 (0x9) info.bus = 'usb' usb.device_subclass = 0 (0x0) usb.is_self_powered = true info.udi = '/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial' usb.speed = 12.0000
https://bugzilla.novell.com/show_bug.cgi?id=342496 Summary: USB printer does not work with CUPS Product: openSUSE 10.3 Version: Final Platform: x86 OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: Printing AssignedTo: jsmeix@novell.com ReportedBy: feiko_w@hotmail.com QAContact: jsmeix@novell.com Found By: Other I cannot print to my USB printer (HP Deskjet 940c) in Opensuse 10.3. It worked in Opensuse 10.2. The installation via Yast2 goes fine. The initial „Hello, world“-printer test is succesful, but the after installation printer test fails, as do the normal print jobs afterwards. When I run „lpstat -t“ after starting my printer the output is: scheduler is running system default destination: deskjet940c device for deskjet940c: usb://HP/DESKJET%20940C?serial=HU23F1P0K5CO deskjet940c accepting requests since vr 16 nov 2007 18:21:05 CET printer deskjet940c is idle. enabled since vr 16 nov 2007 18:21:05 CET This seems to be ok. When I run „lpstat -t“ after sending a print job the output is: scheduler is running system default destination: deskjet940c device for deskjet940c: usb://HP/DESKJET%20940C?serial=HU23F1P0K5CO deskjet940c accepting requests since vr 16 nov 2007 18:23:03 CET printer deskjet940c now printing deskjet940c-28. enabled since vr 16 nov 2007 18:23:03 CET Printer not connected; will retry in 30 seconds... deskjet940c-28 xxxxxx 37888 vr 16 nov 2007 18:23:03 CET It now reports the printer not being connected. Reading other bugreport with similar problems in RC1, describing the wrong use of printer device URI: /dev/usb/lp0. I checked the URI used by CUPS and the Backend/usb. They both use the same new format of: usb://HP/DESKJET%20940C?serial=HU23F1P0K5CO So this does not seem to be the problem. But when I run hwinfo: linux.subsystem = 'usb' usb.device_class = 0 (0x0) usb.device_protocol = 0 (0x0) usb.version_bcd = 272 (0x110) info.subsystem = 'usb' usb.max_power = 2 (0x2) info.product = 'USB Interface' linux.hotplug_type = 2 (0x2) linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.0/usb1/1-1/1-1:10' usb.device_revision_bcd = 256 (0x100) usb.product_id = 5636 (0x1604) usb.serial = 'HU23F1P0K5CO' usb.version = 1.10000 usb.speed_bcd = 4608 (0x1200) usb.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.0/usb1/1-1/1-1:1.0' usb.configuration_value = 1 (0x1) usb.vendor_id = 1008 (0x3f0) usb.num_ports = 0 (0x0) info.parent = '/org/freedesktop/Hal/devices/usb_device_3f0_1604_HU23F1P0K5CO' usb.product = 'USB Interface' usb.can_wake_up = false usb.num_interfaces = 1 (0x1) usb.num_configurations = 1 (0x1) info.linux.driver = 'usblp' << This shows the use of the old /dev/usb/lp0 as device. Could this be the cause and is there a way to fix this? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=342496#c1 --- Comment #1 from feiko wargadant <feiko_w@hotmail.com> 2007-11-20 09:25:38 MST --- When I run hp-check (no difference in result as root or normal user) It reports the missing of 4 required dependencies. But checking with Yast confirms they are installed or not available: libjpeg - is installed libnetsnmp-devel - not installed; not found either libusb - is installed ppdev - not installed; not found either
llandudno@icarus:> hp-check HP Linux Imaging and Printing System (ver. 2.7.7) Dependency/Version Check Utility ver. 10.0
Copyright (c) 2001-7 Hewlett-Packard Development Company, LP This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. See COPYING file for more details. Saving output in log file: hp-check.log Initializing. Please wait... --------------- | SYSTEM INFO | --------------- Basic system information: Linux icarus 2.6.22.5-31-default #1 SMP 2007/09/21 22:29:00 UTC i686 athlon i386 GNU/Linux Distribution: suse 10.3 HPOJ running? No, HPOJ is not running (OK). Checking Python version... OK, version 2.5.1 installed Checking PyQt version... OK, version 3.17 installed. Checking SIP version... OK, Version 4.7 installed Checking for CUPS... Status: scheduler is running Version: 1.2.12 ---------------- | DEPENDENCIES | ---------------- Checking for dependency: cups - Common Unix Printing System... OK, found. Checking for dependency: cups-devel- Common Unix Printing System development files... OK, found. Checking for dependency: gcc - GNU Project C and C++ Compiler... OK, found. Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer... OK, found. Checking for dependency: libcrypto - OpenSSL cryptographic library... OK, found. Checking for dependency: libjpeg - JPEG library... error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP. Checking for dependency: libnetsnmp-devel - SNMP networking library development files... error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP. Checking for dependency: libpthread - POSIX threads library... OK, found. Checking for dependency: libtool - Library building support services... OK, found. Checking for dependency: libusb - USB library... error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP. Checking for dependency: make - GNU make utility to maintain groups of programs... OK, found. Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)... OK, found. Checking for dependency: ppdev - Parallel port support kernel module.... error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP. Checking for dependency: PyQt - Qt interface for Python... OK, found. Checking for dependency: python-devel - Python development files... OK, found. Checking for dependency: Python 2.3 or greater - Required for fax functionality... OK, found. Checking for dependency: Python 2.2 or greater - Python programming language... OK, found. Checking for dependency: Reportlab - PDF library for Python... warning: NOT FOUND! This is an OPTIONAL dependency. Some HPLIP functionality may not function properly. Checking for dependency: SANE - Scanning library... OK, found. Checking for dependency: SANE - Scanning library development files... OK, found. Checking for dependency: scanimage - Shell scanning program... OK, found. Checking for dependency: xsane - Graphical scanner frontend for SANE... OK, found. ---------------------- | HPLIP INSTALLATION | ---------------------- Currently installed HPLIP version... HPLIP 2.7.7 currently installed in '/usr/share/hplip'. Current contents of '/etc/hp/hplip.conf' file: # hplip.conf. Generated from hplip.conf.in by configure. [hpssd] # Note: hpssd does not support dynamic ports # Port 2207 is the IANA assigned port for hpssd port=2207 [hplip] version=2.7.7 [dirs] home=/usr/share/hplip run=/var/run ppd=/usr/share/cups/model/manufacturer-PPDs/hplip ppdbase=/usr/share/cups/model/manufacturer-PPDs doc=/usr/share/doc/packages/hplip icon=/usr/share/applications cupsbackend=/usr/lib/cups/backend foomatic=/usr/share/foomatic # Following values are determined at configure time and cannot be changed. [configure] network-build=yes pp-build=yes gui-build=yes scanner-build=yes fax-build=yes cups11-build=no doc-build=yes shadow-build=no foomatic-xml-install=no foomatic-ppd-install=yes internal-tag=2.7.7.27 ---------------------- | INSTALLED PRINTERS | ---------------------- DeskJet-940C ------------ Type: Unknown Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend. Device URI: usb://HP/DESKJET%20940C?serial=HU23F1P0K5CO PPD: /etc/cups/ppd/DeskJet-940C.ppd PPD Description: HP DeskJet 940C Foomatic/hpijs (recommended) Printer status: printer DeskJet-940C is idle. enabled since ma 19 nov 2007 19:35:22 CET warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP. ---------------------- | SANE CONFIGURATION | ---------------------- 'hpaio' in '/etc/sane.d/dll.conf'... OK, found. SANE backend 'hpaio' is properly set up. Checking output of 'scanimage -L'... No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages). --------------------- | PYTHON EXTENSIONS | --------------------- Checking 'cupsext' CUPS extension... OK, found. Checking 'pcardext' Photocard extension... OK, found. Checking 'hpmudext' I/O extension... OK, found. Checking 'scanext' SANE scanning extension... OK, found. ----------------- | USB I/O SETUP | ----------------- Checking proper HPLIP I/O setup (USB I/O only)... udev "usb_device" access mode: 0664 (OK) Checking for permissions of USB attached printers... HP Device 0x1604 at 001:004: Device URI: hp:/usb/DeskJet_940C?serial=HU23F1P0K5CO Device node: /dev/bus/usb/001/004 Mode: 0664 UID: 0 (root) GID: 7 (lp) Device group and mode appear correct. Is user 'dustbin' a member of the 'lp' group? Yes (OK) Is user 'llandudno' a member of the 'lp' group? Yes (OK) Is user 'testaccount' a member of the 'lp' group? warning: NO (HPLIP USB I/O users must be member of 'lp' group) note: This may not be a problem if this user will not be printing using HPLIP USB I/O. ----------- | SUMMARY | ----------- error: 7 errors and/or warnings. Please refer to the installation instructions at: http://hplip.sourceforge.net/install/index.html -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=342496#c2 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |feiko_w@hotmail.com --- Comment #2 from Johannes Meixner <jsmeix@novell.com> 2007-11-21 02:46:10 MST --- Regarding comment #1: It is an old and known problem that hp-check often reports false-positives. Consider hp-check only as a test which results some hints where to look but not the ultimate truth. Regarding "libnetsnmp-devel": Our package name is "net-snmp-devel". Regarding "ppdev": This is a kernel module (see "lsmod" whether or not is is loaded) which is only needed for parallel port devices. Let's focus on comment #0 (i.e. the real problem): 1. The crucial point whether the DeviceURI is correct or not is that the matching CUPS backend reports exactly this DeviceURI when it is run in device discovery mode (i.e. without any argument). For CUPS it is totally meaningless hwt "hwinfo" or whichever other hardware autodetection tool (e.g. kernel/udev/HAL) reports. As root run /usr/lib/cups/backend/usb and check if the DeviceURI which it reports is the same as what is set as DeviceURI for your print queue. For example my HP DeskJet 3320: root@host# /usr/lib/cups/backend/usb direct usb://hp/deskjet%203320?serial=TH27T2H35B35 "hp deskjet 3320" ... The correct DeviceURI for the usb backend is usb://hp/deskjet%203320?serial=TH27T2H35B35 2. There is a usblp <-> usbfs/libusb conflict, see bug #184825. To avoid the conflict, use the hp backend instead of the usb backend. As root run "hp-setup" to set up your printer. This makes sure you get the hp backend for the print queue. For example my HP DeskJet 3320: root@host# /usr/lib/cups/backend/hp direct hp:/usb/deskjet_3320?serial=TH27T2H35B35 "HP deskjet 3320" ... The correct DeviceURI for the hp backend is hp:/usb/deskjet_3320?serial=TH27T2H35B35 3. If a print queue with the hp backend becomes disabled after reboot, see bug #334166 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=342496#c3 feiko wargadant <feiko_w@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|feiko_w@hotmail.com | --- Comment #3 from feiko wargadant <feiko_w@hotmail.com> 2007-11-21 10:53:41 MST --- 1. The DeviceURI reports exactly with the CUPS backend. 2. After running the hp-setup: icarus:/home/llandudno # lpstat -t scheduler is running no system default destination device for DeskJet_940C: hp:/usb/DeskJet_940C?serial=HU23F1P0K5CO DeskJet_940C accepting requests since wo 21 nov 2007 18:19:00 CET printer DeskJet_940C is idle. enabled since wo 21 nov 2007 18:19:00 CET icarus:/home/llandudno # /usr/lib/cups/backend/hp direct hp:/usb/DeskJet_940C?serial=HU23F1P0K5CO "HP DeskJet 940C" "HP DeskJet 940C USB HU23F1P0K5CO HPLIP" "MFG:HP;MDL:DeskJet 940C;CLS:PRINTER;DES:DeskJet 940C;SN:HU23F1P0K5CO;" The DeviceURI matches the corresponding backend After running a printjob its reports unable to open device: icarus:/home/llandudno # lpstat -t scheduler is running no system default destination device for DeskJet_940C: hp:/usb/DeskJet_940C?serial=HU23F1P0K5CO DeskJet_940C accepting requests since wo 21 nov 2007 18:31:17 CET printer DeskJet_940C now printing DeskJet_940C-74. enabled since wo 21 nov 2007 18:31:17 CET open device failed; will retry in 30 seconds... DeskJet_940C-74 llandudno 54272 wo 21 nov 2007 18:31:17 CET icarus:/home/llandudno # /usr/lib/cups/backend/hp direct hp:/usb/DeskJet_940C?serial=HU23F1P0K5CO "HP DeskJet 940C" "HP DeskJet 940C USB HU23F1P0K5CO HPLIP" "MFG:HP;MDL:DeskJet 940C;CLS:PRINTER;DES:DeskJet 940C;SN:HU23F1P0K5CO;" Further /var/log/messages report: Nov 21 18:18:20 icarus DeskJet_940C?serial=HU23F1P0K5CO: io/hpmud/musb.c 549: invalid product id string: Operation not permitted Nov 21 18:18:20 icarus DeskJet_940C?serial=HU23F1P0K5CO: io/hpmud/musb.c 1003: unable to open hp:/usb/DeskJet_940C?serial=HU23F1P0K5CO Nov 21 18:18:20 icarus DeskJet_940C?serial=HU23F1P0K5CO: INFO: open device failed; will retry in 30 seconds... Nov 21 18:18:22 icarus hpijs: io/hpmud/musb.c 549: invalid product id string: Operation not permitted Nov 21 18:18:22 icarus hpijs: io/hpmud/musb.c 1003: unable to open hp:/usb/DeskJet_940C?serial=HU23F1P0K5CO -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=342496#c4 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |feiko_w@hotmail.com --- Comment #4 from Johannes Meixner <jsmeix@novell.com> 2007-11-22 01:05:50 MST --- The "Operation not permitted" message indicates a permission problem but according to your hp-check output the permissions are exactly as they should be ---------------------------------------------------------------------------- Checking for permissions of USB attached printers... HP Device 0x1604 at 001:004: Device URI: hp:/usb/DeskJet_940C?serial=HU23F1P0K5CO Device node: /dev/bus/usb/001/004 Mode: 0664 UID: 0 (root) GID: 7 (lp) Device group and mode appear correct. ---------------------------------------------------------------------------- The CUPS backend runs as user lp which is group lp so that there is read/write access for the CUPS backend. Nevertheless: What results now when you run it as root lsusb -d 03f0:1604 and ls -l /dev/bus/usb/*/* and getfacl /dev/bus/usb/*/* "ls -l" should result crw-rw-r-- root lp /dev/bus/usb/<bus-number>/<device-number> Try if it works when you do as root chmod a+rw /dev/bus/usb/<bus-number>/<device-number> where <bus-number> and <device-number> are those which are currently shown by "lsusb" (those numbers change each time when you unplug and re-plug it to the USB - perhaps also when you switch it off and on - depending on the particular model). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=342496#c5 feiko wargadant <feiko_w@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|feiko_w@hotmail.com | --- Comment #5 from feiko wargadant <feiko_w@hotmail.com> 2007-11-22 12:23:15 MST --- step1: icarus:/home/llandudno # lsusb -d 03f0:1604 Bus 003 Device 002: ID 03f0:1604 Hewlett-Packard DeskJet 940c step2: icarus:/home/llandudno # ls -l /dev/bus/usb/*/* crw-r--r-- 1 root root 189, 0 nov 21 18:57 /dev/bus/usb/001/001 crw-r--r-- 1 root root 189, 1 nov 21 18:57 /dev/bus/usb/001/002 crw-r--r-- 1 root root 189, 8 nov 21 22:37 /dev/bus/usb/001/009 crw-r--r-- 1 root root 189, 9 nov 21 22:37 /dev/bus/usb/001/010 crw-r--r-- 1 root root 189, 128 nov 21 18:57 /dev/bus/usb/002/001 crw-r--r-- 1 root root 189, 256 nov 21 18:57 /dev/bus/usb/003/001 crw-rw-r-- 1 root lp 189, 257 nov 21 23:08 /dev/bus/usb/003/002 step3: icarus:/home/llandudno # getfacl /dev/bus/usb/*/* getfacl: Removing leading '/' from absolute path names # file: dev/bus/usb/001/001 # owner: root # group: root user::rw- group::r-- other::r-- # file: dev/bus/usb/001/002 # owner: root # group: root user::rw- group::r-- other::r-- # file: dev/bus/usb/001/009 # owner: root # group: root user::rw- group::r-- other::r-- # file: dev/bus/usb/001/010 # owner: root # group: root user::rw- group::r-- other::r-- # file: dev/bus/usb/002/001 # owner: root # group: root user::rw- group::r-- other::r-- # file: dev/bus/usb/003/001 # owner: root # group: root user::rw- group::r-- other::r-- # file: dev/bus/usb/003/002 # owner: root # group: lp user::rw- group::rw- other::r-- step4: icarus:/home/llandudno # chmod a+rw /dev/bus/usb/003/002 icarus:/home/llandudno # ls -l /dev/bus/usb/*/* crw-r--r-- 1 root root 189, 0 nov 21 18:57 /dev/bus/usb/001/001 crw-r--r-- 1 root root 189, 1 nov 21 18:57 /dev/bus/usb/001/002 crw-r--r-- 1 root root 189, 8 nov 21 22:37 /dev/bus/usb/001/009 crw-r--r-- 1 root root 189, 9 nov 21 22:37 /dev/bus/usb/001/010 crw-r--r-- 1 root root 189, 128 nov 21 18:57 /dev/bus/usb/002/001 crw-r--r-- 1 root root 189, 256 nov 21 18:57 /dev/bus/usb/003/001 crw-rw-rw- 1 root lp 189, 257 nov 21 23:08 /dev/bus/usb/003/002 before printjob: icarus:/home/llandudno # lpstat -t scheduler is running no system default destination device for DeskJet_940C: hp:/usb/DeskJet_940C?serial=HU23F1P0K5CO DeskJet_940C accepting requests since wo 21 nov 2007 18:19:00 CET printer DeskJet_940C is idle. enabled since wo 21 nov 2007 18:19:00 CET after printjob: icarus:/home/llandudno # lpstat -t scheduler is running no system default destination device for DeskJet_940C: hp:/usb/DeskJet_940C?serial=HU23F1P0K5CO DeskJet_940C accepting requests since do 22 nov 2007 19:56:30 CET printer DeskJet_940C now printing DeskJet_940C-77. enabled since do 22 nov 2007 19:56:30 CET DeskJet_940C-77 llandudno 72704 do 22 nov 2007 19:56:30 CET So this works. Great!!! So it seems it relies on the "other"-permissions instead of the "group". Now I have disconnected/reconnected the printer and like you mentioned the printer lost it new permissions because it comes back with a different device-number. After reconnecting it HAL detected and installed the printer with usb instead of hp. when I run chmod a+rw /dev/bus/usb/<bus-number>/<device-number> on the new device-number the printer works also again. icarus:/home/llandudno # lsusb -d 03f0:1604 Bus 003 Device 003: ID 03f0:1604 Hewlett-Packard DeskJet 940c icarus:/home/llandudno # ls -l /dev/bus/usb/*/* crw-r--r-- 1 root root 189, 0 nov 21 18:57 /dev/bus/usb/001/001 crw-r--r-- 1 root root 189, 1 nov 21 18:57 /dev/bus/usb/001/002 crw-r--r-- 1 root root 189, 8 nov 21 22:37 /dev/bus/usb/001/009 crw-r--r-- 1 root root 189, 9 nov 21 22:37 /dev/bus/usb/001/010 crw-r--r-- 1 root root 189, 128 nov 21 18:57 /dev/bus/usb/002/001 crw-r--r-- 1 root root 189, 256 nov 21 18:57 /dev/bus/usb/003/001 crw-rw-rw- 1 root lp 189, 258 nov 22 20:05 /dev/bus/usb/003/003 icarus:/home/llandudno # lpstat -t scheduler is running no system default destination device for DeskJet_940C: hp:/usb/DeskJet_940C?serial=HU23F1P0K5CO device for HP_DESKJET_940C: usb://HP/DESKJET%20940C?serial=HU23F1P0K5CO DeskJet_940C accepting requests since do 22 nov 2007 20:02:32 CET HP_DESKJET_940C accepting requests since do 22 nov 2007 20:01:45 CET printer DeskJet_940C now printing DeskJet_940C-79. enabled since do 22 nov 2007 20:02:32 CET open device failed; will retry in 30 seconds... printer HP_DESKJET_940C is idle. enabled since do 22 nov 2007 20:01:45 CET DeskJet_940C-79 llandudno 76800 do 22 nov 2007 20:02:32 CET I have no removed the first printer with hp als backend. icarus:/home/llandudno # lpstat -t scheduler is running no system default destination device for HP_DESKJET_940C: usb://HP/DESKJET%20940C?serial=HU23F1P0K5CO HP_DESKJET_940C accepting requests since do 22 nov 2007 20:01:45 CET printer HP_DESKJET_940C is idle. enabled since do 22 nov 2007 20:01:45 CET So in short: 1. it works with the usb backend 2. it depends on the permissions of the "other" 3. this fix stops working after disconnecting/pushing power button the printer because the device-number changes like you said. I hopes this helps you further identifying the issue as to why it doesn't work with the "group" permissions as it supposed to do. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=342496#c6 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |feiko_w@hotmail.com --- Comment #6 from Johannes Meixner <jsmeix@novell.com> 2007-11-23 00:57:25 MST --- Many thanks for the exact and detailed report! Such exact information saves us so much time and it helps us so much to understand what goes on on the usre's system. Unfortunately I have currently no idea why in this particular case read/wrire access for the "others" is required - of course it works for my HP printer via the default permissions (i.e. via the "lp" group). Since HPLIP version 2.7.6 the device I/O is no longer done by a daemon process which runs as root (therefore there have been no permission problems with HPLIP version before 2.7.6 but on the other hand no permission restrictions could be set with HPLIP version before 2.7.6). The out-of-the-box settings are sufficient for plain printing and for scanning with a all-in-one USB device. See the "controllable permissions" section in http://sourceforge.net/mailarchive/message.php?msg_name=Pine.LNX.4.64.070704... how you can set permissions manually if the out-of-the-box settings are not sufficient. Usually it is simplest to add those users who need read/write device access (e.g. for scanning with a parallel-port device and/or for device-status for a plain printer) to the group "lp" but again something is strange in your particular case because according to your hp-check output several users are in the "lp" group, in particular the user llandudno which you used in comment #5: --------------------------------------------------------------------------- Is user 'llandudno' a member of the 'lp' group? Yes (OK) --------------------------------------------------------------------------- Perhaps the CUPS backends are not run as user "lp" (or root) in your particular case? Please attach your /etc/cups/cupsd.conf file as MIME type "text/plain". Check that there are no secrets in there (e.g. LDAP password). Usually (i.e. by default) there are no secrets in cupsd.conf. While there is a "open device failed; will retry in 30 seconds..." the backend is running and you can use e.g. ps auxw | egrep '^USER|hp|usb' to display processes where one of them is the CUPS backend so that you can see which user actually runs the backend. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=342496 User jsmeix@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=342496#c7 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|feiko_w@hotmail.com | Resolution| |NORESPONSE --- Comment #7 from Johannes Meixner <jsmeix@novell.com> 2007-12-13 02:46:34 MST --- . -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=342496 User rcoo@free.fr added comment https://bugzilla.novell.com/show_bug.cgi?id=342496#c8 Robert Cabane <rcoo@free.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rcoo@free.fr --- Comment #8 from Robert Cabane <rcoo@free.fr> 2008-01-01 15:44:00 MST --- I'm having the very same problem, with an HP PSC 2110 (usb) & OpenSuSE 10.3. It worked more or less since I upgraded to 10.3 but the recent hplip and/or cups upgrade broke the connection. My lsusb output: Bus 004 Device 001: ID 0000:0000 Bus 003 Device 001: ID 0000:0000 Bus 002 Device 001: ID 0000:0000 Bus 001 Device 003: ID 03f0:2811 Hewlett-Packard PSC-2100 Bus 001 Device 001: ID 0000:0000 My usb: direct usb://HP/PSC%202100%20Series?serial=MY31TF630C0F "HP PSC 2100 Series" "HP PSC 2100 Series USB #1" "MFG:Hewlett-Packard;MDL:PSC 2100 Series;CMD:MLC,PCL,PML,DW-PCL,DYN;CLS:PRINTER;1284.4DL:4d,4e,1;SN:MY31TF630C0F;S:0380008084021000002c14d0000c250005f;AiO:0;" So I did this (as root) : chmod a+rw /dev/bus/usb/001/* chmod a+rw /dev/bus/usb/002/* chmod a+rw /dev/bus/usb/003/* chmod a+rw /dev/bus/usb/004/* And I reinstalled hplip. Now working ! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com