[sane-devel] genesys backend

Luke Campagnola lcampagn at mines.edu
Sat Sep 24 07:11:59 UTC 2005


On September 23 2005 15:33, Pierre Willenbrock wrote:
> As always a full patch to get Canon LiDE 35/50 to work can be found
> here(will be updated to match experimental cvs):
> http://www.pirsoft-dsl-dropzone.de/genesys_gl841.diff.bz2

Update: 

I ran the test program from http://www.pirsoft-dsl-dropzone.de/, and stopped 
it after the scan head had moved a few cm, then ran scanimage again and it 
worked without any grinding. I am assuming, then, that the scan head was 
originally parked all the way against the front end (closest to the buttons), 
and the backend expected it to start farther away from the front end. 

Also, scanimage segfaulted when the head reached the opposite end of the 
scanner. I ran xscanimage and tried to get a preview image, with the same 
result. Here's a backtrace:

Program received signal SIGSEGV, Segmentation fault.
0xb786c5fd in fclose () from /lib/tls/libc.so.6
(gdb) backtrace
#0  0xb786c5fd in fclose () from /lib/tls/libc.so.6
#1  0xb75a6853 in genesys_read_ordered_data (dev=0x8097070, 
destination=0xbfffc620 'ÿ' <repeats 200 times>..., len=0xbfffc588) at 
genesys.c:3806
#2  0xb75a866f in sane_genesys_read (handle=0x80ca330, buf=0xbfffc620 'ÿ' 
<repeats 200 times>..., max_len=0, len=0xbfffc614) at genesys.c:5178
#3  0xb79efc69 in sane_dll_read (handle=0x80ca180, data=0xbfffc620 'ÿ' 
<repeats 200 times>..., max_length=8192, length=0xbfffc614) at dll.c:1164
#4  0xb79eff34 in sane_read (h=0x0, buf=0x0, maxlen=0, lenp=0x0) at dll-s.c:52
#5  0x08051d0f in input_available (data=0x81535d8, source=-1, 
cond=GDK_INPUT_READ) at preview.c:577
#6  0x08052767 in scan_start (p=0x81535d8) at preview.c:958
#7  0x08053cc4 in preview_scan (p=0x81535d8) at preview.c:1500


Luke



More information about the sane-devel mailing list