[sane-devel] LiDE 90 half ccd

Guillaume Gastebois guillaume.gastebois at free.fr
Sat Apr 19 21:27:33 UTC 2008


Hello,

> Guillaume Gastebois schrieb:
>> Hello,
>>
>> Me again !
>>
>> I'm trying to find what are GPIO14,13,12 and 11 for.
>>
>> I find GPIO11=home switch and must be 0.
>> I thought I found GPIO14 was half CCD but by adding :
>> /* gpio part. here: for canon lide 90 */
>> if (dev->model->gpo_type == GPO_CANONLIDE90)
>> {
>> r = sanei_genesys_get_address (reg, 0x6c);
>> if (half_ccd)
>> r->value |= 0x20;
>> else
>> r->value &= ~0x20;
>> }
>>
With code before and command scanimage, I get half sized image.
Scanimage gives me these parameters :
         pixels: 2574
         lines: 3531
         depth: 8
         channels: 1
         exposure_time: 5600
         xres: 300
         yres: 300
         half_ccd: yes
         stagger: 0
         max_shift: 0

Why is half ccd activated ?

I tryed with 0x1a=0x20 and it doesn't change anything. Doese it mean 
that clk3 is not used ?

>> in genesys_gl841.c line ~2053 I had image compressed x2 in the left and
>> second right part black with 0x6c=12 and not with 0x6c=1a. Strange.
>>
>> I decided to comment out these lines yet for tests.
>>
>> In genesys_841.c I see conditions with GPO_CANONLIDE35 for gl841_feed
>> function (lines ~4309 and ~4913). I added GPO_CANONLIDE90 too. What is
>> this function for ? Is it usefull to add lide 90 ?
> 
> no, these don't help your scanner. the feed is used to position the 
> scanning head at the white calibration strip. This is(should not) be 
> needed for your scanner.
> 

Regards
Guillaume



More information about the sane-devel mailing list