Talk:Printer Setup

From Alpine Linux

~ # cat /etc/mdev.conf

SUBSYSTEM=usb;PRODUCT=03f0/612a/0100; root:lpadmin 660 =/lib/mdev/usbdev

SUBSYSTEM=usb;PRODUCT=04b8/118a; root:lp 755 =/lib/mdev/usbdev

~ # mdev -s

~ # ls -al /dev/bus/usb/001/010

crw-rw---- 1 root 1018 189, 9 Nov 5 09:04 /dev/bus/usb/001/010

~ # chown root:lp /dev/bus/usb/001/010

~ # ls -al /dev/bus/usb/001/010

crw-rw---- 1 root 1018 189, 9 Nov 5 09:04 /dev/bus/usb/001/010

Why does the root:lp setting not work?

~ # lpinfo -v

network http network https network ipp network ipps network lpd network socket file cups-brf:/ network beh direct hp

~ # cat /var/log/cups/error_log

E [05/Nov/2024:09:49:48 +0000] [CGI] ippfind (PID 15560) stopped with status 2!

E [05/Nov/2024:09:49:48 +0000] [cups-deviced] PID 15542 (driverless) stopped with status 2!

My USB printer is connected successfully and has a device node, but lpinfo -v still cannot find the USB printer device. Why?