[sane-devel] trying Canon DR-3080C

D. Hugh Redelmeier hugh at mimosa.com
Sun Feb 28 17:17:56 UTC 2010


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?



More information about the sane-devel mailing list