[sane-devel] No devices available

Barry Kirsten bjkirsten at bigpond.com
Sun Jan 12 21:02:09 GMT 2003


Hi Henning, thanks for your help.

On Sun, 12 Jan 2003 22:28, Henning Meier-Geinitz wrote:
> On Sun, Jan 12, 2003 at 11:05:42AM +1100, Barry Kirsten wrote:
> > I can't get xsane to recognise my Canoscan 600 scanner under Debian 3.0.
>
> Try "SANE_DEBUG_CANON=255 scanimage -L" to get more debug information.
>
debian:/home/barry# SANE_DEBUG_CANON=255 scanimage -L
[sanei_debug] Setting debug level of canon to 255.
[canon] >> sane_init
[canon] sane_init: sane-backends 1.0.7
[canon] >> attach_one
[canon] >> attach
[canon] attach: opening /dev/sg1
[canon] attach: sending (standard) INQUIRY
[canon] >> inquiry
[canon] << inquiry
[canon] attach: sending TEST_UNIT_READY
[canon] >> test_unit_ready
[canon] << test_unit_ready
[canon] attach: sending RESERVE UNIT
[canon] >> reserve_unit
[canon] << reserve_unit
[canon] attach: sending GET SCAN MODE for scan control conditions
[canon] get scan mode: cmd[4]='0x14'
[canon] << get scan mode
[canon] scan mode byte[0] = 19
[canon] scan mode byte[1] = 0
[canon] scan mode byte[2] = 0
[canon] scan mode byte[3] = 0
[canon] scan mode byte[4] = 32
[canon] scan mode byte[5] = 14
[canon] scan mode byte[6] = 0
[canon] scan mode byte[7] = 0
[canon] scan mode byte[8] = 1
[canon] scan mode byte[9] = 244
[canon] scan mode byte[10] = 0
[canon] scan mode byte[11] = 1
[canon] scan mode byte[12] = 1
[canon] scan mode byte[13] = 1
[canon] scan mode byte[14] = 0
[canon] scan mode byte[15] = 0
[canon] scan mode byte[16] = 0
[canon] scan mode byte[17] = 0
[canon] scan mode byte[18] = 0
[canon] scan mode byte[19] = 0
[canon] scan mode byte[20] = 54
[canon] scan mode byte[21] = 48
[canon] scan mode byte[22] = 49
[canon] scan mode byte[23] = 53
[canon] scan mode byte[24] = 67
[canon] scan mode byte[25] = 32
[canon] scan mode byte[26] = 32
[canon] scan mode byte[27] = 32
[canon] scan mode byte[28] = 32
[canon] scan mode byte[29] = 32
[canon] scan mode byte[30] = 32
[canon] scan mode byte[31] = 32
[canon] scan mode byte[32] = 50
[canon] scan mode byte[33] = 46
[canon] scan mode byte[34] = 48
[canon] scan mode byte[35] = 50
[canon] scan mode byte[36] = 0
[canon] scan mode byte[37] = 0
[canon] scan mode byte[38] = 0
[canon] scan mode byte[39] = 0
[canon] scan mode byte[40] = 0
[canon] scan mode byte[41] = 0
[canon] scan mode byte[42] = 0
[canon] scan mode byte[43] = 0
[canon] scan mode byte[44] = 0
[canon] scan mode byte[45] = 0
[canon] scan mode byte[46] = 0
[canon] scan mode byte[47] = 0
[canon] scan mode byte[48] = 0
[canon] scan mode byte[49] = 0
[canon] scan mode byte[50] = 0
[canon] scan mode byte[51] = 0
[canon] scan mode byte[52] = 0
[canon] scan mode byte[53] = 0
[canon] scan mode byte[54] = 0
[canon] scan mode byte[55] = 0
[canon] scan mode byte[56] = 0
[canon] scan mode byte[57] = 0
[canon] scan mode byte[58] = 0
[canon] scan mode byte[59] = 0
[canon] scan mode byte[60] = 0
[canon] scan mode byte[61] = 0
[canon] scan mode byte[62] = 0
[canon] scan mode byte[63] = 0
[canon] scan mode byte[64] = 0
[canon] scan mode byte[65] = 0
[canon] scan mode byte[66] = 0
[canon] scan mode byte[67] = 0
[canon] scan mode byte[68] = 0
[canon] scan mode byte[69] = 0
[canon] scan mode byte[70] = 0
[canon] scan mode byte[71] = 0
[canon] scan mode byte[72] = 0
[canon] scan mode byte[73] = 0
[canon] attach: sending (extended) INQUIRY
[canon] >> inquiry
[canon] << inquiry
[canon] attach: sending MODE SENSE
[canon] >> mode_sense
[canon] << mode_sense
[canon] dev->sane.name = '/dev/sg1'
[canon] dev->sane.vendor = 'CANON'
[canon] dev->sane.model = 'IX-06015C       '
[canon] dev->sane.type = 'flatbed scanner'
[canon] >> get tpu stat
[canon] get scan mode: cmd[4]='0xC'
[canon] << get scan mode
[canon] scan mode control byte[0] = 11
[canon] scan mode control byte[1] = 0
[canon] scan mode control byte[2] = 0
[canon] scan mode control byte[3] = 0
[canon] scan mode control byte[4] = 2
[canon] scan mode control byte[5] = 6
[canon] scan mode control byte[6] = 0
[canon] scan mode control byte[7] = 1
[canon] scan mode control byte[8] = 39
[canon] scan mode control byte[9] = 16
[canon] scan mode control byte[10] = 0
[canon] scan mode control byte[11] = 0
[canon] scan mode control byte[12] = 4
[canon] scan mode control byte[13] = 176
[canon] scan mode control byte[14] = 0
[canon] scan mode control byte[15] = 12
[canon] scan mode control byte[16] = 0
[canon] TPU Status: 0
[canon] TPU ControlMode: 1
[canon] TPU Transparency: 45056
[canon] TPU PosNeg: 1
[canon] TPU FilmType: 0
[canon] << get tpu stat
[canon] >> get adf stat
[canon] get scan mode: cmd[4]='0xC'
[canon] << get scan mode
[canon] scan mode control byte[0] = 11
[canon] scan mode control byte[1] = 0
[canon] scan mode control byte[2] = 0
[canon] scan mode control byte[3] = 0
[canon] scan mode control byte[4] = 1
[canon] scan mode control byte[5] = 6
[canon] scan mode control byte[6] = 1
[canon] scan mode control byte[7] = 0
[canon] scan mode control byte[8] = 0
[canon] scan mode control byte[9] = 0
[canon] scan mode control byte[10] = 0
[canon] scan mode control byte[11] = 0
[canon] ADF Status: 0
[canon] ADF Priority: 0
[canon] ADF Problem: 0
[canon] ADF Feeder: 0
[canon] << get adf stat
[canon] bmu=0
[canon] mud=600
[canon] xres_default=600
[canon] xres_range.max=1200
[canon] xres_range.min=12
[canon] xres_range.quant=1
[canon] yres_default=600
[canon] yres_range.max=1200
[canon] yres_range.min=12
[canon] xres_range.quant=1
[canon] x_range.max=14157545
[canon] y_range.max=19395532
[canon] x_adf_range.max=5103
[canon] y_adf_range.max=8399
[canon] << attach
[canon] << attach_one
[canon] << sane_init
[canon] >> sane_get_devices
[canon] << sane_get_devices
device `canon:/dev/sg1' is a CANON IX-06015C        flatbed scanner
[canon] >> sane_exit
[canon] << sane_exit

This seems OK to me - the scanner is recognised by sane, and there are no 
error messages.

> Did you put /dev/sg1 in canon.conf or set a link /dev/scanner to
> /dev/sg1? I think that's necessary for the canon backend.

Yes, /dev/sg1 and /dev/scanner are in canon.conf and I have made links 
between the two. I also have /dev/sg1 and /usr/bin/xsane in 
/etc/sane.d/snapscan.conf.

Everything seems ready to go, but it doesn't. I'm puzzled. Any help or 
suggestions much appreciated.

Thanks again,
Barry



More information about the sane-devel mailing list