![]() ![]() Note you will have to log out and log in for any group changes to take effect or run su - $USER This adds a rule to allow any user in the “scanner” group (which we added ourselves to earlier) permission to use the usb device with vendor 04a7 and product 04bf. Paste the following text to that new file SUBSYSTEM="usb", ATTR="04bf", MODE="0666", GROUP="scanner" # Add Udev rules allowing non root users access to the scannerĬreate a new udev rule sudo nano /etc/udev/rules.d/les This is the info we need to create our udev rule udevadm info -a -p $(udevadm info -q path -n /dev/bus/usb/001/026) Using this info we can get full udev (Dynamic device management) info. We can see above that the device is on bus 001 as device 026. Note: As with the the device number, the Bus used is likley to be different on your system. Running lsusb we can see that the scanner is also listed as “Visioneer” lsusbīus 001 Device 026: ID 04a7:04bf Visioneer Note: The device number will most likley be different on your system. Usb 1-2.4.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Usb 1-2.4.3: New USB device found, idVendor=04a7, idProduct=04bf Usb 1-2.4.3: new high-speed USB device number 26 using xhci_hcd ![]() Running dmesg we can see the scanner listed with idVendor=04a7 and idProduct=04bf dmesg ![]() # Find the scanner vendor id and product id You can do this through the “Users and Groups” GUI too. The following changes were made on an Ubuntu 17.10 machine. This guide should also be helpful when changing permissions for any USB device. To add permissions for non root users to use the scanner I made the following changes. However VueScan would only detect the scanner when run as root due to libusb permissions. Lo and behold it found the scanner and it supported all of the scanner’s features. Note that VueScan is not Open Source and not free but it is excellent software and well worth the €25 purchase price. I had used VueScan on my old MacBook Pro and was very happy with so I gave it a shot. In my research in trying to add the scanner to the xerox_mfp SANE backend config (which didn’t work) I discovered that VueScan was available for Linux and it’s supported scanners did list some of the Xerox DocuMate series. With an RRP of ~€310 I managed to get a refurbished model for €98 delivered from ebay but sadly I didn’t do enough research as the scanner is not SANE supported. I went for the Xerox DocuMate 3220 as it stated it was SANE compatible so would work on Linux. I was using my wife’s old printer/scanner all in one for scanning documents and it worked well but it was a pain to scan multiple documents so I decided to get a business scanner with auto feed and duplex scanning. TLDR This blog post is confirming that the Xerox DocuMate 3220 does work on Ubuntu and shows how to add permissions for non root users to use it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |