[sane-devel] [PATCH] epson{, 2}.desc/epkowa.desc: Mark Epson GT-5500 as SCSI device type 3

Paul Menzel paulepanter at users.sourceforge.net
Wed Feb 13 17:55:03 UTC 2013


Date: Wed, 13 Feb 2013 18:41:54 +0100

In Alioth bug #313734 [1] Yann Cantin reported that the Epson GT-5500
advertises itself as a SCSI processor device [2].

Since it is not using the normal value 6 for scanner device [2], this
has to be documented in the description file in the form

        :scsi "vendor" "model" processor

so that the program `sane-desc` can create a correct udev rules file.

Please note that this commit is for completeness as with Julien Blache’s
commit [3]

    commit ed0d09f8635a3004b267892fc00759d15de03aec
    Author: Julien BLACHE <jb at jblache.org>
    Date:   Fri Jun 24 22:08:52 2011 +0200

        Add wildcard for some Epson scanners

a wildcard rule is added matching on Epson devices containing the string
»SCANNER« in their model name.

[1] https://alioth.debian.org/tracker/index.php?func=detail&aid=313734&group_id=30186&atid=410366
[2] http://en.wikipedia.org/wiki/SCSI_Peripheral_Device_Type
[3] http://anonscm.debian.org/gitweb/?p=sane/sane-backends.git;a=commitdiff;h=ed0d09f8635a3004b267892fc00759d15de03aec
---
Please apply with `git am path/to/this/mbox`.

 doc/descriptions-external/epkowa.desc |    1 +
 doc/descriptions/epson.desc           |    1 +
 doc/descriptions/epson2.desc          |    1 +
 3 files changed, 3 insertions(+)

diff --git a/doc/descriptions-external/epkowa.desc b/doc/descriptions-external/epkowa.desc
index c31c9d4..2c91d2d 100644
--- a/doc/descriptions-external/epkowa.desc
+++ b/doc/descriptions-external/epkowa.desc
@@ -520,6 +520,7 @@
 
 :model     "GT-5500"
 :interface "SCSI"
+:scsi      "EPSON" "SCANNER GT-5500" "processor"
 :status    :good
 
 :model     "GT-6000"
diff --git a/doc/descriptions/epson.desc b/doc/descriptions/epson.desc
index a31fc84..7cfb874 100644
--- a/doc/descriptions/epson.desc
+++ b/doc/descriptions/epson.desc
@@ -47,6 +47,7 @@
 
 :model "GT-5500"
 :interface "SCSI"
+:scsi "EPSON" "SCANNER GT-5500" "processor"
 :status :good
 
 :model "GT-6500"
diff --git a/doc/descriptions/epson2.desc b/doc/descriptions/epson2.desc
index 5f2ddd3..a4d4c38 100644
--- a/doc/descriptions/epson2.desc
+++ b/doc/descriptions/epson2.desc
@@ -337,6 +337,7 @@
 
 :model      "GT-5500"
 :interface  "SCSI"
+:scsi       "EPSON" "SCANNER GT-5500" "processor"
 :status     :good
 
 :model      "GT-6000"
-- 
1.7.10.4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20130213/e5e7fd66/attachment.pgp>


More information about the sane-devel mailing list