I am setting up a printer in a Debian LXC image on Proxmox. I identified the printer in lsusb:
Bus 001 Device 007: ID 04f9:01ea Brother Industries, Ltd DCP-7030 and I forward it in Proxmox (device /dev/bus/usb/001/007).
As soon as I unplug the printer and plug it back in, it always gets a new ID, for example:
Bus 001 Device 005: ID 04f9:01ea Brother Industries, Ltd DCP-7030 The printer does not show up in /dev/serial/*.
There are three possible solutions I can think of:
- Somehow fix the ID, such that I can forward it statically
- Forward all USB devices
- Reference the printer as a symlink (udev rule
TTRS{idVendor}=="04f9", ATTRS{idProduct}=="01ea", SYMLINK+="brother_printer"works, but CUPS/SANE are unable to detect it as a printer)
I am unsure which of these is the most promising path and how to proceed with it.
lsusb -d 04f9:01ea. You might be able to forward it by 04f9:01ea (though maybe not as there could be two matching devices).