User Tools

Site Tools


config:epson-v500-scanner

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
config:epson-v500-scanner [2020/01/28 13:03] Wulf Rajekconfig:epson-v500-scanner [2025/07/28 13:27] (current) Wulf Rajek
Line 4: Line 4:
 http://support.epson.net/linux/en/iscan.php?model=gt-x770&version=2.30.4 http://support.epson.net/linux/en/iscan.php?model=gt-x770&version=2.30.4
 <code> <code>
-wget http://support.epson.net/linux/en/iscan.php?model=gt-x770&version=2.30.4+wget "https://download2.ebz.epson.net/iscan/plugin/gt-x770/deb/x64/iscan-gt-x770-bundle-2.30.4.x64.deb.tar.gz"
 tar -xvzf iscan-gt-x770-bundle-2.30.4.x64.deb.tar.gz tar -xvzf iscan-gt-x770-bundle-2.30.4.x64.deb.tar.gz
 cd iscan-gt-x770-bundle-2.30.4.x64.deb cd iscan-gt-x770-bundle-2.30.4.x64.deb
 +
 +
 +# As libsane was renamed to libsane1, the dependencies of the deb packages need to get adjusted:
 +cd core
 +mkdir epson-sane
 +dpkg-deb -R iscan_2.30.4-2_amd64.deb epson-sane/
 +sed -i "s/libsane /libsane1/" epson-sane/DEBIAN/control
 +dpkg-deb -b epson-sane/ epson-sane-modified.deb
 +mv epson-sane-modified.deb iscan_2.30.4-2_amd64.deb
 +rm -rf epson-sane
 +cd ..
 +
 +cd data
 +mkdir epson-sane
 +dpkg-deb -R iscan-data_1.39.2-1_all.deb epson-sane/
 +sed -i "s/libsane /libsane1/" epson-sane/DEBIAN/control
 +dpkg-deb -b epson-sane/ epson-sane-modified.deb
 +mv epson-sane-modified.deb iscan-data_1.39.2-1_all.deb 
 +rm -rf epson-sane
 +cd ..
 +
 sudo ./install.sh sudo ./install.sh
 </code> </code>
Line 16: Line 37:
 </code> </code>
  
-Also, iscan may need to be started as root:+iscan needs to be started as root:
 <code> <code>
 sudo iscan sudo iscan
 </code> </code>
 +
 +To let users access the device which changes bus and device each time it is started, add a udev rule based on the manufacturer and device code. It's the ID 04b8:0130 but where 04b8 is EPSON and 0130 the particular model.
 +<code>
 +lsusb
 +</code>
 +
 +Also add yourself to the saned and scanner groups (replace username with the actual username):
 +<code>
 +sudo adduser username saned
 +sudo adduser username scanner 
 +</code>
 +
 +Now add the following to /etc/udev/rules.d/80-scanner.rules
 +<code - 80-scanner.rules>
 +# change device EPSON owner group
 +ATTRS{manufacturer}=="EPSON", DRIVERS=="usb", SUBSYSTEMS=="usb", ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0130", GROUP="scanner"
 +</code>
 +Reload udev rules:
 +<code>
 +sudo udevadm control --reload
 +</code>
 +And test the rules replacing the bus and device number from lsusb output. This should print group id 0 in the first line, then the group id of the scanner group in the second line.
 +<code>
 +sudo udevadm test $(udevadm info -q path -n /dev/bus/usb/<bus>/<device>) 2>&1 | grep -i group --color
 +</code>
 +
 +Disconnect the scanner and reconnect it, then try using iscan or other scanning applications.
config/epson-v500-scanner.1580216637.txt.gz · Last modified: (external edit)