Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 686844

Summary: sys-fs/eudev-3.2.8 sets wrong ownership on USB printer
Product: Gentoo Linux Reporter: peter <peter>
Component: Current packagesAssignee: eudev team <eudev>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description peter@prh.myzen.co.uk 2019-05-27 10:20:35 UTC
Created attachment 577874 [details]
emerge --info

Sys-fs/eudev-3.2.8 sets ownership root:usb on USB printer, and CUPS remains unaware of the device. Eudev should set root:lp to enable CUPS to use it.

# lsusb
[...]
Bus 003 Device 008: ID 0482:000e Kyocera Corp. FS-1020D Printer
[...]
# ls -l /dev/bus/usb/003/008
crw-rw---- 1 root usb 189, 263 May 27 10:45 /dev/bus/usb/003/008
# chown root:lp /dev/bus/usb/003/008

After that, CUPS sees the printer and works properly.
Comment 1 peter@prh.myzen.co.uk 2019-06-18 15:26:29 UTC
I tried adding user lp to group usb and restarting cupsd, but that didn't help.
Comment 2 Anthony Basile gentoo-dev 2019-10-27 00:03:03 UTC
(In reply to peter@prh.myzen.co.uk from comment #1)
> I tried adding user lp to group usb and restarting cupsd, but that didn't
> help.

I think this is fixed with the new hwdb rules.  Can you verify.
Comment 3 peter@prh.myzen.co.uk 2019-10-27 13:19:03 UTC
Sorry, but my USB printer has died and been replaced with a network-connected printer. I'm afraid I can't help.