Syntax error when installing Epson Linux scanner driver (for v550)Running a epson Scanner perfection 3170I need to load driver for Epson Perfection 4180 ScannerInvalid argument - Brother scanner not working after upgrade (brscan2 driver)Does the Epson Perfection V600 Photo Scanner or V550 Work with SANEDriver for Epson L360 scannerUbuntu 18.04: Samsung SCX-3400 Scanner detected but not working

A bob hanging in an accelerating train moves backward. What is the force moving it backward?

Why dont electrical receptacles have more than one ground?

What's politest way of writing you got no reply?

A story about activating lumps of clay with parchments

Can a Barbarian/Wizard multiclass cast a spell with a magic item while raging?

Is Earth's Surface "In orbit"?

Does ません sometimes not negate?

Does Airplane Mode allow GPS location to pass through?

Are there any mentions of nuclear weapons in M*A*S*H?

How can you weaponize a thermos

Delete a whole nested list if one of the values in that list contains an "Indeterminate" value

Designing Borders with QGIS

Inverse Look-and-Say

Rats biting off fuel line ( again and again and again )!

Which biphenyl is optically active?

Why should I invest so much in 401(k)?

Transferring $ from LLC to Personal account

Contacted by head of school regarding an issue - should I be worried?

Why would one use "enter the name of the project to confirm"?

Does trajectory of an object orbiting a planet depend on the object's mass? (With hypothetical apollo example)

Number of taps needed in an FIR filter to remove DC

Movie where some soldiers go into a bunker in a city because of dangerous conditions outside

Why does the Eurofighter Typhoon pitch up on brake release?

Is it generally a bad idea to "rat" on co-workers?



Syntax error when installing Epson Linux scanner driver (for v550)


Running a epson Scanner perfection 3170I need to load driver for Epson Perfection 4180 ScannerInvalid argument - Brother scanner not working after upgrade (brscan2 driver)Does the Epson Perfection V600 Photo Scanner or V550 Work with SANEDriver for Epson L360 scannerUbuntu 18.04: Samsung SCX-3400 Scanner detected but not working






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









1


















I have an Epson v550 scanner, and have downloaded the latest official driver file.



http://support.epson.net/linux/en/iscan.php?model=perfection-v550&version=2.30.4



When I extract the file, and try to install the iscan-data package, I get the following error:



sudo dpkg -i iscan-data_1.39.1-2_all.deb 
[sudo] password for brylie:
(Reading database ... 342144 files and directories currently installed.)
Preparing to unpack iscan-data_1.39.1-2_all.deb ...
Unpacking iscan-data (1.39.1-2) over (1.39.1-2) ...
Setting up iscan-data (1.39.1-2) ...
expr: syntax error: missing argument after ‘-’
tail: invalid number of lines: ‘/lib/udev/rules.d/60-libsane.rules’


Note: I get the same error when running ./install.sh, it is just related to the iscan-data package.



How can I fix the syntax error that is causing the .deb installation to break?



Edit:



$ dpkg -S /lib/udev/rules.d/60-libsane.rules
libsane:i386, libsane:amd64: /lib/udev/rules.d/60-libsane.rules


$ cat /lib/udev/rules.d/60-libsane.rules
# This file was automatically created based on description files (*.desc)
# by sane-desc 3.5 from sane-backends 1.0.27
#
# udev rules file for supported USB and SCSI devices
#
# For the list of supported USB devices see /usr/lib/udev/hwdb.d/20-sane.hwdb
#
# The SCSI device support is very basic and includes only
# scanners that mark themselves as type "scanner" or
# SCSI-scanners from HP and other vendors that are entitled "processor"
# but are treated accordingly.
#
# If your SCSI scanner isn't listed below, you can add it to a new rules
# file under /etc/udev/rules.d/.
#
# If your scanner is supported by some external backend (brother, epkowa,
# hpaio, etc) please ask the author of the backend to provide proper
# device detection support for your OS
#
# If the scanner is supported by sane-backends, please mail the entry to
# the sane-devel mailing list (sane-devel@lists.alioth.debian.org).
#
ACTION!="add", GOTO="libsane_rules_end"

# The following rule will disable USB autosuspend for the device
ENVDEVTYPE=="usb_device", ENVlibsane_matched=="yes", TEST=="power/control", ATTRpower/control="on"

SUBSYSTEMS=="scsi", GOTO="libsane_scsi_rules_begin"
GOTO="libsane_rules_end"

LABEL="libsane_scsi_rules_begin"
KERNEL!="sg[0-9]*", GOTO="libsane_rules_end"

