# Re: Snapscan.... Help! (a few extra data)

From: John Coppens (jcoppens@linux2.uccor.edu.ar)
Date: Wed Dec 20 2000 - 07:12:02 PST

- Next message: Oliver Rauch: "Re: xsane-win32 0.67 and copy mode works"
  - Previous message: John Coppens: "Re: Snapscan.... Help!"
  - In reply to: cbagwell@sprynet.com: "Re: Re: Snapscan.... Help!"
  - Reply: Steve Underwood: "Re: Snapscan.... Help! (a few extra data)"
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  Hi Chris.

  A few (possibly) hints...

  I've been checking the debug log and found a few strange things.

  - Says buffer is size = 31725 bytes, 55 lines. At 1269 bytes/lines this
  can't be (should be 25). I checked the source code and found:

  DBG (DL_DATA_TRACE,
  "%s: effective buffer size = %lu bytes, %lu lines\n",
  me,
  (u_long) pss->buf_sz,
  (u_long) (pss->buf_sz ? pss->buf_sz / pss->lines : 0));

  I suppose this should be / pss->bytes_per_line

  - A bit before that, it says : set_window: bits-per-pixel set to 30

  How can this result in 3 bytes/pixel afterwards? I couldn't find
  how the extra 2 bits (*3) are sent... Are they packed in another block?

  - The 'sleep' button doesn't work after using xsane... The light does
  switch off after some 10-15 mins.

  - Changing the buffer size gives a Segmentation error (when scanning
  fullsize. Preview works though). Tested size was 33000.

  Cheers

  John

  On Tue, 19 Dec 2000 12:36:03 -0500 cbagwell@sprynet.com wrote/El dddd> Have you downloaded and installed the snapscan driver from
  > sourceforge? It corrects a few known color-scanning issues.
  > http://sourceforge.net/projects/snapscan
  >
  > Also, you might try changing the snapscan.h file to different
  > types of scanners for your 1212U (ie, tell its a SNAPSCAN300
  > or a SNAPSCAN600 or a PRISA640, etc).
  >
  > Chris

      --
      --
      Source code, list archive, and docs: http://www.mostang.com/sane/
      To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com

  - Next message: Oliver Rauch: "Re: xsane-win32 0.67 and copy mode works"
  - Previous message: John Coppens: "Re: Snapscan.... Help!"
  - In reply to: cbagwell@sprynet.com: "Re: Re: Snapscan.... Help!"
  - Reply: Steve Underwood: "Re: Snapscan.... Help! (a few extra data)"
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  This archive was generated by hypermail 2b29 : Wed Dec 20 2000 - 07:01:34 PST