Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 686844 - sys-fs/eudev-3.2.8 sets wrong ownership on USB printer
Summary: sys-fs/eudev-3.2.8 sets wrong ownership on USB printer
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: eudev team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-27 10:20 UTC by peter@prh.myzen.co.uk
Modified: 2019-10-27 15:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,6.30 KB, text/plain)
2019-05-27 10:20 UTC, peter@prh.myzen.co.uk
Details

Note You need to log in before you can comment on or make changes to this bug.
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.