# Generic: SCSI device type 6 indicates a scanner
ATTRStype=="6", ENVlibsane_matched="yes"

# Some scanners advertise themselves as SCSI device type 3

# Wildcard: for some Epson SCSI scanners
ATTRStype=="3", ATTRSvendor=="EPSON", ATTRSmodel=="SCANNER*", ENVlibsane_matched="yes"

# Epson Expression 800 | Epson Expression 800
ATTRStype=="3", ATTRSvendor=="EPSON", ATTRSmodel=="Expression800", ENVlibsane_matched="yes"

# Epson Perfection 2450 | Epson GT-9700F | Epson Perfection 2450 PHOTO
ATTRStype=="3", ATTRSvendor=="EPSON", ATTRSmodel=="GT-9700", ENVlibsane_matched="yes"

# Epson Perfection 3200 | Epson GT-9800F | Epson Perfection 3200 PHOTO
ATTRStype=="3", ATTRSvendor=="EPSON", ATTRSmodel=="GT-9800", ENVlibsane_matched="yes"

# Epson GT-X900 | Epson Perfection V700 Photo | Epson Perfection V750 Photo
ATTRStype=="3", ATTRSvendor=="EPSON", ATTRSmodel=="GT-X900", ENVlibsane_matched="yes"

# Epson Perfection 636S | Epson Perfection 1200S | Epson Perfection 1200S
ATTRStype=="3", ATTRSvendor=="EPSON", ATTRSmodel=="Perfection1200", ENVlibsane_matched="yes"

# Epson Perfection 636 | Epson Perfection 636S
ATTRStype=="3", ATTRSvendor=="EPSON", ATTRSmodel=="Perfection636", ENVlibsane_matched="yes"

# Hewlett-Packard ScanJet 4p
ATTRStype=="3", ATTRSvendor=="HP", ATTRSmodel=="C1130A", ENVlibsane_matched="yes"

# Hewlett-Packard ScanJet IIc
ATTRStype=="3", ATTRSvendor=="HP", ATTRSmodel=="C1750A", ENVlibsane_matched="yes"

# Hewlett-Packard ScanJet IIp
ATTRStype=="3", ATTRSvendor=="HP", ATTRSmodel=="C1790A", ENVlibsane_matched="yes"

# Hewlett-Packard ScanJet IIcx
ATTRStype=="3", ATTRSvendor=="HP", ATTRSmodel=="C2500A", ENVlibsane_matched="yes"

# Hewlett-Packard ScanJet 4c
ATTRStype=="3", ATTRSvendor=="HP", ATTRSmodel=="C2520A", ENVlibsane_matched="yes"

# Hewlett-Packard ScanJet 5p
ATTRStype=="3", ATTRSvendor=="HP", ATTRSmodel=="C5110A", ENVlibsane_matched="yes"

# Hewlett-Packard ScanJet 6200C
ATTRStype=="3", ATTRSvendor=="HP", ATTRSmodel=="C6270A", ENVlibsane_matched="yes"

# Hewlett-Packard ScanJet 6300C
ATTRStype=="3", ATTRSvendor=="HP", ATTRSmodel=="C7670A", ENVlibsane_matched="yes"


LABEL="libsane_rules_end"









share|improve this question



























  • Remember to file a bug with Epson so they fix their deb

    – user535733
    Sep 10 at 18:41











  • I contacted Epson support via phone and email, but got a boilerplate response: "Please call Linux" from the phone support and "Per Epson's support policy, Epson unfortunately does not provide support for Linux drivers" from email support.

    – Brylie Christopher Oxley
    Sep 11 at 18:06











  • dpkg -S /lib/udev/rules.d/60-libsane.rules please edit your question for output. And cat /lib/udev/rules.d/60-libsane.rules

    – nobody
    Sep 13 at 16:51











  • Added the above requested info.

    – Brylie Christopher Oxley
    Sep 14 at 18:05

















1


















I have an Epson v550 scanner, and have downloaded the latest official driver file.



http://support.epson.net/linux/en/iscan.php?model=perfection-v550&version=2.30.4



When I extract the file, and try to install the iscan-data package, I get the following error:



sudo dpkg -i iscan-data_1.39.1-2_all.deb 
[sudo] password for brylie:
(Reading database ... 342144 files and directories currently installed.)
Preparing to unpack iscan-data_1.39.1-2_all.deb ...
Unpacking iscan-data (1.39.1-2) over (1.39.1-2) ...
Setting up iscan-data (1.39.1-2) ...
expr: syntax error: missing argument after ‘-’
tail: invalid number of lines: ‘/lib/udev/rules.d/60-libsane.rules’


