[sane-devel] trying Canon DR-3080C
m. allan noah
kitno455 at gmail.com
Sun Feb 28 17:53:11 UTC 2010
Are you sure that the canon_dr backend is getting loaded?
SANE_DEBUG_CANON_DR=15 scanimage -L
if you dont see any canon_dr debug output, then make sure it is listed
in your dll.conf file, usually in /etc/sane.d
allan
On Sun, Feb 28, 2010 at 12:17 PM, D. Hugh Redelmeier <hugh at mimosa.com> wrote:
> I have an old Canon DR 3080C sheet-feed scanner. When I inherited it
> SANE didn't support it (and neither does Vista) so I left it in a
> corner. I was about to dispose of it when I saw that Noah has written
> the canon_dr driver. Thanks!!
>
> I have connected the scanner via SCSI to my up-to-date Ubuntu 9.10
> AMD64 system with SANE 1.20. (Vista doesn't support the SCSI card
> either, but good old Linux does.)
>
> The sane-canon_dr driver is listed as untested against this model. So
> I think that it should at least recognize the scanner.
>
> sane-find-scanner sees it ('found SCSI scanner "CANON DR-3080C 2.07"
> at /dev/sg2')
>
> scanimage -L does not find it.
>
> /etc/sane.d/canon_dr.conf seems to suggest it should.
>
> I did an strace on scanimage -L. It opened
> /sys/bus/scsi/devices/6:0:0:0/{vendor,model,type} a whole bunch of
> times. Here's the one time that more was done with the device:
>
> 7917 open("/sys/bus/scsi/devices/6:0:0:0/vendor", O_RDONLY) = 5
> 7917 fstat(5, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
> 7917 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4274a88000
> 7917 read(5, "CANON \n", 4096) = 9
> 7917 read(5, "", 4096) = 0
> 7917 close(5) = 0
> 7917 munmap(0x7f4274a88000, 4096) = 0
> 7917 open("/sys/bus/scsi/devices/6:0:0:0/model", O_RDONLY) = 5
> 7917 fstat(5, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
> 7917 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4274a88000
> 7917 read(5, "DR-3080C \n", 4096) = 17
> 7917 read(5, "", 4096) = 0
> 7917 close(5) = 0
> 7917 munmap(0x7f4274a88000, 4096) = 0
> 7917 open("/sys/bus/scsi/devices/6:0:0:0/type", O_RDONLY) = 5
> 7917 fstat(5, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
> 7917 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4274a88000
> 7917 read(5, "6\n", 4096) = 2
> 7917 read(5, "", 4096) = 0
> 7917 close(5) = 0
> 7917 munmap(0x7f4274a88000, 4096) = 0
> 7917 open("/dev/sg2", O_RDWR|O_NONBLOCK) = 5
> 7917 close(5) = 0
> 7917 open("/dev/scsi/host6/bus0/target0/lun0/generic", O_RDWR|O_NONBLOCK) = -1 ENOENT (No such file or directory)
> 7917 open("/dev/sg2", O_RDWR|O_NONBLOCK) = 5
> 7917 ioctl(5, SG_GET_SCSI_ID, 0x7fff423207e0) = 0
> 7917 close(5) = 0
> 7917 open("/dev/sg2", O_RDWR) = 5
> 7917 ioctl(5, SG_SET_RESERVED_SIZE, 0x7fff4232085c) = 0
> 7917 ioctl(5, SG_GET_RESERVED_SIZE, 0x7fff4232085c) = 0
> 7917 close(5) = 0
> 7917 open("/sys/bus/scsi/devices/7:0:0:0/vendor", O_RDONLY) = 5
>
> (There is no /dev/scsi directory.)
>
> Any ideas?
>
> --
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
> to sane-devel-request at lists.alioth.debian.org
>
--
"The truth is an offense, but not a sin"
More information about the sane-devel
mailing list