[Bug 542473] New: Printer communication error after sucessful initial installation
http://bugzilla.novell.com/show_bug.cgi?id=542473 Summary: Printer communication error after sucessful initial installation Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Printing AssignedTo: jsmeix@novell.com ReportedBy: tvrtko@ursulin.net QAContact: jsmeix@novell.com Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.1.2) Gecko/20090730 SUSE/3.5.2-3.4 Firefox/3.5.2 AutoPager/0.5.2.2 (http://www.teesoft.info/) Printer is USB attached HP DeskJet 840c: Bus 003 Device 004: ID 03f0:0604 Hewlett-Packard DeskJet 840c Printer was detected in YaST2 and HPLIP installed and visible in KDE tray, but it is reporting printer communication error (5012). Printing seems to work though. Also clicking on "View Printer and Device Information" fails with communication error and supplies information is not available. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=542473
User jsmeix@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=542473#c1
Johannes Meixner
http://bugzilla.novell.com/show_bug.cgi?id=542473
User tvrtko@ursulin.net added comment
http://bugzilla.novell.com/show_bug.cgi?id=542473#c2
Tvrtko Ursulin
http://bugzilla.novell.com/show_bug.cgi?id=542473
User jsmeix@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=542473#c3
Johannes Meixner
http://bugzilla.novell.com/show_bug.cgi?id=542473
User tvrtko@ursulin.net added comment
http://bugzilla.novell.com/show_bug.cgi?id=542473#c4
Tvrtko Ursulin
http://bugzilla.novell.com/show_bug.cgi?id=542473
User jsmeix@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=542473#c5
Johannes Meixner
http://bugzilla.novell.com/show_bug.cgi?id=542473
User tvrtko@ursulin.net added comment
http://bugzilla.novell.com/show_bug.cgi?id=542473#c6
Tvrtko Ursulin
On my workstation with hplip-3.9.8 installed your HP DeskJet 840c with UDB ID 03f0:0604 (see comment #0) is listed both
in /etc/udev/rules.d/55-hpmud.rules (long lines are shown wrapped only here): --------------------------------------------------------------------- # Check for Deskjet products (0x03f0xx04). ATTR{idVendor}=="03f0", ATTR{idProduct}=="??04", OWNER="root", GROUP="lp", MODE="664", ENV{sane_hpaio}="yes" --------------------------------------------------------------------- so that the device node file should be created by udev with this default permissions crw-rw-r-- 1 root lp ... /dev/bus/usb/123/456
Check to both.
and in /usr/share/hal/fdi/information/20thirdparty/70-hpmud.fdi ------------------------------------------------------------------------ <match key="info.subsystem" string="usb"> <match key="usb.vendor_id" int="0x03f0"> <match key="usb.product_id" int="0x0604"> <append key="info.capabilities" type="strlist">scanner</append> </match> </match> </match> ------------------------------------------------------------------------
Check.
so that HAL should add an ACL to the device node file so that additionally the user who is localy logged in gets write permissions. FYI: If you wonder why I use the "scanner" capability even for a printer, see https://bugzilla.novell.com/show_bug.cgi?id=469721#c3
What does hal-find-by-capability --capability scanner show and what does hal-find-by-property --key access_control.type --string scanner show? On my workstation both commands show the udev UDIs of all my USB printers and scanners: --------------------------------------------------------------------- # lsusb Bus 002 Device 002: ID 04a9:220e Canon, Inc. CanoScan N1240U/LiDE 30 Bus 001 Device 009: ID 03f0:0417 Hewlett-Packard LaserJet 1200 series
# hal-find-by-capability --capability scanner /org/freedesktop/Hal/devices/usb_device_4a9_220e_noserial_if0 /org/freedesktop/Hal/devices/usb_device_3f0_417_00XXXXXXXXXX_if0
tvrtko@pluto:~> hal-find-by-capability --capability scanner /org/freedesktop/Hal/devices/usb_device_3f0_604_HU07O1T04FKV_if0
# hal-find-by-property --key access_control.type --string scanner /org/freedesktop/Hal/devices/usb_device_4a9_220e_noserial_if0 /org/freedesktop/Hal/devices/usb_device_3f0_417_00XXXXXXXXXX_if0
tvrtko@pluto:~> hal-find-by-property --key access_control.type --string scanner tvrtko@pluto:~> No output here.
In particular because of the latter HAL should add an ACL to the device node file which matches to the udev UDI so that additionally the user who is localy logged in gets write permissions.
What is the output of getfacl /dev/bus/usb/123/456 where 123 and 456 must be replaced with your current actual values according to the output of the "lsusb" after you logged in locally?
No additional permissions. pluto:~ # getfacl /dev/bus/usb/003/002 getfacl: Removing leading '/' from absolute path names # file: dev/bus/usb/003/002 # owner: root # group: lp user::rw- group::rw- other::rw- -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=542473
User jsmeix@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=542473#c7
Johannes Meixner
http://bugzilla.novell.com/show_bug.cgi?id=542473
User jsmeix@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=542473#c8
Johannes Meixner
http://bugzilla.novell.com/show_bug.cgi?id=542473
User m.munnix@redcross.be added comment
http://bugzilla.novell.com/show_bug.cgi?id=542473#c9
michel munnix
http://bugzilla.novell.com/show_bug.cgi?id=542473
User jsmeix@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=542473#c10
Johannes Meixner
http://bugzilla.novell.com/show_bug.cgi?id=542473
User jsmeix@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=542473#c11
Johannes Meixner
http://bugzilla.novell.com/show_bug.cgi?id=542473
User sven.burmeister@gmx.net added comment
http://bugzilla.novell.com/show_bug.cgi?id=542473#c12
--- Comment #12 from Sven Burmeister
http://bugzilla.novell.com/show_bug.cgi?id=542473
Andreas Jaeger
http://bugzilla.novell.com/show_bug.cgi?id=542473
User kasievers@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=542473#c13
Kay Sievers
http://bugzilla.novell.com/show_bug.cgi?id=542473
User jsmeix@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=542473#c14
Johannes Meixner
http://bugzilla.novell.com/show_bug.cgi?id=542473
http://bugzilla.novell.com/show_bug.cgi?id=542473#c15
Johannes Meixner
http://bugzilla.novell.com/show_bug.cgi?id=542473
http://bugzilla.novell.com/show_bug.cgi?id=542473#c16
Johannes Meixner
http://bugzilla.novell.com/show_bug.cgi?id=542473
http://bugzilla.novell.com/show_bug.cgi?id=542473#c17
Johannes Meixner
http://bugzilla.novell.com/show_bug.cgi?id=542473
http://bugzilla.novell.com/show_bug.cgi?id=542473#c18
Johannes Meixner
http://bugzilla.novell.com/show_bug.cgi?id=542473
http://bugzilla.novell.com/show_bug.cgi?id=542473#c19
--- Comment #19 from Tvrtko Ursulin
http://bugzilla.novell.com/show_bug.cgi?id=542473
http://bugzilla.novell.com/show_bug.cgi?id=542473#c20
--- Comment #20 from Kay Sievers
http://bugzilla.novell.com/show_bug.cgi?id=542473
http://bugzilla.novell.com/show_bug.cgi?id=542473#c21
Kay Sievers
http://bugzilla.novell.com/show_bug.cgi?id=542473
http://bugzilla.novell.com/show_bug.cgi?id=542473#c22
Johannes Meixner
http://bugzilla.novell.com/show_bug.cgi?id=542473
http://bugzilla.novell.com/show_bug.cgi?id=542473#c23
Kay Sievers
http://bugzilla.novell.com/show_bug.cgi?id=542473
http://bugzilla.novell.com/show_bug.cgi?id=542473#c24
Johannes Meixner
http://bugzilla.novell.com/show_bug.cgi?id=542473
http://bugzilla.novell.com/show_bug.cgi?id=542473#c25
--- Comment #25 from Kay Sievers
http://bugzilla.novell.com/show_bug.cgi?id=542473
http://bugzilla.novell.com/show_bug.cgi?id=542473#c26
--- Comment #26 from Johannes Meixner
http://bugzilla.novell.com/show_bug.cgi?id=542473
http://bugzilla.novell.com/show_bug.cgi?id=542473#c27
--- Comment #27 from Kay Sievers
http://bugzilla.novell.com/show_bug.cgi?id=542473
http://bugzilla.novell.com/show_bug.cgi?id=542473#c28
--- Comment #28 from Johannes Meixner
participants (1)
-
bugzilla_noreply@novell.com