Note: I get the same error when running ./install.sh, it is just related to the iscan-data package.



How can I fix the syntax error that is causing the .deb installation to break?



Edit:



$ dpkg -S /lib/udev/rules.d/60-libsane.rules
libsane:i386, libsane:amd64: /lib/udev/rules.d/60-libsane.rules


$ cat /lib/udev/rules.d/60-libsane.rules
# This file was automatically created based on description files (*.desc)
# by sane-desc 3.5 from sane-backends 1.0.27
#
# udev rules file for supported USB and SCSI devices
#
# For the list of supported USB devices see /usr/lib/udev/hwdb.d/20-sane.hwdb
#
# The SCSI device support is very basic and includes only
# scanners that mark themselves as type "scanner" or
# SCSI-scanners from HP and other vendors that are entitled "processor"
# but are treated accordingly.
#
# If your SCSI scanner isn't listed below, you can add it to a new rules
# file under /etc/udev/rules.d/.
#
# If your scanner is supported by some external backend (brother, epkowa,
# hpaio, etc) please ask the author of the backend to provide proper
# device detection support for your OS
#
# If the scanner is supported by sane-backends, please mail the entry to
# the sane-devel mailing list (sane-devel@lists.alioth.debian.org).
#
ACTION!="add", GOTO="libsane_rules_end"

# The following rule will disable USB autosuspend for the device
ENVDEVTYPE=="usb_device", ENVlibsane_matched=="yes", TEST=="power/control", ATTRpower/control="on"

SUBSYSTEMS=="scsi", GOTO="libsane_scsi_rules_begin"
GOTO="libsane_rules_end"

LABEL="libsane_scsi_rules_begin"
KERNEL!="sg[0-9]*", GOTO="libsane_rules_end"

# Generic: SCSI device type 6 indicates a scanner
ATTRStype=="6", ENVlibsane_matched="yes"

# Some scanners advertise themselves as SCSI device type 3

# Wildcard: for some Epson SCSI scanners
ATTRStype=="3", ATTRSvendor=="EPSON", ATTRSmodel=="SCANNER*", ENVlibsane_matched="yes"

# Epson Expression 800 | Epson Expression 800
ATTRStype=="3", ATTRSvendor=="EPSON", ATTRSmodel=="Expression800", ENVlibsane_matched="yes"

# Epson Perfection 2450 | Epson GT-9700F | Epson Perfection 2450 PHOTO
ATTRStype=="3", ATTRSvendor=="EPSON", ATTRSmodel=="GT-9700", ENVlibsane_matched="yes"

# Epson Perfection 3200 | Epson GT-9800F | Epson Perfection 3200 PHOTO
ATTRStype=="3", ATTRSvendor=="EPSON", ATTRSmodel=="GT-9800", ENVlibsane_matched="yes"

# Epson GT-X900 | Epson Perfection V700 Photo | Epson Perfection V750 Photo
ATTRStype=="3", ATTRSvendor=="EPSON", ATTRSmodel=="GT-X900", ENVlibsane_matched="yes"

# Epson Perfection 636S | Epson Perfection 1200S | Epson Perfection 1200S
ATTRStype=="3", ATTRSvendor=="EPSON", ATTRSmodel=="Perfection1200", ENVlibsane_matched="yes"

# Epson Perfection 636 | Epson Perfection 636S
ATTRStype=="3", ATTRSvendor=="EPSON", ATTRSmodel=="Perfection636", ENVlibsane_matched="yes"

# Hewlett-Packard ScanJet 4p
ATTRStype=="3", ATTRSvendor=="HP", ATTRSmodel=="C1130A", ENVlibsane_matched="yes"

# Hewlett-Packard ScanJet IIc
ATTRStype=="3", ATTRSvendor=="HP", ATTRSmodel=="C1750A", ENVlibsane_matched="yes"

# Hewlett-Packard ScanJet IIp
ATTRStype=="3", ATTRSvendor=="HP", ATTRSmodel=="C1790A", ENVlibsane_matched="yes"

# Hewlett-Packard ScanJet IIcx
ATTRStype=="3", ATTRSvendor=="HP", ATTRSmodel=="C2500A", ENVlibsane_matched="yes"

# Hewlett-Packard ScanJet 4c
ATTRStype=="3", ATTRSvendor=="HP", ATTRSmodel=="C2520A", ENVlibsane_matched="yes"

