[sane-devel] Network scanners
2008/9/3 rozelak at volny.cz: I really appologise for multiple sending, I forgot to fill subject :-(. Plese ignore my previous post ... On Tuesday 18 of March 2008, Johannes Meixner wrote: Hello, On Mar 14 16:33 rozelak at volny.cz wrote (shortened): I would like to ask, how network scanners are supported. ... I am interested, as we have Canon iR2200 copy/printer/scanner (huge) machine in my work, and I would like to know if it can be accessed from linux (or SANE in general). I think that the question is whether a SANE driver (i.e. a SANE backend) is really needed to use it with Linux or whether one can use this device also stand-alone. Normally one can scan directly on a big and fat network printer scanner copier and specify scan resolution and image file format (e.g. tiff, PDF, ...) and all the other scanning options directly at the device and in particular one can specify an e-mail address to which the device will send the scanned image file so that one will receive the scanned image as a mail attachment according to what was specified as image file format. This way of operating is usually much more convenient for the user because when you would use a SANE backend you would have to specify all the scanning parameters on your workstation by using a SANE frontend. But your workstation is normally far away from the network scanner device so that you would have to place a sheet in the network scanner and post a big red note on the network scanner that you are currently using it for scanning so that others know what is going on and don't remove your sheet, then walk back to your workstation to specify the scanning parameters and start the scan and finally you would have to walk again to the network scanner to fetch your sheet and remove your note and walk back to your workstation. Of course this way of operating is much better for the physical health of the company staff ;-) Yes, you are absolutely right! Operating scanner as you described is absolutely silly ans useless. Originally I thought about starting SANE (through a frontend) and telling it that images will be received from network scanner (of given type) sitting on given address. Then go to scanner and scan images one after another (with scanning parameters set on the scanner, as you wrote). SANE will wait and receive the scanned images as they go through the scanner. When I return back to the computer, there will be images opened in the frontent, ready to be saved to disc (or already saved in some temporary location ...). OK, there are some issues about stealing scanned images to others, when I would start SANE and another person starts scanning earlier than me. The question also is, is such solution is possible (may not be supported by network scanner machines). I ask, as just recently I tried to scan something, but I was not able to get images from the scanner (e.g. through e-mail, as you wrote). It seems that this e-mailing is not configured from some reasons, but I am not able to change it. I enden by deleting the images from scanner and asked someone to scan it for me to another day. I know that people using Windows have an application which allows a download of scanned images from the machine. But I do not know details about the app - should I try to get some more info? I was just thinking, if when it is possible to access scanner from Windows, if it is also possible (or planned) to access it from linux in the same (or preferrably better ;-)) way. If such possibility is still as silly as you described earlier, just write it to me and forget it ;-) we have a big xerox scanner with a harddrive in it. when you scan, it stores the images on disk, and you reach them thru a webserver that runs on the machine. fujitsu's small network scanner seems to require a windows server running a daemon to receive the images. other machines use email. there is no reason that these things could not also use linux, but you would need to do a bit of network sniffing, and it would be very different for each machine type. allan -- The truth is an offense, but not a sin
[sane-devel] test backend
In the test backend, the only option with cap SANE_CAP_AUTOMATIC also has cap SANE_CAP_INACTIVE. This means that it is impossible to test sane_set_auto. Is this a bug, or am I missing something? Regards Jeff
[sane-devel] test backend
you would have to inspect the backend to see if there is any code to deal with that option being in automatic mode. if so, turn it on. allan On Wed, Sep 3, 2008 at 9:58 AM, Jeffrey Ratcliffe jeffrey.ratcliffe at gmail.com wrote: In the test backend, the only option with cap SANE_CAP_AUTOMATIC also has cap SANE_CAP_INACTIVE. This means that it is impossible to test sane_set_auto. Is this a bug, or am I missing something? Regards Jeff -- sane-devel mailing list: sane-devel at lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-request at lists.alioth.debian.org -- The truth is an offense, but not a sin
[sane-devel] test backend
actually, if you look at the code, that option is enabled if you set 'enable-test-options' allan On Wed, Sep 3, 2008 at 12:54 PM, m. allan noah kitno455 at gmail.com wrote: you would have to inspect the backend to see if there is any code to deal with that option being in automatic mode. if so, turn it on. allan On Wed, Sep 3, 2008 at 9:58 AM, Jeffrey Ratcliffe jeffrey.ratcliffe at gmail.com wrote: In the test backend, the only option with cap SANE_CAP_AUTOMATIC also has cap SANE_CAP_INACTIVE. This means that it is impossible to test sane_set_auto. Is this a bug, or am I missing something? Regards Jeff -- sane-devel mailing list: sane-devel at lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-request at lists.alioth.debian.org -- The truth is an offense, but not a sin -- The truth is an offense, but not a sin
[sane-devel] sane-devel Digest, Vol 39, Issue 7
From: Bob Dronski dron...@gmail.com Thanks so much for all your help. I'm thrilled to say that the scanner works after a new build of both libusb and Sane! There are a couple of issues that still occur, but basically, it works. Great! The next question is: was the USB PID in the mp730 code or the imageclass code? -Dennis (if there's nothing else, I'm going back to lurk mode)
[sane-devel] sane-devel Digest, Vol 39, Issue 7
Bob, If you got the scanner working with PID in file pixma_mp730.c, could you do again a test with the PID in file pixma_imageclass.c to check if MF4150 can also be supported as MF4140 is, this would make the backend much more ergonomic for those scanners. Nicolas Le mercredi 03 septembre 2008 ? 10:04 -0700, Dennis Lou a ?crit : From: Bob Dronski dronski at gmail.com Thanks so much for all your help. I'm thrilled to say that the scanner works after a new build of both libusb and Sane! There are a couple of issues that still occur, but basically, it works. Great! The next question is: was the USB PID in the mp730 code or the imageclass code? -Dennis (if there's nothing else, I'm going back to lurk mode)
[sane-devel] sane-devel Digest, Vol 39, Issue 7
Perfect then. Will simply update comments and doc for those MFs to reflect they are supported. Nicolas Le mercredi 03 septembre 2008 ? 14:48 -0500, Bob Dronski a ?crit : Nicolas, When I said I rebuilt the code, I meant the original code. It's working under pixma_imageclass. Bob Sent from my iPhone On Sep 3, 2008, at 2:32 PM, Nicolas nicolas.martin at freesurf.fr wrote: Bob, If you got the scanner working with PID in file pixma_mp730.c, could you do again a test with the PID in file pixma_imageclass.c to check if MF4150 can also be supported as MF4140 is, this would make the backend much more ergonomic for those scanners. Nicolas Le mercredi 03 septembre 2008 ? 10:04 -0700, Dennis Lou a ?crit : From: Bob Dronski dronski at gmail.com Thanks so much for all your help. I'm thrilled to say that the scanner works after a new build of both libusb and Sane! There are a couple of issues that still occur, but basically, it works. Great! The next question is: was the USB PID in the mp730 code or the imageclass code? -Dennis (if there's nothing else, I'm going back to lurk mode)
[sane-devel] pixma MP810 working with sane
Jean Nicolas, Dunno if you followed latest discussions for MP810, improvements have been made for this PIXMA in Sane pixma backend, and most issues are solved. Would you mind getting the latest CVS and giving a try, we still have some doubts with the 2400 dpi and 4800 dpi scan modes. Nicolas Le lundi 18 ao?t 2008 ? 13:24 +, Jean-Nicolas Gautier a ?crit : Hello, I bought a pixma MP810 one year ago. It works but I have the problem with color alignment : yellow, magenta and cyan layers are shifted. If any developper want informations about MP810 working with sane, don't hesitate to ask me, I'll be happy to help you. Currently, I use sane-backends from CVS, updated few weeks ago. Thank you for the work you've done with sane project. J.-N. Gautier -- Please, consider your environmental responsibility before printing this email.
[sane-devel] pixma MP810 working with sane
Concerning the vertical lines at 4800/2400 dpi for MP810, I'm wondering whether: - this is a normal behavior of the scanner (which would mean that it has to be compensated by the backend), - or if it's an alignment problem of the sensor, the lines corresponding each one to a particular sensor cell, but only at high dpi, the sensor uses all its cells to scan. I think it may be interesting that other MP810 users could give feedack on the current CVS backend, if possible, that's why I copy also the sane-devel list Yes I hope we get some feedback, as there was at least one other MP810 user asking for the drivers. I think it's normal behaviour, but if not, I need to know before the warranty runs out! Do you know if there's an alignment procedure for MP810 ? This is usually the case when you get a new scanning device. There is a printer-head alignment procedure but nothing for the scanner. Have you the possibility to test the Canon Windows driver, and see if it behaves the same ? I borrowed a WinXP laptop and installed the latest drivers downloaded from Canon Europe and found that they only support up tp 1200dpi. If I was a Windows user I would feel very cheated by Canon about this as they advertise 4800x4800dpi optical on the tech specs! In fact I might send a message to Canon support about this and see what they say. Last point concerning the white lines at the bottom: this is simply due to the color planes shifting, as the backend algorithm to shift the color planes uses only that portion of the image that will contain data for the 3 colors. The bottom of the scanned image contains 2 and 1 color zones only, due to the color shift. So this is a little limitation for pixma CCD sensors, you must select a scan zone a little bit bigger at the bottom, then remove the image bottom white zone, that is padded on purpose by the backend to keep the image size the frontend expects. ok I understand, it's not great but I guess there is nothing that can be done about it. Thanks for all the help so far, at least now the scanner is useable from 75 to 1200dpi, which is very good already! Now I only whish that Mandriva would include the latest CVS in their main-backports branch to keep installed packages tidy, but I guess that would be to bleeding edge for them. Best regards, Arne
[sane-devel] pixma MP810 working with sane
Le jeudi 04 septembre 2008 ? 03:17 +0200, Arne a ?crit : Concerning the vertical lines at 4800/2400 dpi for MP810, I'm wondering whether: - this is a normal behavior of the scanner (which would mean that it has to be compensated by the backend), - or if it's an alignment problem of the sensor, the lines corresponding each one to a particular sensor cell, but only at high dpi, the sensor uses all its cells to scan. I think it may be interesting that other MP810 users could give feedack on the current CVS backend, if possible, that's why I copy also the sane-devel list Yes I hope we get some feedback, as there was at least one other MP810 user asking for the drivers. I think it's normal behaviour, but if not, I need to know before the warranty runs out! Do you know if there's an alignment procedure for MP810 ? This is usually the case when you get a new scanning device. There is a printer-head alignment procedure but nothing for the scanner. Have you the possibility to test the Canon Windows driver, and see if it behaves the same ? I borrowed a WinXP laptop and installed the latest drivers downloaded from Canon Europe and found that they only support up tp 1200dpi. If I was a Windows user I would feel very cheated by Canon about this as they advertise 4800x4800dpi optical on the tech specs! In fact I might send a message to Canon support about this and see what they say. Same situation for more recent models like MP610, MP970, ... Canon drivers offer only up to 600 dpi or 1200 dpi, far less than the 4800 dpi advertised ! Never tried to contact Canon about that, but should be worth doing it. AFAIK, only Sane pixma backend can currently drive those PIXMAs at such high dpi, not Canon's drivers. Last point concerning the white lines at the bottom: this is simply due to the color planes shifting, as the backend algorithm to shift the color planes uses only that portion of the image that will contain data for the 3 colors. The bottom of the scanned image contains 2 and 1 color zones only, due to the color shift. So this is a little limitation for pixma CCD sensors, you must select a scan zone a little bit bigger at the bottom, then remove the image bottom white zone, that is padded on purpose by the backend to keep the image size the frontend expects. ok I understand, it's not great but I guess there is nothing that can be done about it. Following Allan's suggest, should be easy to implement, I'll propose you soon a newer pixma_mp150.c file which should solve this issue, I'll keep you posted. Nicolas
[sane-devel] test backend
2008/9/3 m. allan noah kitno455 at gmail.com: actually, if you look at the code, that option is enabled if you set 'enable-test-options' Absolutely right. Thanks for the info. Regards Jeff
[sane-devel] ID card Scanners - LINUX
Hello, Do anybody know is on the market ID card scanner supported by UBUNTU ? Thanx for answers, BRGRDS Emil -- next part -- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20080904/4bb47e97/attachment.htm
[sane-devel] ID card Scanners - LINUX
the Corex Cardscan 800c is supported by sane 1.0.19. Some of the Ambir/Syscan 'TravelScan' models are also supported. There may be others. Some unsupported models might work, but someone has to buy them and test. allan 2008/9/4 Emil Sarnecki muody at poczta.fm: Hello, Do anybody know is on the market ID card scanner supported by UBUNTU ? Thanx for answers, BRGRDS Emil -- Teraz taniej na zagraniczne komorki! Sprawdz http://link.interia.pl/f1ef7 -- sane-devel mailing list: sane-devel at lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-request at lists.alioth.debian.org -- The truth is an offense, but not a sin
[sane-devel] fujitsu scanner owners needed
m. allan noah-3 wrote: On 6/7/08, spammed spammed at get2net.dk wrote: On Mon, 2008-06-02 at 09:48 -0400, m. allan noah wrote: In the past few weeks, I have made several updates to the fujitsu sane backend. I don't really have a good list of testers, so I am putting out a call for all fujitsu backend users to please try the current version from SANE CVS. I have done some testing with my fi-5110-EOX and scanimage. The backend+scanimage is from CVS as of 5 June. Particular areas to watch out for: 1. JPEG output is now possible, but will only work with scanimage from cvs, or some other sane 1.1 compliant frontend JPEG output works fine. I?s the compression done by the scanner or the backend? the scanner itself. it appears that every fi-series Fujitsu might be able to do this. 2. The mechanism for determining the color interlace mode is now automatic, so please see if color scans look weird, particularly if the scanner has done a color scan in windows without being power cycled. Not really tested, but no problems observed. if a non-jpeg color scan looks ok, then that is all the testing we need really. ?[...] 4. the scanner device is now named 'fujitsu:model:serial' instead of the system provided name, if the scanner supports serial number detection. please verify that the new name actually matches your scanner :) Model and serial is correct. cool. ~anoah/fujitsu/ 5. initialization code has changed somewhat, the backend should find scanners if they are plugged in after the front-end starts (requires custom daemon frontend to test, I dont know of any in the wild) Not tested, would need instructions... right- i don't actually have a frontend that does this, so lets not worry about it. I have one, and works. but take more time to scan. Sometime it never come back. I also tested with the old snap i have (2008-05-08) and work really nice. 6. please test page-width and page-height support, it seems that some cheaper scanners don't work. ?[...] Known issues: ?[...] 2. page-width and page-height don't seem to work for the fi-5110EOX, needs software emulation ?As previously found, page-width is ignored. I am all set to test any improvements on this front :-) right. going to need to simulate in software for your machine. i wonder how many others have the same problem? Im using fi-5120c and works fine, the only condition is that i have to set first page-* before setting tl-* and bt-* options. The page-height option works as expected in combination with dfdetect=Length except that dfdiff seems to be fixed at 10mm. odd. do you get an error when you set the other lengths? A long page (paper jam) occurring as the last sheet of a batch is detected only on the next invocation of scanimage. (May be a limitation of the scanner's detection mechanism, or a scanimage issue?) hmm, i need to look into that. it is possible that the scanner does not report the error to us until after the page is fully sent, so ?t?here is no way to inform the front-end. Some additional observations about this scanner, for the record: - dfdetect=Thickness is ignored. this machine must not have a thinkness sensor. i wonder if this applies to the S5xx series too? - the overscan option seems to be ignored, although I am not sure I fully understand its purpose. The output looks identical, with no additional space at the top. What is the bgcolor option mentioned in the --help -d output? when overscan is enabled, the x and y values of the scan area can extend slightly larger than the page width, and the scanner outputs a few mm of the background before the top of the page hits the sensor. if your machine has a white background stripe behind the sensor, try scanning a darker sheet and see if the white background shows above. the bgcolor option is only for scanners which have a servo driven black/white background in the adf, such as the fi-5120C - the sleeptimer option works, but does not put the scanner as such into sleep mode. It just dims the scanner lamps after the specified interval if no paper is inserted. that is fujitsu's idea of sleep, lamp at half brightness, and any operator panel lights off (other than power?) i dont think there is a way to turn the lamp off entirely. Btw, there seems to be a bit of weirdness going on if these last two options are both present on the command line (individually they are accepted): $ scanimage -n --sleeptimer=5 --overscan=Off scanimage: rounded value of sleeptimer from 5 to 5 scanimage: setting of option --overscan failed (Invalid argument) $ scanimage -n --overscan=Off --sleeptimer=5 scanimage: setting of option --sleeptimer failed (Invalid argument) weird. let me try this myself and get back to you. allan -- The truth is an offense, but not a sin -- sane-devel mailing list: sane-devel at lists.alioth.debian.org
[sane-devel] fujitsu scanner owners needed
On Thu, Sep 4, 2008 at 11:11 AM, extobias extobias at gmail.com wrote: m. allan noah-3 wrote: On 6/7/08, spammed spammed at get2net.dk wrote: On Mon, 2008-06-02 at 09:48 -0400, m. allan noah wrote: In the past few weeks, I have made several updates to the fujitsu sane backend. I don't really have a good list of testers, so I am putting out a call for all fujitsu backend users to please try the current version from SANE CVS. I have done some testing with my fi-5110-EOX and scanimage. The backend+scanimage is from CVS as of 5 June. Particular areas to watch out for: 1. JPEG output is now possible, but will only work with scanimage from cvs, or some other sane 1.1 compliant frontend JPEG output works fine. I?s the compression done by the scanner or the backend? the scanner itself. it appears that every fi-series Fujitsu might be able to do this. 2. The mechanism for determining the color interlace mode is now automatic, so please see if color scans look weird, particularly if the scanner has done a color scan in windows without being power cycled. Not really tested, but no problems observed. if a non-jpeg color scan looks ok, then that is all the testing we need really. ?[...] 4. the scanner device is now named 'fujitsu:model:serial' instead of the system provided name, if the scanner supports serial number detection. please verify that the new name actually matches your scanner :) Model and serial is correct. cool. ~anoah/fujitsu/ 5. initialization code has changed somewhat, the backend should find scanners if they are plugged in after the front-end starts (requires custom daemon frontend to test, I dont know of any in the wild) Not tested, would need instructions... right- i don't actually have a frontend that does this, so lets not worry about it. I have one, and works. but take more time to scan. Sometime it never come back. I also tested with the old snap i have (2008-05-08) and work really nice. can you get a debug log of the backend in action when the slowness occurs? 6. please test page-width and page-height support, it seems that some cheaper scanners don't work. ?[...] Known issues: ?[...] 2. page-width and page-height don't seem to work for the fi-5110EOX, needs software emulation ?As previously found, page-width is ignored. I am all set to test any improvements on this front :-) right. going to need to simulate in software for your machine. i wonder how many others have the same problem? Im using fi-5120c and works fine, the only condition is that i have to set first page-* before setting tl-* and bt-* options. yes- the page-* params control the maximum ranges for tl-* and br-* The page-height option works as expected in combination with dfdetect=Length except that dfdiff seems to be fixed at 10mm. odd. do you get an error when you set the other lengths? A long page (paper jam) occurring as the last sheet of a batch is detected only on the next invocation of scanimage. (May be a limitation of the scanner's detection mechanism, or a scanimage issue?) hmm, i need to look into that. it is possible that the scanner does not report the error to us until after the page is fully sent, so ?t?here is no way to inform the front-end. Some additional observations about this scanner, for the record: - dfdetect=Thickness is ignored. this machine must not have a thinkness sensor. i wonder if this applies to the S5xx series too? - the overscan option seems to be ignored, although I am not sure I fully understand its purpose. The output looks identical, with no additional space at the top. What is the bgcolor option mentioned in the --help -d output? when overscan is enabled, the x and y values of the scan area can extend slightly larger than the page width, and the scanner outputs a few mm of the background before the top of the page hits the sensor. if your machine has a white background stripe behind the sensor, try scanning a darker sheet and see if the white background shows above. the bgcolor option is only for scanners which have a servo driven black/white background in the adf, such as the fi-5120C - the sleeptimer option works, but does not put the scanner as such into sleep mode. It just dims the scanner lamps after the specified interval if no paper is inserted. that is fujitsu's idea of sleep, lamp at half brightness, and any operator panel lights off (other than power?) i dont think there is a way to turn the lamp off entirely. Btw, there seems to be a bit of weirdness going on if these last two options are both present on the command line (individually they are accepted): $ scanimage -n --sleeptimer=5 --overscan=Off scanimage: rounded value of sleeptimer from 5 to 5 scanimage: setting of option --overscan failed (Invalid argument) $ scanimage -n --overscan=Off --sleeptimer=5 scanimage: setting of option --sleeptimer failed (Invalid argument) weird. let me try
[sane-devel] fujitsu scanner owners needed
On Thu, Sep 4, 2008 at 12:28 PM, m. allan noah kitno455 at gmail.com wrote: On Thu, Sep 4, 2008 at 11:11 AM, extobias extobias at gmail.com wrote: m. allan noah-3 wrote: On 6/7/08, spammed spammed at get2net.dk wrote: On Mon, 2008-06-02 at 09:48 -0400, m. allan noah wrote: In the past few weeks, I have made several updates to the fujitsu sane backend. I don't really have a good list of testers, so I am putting out a call for all fujitsu backend users to please try the current version from SANE CVS. I have done some testing with my fi-5110-EOX and scanimage. The backend+scanimage is from CVS as of 5 June. Particular areas to watch out for: 1. JPEG output is now possible, but will only work with scanimage from cvs, or some other sane 1.1 compliant frontend JPEG output works fine. I?s the compression done by the scanner or the backend? the scanner itself. it appears that every fi-series Fujitsu might be able to do this. 2. The mechanism for determining the color interlace mode is now automatic, so please see if color scans look weird, particularly if the scanner has done a color scan in windows without being power cycled. Not really tested, but no problems observed. if a non-jpeg color scan looks ok, then that is all the testing we need really. ?[...] 4. the scanner device is now named 'fujitsu:model:serial' instead of the system provided name, if the scanner supports serial number detection. please verify that the new name actually matches your scanner :) Model and serial is correct. cool. ~anoah/fujitsu/ 5. initialization code has changed somewhat, the backend should find scanners if they are plugged in after the front-end starts (requires custom daemon frontend to test, I dont know of any in the wild) Not tested, would need instructions... right- i don't actually have a frontend that does this, so lets not worry about it. I have one, and works. but take more time to scan. Sometime it never come back. I also tested with the old snap i have (2008-05-08) and work really nice. can you get a debug log of the backend in action when the slowness occurs? yeap, but seems like problem only happen when i plug the scanner and press scan button immediately. If i wait 3 o 4 second before pressed no problem at all. I just wait then. this is the log anyway. [fujitsu] sane_read: start [fujitsu] read_from_buffer: start [fujitsu] read_from_buffer: si:0 to:589745 tx:589323 re:422 bu:211 pa:211 [fujitsu] read_from_buffer: finish [fujitsu] check_for_cancel: start [fujitsu] check_for_cancel: finish 0 [fujitsu] sane_read: finish 0 [fujitsu] sane_read: start [fujitsu] read_from_buffer: start [fujitsu] read_from_buffer: si:0 to:589745 tx:589534 re:211 bu:211 pa:211 [fujitsu] read_from_buffer: finish [fujitsu] check_for_cancel: start [fujitsu] check_for_cancel: finish 0 [fujitsu] sane_read: finish 0 [fujitsu] sane_get_parameters: start [fujitsu] sane_get_parameters: started, copying to caller [fujitsu] sane_get_parameters: scan_x=1688, Bpl=211, depth=1 [fujitsu] sane_get_parameters: scan_y=2795, frame=0, last=1 [fujitsu] sane_get_parameters: finish [fujitsu] sane_cancel: start [fujitsu] check_for_cancel: start [fujitsu] check_for_cancel: cancelling [fujitsu] scanner_control: start [fujitsu] scanner_control: function 4 [fujitsu] do_usb_cmd: start [fujitsu] do_usb_cmd: finish [fujitsu] scanner_control: success, tries 1, ret 0 [fujitsu] scanner_control: finish [fujitsu] check_for_cancel: finish 2 [fujitsu] sane_cancel: finish [fujitsu] sane_cancel: start [fujitsu] check_for_cancel: start [fujitsu] check_for_cancel: already cancelled [fujitsu] check_for_cancel: finish 2 [fujitsu] sane_cancel: finish 6. please test page-width and page-height support, it seems that some cheaper scanners don't work. ?[...] Known issues: ?[...] 2. page-width and page-height don't seem to work for the fi-5110EOX, needs software emulation ?As previously found, page-width is ignored. I am all set to test any improvements on this front :-) right. going to need to simulate in software for your machine. i wonder how many others have the same problem? Im using fi-5120c and works fine, the only condition is that i have to set first page-* before setting tl-* and bt-* options. yes- the page-* params control the maximum ranges for tl-* and br-* The page-height option works as expected in combination with dfdetect=Length except that dfdiff seems to be fixed at 10mm. odd. do you get an error when you set the other lengths? A long page (paper jam) occurring as the last sheet of a batch is detected only on the next invocation of scanimage. (May be a limitation of the scanner's detection mechanism, or a scanimage issue?) hmm, i need to look into that. it is possible that the scanner does not report the error to us until after the page is fully sent, so ?t?here is no way to inform the front-end. Some additional observations about this scanner, for the record: -
[sane-devel] fujitsu scanner owners needed
why is your program only reading 211 bytes at a time? allan On Thu, Sep 4, 2008 at 12:18 PM, tobias alarcon extobias at gmail.com wrote: On Thu, Sep 4, 2008 at 12:28 PM, m. allan noah kitno455 at gmail.com wrote: On Thu, Sep 4, 2008 at 11:11 AM, extobias extobias at gmail.com wrote: m. allan noah-3 wrote: On 6/7/08, spammed spammed at get2net.dk wrote: On Mon, 2008-06-02 at 09:48 -0400, m. allan noah wrote: In the past few weeks, I have made several updates to the fujitsu sane backend. I don't really have a good list of testers, so I am putting out a call for all fujitsu backend users to please try the current version from SANE CVS. I have done some testing with my fi-5110-EOX and scanimage. The backend+scanimage is from CVS as of 5 June. Particular areas to watch out for: 1. JPEG output is now possible, but will only work with scanimage from cvs, or some other sane 1.1 compliant frontend JPEG output works fine. I?s the compression done by the scanner or the backend? the scanner itself. it appears that every fi-series Fujitsu might be able to do this. 2. The mechanism for determining the color interlace mode is now automatic, so please see if color scans look weird, particularly if the scanner has done a color scan in windows without being power cycled. Not really tested, but no problems observed. if a non-jpeg color scan looks ok, then that is all the testing we need really. ?[...] 4. the scanner device is now named 'fujitsu:model:serial' instead of the system provided name, if the scanner supports serial number detection. please verify that the new name actually matches your scanner :) Model and serial is correct. cool. ~anoah/fujitsu/ 5. initialization code has changed somewhat, the backend should find scanners if they are plugged in after the front-end starts (requires custom daemon frontend to test, I dont know of any in the wild) Not tested, would need instructions... right- i don't actually have a frontend that does this, so lets not worry about it. I have one, and works. but take more time to scan. Sometime it never come back. I also tested with the old snap i have (2008-05-08) and work really nice. can you get a debug log of the backend in action when the slowness occurs? yeap, but seems like problem only happen when i plug the scanner and press scan button immediately. If i wait 3 o 4 second before pressed no problem at all. I just wait then. this is the log anyway. [fujitsu] sane_read: start [fujitsu] read_from_buffer: start [fujitsu] read_from_buffer: si:0 to:589745 tx:589323 re:422 bu:211 pa:211 [fujitsu] read_from_buffer: finish [fujitsu] check_for_cancel: start [fujitsu] check_for_cancel: finish 0 [fujitsu] sane_read: finish 0 [fujitsu] sane_read: start [fujitsu] read_from_buffer: start [fujitsu] read_from_buffer: si:0 to:589745 tx:589534 re:211 bu:211 pa:211 [fujitsu] read_from_buffer: finish [fujitsu] check_for_cancel: start [fujitsu] check_for_cancel: finish 0 [fujitsu] sane_read: finish 0 [fujitsu] sane_get_parameters: start [fujitsu] sane_get_parameters: started, copying to caller [fujitsu] sane_get_parameters: scan_x=1688, Bpl=211, depth=1 [fujitsu] sane_get_parameters: scan_y=2795, frame=0, last=1 [fujitsu] sane_get_parameters: finish [fujitsu] sane_cancel: start [fujitsu] check_for_cancel: start [fujitsu] check_for_cancel: cancelling [fujitsu] scanner_control: start [fujitsu] scanner_control: function 4 [fujitsu] do_usb_cmd: start [fujitsu] do_usb_cmd: finish [fujitsu] scanner_control: success, tries 1, ret 0 [fujitsu] scanner_control: finish [fujitsu] check_for_cancel: finish 2 [fujitsu] sane_cancel: finish [fujitsu] sane_cancel: start [fujitsu] check_for_cancel: start [fujitsu] check_for_cancel: already cancelled [fujitsu] check_for_cancel: finish 2 [fujitsu] sane_cancel: finish 6. please test page-width and page-height support, it seems that some cheaper scanners don't work. ?[...] Known issues: ?[...] 2. page-width and page-height don't seem to work for the fi-5110EOX, needs software emulation ?As previously found, page-width is ignored. I am all set to test any improvements on this front :-) right. going to need to simulate in software for your machine. i wonder how many others have the same problem? Im using fi-5120c and works fine, the only condition is that i have to set first page-* before setting tl-* and bt-* options. yes- the page-* params control the maximum ranges for tl-* and br-* The page-height option works as expected in combination with dfdetect=Length except that dfdiff seems to be fixed at 10mm. odd. do you get an error when you set the other lengths? A long page (paper jam) occurring as the last sheet of a batch is detected only on the next invocation of scanimage. (May be a limitation of the scanner's detection mechanism, or a scanimage issue?) hmm, i need to look into that. it is possible that the scanner does
[sane-devel] HP 2400c - genesys - failure/success
Hi, [genesys] WARNING: Your scanner is not fully supported or at least [genesys] had only limited testing. Please be careful and [genesys] report any failure/success to [genesys] sane-devel at lists.alioth.debian.org. Please provide as many [genesys] details as possible, e.g. the exact name of your [genesys] scanner and what does (not) work. ..So, I uncommented the device in the genesys.conf file, it allowed the scanner to be recognized (can be tested via the scanimage -L command (it was already recognized by sane-find-scanner)). When trying to scan any image, I'm getting a half black, half white, vertically splitted image, which is nice at first but not quite what I expected :) It would have been a good start, if genesys backend's development wasn't stopped :( fox
[sane-devel] HP 2400c - genesys - failure/success
Le Thursday 04 September 2008 18:34:28 Tof, vous avez ?crit?: Hi, [genesys] WARNING: Your scanner is not fully supported or at least [genesys] had only limited testing. Please be careful and [genesys] report any failure/success to [genesys] sane-devel at lists.alioth.debian.org. Please provide as many [genesys] details as possible, e.g. the exact name of your [genesys] scanner and what does (not) work. ..So, I uncommented the device in the genesys.conf file, it allowed the scanner to be recognized (can be tested via the scanimage -L command (it was already recognized by sane-find-scanner)). When trying to scan any image, I'm getting a half black, half white, vertically splitted image, which is nice at first but not quite what I expected :) It would have been a good start, if genesys backend's development wasn't stopped :( fox Hello hp2400 development isn't stopped. I'm currently working -slowly- to add 600 dpi color scan support to the G2410 (based on usb logs sent by Robert Morton), which is a repackaged HP2400. Currently my main hurdle is to build slope tables for the motor. I think I'll have something to test during this month. But since I don't have such hardware to test, things will take some time. Regards, Stef
[sane-devel] LiDE 90 Calibration
guillaume.gastebois at free.fr schrieb: Hello, It seems that in Windows snoop calibration of LiDE 90 is done with half CCD even if scanning is in full sensor resolution. Is it so in sane ? If not, is it usefull to implement it ? Where to do that ? To be on the safe side, all calibration steps are using the same settings(minus motor control, but that is hardly calibratable) as the final scan. This is to keep all possibly hidden parameters the same. Theoretically, it would be okay to just keep the calibration for one half and one full calibration setting, since that is the only setting that may change the sensor characteristics. It should be possible to calculate the rest. If the function that scales from full resolution to half resolution is known(for example the average), one could theoretically calculate that, too, but if it is not the average, this may get complicated. (My scanner sort of adds adjacent pixels.) The LED, offset and gain calibration steps can(should be able to) work with any resolution, only the shading calibration needs to be adjusted to fill the correct locations of the shading calibration data set. The former steps can be found in genesys_gl841.c. The shading calibration is in genesys.c: * genesys_flatbed_calibration controls all calibration steps * sanei_genesys_init_shading_data clears the shading data. not strictly needed, both chips have a setting to ignore the shading data. * dev-model-cmd_set-init_regs_for_shading sets up the scanning parameters(call into the chip specific vtable). * genesys_dark_shading_calibration * genesys_dummy_dark_shading * genesys_white_shading_calibration * genesys_dark_white_shading_calibration Different methods to acquire dark and bright samples to be stored in dev-dark_average_data and dev-white_average_data. * genesys_send_shading_coefficient finally calculates and sends the shading coefficients. look in the CCD_CANONLIDE90 case for the actual code doing the calculations. This has not seen a lot of changes after i got it to work. This uses the data stored in dev-dark_average_data and dev-white_average_data. The main changes needed would be in the init_regs_for_scanning and genesys_send_shading_coefficient functions. The rest should work with that. This could be very useful when the calibration cache code gets commited, because it would reduce the number of calibrations to at most 2. (Currently it is in the experimental repository, and i could not get myself to add support in the gl646-part, yet.) Regards Guillaume Regards, Pierre
[sane-devel] fujitsu scanner owners needed
you also change duplex option or anything like that? i cant use duplex scan with last backend i have. extobias wrote: On Thu, Sep 4, 2008 at 12:28 PM, m. allan noah kitno455 at gmail.com wrote: On Thu, Sep 4, 2008 at 11:11 AM, extobias extobias at gmail.com wrote: m. allan noah-3 wrote: On 6/7/08, spammed spammed at get2net.dk wrote: On Mon, 2008-06-02 at 09:48 -0400, m. allan noah wrote: In the past few weeks, I have made several updates to the fujitsu sane backend. I don't really have a good list of testers, so I am putting out a call for all fujitsu backend users to please try the current version from SANE CVS. I have done some testing with my fi-5110-EOX and scanimage. The backend+scanimage is from CVS as of 5 June. Particular areas to watch out for: 1. JPEG output is now possible, but will only work with scanimage from cvs, or some other sane 1.1 compliant frontend JPEG output works fine. I?s the compression done by the scanner or the backend? the scanner itself. it appears that every fi-series Fujitsu might be able to do this. 2. The mechanism for determining the color interlace mode is now automatic, so please see if color scans look weird, particularly if the scanner has done a color scan in windows without being power cycled. Not really tested, but no problems observed. if a non-jpeg color scan looks ok, then that is all the testing we need really. ?[...] 4. the scanner device is now named 'fujitsu:model:serial' instead of the system provided name, if the scanner supports serial number detection. please verify that the new name actually matches your scanner :) Model and serial is correct. cool. ~anoah/fujitsu/ 5. initialization code has changed somewhat, the backend should find scanners if they are plugged in after the front-end starts (requires custom daemon frontend to test, I dont know of any in the wild) Not tested, would need instructions... right- i don't actually have a frontend that does this, so lets not worry about it. I have one, and works. but take more time to scan. Sometime it never come back. I also tested with the old snap i have (2008-05-08) and work really nice. can you get a debug log of the backend in action when the slowness occurs? yeap, but seems like problem only happen when i plug the scanner and press scan button immediately. If i wait 3 o 4 second before pressed no problem at all. I just wait then. this is the log anyway. [fujitsu] sane_read: start [fujitsu] read_from_buffer: start [fujitsu] read_from_buffer: si:0 to:589745 tx:589323 re:422 bu:211 pa:211 [fujitsu] read_from_buffer: finish [fujitsu] check_for_cancel: start [fujitsu] check_for_cancel: finish 0 [fujitsu] sane_read: finish 0 [fujitsu] sane_read: start [fujitsu] read_from_buffer: start [fujitsu] read_from_buffer: si:0 to:589745 tx:589534 re:211 bu:211 pa:211 [fujitsu] read_from_buffer: finish [fujitsu] check_for_cancel: start [fujitsu] check_for_cancel: finish 0 [fujitsu] sane_read: finish 0 [fujitsu] sane_get_parameters: start [fujitsu] sane_get_parameters: started, copying to caller [fujitsu] sane_get_parameters: scan_x=1688, Bpl=211, depth=1 [fujitsu] sane_get_parameters: scan_y=2795, frame=0, last=1 [fujitsu] sane_get_parameters: finish [fujitsu] sane_cancel: start [fujitsu] check_for_cancel: start [fujitsu] check_for_cancel: cancelling [fujitsu] scanner_control: start [fujitsu] scanner_control: function 4 [fujitsu] do_usb_cmd: start [fujitsu] do_usb_cmd: finish [fujitsu] scanner_control: success, tries 1, ret 0 [fujitsu] scanner_control: finish [fujitsu] check_for_cancel: finish 2 [fujitsu] sane_cancel: finish [fujitsu] sane_cancel: start [fujitsu] check_for_cancel: start [fujitsu] check_for_cancel: already cancelled [fujitsu] check_for_cancel: finish 2 [fujitsu] sane_cancel: finish 6. please test page-width and page-height support, it seems that some cheaper scanners don't work. ?[...] Known issues: ?[...] 2. page-width and page-height don't seem to work for the fi-5110EOX, needs software emulation ?As previously found, page-width is ignored. I am all set to test any improvements on this front :-) right. going to need to simulate in software for your machine. i wonder how many others have the same problem? Im using fi-5120c and works fine, the only condition is that i have to set first page-* before setting tl-* and bt-* options. yes- the page-* params control the maximum ranges for tl-* and br-* The page-height option works as expected in combination with dfdetect=Length except that dfdiff seems to be fixed at 10mm. odd. do you get an error when you set the other lengths? A long page (paper jam) occurring as the last sheet of a batch is detected only on the next invocation of scanimage. (May be a limitation of the scanner's detection mechanism, or a scanimage issue?) hmm, i need to look into that. it is possible that the scanner does not
[sane-devel] HP 2400c - genesys - failure/success
stef wrote: Le Thursday 04 September 2008 18:34:28 Tof, vous avez ?crit : Hi, [genesys] WARNING: Your scanner is not fully supported or at least [genesys] had only limited testing. Please be careful and [genesys] report any failure/success to [genesys] sane-devel at lists.alioth.debian.org. Please provide as many [genesys] details as possible, e.g. the exact name of your [genesys] scanner and what does (not) work. ..So, I uncommented the device in the genesys.conf file, it allowed the scanner to be recognized (can be tested via the scanimage -L command (it was already recognized by sane-find-scanner)). When trying to scan any image, I'm getting a half black, half white, vertically splitted image, which is nice at first but not quite what I expected :) It would have been a good start, if genesys backend's development wasn't stopped :( fox Hello hp2400 development isn't stopped. I'm currently working -slowly- to add 600 dpi color scan support to the G2410 (based on usb logs sent by Robert Morton), which is a repackaged HP2400. Currently my main hurdle is to build slope tables for the motor. I think I'll have something to test during this month. But since I don't have such hardware to test, things will take some time. Regards, Stef Hello Stef If you need me to test anything on the G2410 (HP2400c) hardware, please send me a script to run and I will send you the results. Regards, Rob
[sane-devel] [walterw...@macosx.com: Re: problem with gutenprint 5.1.7]
Hi Sane folks, I'm the project lead for Gutenprint (printer drivers). We have a user who's having trouble using Gutenprint with the Epson RX685 using its OEM driver on Macintosh OS X; should we recommend that people use Sane on OS X with this printer (and other similar printers) in conjunction with Gutenprint? Is there any special advice we should give them in this regard? Does scanning work over a network in the kind of configuration outlined below? I have an RX580 that works fine with Sane (on Linux); unfortunately, our OS X expert doesn't have one of these multi-function devices. (If you have issues with people using Sane with OEM printer drivers installed, perhaps you might want to point them at Gutenprint.) --- Start of forwarded message --- Mime-Version: 1.0 In-Reply-To: E088BD43-0CEB-4C71-8DE4-A2CF59269B0F at googlemail.com Date: Sat, 6 Sep 2008 14:01:14 -0500 To: Mike Garner mike.nina at googlemail.com From: Matt Broughton walterw...@macosx.com Subject: Re: problem with gutenprint 5.1.7 Cc: Robert L Krawitz rlk at alum.mit.edu Content-Type: text/plain; charset=us-ascii ; format=flowed At 2:39 PM +0100 9/6/08, Mike Garner wrote: Well done - removing Epson scan did the trick. It now prints OK. So where do we go from here? Unfortunately, there is no one perfect solution. If you keep the Epson rx685 on the print server, you will have to choose whether you want to use it as a scanner or a printer and only have the appropriate software installed. The other choice is to attach the Epson rx685 directly to a Mac computer via USB and use only the Epson supplied software for the printer and the scanner. I think you will be able to have other computers share the device without problems. That does mean, however, that the Mac the rx685 is connected to must be turned on and awake for other computers to access the device. Regardless of where or how you insert the multifunction machine in your network, you cannot use the Gutenprint drivers along with the Epson Scan software. I should note that this is a common problem we see with multifunction devices -- at least in Mac OS X. Part of the problem is the nature of the beast. The other part of the problem is that most manufacturers write printer drivers that only work when the device is directly connected to the Mac computer via USB. Matt On 6 Sep 2008, at 02:47, Matt Broughton wrote: At 7:49 PM +0100 9/5/08, Mike Garner wrote: My configuration is: Powerbook G4 running osx 10.4.11 with all the updates, connecting wifi to DSL wifi modem/router Edimax PS-1206MF, connected to the router via ethernet cable, and to the printer via USB cable Printer is Epson stylus photo rx685, configured on the mac as an IP printer. I don't think it is a network problem, as my older epson stylus photo R300 configured the same way works OK. Also, if I pull the plug when attempting to print on the RX685, I get diagnostic error/troubleshooting for the epson SCAN!! Hope this further information helps, Thank you for the very good description of your installation. I do not have an Epson multifunction device or print server to test. I will do my best to try and troubleshoot your problem. From your description, I think that the Epson scanning software is interfering with the printing function. Typically, scanning software will listen on the system or probe the scanner for any indication that a scan request has been made. My *guess* is that when you try to print with the Gutenprint drivers, the Epson Scan software detects the activity and asks what it is supposed to do. The Gutenprint drivers know nothing about this and cannot send the scanning software the proper notice to let it control the printer. That having been said, let us see if we can get printing to work or prove that the scanning software is interfering. First, please double check to make sure that you have the printer set up correctly as illustrated in the Edimax User Manual. The printer should be set up to use the LPD protocol witht he printer address being 192.168.1.227 and the Queue Name of lpt1. Please also verify that you have chosen the correct Gutenprint driver. If you go to the web interface for the printing system at http://127.0.0.1:631/printers/ , you should see your printer listed. You should see the Device URI listed as Device URI: lpd://192.168.1.100/lpt1 If all those settings have been verified and you are still experiencing the stalled printing and diagnostic error from the Epson scan software, try uninstalling the Epson Scan driver. There is an Uninstall option when you run the installer. After you have removed the Epson Scan software, restart your computer. Try printing with the Gutenprint drivers again. Are you then able to print? I realize that the Epson Stylus Photo rx685 is listed in the Edimax literature as being a supported multifunciton device. The Edimax listing, however, only lists
[sane-devel] [walterw...@macosx.com: Re: problem with gutenprint 5.1.7]
From: Olaf Meeuwissen olaf.meeuwissen at avasys.jp Date: Mon, 08 Sep 2008 08:50:34 +0900 Robert Krawitz rlk at alum.mit.edu writes: Hi Sane folks, Hi, Disclaimer: I have no experience with SANE on Mac OS X. I'm the lead developer for Image Scan! for Linux, a simple graphical user interface for SEIKO EPSON scanners and all-in-ones (loosely built around the SANE API). I'm the project lead for Gutenprint (printer drivers). We have a user who's having trouble using Gutenprint with the Epson RX685 using its OEM driver on Macintosh OS X; should we recommend that people use Sane on OS X with this printer (and other similar printers) in conjunction with Gutenprint? Is there any special advice we should give them in this regard? Does scanning work over a network in the kind of configuration outlined below? A network setup could be made to work by setting up `saned` on the server machine to accept connections from the client. On the server side, `saned` would access the device through a backend that supports the RX685. On the client you can then use any SANE frontend via the SANE net backend. In this case, the device is connected to a print server (a cheap router box with a USB connection for attaching a printer), and there's no possibility of running anything on the print server box. I'd try using the device on the server machine directly first with a simple SANE frontend like `scanimage` first. Next, try using it via localhost and `saned`. If that all works, try it from the client. Note that network related restrictions (tcpwrappers, packet-filtering) may all get in the way before you even get to the SANE part of the story. I have an RX580 that works fine with Sane (on Linux); unfortunately, our OS X expert doesn't have one of these multi-function devices. Which backend are you using? I'd hazard a guess that the RX685 works fine with the same backend. At least the external `epkowa` backend is known to work (but has never been tested on the Mac, AFAIK). It is part of Image Scan! for Linux and available at: http://avasys.jp/english/linux_e/ For the RX685 no non-free binary-only parts are needed. I use the free epkowa backend (distributed as part of the iscan package) with the RX580, which is probably very similar to the RX685. However, I'm doing it on Linux, not OS X. -- Robert Krawitz rlk at alum.mit.edu Tall Clubs International -- http://www.tall.org/ or 1-888-IM-TALL-2 Member of the League for Programming Freedom -- mail lpf at uunet.uu.net Project lead for Gutenprint --http://gimp-print.sourceforge.net Linux doesn't dictate how I work, I dictate how Linux works. --Eric Crampton
[sane-devel] [walterw...@macosx.com: Re: problem with gutenprint 5.1.7]
Robert Krawitz rlk at alum.mit.edu writes: Hi Sane folks, Hi, Disclaimer: I have no experience with SANE on Mac OS X. I'm the lead developer for Image Scan! for Linux, a simple graphical user interface for SEIKO EPSON scanners and all-in-ones (loosely built around the SANE API). I'm the project lead for Gutenprint (printer drivers). We have a user who's having trouble using Gutenprint with the Epson RX685 using its OEM driver on Macintosh OS X; should we recommend that people use Sane on OS X with this printer (and other similar printers) in conjunction with Gutenprint? Is there any special advice we should give them in this regard? Does scanning work over a network in the kind of configuration outlined below? A network setup could be made to work by setting up `saned` on the server machine to accept connections from the client. On the server side, `saned` would access the device through a backend that supports the RX685. On the client you can then use any SANE frontend via the SANE net backend. I'd try using the device on the server machine directly first with a simple SANE frontend like `scanimage` first. Next, try using it via localhost and `saned`. If that all works, try it from the client. Note that network related restrictions (tcpwrappers, packet-filtering) may all get in the way before you even get to the SANE part of the story. I have an RX580 that works fine with Sane (on Linux); unfortunately, our OS X expert doesn't have one of these multi-function devices. Which backend are you using? I'd hazard a guess that the RX685 works fine with the same backend. At least the external `epkowa` backend is known to work (but has never been tested on the Mac, AFAIK). It is part of Image Scan! for Linux and available at: http://avasys.jp/english/linux_e/ For the RX685 no non-free binary-only parts are needed. [snip] Hope this helps, -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS Corporation FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962
[sane-devel] [walterw...@macosx.com: Re: problem with gutenprint 5.1.7]
On Sun, Sep 7, 2008 at 8:02 PM, Robert Krawitz rlk at alum.mit.edu wrote: From: Olaf Meeuwissen olaf.meeuwissen at avasys.jp Date: Mon, 08 Sep 2008 08:50:34 +0900 Robert Krawitz rlk at alum.mit.edu writes: Hi Sane folks, Hi, Disclaimer: I have no experience with SANE on Mac OS X. I'm the lead developer for Image Scan! for Linux, a simple graphical user interface for SEIKO EPSON scanners and all-in-ones (loosely built around the SANE API). I'm the project lead for Gutenprint (printer drivers). We have a user who's having trouble using Gutenprint with the Epson RX685 using its OEM driver on Macintosh OS X; should we recommend that people use Sane on OS X with this printer (and other similar printers) in conjunction with Gutenprint? Is there any special advice we should give them in this regard? Does scanning work over a network in the kind of configuration outlined below? A network setup could be made to work by setting up `saned` on the server machine to accept connections from the client. On the server side, `saned` would access the device through a backend that supports the RX685. On the client you can then use any SANE frontend via the SANE net backend. In this case, the device is connected to a print server (a cheap router box with a USB connection for attaching a printer), and there's no possibility of running anything on the print server box. if this box only speaks LPR or IPP or some such, then you cannot scan with it. If it has some other mechanism like USB-to-ethernet type driver, or you can replace its OS with something more reasonable, then you might have a chance. a Linksys NSLU2 might be what you are after... allan -- The truth is an offense, but not a sin
[sane-devel] [walterw...@macosx.com: Re: problem with gutenprint 5.1.7]
Date: Sun, 7 Sep 2008 21:19:49 -0400 From: m. allan noah kitno455 at gmail.com Cc: Olaf Meeuwissen olaf.meeuwissen at avasys.jp, walterwego at macosx.com, sane-devel at lists.alioth.debian.org, msweet at apple.com MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 On Sun, Sep 7, 2008 at 8:02 PM, Robert Krawitz rlk at alum.mit.edu wrote: From: Olaf Meeuwissen olaf.meeuwissen at avasys.jp Date: Mon, 08 Sep 2008 08:50:34 +0900 Robert Krawitz rlk at alum.mit.edu writes: Hi Sane folks, Hi, Disclaimer: I have no experience with SANE on Mac OS X. I'm the lead developer for Image Scan! for Linux, a simple graphical user interface for SEIKO EPSON scanners and all-in-ones (loosely built around the SANE API). I'm the project lead for Gutenprint (printer drivers). We have a user who's having trouble using Gutenprint with the Epson RX685 using its OEM driver on Macintosh OS X; should we recommend that people use Sane on OS X with this printer (and other similar printers) in conjunction with Gutenprint? Is there any special advice we should give them in this regard? Does scanning work over a network in the kind of configuration outlined below? A network setup could be made to work by setting up `saned` on the server machine to accept connections from the client. On the server side, `saned` would access the device through a backend that supports the RX685. On the client you can then use any SANE frontend via the SANE net backend. In this case, the device is connected to a print server (a cheap router box with a USB connection for attaching a printer), and there's no possibility of running anything on the print server box. if this box only speaks LPR or IPP or some such, then you cannot scan with it. If it has some other mechanism like USB-to-ethernet type driver, or you can replace its OS with something more reasonable, then you might have a chance. a Linksys NSLU2 might be what you are after... Well, that's a good point -- if the box only speaks IPP or what have you, obviously it won't support a scanner :-) -- Robert Krawitz rlk at alum.mit.edu Tall Clubs International -- http://www.tall.org/ or 1-888-IM-TALL-2 Member of the League for Programming Freedom -- mail lpf at uunet.uu.net Project lead for Gutenprint --http://gimp-print.sourceforge.net Linux doesn't dictate how I work, I dictate how Linux works. --Eric Crampton
[sane-devel] [walterw...@macosx.com: Re: problem with gutenprint 5.1.7]
Matt Broughton walterwego at macosx.com writes: At 8:50 AM +0900 9/8/08, Olaf Meeuwissen wrote: A network setup could be made to work by setting up `saned` on the server machine to accept connections from the client. On the server side, `saned` would access the device through a backend that supports the RX685. On the client you can then use any SANE frontend via the SANE net backend. I'd try using the device on the server machine directly first with a simple SANE frontend like `scanimage` first. Next, try using it via localhost and `saned`. If that all works, try it from the client. [snip] From your description, it sounds like things will not work with stand alone print servers or routers which include print servers. Is that correct? Yes, unless the printer server in question can be coerced into supporting saned. From the other followup in this thread that looks unlikely. I guess that when you buy a _printer_ server that's all you can realistically expect to get. Hope this helps, -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS Corporation FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962
[sane-devel] sane_set_io_mode and sane_get_select_fd
I attach some sample code calling sane_set_io_mode and sane_get_select_fd, but I can't seem to get it to work. Without calling sane_start, I get: initialising sane... Success opening test... Success Setting non-blocking option... Success Setting non-blocking... Invalid argument Setting fd option... Success Setting fd... Invalid argument If I comment-in the sane_start call (as I understand should be from the docs), I get: initialising sane... Success opening test... Success start... Success Setting non-blocking option... Invalid argument Setting non-blocking... Operation not supported Setting fd option... Invalid argument Setting fd... Operation not supported What am I missing? Regards Jeff Ratcliffe -- next part -- A non-text attachment was scrubbed... Name: test.c Type: application/octet-stream Size: 1155 bytes Desc: not available Url : http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20080908/3ce92b5d/attachment.obj
[sane-devel] sane_set_io_mode and sane_get_select_fd
i assume this is the test backend? the options control the behaviour of the backend, so that it can act like either a backend that does, or does not, support those functions, since they are optional. i am not sure i understand your problem? allan 2008/9/8 Jeffrey Ratcliffe jeffrey.ratcliffe at gmail.com: I attach some sample code calling sane_set_io_mode and sane_get_select_fd, but I can't seem to get it to work. Without calling sane_start, I get: initialising sane... Success opening test... Success Setting non-blocking option... Success Setting non-blocking... Invalid argument Setting fd option... Success Setting fd... Invalid argument If I comment-in the sane_start call (as I understand should be from the docs), I get: initialising sane... Success opening test... Success start... Success Setting non-blocking option... Invalid argument Setting non-blocking... Operation not supported Setting fd option... Invalid argument Setting fd... Operation not supported What am I missing? Regards Jeff Ratcliffe -- sane-devel mailing list: sane-devel at lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-request at lists.alioth.debian.org -- The truth is an offense, but not a sin
[sane-devel] sane_set_io_mode and sane_get_select_fd
2008/9/8 m. allan noah kitno455 at gmail.com: i assume this is the test backend? the options control the behaviour of the backend, so that it can act like either a backend that does, or does not, support those functions, since they are optional. i am not sure i understand your problem? I've hard-coded the test backend into the example - but despite turning on the options, I still can't get it to work. Regards Jeff
[sane-devel] ID card scanners for Linux
Hello I am looking for ID scanner chinese production (cheap) that works with LINUX. Best Regards Emil Sarnecki -- next part -- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20080908/f61ec171/attachment.htm
[sane-devel] sane_set_io_mode and sane_get_select_fd
Setting non-blocking option... Invalid argument the option did not get set, so it cant be true inside the function. maybe crank up the debug level on the test backend? allan On Mon, Sep 8, 2008 at 10:12 AM, Jeffrey Ratcliffe jeffrey.ratcliffe at gmail.com wrote: 2008/9/8 m. allan noah kitno455 at gmail.com: i assume this is the test backend? the options control the behaviour of the backend, so that it can act like either a backend that does, or does not, support those functions, since they are optional. i am not sure i understand your problem? I've hard-coded the test backend into the example - but despite turning on the options, I still can't get it to work. Regards Jeff -- The truth is an offense, but not a sin
[sane-devel] sane_set_io_mode and sane_get_select_fd
2008/9/8 m. allan noah kitno455 at gmail.com: Setting non-blocking option... Invalid argument the option did not get set, so it cant be true inside the function. maybe crank up the debug level on the test backend? Ah. Didn't realise you could do that. export SANE_DEBUG_TEST=4 The relevant part of the output now looks like this: start... Success [test] sane_control_option: handle=0x804dfa8, opt=19, act=1, val=0xbffa0470, info=0xbffa0468 [test] sane_control_option: is scanning Setting non-blocking option... Invalid argument [test] sane_set_io_mode: handle = 0x804dfa8, non_blocking = 1 Setting non-blocking... Operation not supported [test] sane_control_option: handle=0x804dfa8, opt=20, act=1, val=0xbffa0470, info=0xbffa0468 [test] sane_control_option: is scanning Setting fd option... Invalid argument [test] sane_get_select_fd: handle = 0x804dfa8, fd != 0 Setting fd... Operation not supported [test] sane_close: handle=0x804dfa8 If I comment out the sane_start call, it becomes: opening test... Success [test] sane_control_option: handle=0x804dfa8, opt=19, act=1, val=0xbfb2c000, info=0xbfb2bff8 [test] sane_control_option: set option 19 (non-blocking) to true [test] sane_control_option: finished, info= Setting non-blocking option... Success [test] sane_set_io_mode: handle = 0x804dfa8, non_blocking = 1 [test] sane_set_io_mode: not scanning Setting non-blocking... Invalid argument [test] sane_control_option: handle=0x804dfa8, opt=20, act=1, val=0xbfb2c000, info=0xbfb2bff8 [test] sane_control_option: set option 20 (select-fd) to true [test] sane_control_option: finished, info= Setting fd option... Success [test] sane_get_select_fd: handle = 0x804dfa8, fd != 0 [test] sane_get_select_fd: not scanning Setting fd... Invalid argument [test] sane_close: handle=0x804dfa8 But I'm still no wiser. Any ideas? Or do you have some example code that uses sane_set_io_mode or sane_get_select_fd? Jeff
[sane-devel] sane_set_io_mode and sane_get_select_fd
hmm- how about: sane_control_option sane_start sane_set_io_mode allan On Mon, Sep 8, 2008 at 3:41 PM, Jeffrey Ratcliffe jeffrey.ratcliffe at gmail.com wrote: 2008/9/8 m. allan noah kitno455 at gmail.com: Setting non-blocking option... Invalid argument the option did not get set, so it cant be true inside the function. maybe crank up the debug level on the test backend? Ah. Didn't realise you could do that. export SANE_DEBUG_TEST=4 The relevant part of the output now looks like this: start... Success [test] sane_control_option: handle=0x804dfa8, opt=19, act=1, val=0xbffa0470, info=0xbffa0468 [test] sane_control_option: is scanning Setting non-blocking option... Invalid argument [test] sane_set_io_mode: handle = 0x804dfa8, non_blocking = 1 Setting non-blocking... Operation not supported [test] sane_control_option: handle=0x804dfa8, opt=20, act=1, val=0xbffa0470, info=0xbffa0468 [test] sane_control_option: is scanning Setting fd option... Invalid argument [test] sane_get_select_fd: handle = 0x804dfa8, fd != 0 Setting fd... Operation not supported [test] sane_close: handle=0x804dfa8 If I comment out the sane_start call, it becomes: opening test... Success [test] sane_control_option: handle=0x804dfa8, opt=19, act=1, val=0xbfb2c000, info=0xbfb2bff8 [test] sane_control_option: set option 19 (non-blocking) to true [test] sane_control_option: finished, info= Setting non-blocking option... Success [test] sane_set_io_mode: handle = 0x804dfa8, non_blocking = 1 [test] sane_set_io_mode: not scanning Setting non-blocking... Invalid argument [test] sane_control_option: handle=0x804dfa8, opt=20, act=1, val=0xbfb2c000, info=0xbfb2bff8 [test] sane_control_option: set option 20 (select-fd) to true [test] sane_control_option: finished, info= Setting fd option... Success [test] sane_get_select_fd: handle = 0x804dfa8, fd != 0 [test] sane_get_select_fd: not scanning Setting fd... Invalid argument [test] sane_close: handle=0x804dfa8 But I'm still no wiser. Any ideas? Or do you have some example code that uses sane_set_io_mode or sane_get_select_fd? Jeff -- The truth is an offense, but not a sin
[sane-devel] ID card scanners for Linux
The travelscan 662 by Syscan (also marketed by Ambir and Sysview) is listed as working with SANE. -- JACK MCGILL jmcgill85258 at yahoo.com
[sane-devel] Mustek ScanExpress A3 USB 1200 PRO
I'm trying to get this scanner to work. I'm on Ubuntu 8.04. lsusb Bus 003 Device 005: ID 055f:040b Mustek Systems, Inc. sane-find-scanner -q found USB scanner (vendor=0x055f [Hewlett-Packard.], product=0x040b [USB2.0 Scanner], chip=SQ113) at libusb:003:005 In my searching I found http://www.meier-geinitz.de/sane/mustek_usb2-backend/. I found another thread (http://www.nabble.com/Mustek-ScanExpress-A3-600-USB-Pro-td14698028.html) which suggested trying the latest backend snapshot (http://www.sane-project.org/snapshots/) and changing the ProductID and VendorID to match what this scanner has. I've done that rebuilt and installed (make make install). After this xsane comes up and can communicate with the scanner. When I preview the image it comes back with garbage -- multi-colored vertical stripes (when I scanned an image it also came back with garbage). So it is similar enough to control the scanner it seems. Has anyone else had any luck with this scanner? I'm willing (though I'm not sure how able I am) to spend some time digging around in the code to figure it out a bit more. I don't really know where to start so any pointers here would be useful. Thanks. -Jay
[sane-devel] sane_set_io_mode and sane_get_select_fd
2008/9/8 m. allan noah kitno455 at gmail.com: sane_control_option sane_start sane_set_io_mode Thanks! that did the trick. On reflection, it should have been obvious, but I couldn't see the wood for the trees... Regards Jeff
[sane-devel] Authorisation callback
Is there any way of testing the authorisation callback? The test backend doesn't seem to support it. Regards Jeff
[sane-devel] Mustek ScanExpress A3 USB 1200 PRO
Jay Anderson wrote: I'm trying to get this scanner to work. I'm on Ubuntu 8.04. lsusb Bus 003 Device 005: ID 055f:040b Mustek Systems, Inc. sane-find-scanner -q found USB scanner (vendor=0x055f [Hewlett-Packard.], product=0x040b [USB2.0 Scanner], chip=SQ113) at libusb:003:005 In my searching I found http://www.meier-geinitz.de/sane/mustek_usb2-backend/. I found another thread (http://www.nabble.com/Mustek-ScanExpress-A3-600-USB-Pro-td14698028.html) which suggested trying the latest backend snapshot (http://www.sane-project.org/snapshots/) and changing the ProductID and VendorID to match what this scanner has. I've done that rebuilt and installed (make make install). After this xsane comes up and can communicate with the scanner. When I preview the image it comes back with garbage -- multi-colored vertical stripes (when I scanned an image it also came back with garbage). So it is similar enough to control the scanner it seems. Has anyone else had any luck with this scanner? I'm willing (though I'm not sure how able I am) to spend some time digging around in the code to figure it out a bit more. I don't really know where to start so any pointers here would be useful. Thanks. -Jay Don't know what this means for the 1200 DPI model, but the state of affairs concerning the ScanExpress A3 600 is that there is a Mustek driver here: http://www.mustek.com.tw/apprg/countdriverdownloadtimes?LINK=ftp://ftp.mustek.com.tw/pub//driver/A3IIIU2/600DPI/Linux/1LV1019/libsane_1.0.19-1_i386.debDRIVERFILEID=447 http://www.mustek.com.tw/apprg/countdriverdownloadtimes?LINK=ftp://ftp.mustek.com.tw/pub//driver/A3IIIU2/600DPI/Linux/1LV1019/sane-backends-1.0.19-2.i386.rpmDRIVERFILEID=449 These are RPMs (i386) including a customized mustek_usb2 driver (libsane 1.0.19). It was impossible for me to get these drivers running (suspected to be quick'n'dirty) and also I would like to run other scanners in addition. I've written several time to Mustek to give free the source of their mustek_usb2 with no reply at all. Maybe it's a good idea to keep on with the enquiries to give away their source, BTW it has been discussed before on the list (http://lists.alioth.debian.org/pipermail/sane-devel/2008-August/022583.html) that their driver packet injures the GPL of Sane. Another way would be naturally to make a driver on our own, begin with a USB sniff within Windows and to manipulate mustek_usb2 to begin with. But I do not have any experiences with that. Greetings, Daniel Stender
[sane-devel] problems getting xsane to read from Nikon Coolscan V
I am trying to use xsane with my Nikon Coolscan V ED scanner on Opensuse 11.0, Linux 2.6.25.11-0.1-default. When I run xsane as a user, I get: No devices available. When I run xsane as root, xsane runs, will preview what's in the scanner, but if I press Scan, the scanner motor hums for a split second and then xsane issues the error: Error during read: Error during device I/O. I read http://www.sane-project.org/README.linux, and have the following info: scanimage -L scanimage -L reports: device `coolscan2:usb:libusb:002:007' is a NikonLS-50 ED film scanner for both user and root. /proc/bus/usb There is nothing in /proc/bus/usb. sane-find-scanner Reports: found USB scanner (vendor=0x04b0 [Nikon], product=0x4001 [LS-50 ED]) at libusb:002:007 libusb I'm running libusb-0.1.12-110.1 /etc/udev/rules.d contains 55-libsane.rules, which contains the following lines: # Nikon LS 50 ED | Nikon Coolscan V ED SYSFS{idVendor}==04b0, SYSFS{idProduct}==4001, MODE=0664, GROUP=lp, ENV{libsane_matched}=yes So, the default group is lp, not scanner. hotplug /etc/hotplug does not exist, and locate cannot find libsane.usermap or libusbscanner. Versions: Xsane version 0.995 (c) 1998-2008 Oliver Rauch (modified by Novell, Inc.) sane-backends 1.0.19-48.1 sane-backends-autoconfig 1.0.19-48.1 sane-frontends 1.0.14-250.1 -- next part -- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20080909/ae749931/attachment.htm
[sane-devel] question about the motor struct of genesys backend
Hello Pierre, I am currently studying how to add support for the HP2400/G2410 to the gl646 part of the genesys backend. I am currently trying to figure out how to fill the values for the motor struct in genesys_devices. How did you find the current values, are they provisional for most models but exact for LiDE 35, or are they ready to use ? In case they need to be changed, on which data may I base the changes ? Regards, Stef
[sane-devel] Mustek ScanExpress A3 USB 1200 PRO
Is this another windows driver that uses usbscan.sys??? Bob In message 48C64A13.6030407 at uni-bonn.de, Daniel Stender uzstzm at uni- bonn.de writes Jay Anderson wrote: I'm trying to get this scanner to work. I'm on Ubuntu 8.04. lsusb Bus 003 Device 005: ID 055f:040b Mustek Systems, Inc. sane-find-scanner -q found USB scanner (vendor=0x055f [Hewlett-Packard.], product=0x040b [USB2.0 Scanner], chip=SQ113) at libusb:003:005 In my searching I found http://www.meier-geinitz.de/sane/mustek_usb2-backend/. I found another thread (http://www.nabble.com/Mustek-ScanExpress-A3-600-USB-Pro-td14698028.html) which suggested trying the latest backend snapshot (http://www.sane-project.org/snapshots/) and changing the ProductID and VendorID to match what this scanner has. I've done that rebuilt and installed (make make install). After this xsane comes up and can communicate with the scanner. When I preview the image it comes back with garbage -- multi-colored vertical stripes (when I scanned an image it also came back with garbage). So it is similar enough to control the scanner it seems. Has anyone else had any luck with this scanner? I'm willing (though I'm not sure how able I am) to spend some time digging around in the code to figure it out a bit more. I don't really know where to start so any pointers here would be useful. Thanks. -Jay Don't know what this means for the 1200 DPI model, but the state of affairs concerning the ScanExpress A3 600 is that there is a Mustek driver here: http://www.mustek.com.tw/apprg/countdriverdownloadtimes?LINK=ftp://ftp.mustek.co m.tw/pub//driver/A3IIIU2/600DPI/Linux/1LV1019/libsane_1.0.19-1_i386.debDRIVERFI LEID=447 http://www.mustek.com.tw/apprg/countdriverdownloadtimes?LINK=ftp://ftp.mustek.co m.tw/pub//driver/A3IIIU2/600DPI/Linux/1LV1019/sane-backends-1.0.19-2.i386.rpmDR IVERFILEID=449 These are RPMs (i386) including a customized mustek_usb2 driver (libsane 1.0.19). It was impossible for me to get these drivers running (suspected to be quick'n'dirty) and also I would like to run other scanners in addition. I've written several time to Mustek to give free the source of their mustek_usb2 with no reply at all. Maybe it's a good idea to keep on with the enquiries to give away their source, BTW it has been discussed before on the list (http://lists.alioth.debian.org/pipermail/sane-devel/2008-August/022583.html) that their driver packet injures the GPL of Sane. Another way would be naturally to make a driver on our own, begin with a USB sniff within Windows and to manipulate mustek_usb2 to begin with. But I do not have any experiences with that. Greetings, Daniel Stender -- robert w hall
[sane-devel] Authorisation callback
good question. i've never seen anything that uses it. anyone? allan On Tue, Sep 9, 2008 at 8:09 AM, Jeffrey Ratcliffe jeffrey.ratcliffe at gmail.com wrote: Is there any way of testing the authorisation callback? The test backend doesn't seem to support it. Regards Jeff -- sane-devel mailing list: sane-devel at lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-request at lists.alioth.debian.org -- The truth is an offense, but not a sin
[sane-devel] Mustek ScanExpress A3 USB 1200 PRO
robert w hall bobh at n-cantrell.demon.co.uk writes: Is this another windows driver that uses usbscan.sys??? Bob How can I check this? I didn't see that file anywhere on the install cd.
[sane-devel] question about the motor struct of genesys backend
stef schrieb: Hello Pierre, I am currently studying how to add support for the HP2400/G2410 to the gl646 part of the genesys backend. I am currently trying to figure out how to fill the values for the motor struct in genesys_devices. How did you find the current values, are they provisional for most models but exact for LiDE 35, or are they ready to use ? In case they need to be changed, on which data may I base the changes ? The values in the motor struct are specific to the mechanical design of the scanner. Currently, the gl841 part only supports devices that seem to be very similar(at least mechanical) to my LiDE 35, so the motor struct is just reused/copied. Originally, the values were derived from the linear curves(only in step number domain, not in time domain...) sent by the windows driver. Later i experimentally improved them (and had to back off quite a bit after complaints). I ended up with a stepping slope that keeps the scanning head going, even when the scanner is held in such a way that the head must go upwards. In absence of an initial curve, one could start with very slow stepping and improve that. The values inside the motor struct are not critical to get right, most of the time the maximum speed is capped by the maximum exposure time. Only during pure feeds(scanning head going back) or using low resolution scans the final speeds in the motor struct really improve anything. (This is probably not true for scanners that do multiple motor power modes.) Regards, Pierre PS.: make sure you use an exposure calculation method and a slope generator that actually uses the values in the motor struct. Slope generation and exposure calculation is a mess, in part due to my changes.
[sane-devel] udev rules question for hp-psc2355
I have been using saned for networking scanners on slackware for 3 or so years with hpoj and a hp-psc2355 but recently upgraded the server box to slack-12.1 and decided to not use hpoj as its a bit old. I set up as usually with permissions, /etc/services, /etc/inetd.conf and /etc/sane.d config files on both server and clients. I could scan as a user in an ssh session on the server but could not do so as client. I finally figured out that the permissions being set up were defined in /etc/udev/rules.d/55-hpumd.rules and not in 80-libsane.rules. The device belonged to root:lp and in order to allow users to scan I had to change permissions from 0664 to 0666 in the rule. I suppose the alternative would be to make the users members of lp but I've never heard of users being members of lp before. What is correct in this situation? -- Cheers, Rick Miles Movement stopped is no movement, and rest set in motion is no rest. Written on Prickle-Prickle, the 35th of Bureaucracy, 3174 http://turtlespond.net
[sane-devel] udev rules question for hp-psc2355
we produce neither the hpoj backend or the hpumd.rules file, so i'm afraid we dont have an answer. but, if i were you i would ask the hplip folks (or your distro maker) to improve their udev rules for devices with scanners. allan On Wed, Sep 10, 2008 at 3:50 PM, Rick Miles frmrick at aapt.net.au wrote: I have been using saned for networking scanners on slackware for 3 or so years with hpoj and a hp-psc2355 but recently upgraded the server box to slack-12.1 and decided to not use hpoj as its a bit old. I set up as usually with permissions, /etc/services, /etc/inetd.conf and /etc/sane.d config files on both server and clients. I could scan as a user in an ssh session on the server but could not do so as client. I finally figured out that the permissions being set up were defined in /etc/udev/rules.d/55-hpumd.rules and not in 80-libsane.rules. The device belonged to root:lp and in order to allow users to scan I had to change permissions from 0664 to 0666 in the rule. I suppose the alternative would be to make the users members of lp but I've never heard of users being members of lp before. What is correct in this situation? -- Cheers, Rick Miles Movement stopped is no movement, and rest set in motion is no rest. Written on Prickle-Prickle, the 35th of Bureaucracy, 3174 http://turtlespond.net -- sane-devel mailing list: sane-devel at lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-request at lists.alioth.debian.org -- The truth is an offense, but not a sin
[sane-devel] Mustek ScanExpress A3 USB 1200 PRO
Daniel Stender uzstzm at uni-bonn.de writes: Another way would be naturally to make a driver on our own, begin with a USB sniff within Windows and to manipulate mustek_usb2 to begin with. But I do not have any experiences with that. I have the scanner working through windows on vmware on ubuntu. Is there some recommended software for doing the USB sniff and interpreting the output? Thanks. -Jay
[sane-devel] [Newbie] - Can't use Canoscan N1220U with xsane - FreeBSD 7.0
Hello, I have installed xsane which says it can't find the scanner. But the scanner is there as shown by # sane-find-scanner -q found USB scanner (vendor=0x04a9, product=0x2207) at /dev/uscanner0 scanimage -L says he can't find it. So I added [usb] 0x04a9 0x2207 device /dev/uscanner0 to plustek.conf in /usr/local/etc/sane.d but this does nothing for me. As always, any help appreciated Bernard Higonnet
[sane-devel] New backend for a not yet exisiting device
Dear Dev-Team, first of all I'm a complete newbie in terms of scanners resp. the development of sane. I hope you can help me a bit to sort out some questions. Background: We are going to develop a new kind of scientific measurement device which acts similar to a scanner. Our measurements are latterly resolved e.g. we can create a pixel by pixel map whereas the measurement signal might be represented by a colour. This is, so fare well known already for similar devices already (Actually, it is not different to a normal scanner). Our reading unit can read line by line and thus we are thinking to use the mechanical set-up of a normal scanner to acquire a complete picture. Idea: For sure, it would be perfect, if we can address this type of new scanner in the same way like a normal scanner. E.g. by TWAIN-Protocol or by SANE. This guarantees to capture measurements many kind of different software. Problem: I have totally no idea how the communication between a scanner and the computer works. I read about intelligent scanners which just get commands like scan with 600dpi one A4 page and about dumb scanners which requires commands like turn on stepper motor for next line, scan line, etc. Is there any information available which might help me to identify which basic scanner set-up might be the best for our purpose. I guess the dumb version gives us access to lower level functions which we might need ?Any kind of this hacks known already ? Does somebody know a scanner brand or a specific model which is easy hackable for our purpose. Is there one out with full open/known programming interface or does this require always a reverse engineering of all the different commands ? Is there a sane-dev favourite scanner due to the easiness of use and addressing ? A USB-model might be preferable but a LPT-based model might be easier to access ?! I appreciate any kind of information and help. Best regards Totti
[sane-devel] New backend for a not yet exisiting device
I think you would want to stick with lower level (stupid) machines that have chips from a third party which gives away documentation on their website. Something like rts* gt*, genesys backends should be useful. If you sensor sled is going to weigh more than the original, or if you use a different motor, you will probably want to use a scanner that gets its motor acceleration tables from the driver (genesys?) allan On Mon, Sep 15, 2008 at 11:22 AM, Torsten Wagner torsten.wagner at fh-aachen.de wrote: Dear Dev-Team, first of all I'm a complete newbie in terms of scanners resp. the development of sane. I hope you can help me a bit to sort out some questions. Background: We are going to develop a new kind of scientific measurement device which acts similar to a scanner. Our measurements are latterly resolved e.g. we can create a pixel by pixel map whereas the measurement signal might be represented by a colour. This is, so fare well known already for similar devices already (Actually, it is not different to a normal scanner). Our reading unit can read line by line and thus we are thinking to use the mechanical set-up of a normal scanner to acquire a complete picture. Idea: For sure, it would be perfect, if we can address this type of new scanner in the same way like a normal scanner. E.g. by TWAIN-Protocol or by SANE. This guarantees to capture measurements many kind of different software. Problem: I have totally no idea how the communication between a scanner and the computer works. I read about intelligent scanners which just get commands like scan with 600dpi one A4 page and about dumb scanners which requires commands like turn on stepper motor for next line, scan line, etc. Is there any information available which might help me to identify which basic scanner set-up might be the best for our purpose. I guess the dumb version gives us access to lower level functions which we might need ?Any kind of this hacks known already ? Does somebody know a scanner brand or a specific model which is easy hackable for our purpose. Is there one out with full open/known programming interface or does this require always a reverse engineering of all the different commands ? Is there a sane-dev favourite scanner due to the easiness of use and addressing ? A USB-model might be preferable but a LPT-based model might be easier to access ?! I appreciate any kind of information and help. Best regards Totti -- sane-devel mailing list: sane-devel at lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-request at lists.alioth.debian.org -- The truth is an offense, but not a sin
[sane-devel] New backend for a not yet exisiting device
Dear Allan, thanks for the fast reply. I checked the chips from genesys. As far as I understood they are seperated in a USB-communication part and a ASIC design for the ccd-chip.
[sane-devel] New backend for a not yet exisiting device
On Mon, Sep 15, 2008 at 2:37 PM, Torsten Wagner torsten.wagner at fh-aachen.de wrote: Dear Allan, thanks for the fast reply. I checked the chips from genesys. As far as I understood they are seperated in a USB-communication part and a ASIC design for the ccd-chip. From my point of view it will make no sense to try to adopt our very different sensor signal to the one a CCD-chip might send to the genesys chip. Thus, I believe the best solution might be to emulate one of those chips from the communication side. Since we are going to use a FPGA for other purposes already it might be the easiest way to emulate the communication between the PC and the scanner chip such that the sane-backend resp. Twain-driver still believes a normal scanner is connected. Is there one IC with a wide usage or something like a reference IC? Is there any kind of standard protocoll, which we might can follow? there is nothing standard about any of these protocols except maybe the ones based on SCSI could be called a 'half-standard' Which manufacture provides most information? And which one welcomes projects like this (resp. opensource in general) without let the dogs resp. lawyers out. most of the chip makers who would give you specs dont make a twain driver for you to 'repurpose'. i find it funny to think that you would write code to use an fpga to emulate a machine, just to avoid writing some code :) ask yourself seriously, is anyone ever going to want to 'aquire' a TWAIN image from this thing to insert into a document or something? most labs i have ever worked with moved files around on a flash drive to achieve the same effect. allan At Montag, 15. September 2008 17:46:46, m. allan noah wrote: I think you would want to stick with lower level (stupid) machines that have chips from a third party which gives away documentation on their website. Something like rts* gt*, genesys backends should be useful. If you sensor sled is going to weigh more than the original, or if you use a different motor, you will probably want to use a scanner that gets its motor acceleration tables from the driver (genesys?) allan On Mon, Sep 15, 2008 at 11:22 AM, Torsten Wagner torsten.wagner at fh-aachen.de wrote: -- Dipl.-Ing. Torsten Wagner, MSc University of Applied Sciences Aachen Campus Juelich Institute for Nano- and Biotechnologies (INB) Ginsterweg 1, D-52428 Juelich, Germany Tel.: +49 241 600953215 or +49 2461 612466 Fax: +49 2461 600953235 Email: torsten.wagner at fh-aachen.de and Research Centre Juelich GmbH Institute of Bio- and Nanosystems (IBN-2) D-52425 Juelich Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html -- sane-devel mailing list: sane-devel at lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-request at lists.alioth.debian.org -- The truth is an offense, but not a sin
[sane-devel] New backend for a not yet exisiting device
Dear Allan, thanks for your answer. there is nothing standard about any of these protocols except maybe the ones based on SCSI could be called a 'half-standard' O.k., I see Which manufacture provides most information? And which one welcomes projects like this (resp. opensource in general) without let the dogs resp. lawyers out. most of the chip makers who would give you specs dont make a twain driver for you to 'repurpose'. i find it funny to think that you would write code to use an fpga to emulate a machine, just to avoid writing some code :) For sure I can (try to) write a backend for our special needs. I just thought if there is an emulation of a specific IC I can install the device either by the original TWAIN drivers or by the already exisiting sane backend. I thought this might make it more flexible. I can caputer measurements e.g. by all programs which offers twain resp. sane support. ask yourself seriously, is anyone ever going to want to 'aquire' a TWAIN image from this thing to insert into a document or something? most labs i have ever worked with moved files around on a flash drive to achieve the same effect. The scanner will have the same size as an original one and we like to demonstrate the easieness of usage as a standard benchtop device even outside of laboratory environments. Thus, the idea to create a device which acts like a normal scanner. Best regards, Torsten allan At Montag, 15. September 2008 17:46:46, m. allan noah wrote: I think you would want to stick with lower level (stupid) machines that have chips from a third party which gives away documentation on their website. Something like rts* gt*, genesys backends should be useful. If you sensor sled is going to weigh more than the original, or if you use a different motor, you will probably want to use a scanner that gets its motor acceleration tables from the driver (genesys?) allan On Mon, Sep 15, 2008 at 11:22 AM, Torsten Wagner torsten.wagner at fh-aachen.de wrote: -- Dipl.-Ing. Torsten Wagner, MSc University of Applied Sciences Aachen Campus Juelich Institute for Nano- and Biotechnologies (INB) Ginsterweg 1, D-52428 Juelich, Germany Tel.: +49 241 600953215 or +49 2461 612466 Fax: +49 2461 600953235 Email: torsten.wagner at fh-aachen.de and Research Centre Juelich GmbH Institute of Bio- and Nanosystems (IBN-2) D-52425 Juelich Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html -- sane-devel mailing list: sane-devel at lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-request at lists.alioth.debian.org -- The truth is an offense, but not a sin
[sane-devel] New backend for a not yet exisiting device
On Tue, Sep 16, 2008 at 6:26 AM, Torsten Wagner torsten.wagner at fh-aachen.de wrote: Dear Allan, thanks for your answer. there is nothing standard about any of these protocols except maybe the ones based on SCSI could be called a 'half-standard' O.k., I see Which manufacture provides most information? And which one welcomes projects like this (resp. opensource in general) without let the dogs resp. lawyers out. most of the chip makers who would give you specs dont make a twain driver for you to 'repurpose'. i find it funny to think that you would write code to use an fpga to emulate a machine, just to avoid writing some code :) For sure I can (try to) write a backend for our special needs. I just thought if there is an emulation of a specific IC I can install the device either by the original TWAIN drivers or by the already exisiting sane backend. I thought this might make it more flexible. I can caputer measurements e.g. by all programs which offers twain resp. sane support. ask yourself seriously, is anyone ever going to want to 'aquire' a TWAIN image from this thing to insert into a document or something? most labs i have ever worked with moved files around on a flash drive to achieve the same effect. The scanner will have the same size as an original one and we like to demonstrate the easieness of usage as a standard benchtop device even outside of laboratory environments. Thus, the idea to create a device which acts like a normal scanner. well, i guess that means you are not scanning radiolabled gels :) if you want to avoid writing any client-side code, you probably want to use one of the scsi-over-usb models, since they tend to self-calibrate, etc. however, you would still have to give appropriate responses from hardware to fool the driver, which could mean dozens of commands. but, you can get enough docs on SCSI to make it possible. allan Best regards, Torsten allan At Montag, 15. September 2008 17:46:46, m. allan noah wrote: I think you would want to stick with lower level (stupid) machines that have chips from a third party which gives away documentation on their website. Something like rts* gt*, genesys backends should be useful. If you sensor sled is going to weigh more than the original, or if you use a different motor, you will probably want to use a scanner that gets its motor acceleration tables from the driver (genesys?) allan On Mon, Sep 15, 2008 at 11:22 AM, Torsten Wagner torsten.wagner at fh-aachen.de wrote: -- Dipl.-Ing. Torsten Wagner, MSc University of Applied Sciences Aachen Campus Juelich Institute for Nano- and Biotechnologies (INB) Ginsterweg 1, D-52428 Juelich, Germany Tel.: +49 241 600953215 or +49 2461 612466 Fax: +49 2461 600953235 Email: torsten.wagner at fh-aachen.de and Research Centre Juelich GmbH Institute of Bio- and Nanosystems (IBN-2) D-52425 Juelich Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html -- sane-devel mailing list: sane-devel at lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-request at lists.alioth.debian.org -- The truth is an offense, but not a sin -- sane-devel mailing list: sane-devel at lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-request at lists.alioth.debian.org -- The truth is an offense, but not a sin
[sane-devel] Creating searchable PDF with ExactImage 0.6
Hi all, ExactImage 0.6(.0) now comes with an revamped PDF writer and hocr2pdf front-end, together with a patch to cuneiform to annotate each recognized glyph with a hOCR-like bounding box, it allows the creation of pretty exactly positioned, searchable PDF files: ExactImage: http://www.exactcode.de/site/open_source/exactimage/ Cuneiform for Linux: https://launchpad.net/cuneiform-linux Cuneiform annotated HTML patch (includes already committed fix), which is not yet conditional. For merging it it probably should only output the additional formating based on some additional command line switch, e.g. --hocr instead of --html or so, but that probably requires changing some 20+ files to pass the information down to the point where the HTML is written: http://t2-project.org/packages/cuneiform.html http://svn.exactcode.de/t2/trunk/package/graphic/cuneiform/html-hocr.patch ExactImage hocr2pdf page with some basic information: http://www.exactcode.de/site/open_source/exactimage/hocr2pdf/ Basically hocr2pdf accepts the input from STDIN (we could also add a -h/--html option to read it from a file) and the image from the filename passed to -i/--input. The resulting PDF filename is specified with -o/--output. Additionally -s/--sloppy-text allows grouping of words on a line for sometimes improved search and cut'n paste results with older PDF viewers and -n/--no-image to skip the image shadowing the text to either save storage space or take a look how exactly the glyphs are positioned. Have fun, patches and inspiration welcome, Ren? -- Ren? Rebe - ExactCODE GmbH - Europe, Germany, Berlin http://exactcode.de | http://t2-project.org | http://rene.rebe.name
[sane-devel] vertical lines along image when scanning and not in windows
i am using a canon canoscan lide 650u i get vertical lines when scanning using xsane from debian etch, i also tried never xsane (testing) without better results the problem doesn't happen in windows with canons driver http://shell2.eushells.com/~dh/naff.png it is much more visible at higher dpi and resolutions, seems that you can see the scanning cable and head-sliding pipe reflected in the image somehow. i tried calibrating and all settings available in xsane, the problem doesn't happen with my scanjet 6300c which is also usb. any ideas what can be the cause? if you need usb driver output from windows i can perhaps supply you with it(i got vmware running) thanks, Michael Ole Olsen
[sane-devel] [AVISION] Problem with a AVISION FB6080E scanner
Hi, I have not forgotten your ACK :-) It's just the incredibly high workload these days (e.g. see Cuneiform / ExactImage, not to forget the T2 SDE :-) I'll try to get some free Sunday soon to look at the Debian services and our automated scripts. Yours, Ren? On 29.08.2008 at 17:17 m. allan noah wrote: svn is fine, go ahead and take a look at the scripts in the CVSROOT... allan On Fri, Aug 29, 2008 at 11:00 AM, Ren? Rebe rene at exactcode.de wrote: Hi, I hope noone votes against a CVS to SVN switch these days :-) (well, ok some folks would probably argue for hg or git, ...). If noone objects, I would even like to offer to spend some time on converting those scripts as anything not CVS (SVN or HG preferred) would make my life interacting with the SANE source tree a way more enjoyful experience. Yours, Julien BLACHE wrote: Ren? Rebe rene at exactcode.de wrote: Hi, Btw. any change we can convert this debian hosted CVS to SVN? It's way saner to use and actually SANE is the only project enforcing this CVS braindamage on me ... :-((( The only issue is that there are a bunch of scripts around the CVS repository that need to be identified and updated for SVN. Other than that, switching to SVN is as easy as asking for the root to be created, running cvs2svn and setting up the commit mails and the updated scripts -- Ren? Rebe - ExactCODE GmbH - Europe, Germany, Berlin http://exactcode.de | http://t2-project.org | http://rene.rebe.name -- sane-devel mailing list: sane-devel at lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-request at lists.alioth.debian.org -- The truth is an offense, but not a sin -- Ren? Rebe - ExactCODE GmbH - Europe, Germany, Berlin Gesch?ftsf?hrer: Susanne Klaus, Ren? Rebe Sitz: Berlin, Amtsgericht Charlottenburg HRB 105 123 B USt-IdNr.: DE251602478 http://exactcode.de | http://t2-project.org | http://rene.rebe.name
[sane-devel] [AVISION] Problem with a AVISION FB6080E scanner
Rene Rebe rene at exactcode.de wrote: Hi, I have not forgotten your ACK :-) It's just the incredibly high workload these days (e.g. see Cuneiform / ExactImage, not to forget the T2 SDE :-) Saw that yesterday, looks interesting :) I'll try to get some free Sunday soon to look at the Debian services and our automated scripts. If you need anything, just ask. I should be available. JB. -- Julien BLACHE http://www.jblache.org jb at jblache.org GPG KeyID 0xF5D65169
[sane-devel] Sheetfed Scanners
Hello, I am relatively new to linux and have posted a couple of times. I am interested in the small mobile document scanners, also known as pass-through or sheetfed scanners. I have made a small web page that attempts to summarize the sheetfed scanners that are available http://sites.google.com/site/sheetfedscannerslinux/. This is meant to complement the supported devices section of the Sane webpage. Also, I have recently purchased several of these on eBay, when I could get a really good price. I wanted to offer these to the Sane project as my contribution. If a Sane developer is interested in any of these, email me and describe your experience developing Sane. I will send you the scanner and it is yours to keep. You can use it or abuse it however you see fit. All I ask is that you put a driver into the Sane project for that device. I will pay for postage. I will try to pay any customs fees or VAT, but you may have to pay this. Here is a list of what I have available: Visioneer Strobe XP 200: This has a GL646 chipset, so it could be adapted to the genesys backend. It is powered through an external 17 volt power supply. Mine fits North American style sockets. Visioneer Strobe XP 300: This has a GL842 chip, so it could be adapted to the genesys backend. It can be powered through the USB cable. It also can be powered through an external power supply for faster scans. It is a duplex scanner (scans both sides simultaneously). The scanner that I have does put a black line down the middle of one of the sides that it scans, which is probably due to a bad sensor. This should not affect the ability to develop a driver, but it may decrease the value of the scanner to you. Visioneer Strobe Pro: The chip inside appears to be a proprietary Visioneer chip. A whole new backend would probably have to be written. The only advantage to going through the trouble of doing this that I can see is that these scanners are really cheap on ebay. This scanner needs an external power supply. Pentax DS Mobile: This is supposedly the same as the syscan Travelscan Pro 2300. I won a lot of 10 of these on ebay and I expect that at least one will work. This has a LM9832/3 chip and should be adaptable to the plustek backend. Visioneer RoadWarrior: This has a GL842 chip, so it could be adapted to genesys. I have one of these that I paid full retail price and I am emotionally attached to it. I could loan it out for a few months, but I'd like to eventually get it back. Also, someone may already be working on this device. This device is powered through the USB cable. Visioneer OneTouch 5800 USB flatbed scanner: I have one of these that I don't want. It is pretty heavy, so I only want to ship this in the United States. Realtek RTS8801C chipset. -- Jack McGill
[sane-devel] usb_set_interface and usb_claim_interface
Hello, sorry that I was wrong about libusb function, the right one is usb_set_configuration(), I saw in sanei_usb the place of usb_set_configuration is before usb_claim_interface being used, but when I saw in sane-backend for 1.0.16 , the sm3600 was usb_claim_interface first after that is usb_set_configuration , so I follow that way, after that I don't exactly understand why, but for now is already works, I will going to change and to use sanei_usb.h . -- next part -- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20080917/395210bd/attachment.htm
[sane-devel] Sheetfed Scanners
Hi Jack, On Wednesday 17 September 2008 18:07:38 Jack McGill wrote: [SNIPSNAP] Pentax DS Mobile: This is supposedly the same as the syscan Travelscan Pro 2300. I won a lot of 10 of these on ebay and I expect that at least one will work. This has a LM9832/3 chip and should be adaptable to the plustek backend. Care to do tests on your own? Could you send me the vendor and device id - I'll make a patch to the backend so you could do some tests. - Gerhard
[sane-devel] Sheetfed Scanners
Hello Gerhard, That sounds good. The shipment of the DS Mobiles has been delayed by hurricane Ike. I'll let you know when I receive them. -- Jack McGill
[sane-devel] [PATCH] OT: Scanbuttond: Support for HP4570/5550/5590/7650 scanners
As scanbuttond author seems unresponsive on his SF mail address, I'm posting the patch for scanbuttond (applies over CVS version) here. Hope someone finds it useful. Best regards, -- Ilia Sotnikov diff -Nur --exclude CVS scanbuttond.orig/backends/hp5590.c scanbuttond/backends/hp5590.c --- scanbuttond.orig/backends/hp5590.c 1970-01-01 03:00:00.0 +0300 +++ scanbuttond/backends/hp5590.c 2008-09-15 18:28:24.0 +0300 @@ -0,0 +1,583 @@ +/* hp5590.c: HP4570/5550/5590/7650 backend + * This file is part of scanbuttond. + * Copyleft )c( 2008 by Ilia Sotnikov hostcc at gmail.com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +#include string.h +#include syslog.h +#include errno.h +#include netinet/in.h /* For htons() */ +#include scanbuttond/scanbuttond.h +#include scanbuttond/libusbi.h +#include hp5590.h + +static char* backend_name = HP5590 USB; + +#define NUM_SUPPORTED_USB_DEVICES 4 + +static int supported_usb_devices[NUM_SUPPORTED_USB_DEVICES][3] = +{ + /* vendor, product, num_buttons */ + { 0x03f0, 0x1305, 5 }, /* HP Scanjet 4570 */ + { 0x03f0, 0x1305, 5 }, /* HP Scanjet 5550 */ + { 0x03f0, 0x1705, 5 }, /* HP Scanjet 5590 */ + { 0x03f0, 0x1805, 5 }, /* HP Scanjet 7650 */ +}; + +static char* usb_device_descriptions[NUM_SUPPORTED_USB_DEVICES][2] = +{ + { Hewlett-Packard, ScanJet 4570 }, + { Hewlett-Packard, ScanJet 5550 }, + { Hewlett-Packard, Scanjet 5590 }, + { Hewlett-Packard, Scanjet 7650 }, +}; + +static libusb_handle_t* libusb_handle; +static scanner_t* hp5590_scanners = NULL; + +/* returns -1 if the scanner is unsupported, or the index of the + * corresponding vendor-product pair in the supported_usb_devices array. + */ +static int +hp5590_match_libusb_scanner(libusb_device_t* device) +{ + int index; + + for (index = 0; index NUM_SUPPORTED_USB_DEVICES; index++) + { + if (supported_usb_devices[index][0] == device-vendorID + supported_usb_devices[index][1] == device-productID) + break; + } + + if (index = NUM_SUPPORTED_USB_DEVICES) + return -1; + + return index; +} + +static void +hp5590_attach_libusb_scanner (libusb_device_t* device) +{ + const char* descriptor_prefix = hp5590:libusb:; + int index; + + index = hp5590_match_libusb_scanner(device); + /* Unsupported */ + if (index 0) + return; + + scanner_t* scanner = (scanner_t*) malloc (sizeof(scanner_t)); + scanner-vendor = usb_device_descriptions[index][0]; + scanner-product = usb_device_descriptions[index][1]; + scanner-connection = CONNECTION_LIBUSB; + scanner-internal_dev_ptr = (void*) device; + scanner-lastbutton = 0; + scanner-sane_device = (char*) malloc (strlen (device-location) + + strlen (descriptor_prefix) + 1); + strcpy (scanner-sane_device, descriptor_prefix); + strcat (scanner-sane_device, device-location); + scanner-num_buttons = supported_usb_devices[index][2]; + scanner-is_open = 0; + scanner-next = hp5590_scanners; + hp5590_scanners = scanner; +} + +static void +hp5590_detach_scanners (void) +{ + scanner_t* next; + while (hp5590_scanners != NULL) + { + next = hp5590_scanners-next; + free (hp5590_scanners-sane_device); + free (hp5590_scanners); + hp5590_scanners = next; + } +} + +static void +hp5590_scan_devices (libusb_device_t* devices) +{ + int index; + libusb_device_t* device = devices; + while (device != NULL) + { + index = hp5590_match_libusb_scanner (device); + if (index = 0) + hp5590_attach_libusb_scanner (device); + device = device-next; + } +} + +static int +hp5590_init_libusb (void) +{ + libusb_device_t* devices; + + libusb_handle = libusb_init (); + devices = libusb_get_devices (libusb_handle); + hp5590_scan_devices (devices); + return 0; +} + +static void +hp5590_flush (scanner_t* scanner) +{ + switch (scanner-connection) + { + case CONNECTION_LIBUSB: +
[sane-devel] [PATCH] OT: Scanbuttond: Support for HP4570/5550/5590/7650 scanners
Hello, On Friday 19 September 2008 10:41:41 Ilia Sotnikov wrote: As scanbuttond author seems unresponsive on his SF mail address, I'm posting the patch for scanbuttond (applies over CVS version) here. Hope someone finds it useful. Best regards, -- Ilia Sotnikov I've commited your backend so it's available in CVS version of scanbuttond. Thank you for your work, Jonathan Bravo Lopez
[sane-devel] HP 2400c - genesys - failure/success
Stef, I'm *really* happy to hear that somebody is still working on hp2400-like support :) As proposed as well by Robert Morton, if you need to test your work, don't hesitate to contact me. I'd be glad to help :) Thanks for your efforts fox P.S : I hope this thing adds itself to the existing thread, but if it doesn't... well...you can all blame me :)
[sane-devel] HP 2400c - genesys - failure/success
Le Friday 19 September 2008 19:56:54 Tof, vous avez ?crit?: Stef, I'm *really* happy to hear that somebody is still working on hp2400-like support :) As proposed as well by Robert Morton, if you need to test your work, don't hesitate to contact me. I'd be glad to help :) Thanks for your efforts fox P.S : I hope this thing adds itself to the existing thread, but if it doesn't... well...you can all blame me :) Hello, if you have some time and the possibility of messing your ms-windows settings, it would be interesting to try the G2410 software but with your HP2400. These scanners share the same USB id, but it seems they may have slightly different internals. The G2410 software starts by reading the slope tables, may be to recognize the exact model is connected. So having an USB log recording what happens when you plug the HP2400 scanner should be instructive. Regards, Stef
[sane-devel] Sheetfed Scanners
I am not in a position to take you up on your offer, but I wanted to say thank you very, very much for your effort/investment. These are the sort of things that make free software possible, and make me proud to be a small part of it. allan On Wed, Sep 17, 2008 at 12:07 PM, Jack McGill jmcgill85258 at yahoo.com wrote: Hello, I am relatively new to linux and have posted a couple of times. I am interested in the small mobile document scanners, also known as pass-through or sheetfed scanners. I have made a small web page that attempts to summarize the sheetfed scanners that are available http://sites.google.com/site/sheetfedscannerslinux/. This is meant to complement the supported devices section of the Sane webpage. Also, I have recently purchased several of these on eBay, when I could get a really good price. I wanted to offer these to the Sane project as my contribution. If a Sane developer is interested in any of these, email me and describe your experience developing Sane. I will send you the scanner and it is yours to keep. You can use it or abuse it however you see fit. All I ask is that you put a driver into the Sane project for that device. I will pay for postage. I will try to pay any customs fees or VAT, but you may have to pay this. Here is a list of what I have available: Visioneer Strobe XP 200: This has a GL646 chipset, so it could be adapted to the genesys backend. It is powered through an external 17 volt power supply. Mine fits North American style sockets. Visioneer Strobe XP 300: This has a GL842 chip, so it could be adapted to the genesys backend. It can be powered through the USB cable. It also can be powered through an external power supply for faster scans. It is a duplex scanner (scans both sides simultaneously). The scanner that I have does put a black line down the middle of one of the sides that it scans, which is probably due to a bad sensor. This should not affect the ability to develop a driver, but it may decrease the value of the scanner to you. Visioneer Strobe Pro: The chip inside appears to be a proprietary Visioneer chip. A whole new backend would probably have to be written. The only advantage to going through the trouble of doing this that I can see is that these scanners are really cheap on ebay. This scanner needs an external power supply. Pentax DS Mobile: This is supposedly the same as the syscan Travelscan Pro 2300. I won a lot of 10 of these on ebay and I expect that at least one will work. This has a LM9832/3 chip and should be adaptable to the plustek backend. Visioneer RoadWarrior: This has a GL842 chip, so it could be adapted to genesys. I have one of these that I paid full retail price and I am emotionally attached to it. I could loan it out for a few months, but I'd like to eventually get it back. Also, someone may already be working on this device. This device is powered through the USB cable. Visioneer OneTouch 5800 USB flatbed scanner: I have one of these that I don't want. It is pretty heavy, so I only want to ship this in the United States. Realtek RTS8801C chipset. -- Jack McGill -- sane-devel mailing list: sane-devel at lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-request at lists.alioth.debian.org -- The truth is an offense, but not a sin
[sane-devel] vertical lines how can i help
i posted earlier that i got vertical lines when scanning and not in windows with canons driver on a canoscan n650u lide scanner. how can i help debug this problem/ is there any windows software i can use to get to what the windows driver is doing which sane apperently isnt it seems to be compensating for bad optics in the scanner, it doesnt like reflective images, it scans everything else ok. thanks Michael Ole Olsen
[sane-devel] Plustek: vertical lines how can i help
perhaps the backend author will have a suggestion? allan On Sun, Sep 21, 2008 at 8:14 AM, Michael Ole Olsen gnu at gmx.net wrote: i posted earlier that i got vertical lines when scanning and not in windows with canons driver on a canoscan n650u lide scanner. how can i help debug this problem/ is there any windows software i can use to get to what the windows driver is doing which sane apperently isnt it seems to be compensating for bad optics in the scanner, it doesnt like reflective images, it scans everything else ok. thanks Michael Ole Olsen -- sane-devel mailing list: sane-devel at lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-request at lists.alioth.debian.org -- The truth is an offense, but not a sin
[sane-devel] Plustek: vertical lines how can i help
On Sunday 21 September 2008 14:45:26 m. allan noah wrote: perhaps the backend author will have a suggestion? Probably not - sorry! Just one thing: which SANE version are you using? - Gerhard
[sane-devel] Sane - comment for Lexmark X1150
Hi. Wanted to comment about my experience with Sane using Lexmark X1150 all-in-one Print Trio. It worked for sure. Now it does not for whatever reason. When I boot with Knoppix, the scanner works out of the box. So, just wanted to let you know that it definitely worked on Ubuntu 8.04 Thanks Sergei
[sane-devel] iptables and saned network scanner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dear list members, This is my first email to this specific list, so let me say hello to you all and thank you for your work on the sane-project. I am trying to build a saned network scanner. I figured out a lot of things on my own, but got stuck on the required secure iptable rules. Would somebody be willing to take a look at my iptable setup and add the required setup rules? The system is in production, so it needs to be as secure as possible. I also attached my setup documentation with debugging info and the reported iptable denyal. Any help would be appreciated, Best regards, Jelle de Jong -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iJwEAQECAAYFAkjY9Z4ACgkQ1WclBW9j5Hk6VgQAlpwZ1xW5Vf19QUhUHR+7Smr4 tpFCUbLoA7WVYG3duknQejZt5RWuu23LR/rF9bEt0nsF4ZS4IGq1UXeVDvX0SYHH hsOy9JZzgwl/Gnva8xf8e/+mutzKV7gjdgXGdjmVkYYt3RKgNUm0HgObQ4A1eAoq WgKKLjUEMIF2NIM0nQQ= =LIyO -END PGP SIGNATURE- -- next part -- An embedded and charset-unspecified text was scrubbed... Name: network-scanner.txt Url: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20080923/1136a9da/attachment.txt -- next part -- A non-text attachment was scrubbed... Name: iptable.log Type: text/x-log Size: 5363 bytes Desc: not available Url : http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20080923/1136a9da/attachment.bin -- next part -- A non-text attachment was scrubbed... Name: network-scanner.txt.sig Type: application/octet-stream Size: 158 bytes Desc: not available Url : http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20080923/1136a9da/attachment.obj -- next part -- A non-text attachment was scrubbed... Name: iptable.log.sig Type: application/octet-stream Size: 158 bytes Desc: not available Url : http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20080923/1136a9da/attachment-0001.obj
[sane-devel] iptables and saned network scanner
Jelle de Jong jelledejong at powercraft.nl wrote: Hi, I am trying to build a saned network scanner. I figured out a lot of things on my own, but got stuck on the required secure iptable rules. You need connection tracking for the SANE network protocol as provided by CONFIG_NF_CONNTRACK_SANE in recent 2.6 kernels. JB. -- Julien BLACHE http://www.jblache.org jb at jblache.org GPG KeyID 0xF5D65169
[sane-devel] [PATCH] sane-frontends / xscanimage: New feature: Time remaining estimate to progress dialog
Le Saturday 13 September 2008 20:01:21 Jonas Berlin, vous avez ?crit?: Hi! I implemented a small feature to the progress dialog of xscanimage that adds a Time remaining: 5 min 13 sec indicator below the progress bar. I did this because with my scanner it takes 1 hour 40 mins to scan an A4 at 2400 dpi, and even in less extreme cases I think it's nice to know how long it's going to take. The estimation algorithm is not especially elaborate, but stabilizes quite fast at least with my HP ScanJet 6300C even when the data comes in bursts by limiting the update ratio to once per second (which is determined by the value 1000 (milliseconds) in the code). The code applies against sane-frontends-1.0.14 and hopefully meets your standards. Finally I'd like to thank for an excellent product with all the features I feel I need while scanning and still is very easy to use! And the Sane project in general for meeting the goal that the project acronym sets. :) My patch is both attached and available at http://xkr47.outerspace.dyndns.org/tmp/sane-frontends-1.0.14-progress-eta-3 .patch Hello, I have applied a slightly modified version of your patch on sane-frontends 1.1 CVS. Thanks, Stef
[sane-devel] iptables and saned network scanner
Julien BLACHE wrote: Jelle de Jong jelledejong at powercraft.nl wrote: Hi, I am trying to build a saned network scanner. I figured out a lot of things on my own, but got stuck on the required secure iptable rules. You need connection tracking for the SANE network protocol as provided by CONFIG_NF_CONNTRACK_SANE in recent 2.6 kernels. JB. Thank you Julien for you quick reply, I changed my kernel to a stock debian lenny kernel that support the conntrack sane modules. I updated my firewall configuration, but I still got the message the ports are being blocked. I included more information as the mail attachment. How can I get the saned network scanner securely working? All help is appreciated. Kind regards, Jelle -- next part -- A non-text attachment was scrubbed... Name: iptables.log Type: text/x-log Size: 7161 bytes Desc: not available Url : http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20080923/d12ef592/attachment-0001.bin
[sane-devel] iptables and saned network scanner
bring down the firewall briefly to prove that saned is working without it. allan 2008/9/23 Jelle de Jong jelledejong at powercraft.nl: Julien BLACHE wrote: Jelle de Jong jelledejong at powercraft.nl wrote: Hi, I am trying to build a saned network scanner. I figured out a lot of things on my own, but got stuck on the required secure iptable rules. You need connection tracking for the SANE network protocol as provided by CONFIG_NF_CONNTRACK_SANE in recent 2.6 kernels. JB. Thank you Julien for you quick reply, I changed my kernel to a stock debian lenny kernel that support the conntrack sane modules. I updated my firewall configuration, but I still got the message the ports are being blocked. I included more information as the mail attachment. How can I get the saned network scanner securely working? All help is appreciated. Kind regards, Jelle -- sane-devel mailing list: sane-devel at lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-request at lists.alioth.debian.org -- The truth is an offense, but not a sin
[sane-devel] [iscan] New release available
Dear all, A new release of Image Scan! for Linux has been made available on my employer's website. The release announcement is at: http://avasys.jp/hp/page01200/hpg01171.htm As you can see, there are now also Debian packages. Now for what you can't see there :-) Here is the relevant bit of the NEWS file for iscan-2.12.0: * adds support for the following scanners: - Epson ES-H7200 - Epson GT-1500 (requires iscan-plugin-gt-1500) - Epson GT-2 - Epson GT-D1000 (requires iscan-plugin-gt-1500) - Epson GT-X970 - Epson LP-M6000 - Epson Stylus NX200 - Epson Stylus NX400 - Epson Stylus SX200 - Epson Stylus SX400 - Epson Stylus TX200 - Epson Stylus TX400 * adds support for automatic document size detection * adds support for speed priority scanning * adds support for TIFF and PDF image output * adds ADF duplex support. The backend option has been renamed from `adf_mode` to `adf-mode` so all backend options now use hyphens to separate words. * improves last sheet scanning with the ADF unit for the ES-1G, Expression 1XL, ES-7000H and GT-15000 * image file format now defaults to the format last used instead of resetting to PNM after every scan. Also, PNG is now the preferred file format. * adds experimental support for 64-bit machines (source only) Yes, you can build your own 64-bit packages now! See the README for instructions. Plugins for 64-bit machines are not available yet. # But work is underway for several of them (not all, though). If you want to use the latest iscan version for older models, please select one of the newer models. There is a bug in our download pages so that you only get to see the package for which support of the older model was tested. # Trying to get this fixed ... Beware though that older plugin using models (still) do not work with iscan-2.11 or later. Use iscan-2.10 instead. Select the GT-X770 or Perfection V500 for a page from which you can download that version. # Work is underway to fix a number of plugins (but not all). Hope this helps, -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS Corporation FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962
[sane-devel] iptables and saned network scanner
Jelle de Jong jelledejong at powercraft.nl wrote: Hi, I changed my kernel to a stock debian lenny kernel that support the conntrack sane modules. I updated my firewall configuration, but I still got the message the ports are being blocked. I included more information as the mail attachment. I think you need a rule to explicitely allow incoming related connections. But my iptables-fu is very rusty :) I don't know what you're trying to do (outside access to your NATed saned server?) but you may want to consider a VPN of some sort instead maybe? JB. -- Julien BLACHE http://www.jblache.org jb at jblache.org GPG KeyID 0xF5D65169
[sane-devel] iptables and saned network scanner
Jelle de Jong wrote: Julien BLACHE wrote: Jelle de Jong jelledejong at powercraft.nl wrote: Hi, I am trying to build a saned network scanner. I figured out a lot of things on my own, but got stuck on the required secure iptable rules. You need connection tracking for the SANE network protocol as provided by CONFIG_NF_CONNTRACK_SANE in recent 2.6 kernels. JB. Thank you Julien for you quick reply, I changed my kernel to a stock debian lenny kernel that support the conntrack sane modules. I updated my firewall configuration, but I still got the message the ports are being blocked. I included more information as the mail attachment. How can I get the saned network scanner securely working? All help is appreciated. Kind regards, Jelle Due to the great tip of Allan to check if saned was working if I brought down the firewall, I got a bit further in my debugging. So I took down the firewall and tried to access the scanner on my client. It still did not work while I could not find any alarming things in my logs. I started the debug command to check things and now everything was working. I have no idea what is wrong here... I guess it is something in xinetd and the saned connecting but how could one debug such thing? Please see my attachment for more information and specific command outputs. Any help is appreciated, ps. I am not trying to create a outside acceptable network scanner, it is for local lan usage. Best regards, Jelle -- next part -- An embedded and charset-unspecified text was scrubbed... Name: saned-network-scanner.txt Url: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20080924/57b57151/attachment-0001.txt
[sane-devel] iptables and saned network scanner
Jelle de Jong jelledejong at powercraft.nl wrote: Hi, I started the debug command to check things and now everything was working. I have no idea what is wrong here... I guess it is something in xinetd and the saned connecting but how could one debug such thing? Disable all the backends you don't need in dll.conf and try again. Might be a backend bug biting you (epson2, fd 0, yada yada). Looks like you're using Ubuntu, and your packages may not have the fix for this particular issue. JB. -- Julien BLACHE http://www.jblache.org jb at jblache.org GPG KeyID 0xF5D65169
[sane-devel] iptables and saned network scanner
Julien BLACHE wrote: Jelle de Jong jelledejong at powercraft.nl wrote: Hi, I started the debug command to check things and now everything was working. I have no idea what is wrong here... I guess it is something in xinetd and the saned connecting but how could one debug such thing? Disable all the backends you don't need in dll.conf and try again. Might be a backend bug biting you (epson2, fd 0, yada yada). Looks like you're using Ubuntu, and your packages may not have the fix for this particular issue. JB. Hi Julien, Ok, I flushed out the dll.conf file and only added the net and hpaio lines. cat /etc/sane.d/dll.conf net hpaio When running saned in debug mount everything works fine from the client side. But when i used the xinetd system the client can't find the scanner. All messages are the same as before (see the attachment) /etc/init.d/xinetd stop sudo -u saned SANE_DEBUG_HP=128 saned -d128 ^- this seems to work fine /etc/init.d/xinetd start ^- this does not work, but connects and accepts connections... Any help is appreciated, Best regards, Jelle -- next part -- An embedded and charset-unspecified text was scrubbed... Name: saned-network-scanner.txt Url: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20080924/b8e8bb12/attachment.txt
[sane-devel] iptables and saned network scanner
Jelle de Jong jelledejong at powercraft.nl wrote: Hi, Ok, I flushed out the dll.conf file and only added the net and hpaio lines. Hmm. I had something in the back of my head about hpaio... http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=495005 You're out of luck until the HP folks fix there POS backend. JB. -- Julien BLACHE http://www.jblache.org jb at jblache.org GPG KeyID 0xF5D65169
[sane-devel] iptables and saned network scanner / xinetd saned groups
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jelle de Jong wrote: Dear list members, This is my first email to this specific list, so let me say hello to you all and thank you for your work on the sane-project. I am trying to build a saned network scanner. I figured out a lot of things on my own, but got stuck on the required secure iptable rules. Would somebody be willing to take a look at my iptable setup and add the required setup rules? The system is in production, so it needs to be as secure as possible. I also attached my setup documentation with debugging info and the reported iptable denyal. Any help would be appreciated, Best regards, Jelle de Jong I finally fixed the actual issue, and documented everything extensively (see attachment) I strongly advice the sane-project to update there documentation. The behind problem was that the 'groups = yes' option was not documentation in man saned or the web pages. If this option is not given xinetd will strip the scanner group and everything seems to be working but the scaned process started by xinetd cant access the device ... # IMPORTANT: add 'groups = yes' to the configuration, else xinetd strips the scanner group and is unable to access the device! # see - man xinetd.conf Thanks to everybody trying to help. Kind regards, Jelle de Jong -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iJwEAQECAAYFAkjaEOAACgkQ1WclBW9j5HkK/gP/Qb0SSVRvWN8uGqBCXyID5dTe bpOzZjRGtZzMDOGjgtlgsDqkrwVrWpxFFdrcMzNiieT92ec/ZC9TZYtMd5LmbHu6 hgjOHg6DGRFcqCaAZ6JOfSwDSJOJM7k4ClLoI1SPMCQLo4NMoJB8JxwkBTykvdvf paI0FW2FZfBps9jGNFI= =V3Gc -END PGP SIGNATURE- -- next part -- An embedded and charset-unspecified text was scrubbed... Name: saned-network-scanner.txt Url: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20080924/e67a5e7f/attachment-0001.txt
[sane-devel] [iscan] New release available
Olaf Meeuwissen olaf.meeuwissen at avasys.jp writes: [snip] Beware though that older plugin using models (still) do not work with iscan-2.11 or later. Use iscan-2.10 instead. Select the GT-X770 or Perfection V500 for a page from which you can download that version. # Work is underway to fix a number of plugins (but not all). # I'm an idiot and can't read. Thanks Brett. Please look for the Stylus CX4300/CX4400/CX4450/CX5500/CX5600/DX4400/DX4450 instead. The Perfection V500 (GT-X770 in Japan) requires iscan-2.11.0. Hope this helps, -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS Corporation FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962
[sane-devel] scanner AV220C2 versus AV220G
There are drivers for the documentscanner Avision AV220C2 in Sane. Now the scanner has been changed in AV220G with a new shipset. My question is: Are there experience with this new scanner? Jacques
[sane-devel] scanner AV220C2 versus AV220G
On Wed, September 24, 2008 8:15 am, Jacques Verhagen wrote: There are drivers for the documentscanner Avision AV220C2 in Sane. Now the scanner has been changed in AV220G with a new shipset. http://www.sane-project.org/sane-mfgs.html#SCANNERS I don't see the 220G listed but maybe it is new. My question is: Are there experience with this new scanner? I'd buy one that has known Linux support if you need a new scanner.
[sane-devel] Okidata
Hi guys Any plan to support Okidata scanners (like the one in C3530 MFP)? Thanks
[sane-devel] Okidata
I don't recall hearing of any such plans. there is a small possibility that it is similar to an existing scanner, and could be supported easily. there is a much larger chance that it would be a major undertaking. i dont think we will know which until someone buys one and gets a packet dump of the device in action. allan On Wed, Sep 24, 2008 at 2:03 PM, Luiz Alberto Saba las at transauto.com.br wrote: Hi guys Any plan to support Okidata scanners (like the one in C3530 MFP)? Thanks -- sane-devel mailing list: sane-devel at lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-request at lists.alioth.debian.org -- The truth is an offense, but not a sin
[sane-devel] iptables and saned network scanner / xinetd saned groups
On Wed, Sep 24, 2008 at 12:05:22PM +0200, Jelle de Jong wrote: The behind problem was that the 'groups = yes' option was not documentation in man saned or the web pages. If this option is not given xinetd will strip the scanner group and everything seems to be working but the scaned process started by xinetd cant access the device ... That's because your device is in group 'scanner': ls -hal /dev/bus/usb/001/003 crw-rw 1 lp scanner 189, 2 2008-09-24 10:33 /dev/bus/usb/001/003 But you started saned in group 'saned' ... service sane-port { port= 6566 socket_type = stream wait= no user= saned group = saned groups = yes server = /usr/sbin/saned } Nick.
[sane-devel] iptables and saned network scanner
On Wed, Sep 24, 2008 at 11:51:09AM +0200, Julien BLACHE wrote: Hmm. I had something in the back of my head about hpaio... http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=495005 You're out of luck until the HP folks fix there POS backend. Why does a backend need saned's open socket fd? Can the backend be run as a subprocess? Nick.
[sane-devel] iptables and saned network scanner
Nick Andrew nick at nick-andrew.net wrote: Hi, Why does a backend need saned's open socket fd? Can the backend be run as a subprocess? You've got it wrong. Re-read it. JB. -- Julien BLACHE http://www.jblache.org jb at jblache.org GPG KeyID 0xF5D65169
[sane-devel] Okidata
Well... I'm the one! ;-) I'm not a developer but if someone tells me what is needed, certainly I can provide. I'm the no so happy owner of an Okidata C3530 MFP. Just let me know what is neccessary. Thanks Luiz Alberto Saba I don't recall hearing of any such plans. there is a small possibility that it is similar to an existing scanner, and could be supported easily. there is a much larger chance that it would be a major undertaking. i dont think we will know which until someone buys one and gets a packet dump of the device in action. allan
[sane-devel] Okidata
well, see the 'contributing' page on our site, there are some references there, but in a nutshell: (assuming the machine is USB) 1. get the output of lsusb -v with it plugged it 2. open it and get chip numbers if you are brave 3. install the pcausa sniffer and get a trace of a very small scan in windows, then post that up where folks here can download it and inspect. we will see if anyone recognizes it. allan On Thu, Sep 25, 2008 at 8:20 AM, Luiz Alberto Saba las at transauto.com.br wrote: Well... I'm the one! ;-) I'm not a developer but if someone tells me what is needed, certainly I can provide. I'm the no so happy owner of an Okidata C3530 MFP. Just let me know what is neccessary. Thanks Luiz Alberto Saba I don't recall hearing of any such plans. there is a small possibility that it is similar to an existing scanner, and could be supported easily. there is a much larger chance that it would be a major undertaking. i dont think we will know which until someone buys one and gets a packet dump of the device in action. allan -- The truth is an offense, but not a sin
[sane-devel] Pixmap 610
Dear community, I have Pixmap MP 610 device (printer and scanner) by cannon. Current version of SANE does not support my device. I found out that there is unstable version of SANE that support my device. I am a professional programmer (Java, C/C++, Perl) Can I help in development of new version that will support my device. Also: I have Ubuntu 8.04.1 on my home computer Thank you, Alex -- next part -- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20080925/b9358a46/attachment.htm
[sane-devel] adding a define to sane.h
Hello, there is a SANE_CURRENT_MAJOR defined. To ease the compilation of frontends outside SANE tree, how about adding a SANE_CURRENT_MINOR define ? Fronted could then handle compiling against SANE 1.0 or SANE 1.1 Regards, Stef
[sane-devel] Pixmap 610
Yep, pixma MP610 scanner works out of the box with Sane CVS (or please report bug if not ;-) Follow instructions on this blog http://mp610.blogspot.com I've setup a while back, to help you install Sane CVS on Ubuntu. Nicolas Le jeudi 25 septembre 2008 ? 11:41 -0400, m. allan noah a ?crit : why not just upgrade to latest sane cvs, where the device is listed as 'good'? allan 2008/9/25 ? ?? mail.list.4.ag.hob at gmail.com: Dear community, I have Pixmap MP 610 device (printer and scanner) by cannon. Current version of SANE does not support my device. I found out that there is unstable version of SANE that support my device. I am a professional programmer (Java, C/C++, Perl) Can I help in development of new version that will support my device. Also: I have Ubuntu 8.04.1 on my home computer Thank you, Alex -- sane-devel mailing list: sane-devel at lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-request at lists.alioth.debian.org -- The truth is an offense, but not a sin -- sane-devel mailing list: sane-devel at lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-request at lists.alioth.debian.org
[sane-devel] problems with genesys and MD6228
Hallo stef, am Freitag, 2008-08-29 07:13:37 schrieben Sie: I have committed a couple a GPO fixes. I have also commented out ASIC reset for GL646. I don't think it is usefull, and suppose it may mess things. Could you try latest CVS version to see if it fixes things for you ? The result: 1. The starting point at the top of page is more constant. It varies between 0...0,8 mm at the top. (O...0,8 mm loss. Earlier 8 mm!) 2. In most resolutions the scanner works properly. Only with 100 dpi, gray, sometimes (30 % from tests) the scanner head starts to shake and does not move properly! The old problem. -- Viele Gr??e Werner Holtfreter
[sane-devel] GrandTech GT6801 GT6816 details needed
Hi, can anyone help me with finding some useful information about htese chips? Things that I know: 1) they are almost the same 2) I have something like datasheet for GT6816 - mainly register description, 63 pages Things that I would like to know: anything; other datasheets; what type exactly is the RISC processor inside? Anyone tried to disassemble some firmware? Thanks. zdenek