This is an easy way to give Linux members of group “scanner” access to USB based scanners.
Execute the command lsusb The first 4 hex digits after ID will be the vendor ID of your scanner. In this case we have an Epson 04b8
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 007: ID 04b8:011b Seiko Epson Corp. GT-9300UF [Perfection 2400 PHOTO]
Bus 001 Device 006: ID 0a81:0205 Chesen Electronics Corp. PS/2 Keyboard+Mouse Adapter
Bus 001 Device 005: ID 0922:0008 Dymo-CoStar Corp. DYMO LabelWriter 330 Turbo
Bus 001 Device 008: ID 1908:1320 GEMBIRD DM8261 Flashdisc
Bus 001 Device 009: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
Bus 001 Device 004: ID 2001:f103 D-Link Corp. DUB-H7 7-port USB 2.0 hub
Bus 001 Device 003: ID 0403:6011 Future Technology Devices International, Ltd FT4232H Quad HS USB-UART/FIFO IC
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
SYSFS{idVendor}=="04b8",MODE="0666",GROUP="scanner",ENV{libsane_matched}="yes"
sudo udevadm control --reload-rules
sudo udevadm trigger
Created: 2024-02-20 | Modified: 2024-04-01 |