# Hewlett-Packard ScanJet 5p
ATTRStype=="3", ATTRSvendor=="HP", ATTRSmodel=="C5110A", ENVlibsane_matched="yes"

# Hewlett-Packard ScanJet 6200C
ATTRStype=="3", ATTRSvendor=="HP", ATTRSmodel=="C6270A", ENVlibsane_matched="yes"

# Hewlett-Packard ScanJet 6300C
ATTRStype=="3", ATTRSvendor=="HP", ATTRSmodel=="C7670A", ENVlibsane_matched="yes"


LABEL="libsane_rules_end"









share|improve this question



























  • Remember to file a bug with Epson so they fix their deb

    – user535733
    Sep 10 at 18:41











  • I contacted Epson support via phone and email, but got a boilerplate response: "Please call Linux" from the phone support and "Per Epson's support policy, Epson unfortunately does not provide support for Linux drivers" from email support.

    – Brylie Christopher Oxley
    Sep 11 at 18:06











  • dpkg -S /lib/udev/rules.d/60-libsane.rules please edit your question for output. And cat /lib/udev/rules.d/60-libsane.rules

    – nobody
    Sep 13 at 16:51











  • Added the above requested info.

    – Brylie Christopher Oxley
    Sep 14 at 18:05













1













1









1


1






I have an Epson v550 scanner, and have downloaded the latest official driver file.



http://support.epson.net/linux/en/iscan.php?model=perfection-v550&version=2.30.4



When I extract the file, and try to install the iscan-data package, I get the following error:



sudo dpkg -i iscan-data_1.39.1-2_all.deb 
[sudo] password for brylie:
(Reading database ... 342144 files and directories currently installed.)
Preparing to unpack iscan-data_1.39.1-2_all.deb ...
Unpacking iscan-data (1.39.1-2) over (1.39.1-2) ...
Setting up iscan-data (1.39.1-2) ...
expr: syntax error: missing argument after ‘-’
tail: invalid number of lines: ‘/lib/udev/rules.d/60-libsane.rules’


Note: I get the same error when running ./install.sh, it is just related to the iscan-data package.



How can I fix the syntax error that is causing the .deb installation to break?



Edit:



$ dpkg -S /lib/udev/rules.d/60-libsane.rules
libsane:i386, libsane:amd64: /lib/udev/rules.d/60-libsane.rules


$ cat /lib/udev/rules.d/60-libsane.rules
# This file was automatically created based on description files (*.desc)
# by sane-desc 3.5 from sane-backends 1.0.27
#
# udev rules file for supported USB and SCSI devices
#
# For the list of supported USB devices see /usr/lib/udev/hwdb.d/20-sane.hwdb
#
# The SCSI device support is very basic and includes only
# scanners that mark themselves as type "scanner" or
# SCSI-scanners from HP and other vendors that are entitled "processor"
# but are treated accordingly.
#
# If your SCSI scanner isn't listed below, you can add it to a new rules
# file under /etc/udev/rules.d/.
#
# If your scanner is supported by some external backend (brother, epkowa,
# hpaio, etc) please ask the author of the backend to provide proper
# device detection support for your OS
#
# If the scanner is supported by sane-backends, please mail the entry to
# the sane-devel mailing list (sane-devel@lists.alioth.debian.org).
#
ACTION!="add", GOTO="libsane_rules_end"

# The following rule will disable USB autosuspend for the device
ENVDEVTYPE=="usb_device", ENVlibsane_matched=="yes", TEST=="power/control", ATTRpower/control="on"

SUBSYSTEMS=="scsi", GOTO="libsane_scsi_rules_begin"
GOTO="libsane_rules_end"

LABEL="libsane_scsi_rules_begin"
KERNEL!="sg[0-9]*", GOTO="libsane_rules_end"

# Generic: SCSI device type 6 indicates a scanner
ATTRStype=="6", ENVlibsane_matched="yes"

# Some scanners advertise themselves as SCSI device type 3

# Wildcard: for some Epson SCSI scanners
ATTRStype=="3", ATTRSvendor=="EPSON", ATTRSmodel=="SCANNER*", ENVlibsane_matched="yes"

# Epson Expression 800 | Epson Expression 800
ATTRStype=="3", ATTRSvendor=="EPSON", ATTRSmodel=="Expression800", ENVlibsane_matched="yes"

# Epson Perfection 2450 | Epson GT-9700F | Epson Perfection 2450 PHOTO
ATTRStype=="3", ATTRSvendor=="EPSON", ATTRSmodel=="GT-9700", ENVlibsane_matched="yes"

