[sane-devel] Supported Epson Perfection 1260 produces 2 background stripe colours

Julian H. Stacey jhs at berklix.com
Wed Aug 30 22:19:54 UTC 2017


Hi Olaf Meeuwissen & sane-devel at lists.alioth.debian.org

PS re my:
> I hope the log is useful to someone ? 
> I'm reading it with eyes of a newbie, but I see lot of
> 	[plustek] usbDev_ScanEnd(), start=1, park=0
> 	[plustek] We're little-endian!  NatSemi LM983x is big!
> 	[plustek] --> Must swap data!
> line 127:
> /usr/ports/graphics/sane-backends/work/sane-backends-1.0.25/backend/
>   plustek-usbhw.c:    DBG( _DBG_READ, "--> Must swap data!\n" );
> 
> I dont know the code, if one could debug if swapping is happening OK ?
> 
> Is it concidence the white paper shows yellow then red exactly halfway
> across the page.

The scanner work OK in monchrome, output & log etc here:
  http://www.berklix.com/~jhs/tmp/epson_perfection_1260/scanimage/5-small/files
  SANE_DEBUG_PLUSTEK=127 scanimage --depth 8 --buffer-size=8 -x250 -y150  \
	--mode Lineart > out.pnm 2> log

  http://www.berklix.com/~jhs/tmp/epson_perfection_1260/scanimage/6-small/files
  SANE_DEBUG_PLUSTEK=127 scanimage --depth 8 --buffer-size=8 -x250 -y150  \
	--mode Lineart --resolution 300 > out.pnm 2> log

Using 8 bit colour & reducing buffer size from 32K to 8K didnt help.

Might it be some multi byte colour ordering problem ?
vi -c/usb_HostSwap \
   plustek-usbcal.c plustek-usbhw.c plustek-usbimg.c plustek-usbshading.c

Cheers,
Julian
-- 
Julian H. Stacey, Computer Consultant, BSD Linux Unix Systems Engineer, Munich
 Reply below, Prefix '> '. Plain text, No .doc, base64, HTML, quoted-printable.
 http://berklix.eu/brexit/#3,500,000_stolen_votes_inc_700,000_in_EU



More information about the sane-devel mailing list