[sane-devel] HP 5590 not working in 1.0.19
A Divendres 02 Maig 2008, Ilia Sotnikov va escriure: On 5/1/08, Albert Cervera i Areny albert at nan-tic.com wrote: A Dimarts 29 Abril 2008, Ilia Sotnikov va escriure: Anyway, I agree, the error shouldn't be there. May I ask you to collect the debug information but with SANE_DEBUG_HP5590=50 set? The debug information will contain more details, including scanner firmware version. I suspect that it could be different from mine. Here it is... hope this helps! From what I see, your device has firmware version 1.05, mine had 0.67. That could be one reason. Could I ask you to conduct the same test and supply the log, but using another frontend, perhaps Xsane? Also with debugging (SANE_DEBUG_HP5590=50) enabled. Sure, what do you want me to try? Using ADF, plain? Anyway, the log looks normal for me, except for scanner failed to start scanning operarion for 2nd page. Next step would be to gather Usbsnoop log from Windows machine during the same operation. Do you have Windows installed on some machine where you could do that? Yes, I've got a Windows machine arround. I'll try that. -- Albert Cervera i Areny http://www.NaN-tic.com
[sane-devel] HP 5590 not working in 1.0.19
On 5/5/08, Albert Cervera i Areny albert at nan-tic.com wrote: Sure, what do you want me to try? Using ADF, plain? The same as with 'scanadf' (100 DPI, ADF, lineart if I remember correctly). Yes, I've got a Windows machine arround. I'll try that. Great. The scan mode should be the same as with SANE frontends. Thanks in advance, -- Ilia Sotnikov
[sane-devel] HP Scanjet 3670
It seems that this scanner is still unsupported in sane. The last entry about this scanner is from 2003. That's why I'm worried that nobody works on it. ?I have shortly begun with Programming in C. I have really no good skills but want to help. Is still somebody working on the genesys-backend for this scanner? Can I help in some form? Markus Kummer
[sane-devel] SANE 1.1.0 Release discussion
Lets talk about SANE 1.1.0 release, both timetables and deliverables. I have tried to pick some things from recent discussions, and build on the momentum provided by stef and julien. It is not my intention to hijack this process, but I have some spare cycles coming up, and we are all tired of talking :) I have five general points for 1.1.x: - no changes to function calls - no changes to structures - 1.0 backends forward compatible with 1.1 - improve backend consistency - support more advanced scanners Based on those ideas, I propose: 1. Consistent, translatable option groups (please add/change to this list): 'Standard' = source, mode, resolution 'Geometry' = x/y and paper size params 'Enhancement' = bright/gamma/contrast/thresh, rif, sharpen, halftone settings, etc 'Advanced' = compression, calibration, double/manual feed controls, backlights, tests, dropout, etc 'Sensors/Buttons' = an option for every hardware button or sensor others? 2. Consistent well known-options, button handling and papersize come to mind. others? 3. Two new return codes: SANE_STATUS_HW_LOCK to tell the frontend that the scanner has a hardware lock installed, and SANE_STATUS_WARMING_UP for lamp. 4. More SANE_FRAME types, jpeg, fax, IR, text, xml. 5. Add SANE_TYPE_HW_BUTTON for scanners' buttons. The constraint field would allow to distinguish between push buttons (0 or 1 )and 'wheel buttons' (0 to N). 6. Common debugging bitmask: 1 major errors 2 minor errors 4 function start/stop msgs 8 function detail msg 16 SANE_OPTION processing msgs 32 calibration msgs 64 outgoing command dump 128 incoming data dump help me fix that... 6. Add common configuration reading function in sanei_* so that new or maintained backends can benefit from it. Wholesale config file restructuring? Other things from stef's list have been left out because the dont meet my 5 points, anyone else have some more? My plan is to work on this over the next two months, and aim for a feature freeze around July 4th, with release close to July 30th, though we could certainly accelerate that with some help. Comments welcome. allan -- The truth is an offense, but not a sin
[sane-devel] SANE 1.1.0 Release discussion
On Mon, 5 May 2008 13:56:58 -0400 m. allan noah kitno455 at gmail.com wrote: 3. Two new return codes: SANE_STATUS_HW_LOCK to tell the frontend that the scanner has a hardware lock installed, and SANE_STATUS_WARMING_UP for lamp. it would be fine if we can keep those in sync with sane evolution. 4. More SANE_FRAME types, jpeg, fax, IR, text, xml. those should already be in sync. it should noted that some frontends might just crash if given a new frame type. 6. Add common configuration reading function in sanei_* so that new or maintained backends can benefit from it. Wholesale config file restructuring? that would be real good! I was thinking about it but never had the time to implement :( I'm not sure it's worthwhile to bump the version to 1.1 given there are no incompatibilities. -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it
[sane-devel] SANE 1.1.0 Release discussion
Hello, I think this is a reasonable plan, and I feel like working on it. Regards, Stef
[sane-devel] Epson Perfection 2400 - conks out on desktop machine but works on laptop
My scanner has been in storage while I had no room for it, but I reinstalled it today after removing a redundant printer. However, despite both my laptop and my desktop having similar setups, the scanner fails - usually coming to a halt - part way through a scan on my desktop machine. It does not do so on my laptop, but I cannot see any reason why it would fail on the desktop - there are no obvious error messages. The machines are both running Debian etch, sane 1.0.18. I use the epson backend, and have also tried epkowa on the laptop. How can I work out what is wrong with the setup on the desktop? It is mainly on that machine I want the scanner to work. -- Phil Reynolds o mail: phil-sane at tinsleyviaduct.com |L_ \ / Web: http://www.tinsleyviaduct.com/phil/ (_)- \/ Waltham 66, Emley Moor 69, Droitwich 79, Windows 95
[sane-devel] HP Scanjet 3670
Le Monday 05 May 2008 16:50:36 Markus Kummer, vous avez ?crit?: It seems that this scanner is still unsupported in sane. The last entry about this scanner is from 2003. That's why I'm worried that nobody works on it. ?I have shortly begun with Programming in C. I have really no good skills but want to help. Is still somebody working on the genesys-backend for this scanner? Can I help in some form? Markus Kummer Hello, you may search the archive about mails for HP 2400 support. The answer is the same. Basically, the process is to record USB logs of the scanner working under windows, then process them to extract commands and register settings, then modify the genesys_gl646.c code to handle it the same. There is some documentation at http://stef.dev.free.fr/sane/genesys/index.html . The C code involved is not high, all you'll have to do some modification of existing code. There is allready an device description of the 3670c in genesys_devices.c . To do a quick test, you can uncomment (remove the '#' at the start of the line) the usb id of your scanner in genesys.conf (which is usually located at /etc/sane.d), then try to use it from scanimage. It should be detected and I expect it to fail during warm-up. Regards, Stef
[sane-devel] SANE 1.1.0 Release discussion
On Mon, May 5, 2008 at 2:06 PM, Alessandro Zummo azummo-lists at towertech.it wrote: On Mon, 5 May 2008 13:56:58 -0400 m. allan noah kitno455 at gmail.com wrote: 3. Two new return codes: SANE_STATUS_HW_LOCK to tell the frontend that the scanner has a hardware lock installed, and SANE_STATUS_WARMING_UP for lamp. it would be fine if we can keep those in sync with sane evolution. Sane Evo is the fork. It is the fork's job to keep up with mainline :) 4. More SANE_FRAME types, jpeg, fax, IR, text, xml. those should already be in sync. it should noted that some frontends might just crash if given a new frame type. 6. Add common configuration reading function in sanei_* so that new or maintained backends can benefit from it. Wholesale config file restructuring? that would be real good! I was thinking about it but never had the time to implement :( I'm not sure it's worthwhile to bump the version to 1.1 given there are no incompatibilities. you've just stated that poorly written front-ends may crash, that is enough incompatibility to justify the minor version bump. Lets discuss which features are appropriate to a 1.1.0 release, not what to call it. allan -- The truth is an offense, but not a sin
[sane-devel] SANE 1.1.0 Release discussion
On Mon, 5 May 2008 14:38:34 -0400 m. allan noah kitno455 at gmail.com wrote: On Mon, May 5, 2008 at 2:06 PM, Alessandro Zummo azummo-lists at towertech.it wrote: On Mon, 5 May 2008 13:56:58 -0400 m. allan noah kitno455 at gmail.com wrote: 3. Two new return codes: SANE_STATUS_HW_LOCK to tell the frontend that the scanner has a hardware lock installed, and SANE_STATUS_WARMING_UP for lamp. it would be fine if we can keep those in sync with sane evolution. Sane Evo is the fork. It is the fork's job to keep up with mainline :) agreed but I have already included the warming up one :) -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it
[sane-devel] Epson Perfection 2400 - conks out on desktop machine but works on laptop
On Mon, May 05, 2008 at 07:20:44PM +0100, Phil Reynolds wrote: My scanner has been in storage while I had no room for it, but I reinstalled it today after removing a redundant printer. However, despite both my laptop and my desktop having similar setups, the scanner fails - usually coming to a halt - part way through a scan on my desktop machine. It does not do so on my laptop, but I cannot see any reason why it would fail on the desktop - there are no obvious error messages. Self-followup - I have enabled debug output for the epson backend and had it fail on a preview. This is what happened... (lots of buf before this of course, various values) [epson] buf[14332] ff ? [epson] buf[14333] ff ? [epson] buf[14334] ff ? [epson] buf[14335] ff ? [epson] send buf, size = 1 [epson] buf[0] 06 . [epson] w_cmd_count = 44 [epson] r_cmd_count = 3804 [epson] sane_read: begin scan2 [epson] sane_read: end [epson] sane_read: begin [epson] sane_read: end [epson] sane_read: begin [epson] sane_read: end [epson] sane_read: begin [epson] sane_read: end [epson] sane_read: begin [epson] sane_read: begin scan1 [epson] w_cmd_count = 44 [epson] r_cmd_count = 3804 [epson] receive buf, expected = 6, got = 0 [epson] scan_finish() [epson] send buf, size = 2 [epson] buf[0] 1b . [epson] buf[1] 66 f [epson] w_cmd_count = 45 [epson] r_cmd_count = 3804 [epson] send buf, size = 2 [epson] buf[0] 1b . [epson] buf[1] 66 f [epson] w_cmd_count = 46 [epson] r_cmd_count = 3804 [epson] w_cmd_count = 46 [epson] r_cmd_count = 3804 [epson] receive buf, expected = 4, got = 0 [epson] Extended status flag request failed [epson] setvalue(option = 10, value = 0x82a23a8) [epson] setvalue(option = 36, value = 0x82a23c4) [epson] set = 0.338837 [epson] setvalue(option = 37, value = 0x82a23c8) [epson] set = 11.182343 [epson] setvalue(option = 38, value = 0x82a23cc) [epson] set = 209.415329 [epson] setvalue(option = 39, value = 0x82a23d0) [epson] set = 296.841141 [epson] setvalue(option = 2, value = 0x82a23e8) [epson] setvalue(option = 3, value = 0x82a23e0) [epson] setvalue(option = 33, value = 0xbff423d0) [epson] setvalue(option = 36, value = 0xbff4130c) [epson] set = 0.338837 [epson] setvalue(option = 37, value = 0xbff4130c) [epson] set = 11.182343 [epson] setvalue(option = 38, value = 0xbff4130c) [epson] set = 209.415329 [epson] setvalue(option = 39, value = 0xbff4130c) [epson] set = 296.841125 [epson] setvalue(option = 36, value = 0xbff40de8) [epson] set = 0.338821 [epson] setvalue(option = 37, value = 0xbff40de8) [epson] set = 11.182343 [epson] setvalue(option = 38, value = 0xbff40de8) [epson] set = 209.415329 [epson] setvalue(option = 39, value = 0xbff40de8) [epson] set = 296.841125 [epson] sane_get_parameters() [epson] Returning saved params structure [epson] Restoring parameters from saved parameters [epson] Preview = 0 [epson] Resolution = 300 [epson] get para 0x8236018 0x8236708 tlx 0.338821 tly 11.182343 brx 209.415329 bry 296.841125 [mm] [epson] params.format = 0 [epson] params.last_frame = 1 [epson] params.bytes_per_line = 632 [epson] params.pixels_per_line = 632 [epson] params.lines = 877 [epson] params.depth = 8 [epson] sane_get_parameters() [epson] Returning saved params structure [epson] Restoring parameters from saved parameters [epson] Preview = 0 [epson] Resolution = 300 [epson] get para 0x8236018 0x8236708 tlx 0.338821 tly 11.182343 brx 209.415329 bry 296.841125 [mm] [epson] params.format = 0 [epson] params.last_frame = 1 [epson] params.bytes_per_line = 632 [epson] params.pixels_per_line = 632 [epson] params.lines = 877 [epson] params.depth = 8 [epson] setvalue(option = 36, value = 0xbff4238c) [epson] set = 0.338852 [epson] setvalue(option = 37, value = 0xbff4238c) [epson] set = 1.355438 [epson] setvalue(option = 38, value = 0xbff4238c) [epson] set = 213.820496 [epson] setvalue(option = 39, value = 0xbff4238c) [epson] set = 296.841156 [epson] setvalue(option = 36, value = 0xbff41e68) [epson] set = 0.338837 [epson] setvalue(option = 37, value = 0xbff41e68) [epson] set = 1.355438 [epson] setvalue(option = 38, value = 0xbff41e68) [epson] set = 213.820496 [epson] setvalue(option = 39, value = 0xbff41e68) [epson] set = 296.841141 [epson] sane_get_parameters() [epson] Returning saved params structure [epson] Restoring parameters from saved parameters [epson] Preview = 0 [epson] Resolution = 300 [epson] get para 0x8236018 0x8236708 tlx 0.338837 tly 1.355438 brx 213.820496 bry 296.841141 [mm] [epson] params.format = 0 [epson] params.last_frame = 1 [epson] params.bytes_per_line = 632 [epson] params.pixels_per_line = 632 [epson] params.lines = 877 [epson] params.depth = 8 The preview stopped about 14 cm down the image area. -- Phil Reynolds o mail: phil-sane at tinsleyviaduct.com |L_ \ / Web: http://www.tinsleyviaduct.com/phil/ (_)- \/ Waltham 66, Emley Moor 69, Droitwich 79, Windows 95
[sane-devel] Epson Perfection 2400 - conks out on desktop machine but works on laptop
1. can you be sure that you are not using epkowa on the machine that works 2. can you try using epson2 from sane 1.0.19? allan On Mon, May 5, 2008 at 2:58 PM, Phil Reynolds phil-sane at tinsleyviaduct.com wrote: On Mon, May 05, 2008 at 07:20:44PM +0100, Phil Reynolds wrote: My scanner has been in storage while I had no room for it, but I reinstalled it today after removing a redundant printer. However, despite both my laptop and my desktop having similar setups, the scanner fails - usually coming to a halt - part way through a scan on my desktop machine. It does not do so on my laptop, but I cannot see any reason why it would fail on the desktop - there are no obvious error messages. Self-followup - I have enabled debug output for the epson backend and had it fail on a preview. This is what happened... (lots of buf before this of course, various values) [epson] buf[14332] ff ? [epson] buf[14333] ff ? [epson] buf[14334] ff ? [epson] buf[14335] ff ? [epson] send buf, size = 1 [epson] buf[0] 06 . [epson] w_cmd_count = 44 [epson] r_cmd_count = 3804 [epson] sane_read: begin scan2 [epson] sane_read: end [epson] sane_read: begin [epson] sane_read: end [epson] sane_read: begin [epson] sane_read: end [epson] sane_read: begin [epson] sane_read: end [epson] sane_read: begin [epson] sane_read: begin scan1 [epson] w_cmd_count = 44 [epson] r_cmd_count = 3804 [epson] receive buf, expected = 6, got = 0 [epson] scan_finish() [epson] send buf, size = 2 [epson] buf[0] 1b . [epson] buf[1] 66 f [epson] w_cmd_count = 45 [epson] r_cmd_count = 3804 [epson] send buf, size = 2 [epson] buf[0] 1b . [epson] buf[1] 66 f [epson] w_cmd_count = 46 [epson] r_cmd_count = 3804 [epson] w_cmd_count = 46 [epson] r_cmd_count = 3804 [epson] receive buf, expected = 4, got = 0 [epson] Extended status flag request failed [epson] setvalue(option = 10, value = 0x82a23a8) [epson] setvalue(option = 36, value = 0x82a23c4) [epson] set = 0.338837 [epson] setvalue(option = 37, value = 0x82a23c8) [epson] set = 11.182343 [epson] setvalue(option = 38, value = 0x82a23cc) [epson] set = 209.415329 [epson] setvalue(option = 39, value = 0x82a23d0) [epson] set = 296.841141 [epson] setvalue(option = 2, value = 0x82a23e8) [epson] setvalue(option = 3, value = 0x82a23e0) [epson] setvalue(option = 33, value = 0xbff423d0) [epson] setvalue(option = 36, value = 0xbff4130c) [epson] set = 0.338837 [epson] setvalue(option = 37, value = 0xbff4130c) [epson] set = 11.182343 [epson] setvalue(option = 38, value = 0xbff4130c) [epson] set = 209.415329 [epson] setvalue(option = 39, value = 0xbff4130c) [epson] set = 296.841125 [epson] setvalue(option = 36, value = 0xbff40de8) [epson] set = 0.338821 [epson] setvalue(option = 37, value = 0xbff40de8) [epson] set = 11.182343 [epson] setvalue(option = 38, value = 0xbff40de8) [epson] set = 209.415329 [epson] setvalue(option = 39, value = 0xbff40de8) [epson] set = 296.841125 [epson] sane_get_parameters() [epson] Returning saved params structure [epson] Restoring parameters from saved parameters [epson] Preview = 0 [epson] Resolution = 300 [epson] get para 0x8236018 0x8236708 tlx 0.338821 tly 11.182343 brx 209.415329 bry 296.841125 [mm] [epson] params.format = 0 [epson] params.last_frame = 1 [epson] params.bytes_per_line = 632 [epson] params.pixels_per_line = 632 [epson] params.lines = 877 [epson] params.depth = 8 [epson] sane_get_parameters() [epson] Returning saved params structure [epson] Restoring parameters from saved parameters [epson] Preview = 0 [epson] Resolution = 300 [epson] get para 0x8236018 0x8236708 tlx 0.338821 tly 11.182343 brx 209.415329 bry 296.841125 [mm] [epson] params.format = 0 [epson] params.last_frame = 1 [epson] params.bytes_per_line = 632 [epson] params.pixels_per_line = 632 [epson] params.lines = 877 [epson] params.depth = 8 [epson] setvalue(option = 36, value = 0xbff4238c) [epson] set = 0.338852 [epson] setvalue(option = 37, value = 0xbff4238c) [epson] set = 1.355438 [epson] setvalue(option = 38, value = 0xbff4238c) [epson] set = 213.820496 [epson] setvalue(option = 39, value = 0xbff4238c) [epson] set = 296.841156 [epson] setvalue(option = 36, value = 0xbff41e68) [epson] set = 0.338837 [epson] setvalue(option = 37, value = 0xbff41e68) [epson] set = 1.355438 [epson] setvalue(option = 38, value = 0xbff41e68) [epson] set = 213.820496 [epson] setvalue(option = 39, value = 0xbff41e68) [epson] set = 296.841141 [epson] sane_get_parameters() [epson] Returning saved params structure [epson] Restoring parameters from saved parameters [epson] Preview = 0 [epson] Resolution = 300 [epson] get para 0x8236018 0x8236708 tlx 0.338837 tly 1.355438 brx 213.820496 bry 296.841141 [mm] [epson] params.format = 0 [epson] params.last_frame = 1 [epson] params.bytes_per_line =
[sane-devel] Epson Perfection 2400 - conks out on desktop machine but works on laptop
On Mon, May 05, 2008 at 03:23:20PM -0400, m. allan noah wrote: 1. can you be sure that you are not using epkowa on the machine that works Yes - I tried both - both work. 2. can you try using epson2 from sane 1.0.19? Not easily - I will look further into the chances though. -- Phil Reynolds o mail: phil-sane at tinsleyviaduct.com |L_ \ / Web: http://www.tinsleyviaduct.com/phil/ (_)- \/ Waltham 66, Emley Moor 69, Droitwich 79, Windows 95
[sane-devel] SANE 1.1.0 Release discussion
On Mon, 5 May 2008 13:56:58 -0400 m. allan noah kitno455 at gmail.com wrote: Other things from stef's list have been left out because the dont meet my 5 points, anyone else have some more? there are some patches that Julien included in its debian package that might be useful. I especially like the one that searches for config files in /etc/sane.d/dll.d -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it
[sane-devel] SANE 1.1.0 Release discussion
On Mon, 5 May 2008 13:56:58 -0400 m. allan noah kitno455 at gmail.com wrote: 2. Consistent well known-options, button handling and papersize come to mind. others? when I wrote epson2 i removed the paper size support that was in epson. I believe the paper size is something better suited for a frontend. opinions? 4. More SANE_FRAME types, jpeg, fax, IR, text, xml. shall xml be a free type or shall we define its tags? -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it
[sane-devel] SANE 1.1.0 Release discussion
Alessandro Zummo azummo-lists at towertech.it wrote: Hi, there are some patches that Julien included in its debian package that might be useful. I especially like the one that searches for config files in /etc/sane.d/dll.d That's the only one that can be integrated into SANE upstream, actually. All the other patches are not fit for upstream. Especially the minimum linkage patch is guaranteed to break some proprietary Unices. JB. -- Julien BLACHE http://www.jblache.org jb at jblache.org GPG KeyID 0xF5D65169
[sane-devel] SANE 1.1.0 Release discussion
On Mon, May 5, 2008 at 3:54 PM, Alessandro Zummo azummo-lists at towertech.it wrote: On Mon, 5 May 2008 13:56:58 -0400 m. allan noah kitno455 at gmail.com wrote: 2. Consistent well known-options, button handling and papersize come to mind. others? when I wrote epson2 i removed the paper size support that was in epson. I believe the paper size is something better suited for a frontend. opinions? I include it based on long discussion i had with E. Bersac about adf machines and how to properly align the x/y coordinates when using paper that is narrower than the maximum. For instance, i have seen scanners that have only a single paper guide, and move narrow pages to the left instead of center. there is no way for the frontend to know this, so the backend should account for it, but it will need to know the paper size. 4. More SANE_FRAME types, jpeg, fax, IR, text, xml. shall xml be a free type or shall we define its tags? I dont know. that is why i originally left it out of 1.1.0, until some upstart came along and forced my hand :) seriously, i think we should leave it undefined for now, and wait until we have some examples. allan -- The truth is an offense, but not a sin
[sane-devel] Epson Perfection 2400 - conks out on desktop machine but works on laptop
On Mon, May 05, 2008 at 03:23:20PM -0400, m. allan noah wrote: 2. can you try using epson2 from sane 1.0.19? After much backporting, I have tried this. It gives an I/O error rather than just blindly failing... Error during read: Error during device I/O. Performance with both old and new both epson and epkowa is unchanged - it just seems to stop. -- Phil Reynolds o mail: phil-sane at tinsleyviaduct.com |L_ \ / Web: http://www.tinsleyviaduct.com/phil/ (_)- \/ Waltham 66, Emley Moor 69, Droitwich 79, Windows 95
[sane-devel] SANE 1.1.0 Release discussion
On Mon, May 5, 2008 at 3:51 PM, Julien BLACHE jb at jblache.org wrote: Alessandro Zummo azummo-lists at towertech.it wrote: Hi, there are some patches that Julien included in its debian package that might be useful. I especially like the one that searches for config files in /etc/sane.d/dll.d That's the only one that can be integrated into SANE upstream, actually. All the other patches are not fit for upstream. what is the benefit of this patch? allan -- The truth is an offense, but not a sin