# Epson Perfection 3200 | Epson GT-9800F | Epson Perfection 3200 PHOTO
ATTRStype=="3", ATTRSvendor=="EPSON", ATTRSmodel=="GT-9800", ENVlibsane_matched="yes"

# Epson GT-X900 | Epson Perfection V700 Photo | Epson Perfection V750 Photo
ATTRStype=="3", ATTRSvendor=="EPSON", ATTRSmodel=="GT-X900", ENVlibsane_matched="yes"

# Epson Perfection 636S | Epson Perfection 1200S | Epson Perfection 1200S
ATTRStype=="3", ATTRSvendor=="EPSON", ATTRSmodel=="Perfection1200", ENVlibsane_matched="yes"

# Epson Perfection 636 | Epson Perfection 636S
ATTRStype=="3", ATTRSvendor=="EPSON", ATTRSmodel=="Perfection636", ENVlibsane_matched="yes"

# Hewlett-Packard ScanJet 4p
ATTRStype=="3", ATTRSvendor=="HP", ATTRSmodel=="C1130A", ENVlibsane_matched="yes"

# Hewlett-Packard ScanJet IIc
ATTRStype=="3", ATTRSvendor=="HP", ATTRSmodel=="C1750A", ENVlibsane_matched="yes"

# Hewlett-Packard ScanJet IIp
ATTRStype=="3", ATTRSvendor=="HP", ATTRSmodel=="C1790A", ENVlibsane_matched="yes"

# Hewlett-Packard ScanJet IIcx
ATTRStype=="3", ATTRSvendor=="HP", ATTRSmodel=="C2500A", ENVlibsane_matched="yes"

# Hewlett-Packard ScanJet 4c
ATTRStype=="3", ATTRSvendor=="HP", ATTRSmodel=="C2520A", ENVlibsane_matched="yes"

# Hewlett-Packard ScanJet 5p
ATTRStype=="3", ATTRSvendor=="HP", ATTRSmodel=="C5110A", ENVlibsane_matched="yes"

# Hewlett-Packard ScanJet 6200C
ATTRStype=="3", ATTRSvendor=="HP", ATTRSmodel=="C6270A", ENVlibsane_matched="yes"

# Hewlett-Packard ScanJet 6300C
ATTRStype=="3", ATTRSvendor=="HP", ATTRSmodel=="C7670A", ENVlibsane_matched="yes"


LABEL="libsane_rules_end"









share|improve this question
















I have an Epson v550 scanner, and have downloaded the latest official driver file.



http://support.epson.net/linux/en/iscan.php?model=perfection-v550&version=2.30.4



When I extract the file, and try to install the iscan-data package, I get the following error:



sudo dpkg -i iscan-data_1.39.1-2_all.deb 
[sudo] password for brylie:
(Reading database ... 342144 files and directories currently installed.)
Preparing to unpack iscan-data_1.39.1-2_all.deb ...
Unpacking iscan-data (1.39.1-2) over (1.39.1-2) ...
Setting up iscan-data (1.39.1-2) ...
expr: syntax error: missing argument after ‘-’
tail: invalid number of lines: ‘/lib/udev/rules.d/60-libsane.rules’


Note: I get the same error when running ./install.sh, it is just related to the iscan-data package.



How can I fix the syntax error that is causing the .deb installation to break?



Edit:



$ dpkg -S /lib/udev/rules.d/60-libsane.rules
libsane:i386, libsane:amd64: /lib/udev/rules.d/60-libsane.rules


$ cat /lib/udev/rules.d/60-libsane.rules
# This file was automatically created based on description files (*.desc)
# by sane-desc 3.5 from sane-backends 1.0.27
#
# udev rules file for supported USB and SCSI devices
#
# For the list of supported USB devices see /usr/lib/udev/hwdb.d/20-sane.hwdb
#
# The SCSI device support is very basic and includes only
# scanners that mark themselves as type "scanner" or
# SCSI-scanners from HP and other vendors that are entitled "processor"
# but are treated accordingly.
#
# If your SCSI scanner isn't listed below, you can add it to a new rules
# file under /etc/udev/rules.d/.
#
# If your scanner is supported by some external backend (brother, epkowa,
# hpaio, etc) please ask the author of the backend to provide proper
# device detection support for your OS
#
# If the scanner is supported by sane-backends, please mail the entry to
# the sane-devel mailing list (sane-devel@lists.alioth.debian.org).
#
ACTION!="add", GOTO="libsane_rules_end"

