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.