Hi, I just predicted some values from windows decoded log and filled entry for genesys_devices.c and recompiled sane-backend and used scanimage > image.pnm and got errors [genesys] sanei_genesys_read_register (0x41, 0xe5) completed [genesys] sanei_genesys_test_buffer_empty: buffer is empty [genesys] sanei_genesys_read_register (0x41, 0xe5) completed [genesys] sanei_genesys_test_buffer_empty: buffer is empty [genesys] sanei_genesys_read_register (0x41, 0xa5) completed [genesys] sanei_genesys_test_buffer_empty: buffer is filled [genesys] sanei_genesys_read_data_from_scanner (size = 7200 bytes) [genesys] genesys_read_valid_words [genesys] sanei_genesys_read_register (0x44, 0xdd) completed [genesys] sanei_genesys_read_register (0x43, 0x2d) completed [genesys] sanei_genesys_read_register (0x42, 0x00) completed [genesys] genesys_read_valid_words: 11741 words [genesys_gl646] gl646_bulk_read_data: requesting 7200 bytes [genesys_gl646] gl646_bulk_read_data: trying to read 7200 bytes of data [genesys_gl646] gl646_bulk_read_data read 7200 bytes, 0 remaining [genesys_gl646] gl646_bulk_read_data: completed [genesys] sanei_genesys_read_data_from_scanner: completed [genesys_gl646] gl646_end_scan (check_stop = 0) [genesys] sanei_genesys_write_register (0x01, 0x20) completed [genesys_gl646] gl646_end_scan: completed (i=0) [genesys] genesys_warmup_lamp: average = 31426.90 %, diff = 0.000 % [genesys] genesys_warmup_lamp: warmup timed out after 46 seconds. Lamp defective? scanimage: sane_start: Error during device I/O [genesys] sane_close: start [genesys] sane_close: exit [genesys] sane_exit: start [genesys] sane_exit: exit
What changes i need to do in genesys code and on which registers it depends?? Same error is occurring with HP2400 scanner also. Regards, parag. -------------- next part -------------- A non-text attachment was scrubbed... Name: genesys_devices.c Type: text/x-csrc Size: 25668 bytes Desc: not available Url : http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20060516/89cb2eeb/genesys_devices-0001.c From pie...@pirsoft.dnsalias.org Tue May 16 11:51:44 2006 From: pie...@pirsoft.dnsalias.org (Pierre Willenbrock) Date: Tue May 16 11:51:53 2006 Subject: [sane-devel] LiDE 500F: how to go further? In-Reply-To: <pine.lnx.4.61.0605161158050.7...@catan.informatik.tu-chemnitz.de> References: <200605021417.39020.chri...@attglobal.net> <200605021830.56197.chri...@attglobal.net> <pine.lnx.4.61.0605021338560.19...@limos.pfeiffer.edu> <200605032139.27907.chri...@attglobal.net> <pine.lnx.4.61.0605041002530.14...@catan.informatik.tu-chemnitz.de> <445d1051.5050...@pirsoft.dnsalias.org> <pine.lnx.4.61.0605081140090.7...@catan.informatik.tu-chemnitz.de> <4464fa2d.8060...@pirsoft.dnsalias.org> <pine.lnx.4.61.0605151138570.7...@catan.informatik.tu-chemnitz.de> <44685534.3060...@pirsoft.dnsalias.org> <pine.lnx.4.61.0605151634100.7...@catan.informatik.tu-chemnitz.de> <4468da65.1050...@pirsoft.dnsalias.org> <pine.lnx.4.61.0605161158050.7...@catan.informatik.tu-chemnitz.de> Message-ID: <4469bcd0.8090...@pirsoft.dnsalias.org> Ralph Sontag schrieb: > Because of sane-find-scanner says: > (vendor=0x04a9 [Canon], product=0x221f [CanoScan], chip=GL841) > I thought, it's a GL841. It is one of the gl84x. The gl841 and gl842 are identical, but the gl843 has small differences. There are writes on some register bits not defined for gl841/2, but i don't know if those are relevant. Regards, Pierre