# The following rule will disable USB autosuspend for the device
ENVDEVTYPE=="usb_device", ENVlibsane_matched=="yes", TEST=="power/control", ATTRpower/control="on"

SUBSYSTEMS=="scsi", GOTO="libsane_scsi_rules_begin"
GOTO="libsane_rules_end"

LABEL="libsane_scsi_rules_begin"
KERNEL!="sg[0-9]*", GOTO="libsane_rules_end"

# Generic: SCSI device type 6 indicates a scanner
ATTRStype=="6", ENVlibsane_matched="yes"

# Some scanners advertise themselves as SCSI device type 3

# Wildcard: for some Epson SCSI scanners
ATTRStype=="3", ATTRSvendor=="EPSON", ATTRSmodel=="SCANNER*", ENVlibsane_matched="yes"

# Epson Expression 800 | Epson Expression 800
ATTRStype=="3", ATTRSvendor=="EPSON", ATTRSmodel=="Expression800", ENVlibsane_matched="yes"

# Epson Perfection 2450 | Epson GT-9700F | Epson Perfection 2450 PHOTO
ATTRStype=="3", ATTRSvendor=="EPSON", ATTRSmodel=="GT-9700", ENVlibsane_matched="yes"

# Epson Perfection 3200 | Epson GT-9800F | Epson Perfection 3200 PHOTO
ATTRStype=="3", ATTRSvendor=="EPSON", ATTRSmodel=="GT-9800", ENVlibsane_matched="yes"

# Epson GT-X900 | Epson Perfection V700 Photo | Epson Perfection V750 Photo
ATTRStype=="3", ATTRSvendor=="EPSON", ATTRSmodel=="GT-X900", ENVlibsane_matched="yes"

# Epson Perfection 636S | Epson Perfection 1200S | Epson Perfection 1200S
ATTRStype=="3", ATTRSvendor=="EPSON", ATTRSmodel=="Perfection1200", ENVlibsane_matched="yes"

# Epson Perfection 636 | Epson Perfection 636S
ATTRStype=="3", ATTRSvendor=="EPSON", ATTRSmodel=="Perfection636", ENVlibsane_matched="yes"

# Hewlett-Packard ScanJet 4p
ATTRStype=="3", ATTRSvendor=="HP", ATTRSmodel=="C1130A", ENVlibsane_matched="yes"

# Hewlett-Packard ScanJet IIc
ATTRStype=="3", ATTRSvendor=="HP", ATTRSmodel=="C1750A", ENVlibsane_matched="yes"

# Hewlett-Packard ScanJet IIp
ATTRStype=="3", ATTRSvendor=="HP", ATTRSmodel=="C1790A", ENVlibsane_matched="yes"

# Hewlett-Packard ScanJet IIcx
ATTRStype=="3", ATTRSvendor=="HP", ATTRSmodel=="C2500A", ENVlibsane_matched="yes"

# Hewlett-Packard ScanJet 4c
ATTRStype=="3", ATTRSvendor=="HP", ATTRSmodel=="C2520A", ENVlibsane_matched="yes"

# Hewlett-Packard ScanJet 5p
ATTRStype=="3", ATTRSvendor=="HP", ATTRSmodel=="C5110A", ENVlibsane_matched="yes"

# Hewlett-Packard ScanJet 6200C
ATTRStype=="3", ATTRSvendor=="HP", ATTRSmodel=="C6270A", ENVlibsane_matched="yes"

# Hewlett-Packard ScanJet 6300C
ATTRStype=="3", ATTRSvendor=="HP", ATTRSmodel=="C7670A", ENVlibsane_matched="yes"


LABEL="libsane_rules_end"






drivers dpkg scanner epson






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 14 at 18:02







Brylie Christopher Oxley

















asked Sep 10 at 18:26









Brylie Christopher OxleyBrylie Christopher Oxley

9231 gold badge8 silver badges11 bronze badges




