[sane-devel] snapscan: scanner model

Jaroslaw Gorny jaroslav at aster.pl
Sat Feb 18 13:22:23 UTC 2006


Dnia Saturday 18 February 2006 12:56, Oliver Schwartz napisał:
> Hi,
>
> > I've got Epson Perfection 2580 Photo which is recognized by
> > snapscan as 2480, because they both got the same id: 0x04b8/0x0121.
>
> Which version of sane backends are you using? The latest version,
> sane-backends-1.0.17, should automatically distinguish between 2480
> and 2580 and adjust the preview range accordingly.

I'm using 1.0.17.

is this distincion made here:
<code>
snapscan-options.c-278-    case PERFECTION2480:
snapscan-options.c-279-        if (ps->hconfig_epson & 0x20)
snapscan-options.c-280-        {
</code>
???
>
> The code, however, is not very well tested and relies on a few data
> logs from 2480 / 2580 users that I've received. If it doesn't work
> for your scanner please send me the output of
> SANE_DEBUG_SNAPSCAN=255 xsane 2>debug.log
> (No need to do any scans, just close xsane after it has started).
>
> /Oliver

The problem I've now discovered is that sth. goes wrong ;)
Couple of months ago I used this scanner under Slackware, with epkowa backend.
Worked like a charm.
Now I've got ubuntu "breezy" (why?, why?, why?), and I have rebuilt backends 
1.0.17 by myself (took it from 'dapper', originally 'breezy' has 1.0.15).
I've decided to use snapscan, hence I don't have epkowa at all.

Two days ago I did some debug logs for Paul (he's working on OS/2), but I used 
the 'scanimage' command, sth. like:

<code>
scanimage -d snapscan:libusb:004:008
</code>

But now, I wanted to send You a log from xsane, and to my surprise xsane says 
"no device found" :(
I've checked, and after plugging the scanner to USB, in /var/log/messages
I've got only:
<code>
Feb 18 13:29:34 localhost kernel: [4523557.302000] usb 4-3: new high speed USB 
device using ehci_hcd and address 18
</code>

No device nodes are created for the scanner.
I quickly checked udev-rules, and they seems to be OK (well, I'm not an expert 
in it).
But to be sure I've added a file:
/etc/udev/rules.d/10-local.rules
with following content:
<code>
BUS="usb" SYSFS{idProduct}=="0121" SYSFS{idVendor}=="04b8" NAME="scanner" 
SYMLINK="usb/epson_scanner"
</code>

After restarting udev both entries are created (/dev/scanner 
and /dev/usb/epson_scanner) but xcane still complains that "no device found".
Also if I try:
<code>
scanimage -d snapscan:/dev/scanner
</code>
result is the same.
So it seems that before I go any further, I've got to make my scanner work at 
all on this crazy distro :)

If You've got any suggestions, I'll apreciate that.

regards,


-- 

Jaroslaw Gorny
jaroslav at aster.pl


-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GMU/E/CS d+/-- s+: a- c++ UL++/US P+>++ L+++>++++
E>++ W N++ o? K w--- !O M V- PS+++ PE++ Y PGP>++ t 5
X- R- tv--/!tv b++ DI-- D G- e++>+++ h-- r+++ z+++
-----END GEEK CODE BLOCK-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20060218/8d8ab517/attachment.pgp


More information about the sane-devel mailing list