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.