9231 gold badge8 silver badges11 bronze badges















  • Remember to file a bug with Epson so they fix their deb

    – user535733
    Sep 10 at 18:41











  • I contacted Epson support via phone and email, but got a boilerplate response: "Please call Linux" from the phone support and "Per Epson's support policy, Epson unfortunately does not provide support for Linux drivers" from email support.

    – Brylie Christopher Oxley
    Sep 11 at 18:06











  • dpkg -S /lib/udev/rules.d/60-libsane.rules please edit your question for output. And cat /lib/udev/rules.d/60-libsane.rules

    – nobody
    Sep 13 at 16:51











  • Added the above requested info.

    – Brylie Christopher Oxley
    Sep 14 at 18:05

















  • Remember to file a bug with Epson so they fix their deb

    – user535733
    Sep 10 at 18:41











  • I contacted Epson support via phone and email, but got a boilerplate response: "Please call Linux" from the phone support and "Per Epson's support policy, Epson unfortunately does not provide support for Linux drivers" from email support.

    – Brylie Christopher Oxley
    Sep 11 at 18:06











  • dpkg -S /lib/udev/rules.d/60-libsane.rules please edit your question for output. And cat /lib/udev/rules.d/60-libsane.rules

    – nobody
    Sep 13 at 16:51











  • Added the above requested info.

    – Brylie Christopher Oxley
    Sep 14 at 18:05
















Remember to file a bug with Epson so they fix their deb

– user535733
Sep 10 at 18:41





Remember to file a bug with Epson so they fix their deb

– user535733
Sep 10 at 18:41













I contacted Epson support via phone and email, but got a boilerplate response: "Please call Linux" from the phone support and "Per Epson's support policy, Epson unfortunately does not provide support for Linux drivers" from email support.

– Brylie Christopher Oxley
Sep 11 at 18:06





I contacted Epson support via phone and email, but got a boilerplate response: "Please call Linux" from the phone support and "Per Epson's support policy, Epson unfortunately does not provide support for Linux drivers" from email support.

– Brylie Christopher Oxley
Sep 11 at 18:06













dpkg -S /lib/udev/rules.d/60-libsane.rules please edit your question for output. And cat /lib/udev/rules.d/60-libsane.rules

– nobody
Sep 13 at 16:51





dpkg -S /lib/udev/rules.d/60-libsane.rules please edit your question for output. And cat /lib/udev/rules.d/60-libsane.rules

– nobody
Sep 13 at 16:51













Added the above requested info.

– Brylie Christopher Oxley
Sep 14 at 18:05





Added the above requested info.

– Brylie Christopher Oxley
Sep 14 at 18:05










1 Answer
1






active

oldest

votes


















0



















I'm using Debian 10 (Buster), and I've found the same problem. The origin of that error is in the file /usr/lib/iscan-data/make-policy-file, included in the iscan-data_1.39.1-2_all.deb package. It tries to look for the idProduct string in the /usr/lib/udev/rules.d/60-libsane.rules file. But the content of that file has changed substantially between Debian 9 and 10, so it can't find such string and it fails. I guess that also may be occurring in Ubuntu. In spite of that error, the SANE back-end seems to be installed well.



In addition to that problem, I've found one more, also related to the 60-libsane.rules file: it doesn't contain, anymore, the rule that grants the scanner group access to the scanner bus. So I only could scan with the root user, from the command line. Check this bug report for more information. After adding an udev rule similar to the one mentioned in that report, now I can scan again with my user and from a GUI. My rule is as follows:



ENVID_VENDOR_ID=="04b8", ENVID_MODEL_ID=="0130", RUN+="/usr/bin/bash -c '/usr/bin/setfacl -m g:scanner:rw $envDEVNAME'"


I need to filter by vendor ID and model ID (EPSON Perfection V500 Photo in my case) because the libsane_matched property seems to be empty. I guess that it's not properly set because of the problem with the installer mentioned in the 1st paragraph.






share|improve this answer



























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );














    draft saved

    draft discarded
















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1172255%2fsyntax-error-when-installing-epson-linux-scanner-driver-for-v550%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown


























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0



















    I'm using Debian 10 (Buster), and I've found the same problem. The origin of that error is in the file /usr/lib/iscan-data/make-policy-file, included in the iscan-data_1.39.1-2_all.deb package. It tries to look for the idProduct string in the /usr/lib/udev/rules.d/60-libsane.rules file. But the content of that file has changed substantially between Debian 9 and 10, so it can't find such string and it fails. I guess that also may be occurring in Ubuntu. In spite of that error, the SANE back-end seems to be installed well.



    In addition to that problem, I've found one more, also related to the 60-libsane.rules file: it doesn't contain, anymore, the rule that grants the scanner group access to the scanner bus. So I only could scan with the root user, from the command line. Check this bug report for more information. After adding an udev rule similar to the one mentioned in that report, now I can scan again with my user and from a GUI. My rule is as follows:



    ENVID_VENDOR_ID=="04b8", ENVID_MODEL_ID=="0130", RUN+="/usr/bin/bash -c '/usr/bin/setfacl -m g:scanner:rw $envDEVNAME'"


    I need to filter by vendor ID and model ID (EPSON Perfection V500 Photo in my case) because the libsane_matched property seems to be empty. I guess that it's not properly set because of the problem with the installer mentioned in the 1st paragraph.






    share|improve this answer






























      0



















      I'm using Debian 10 (Buster), and I've found the same problem. The origin of that error is in the file /usr/lib/iscan-data/make-policy-file, included in the iscan-data_1.39.1-2_all.deb package. It tries to look for the idProduct string in the /usr/lib/udev/rules.d/60-libsane.rules file. But the content of that file has changed substantially between Debian 9 and 10, so it can't find such string and it fails. I guess that also may be occurring in Ubuntu. In spite of that error, the SANE back-end seems to be installed well.



      In addition to that problem, I've found one more, also related to the 60-libsane.rules file: it doesn't contain, anymore, the rule that grants the scanner group access to the scanner bus. So I only could scan with the root user, from the command line. Check this bug report for more information. After adding an udev rule similar to the one mentioned in that report, now I can scan again with my user and from a GUI. My rule is as follows:



      ENVID_VENDOR_ID=="04b8", ENVID_MODEL_ID=="0130", RUN+="/usr/bin/bash -c '/usr/bin/setfacl -m g:scanner:rw $envDEVNAME'"


      I need to filter by vendor ID and model ID (EPSON Perfection V500 Photo in my case) because the libsane_matched property seems to be empty. I guess that it's not properly set because of the problem with the installer mentioned in the 1st paragraph.






      share|improve this answer




























        0















        0











        0









        I'm using Debian 10 (Buster), and I've found the same problem. The origin of that error is in the file /usr/lib/iscan-data/make-policy-file, included in the iscan-data_1.39.1-2_all.deb package. It tries to look for the idProduct string in the /usr/lib/udev/rules.d/60-libsane.rules file. But the content of that file has changed substantially between Debian 9 and 10, so it can't find such string and it fails. I guess that also may be occurring in Ubuntu. In spite of that error, the SANE back-end seems to be installed well.



        In addition to that problem, I've found one more, also related to the 60-libsane.rules file: it doesn't contain, anymore, the rule that grants the scanner group access to the scanner bus. So I only could scan with the root user, from the command line. Check this bug report for more information. After adding an udev rule similar to the one mentioned in that report, now I can scan again with my user and from a GUI. My rule is as follows:



        ENVID_VENDOR_ID=="04b8", ENVID_MODEL_ID=="0130", RUN+="/usr/bin/bash -c '/usr/bin/setfacl -m g:scanner:rw $envDEVNAME'"


        I need to filter by vendor ID and model ID (EPSON Perfection V500 Photo in my case) because the libsane_matched property seems to be empty. I guess that it's not properly set because of the problem with the installer mentioned in the 1st paragraph.






        share|improve this answer














        I'm using Debian 10 (Buster), and I've found the same problem. The origin of that error is in the file /usr/lib/iscan-data/make-policy-file, included in the iscan-data_1.39.1-2_all.deb package. It tries to look for the idProduct string in the /usr/lib/udev/rules.d/60-libsane.rules file. But the content of that file has changed substantially between Debian 9 and 10, so it can't find such string and it fails. I guess that also may be occurring in Ubuntu. In spite of that error, the SANE back-end seems to be installed well.



        In addition to that problem, I've found one more, also related to the 60-libsane.rules file: it doesn't contain, anymore, the rule that grants the scanner group access to the scanner bus. So I only could scan with the root user, from the command line. Check this bug report for more information. After adding an udev rule similar to the one mentioned in that report, now I can scan again with my user and from a GUI. My rule is as follows:



        ENVID_VENDOR_ID=="04b8", ENVID_MODEL_ID=="0130", RUN+="/usr/bin/bash -c '/usr/bin/setfacl -m g:scanner:rw $envDEVNAME'"


        I need to filter by vendor ID and model ID (EPSON Perfection V500 Photo in my case) because the libsane_matched property seems to be empty. I guess that it's not properly set because of the problem with the installer mentioned in the 1st paragraph.







        share|improve this answer













        share|improve this answer




        share|improve this answer










        answered Nov 10 at 10:27









        negoranegora

        1




        1































            draft saved

            draft discarded















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1172255%2fsyntax-error-when-installing-epson-linux-scanner-driver-for-v550%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown









            Popular posts from this blog

            Tamil (spriik) Luke uk diar | Nawigatjuun

            Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

            Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?