[sane-devel] RS232 Scanner

2008-07-31 Thread Ekkehard Morgenstern
Hi Dan, > I'm working on getting a RS232 scanner working on Linux. I see that > Sane has some support for serial port scanners but not much. The > scanner is attached to a POS system for retail sales and runs RHEL5. The scanner's OS is Red Hat Enterprise Linux? How big is the machine? What typ

[sane-devel] RS232 Scanner

2008-07-31 Thread Dan Scott
Hi, 2008/7/31 Ekkehard Morgenstern : > > Hi Dan, > >> I'm working on getting a RS232 scanner working on Linux. I see that >> Sane has some support for serial port scanners but not much. The >> scanner is attached to a POS system for retail sales and runs RHEL5. > > The scanner's OS is Red Hat Ente

[sane-devel] RS232 Scanner

2008-07-30 Thread Daniel Glöckner
On 30 Jul 08 07:55, m. allan noah wrote: > do you have windows drivers for the image scanning part? if so, i > would use a usb-serial converter and benoit's usb sniffer to get a > log, and see if you can extract the image data. In the past I have sniffed some serial protocols using Mark Russinovic

[sane-devel] RS232 Scanner

2008-07-30 Thread Dan Scott
Hi, 2008/7/30 m. allan noah : >> So I was hoping that I would be able to use sane to communicate with >> the scanner and work out what is happening. > > backwards. you have to work out what is happening, _before_ you write > the sane driver :) Not quite. I was hoping that the scanner would alre

[sane-devel] RS232 Scanner

2008-07-30 Thread Dan Scott
Hi, Thanks for your comments. I don't think that there is an image - the log file for the ltrace output is only ~40kb. I think that the scanner is returning the array and there is no post-processing by the diagnostic application. The scanner is also capable of returning an image of the scanned f

[sane-devel] RS232 Scanner

2008-07-30 Thread Dan Scott
Hi, I think it's a bit simpler than that. The diagnostic software shows an "array" showing the marked boxes. Here's what I get form the diagnostic software when I scan a slip: Please select: Ticket count: 1 ticket data len=52 <..> 1 2 3 4 5 6 7 8 9 0 A B C D <..> 1 2 3 4 5 6 7 8 9 0 A B C D < 1>

[sane-devel] RS232 Scanner

2008-07-30 Thread Dan Scott
Hi, I'm working on getting a RS232 scanner working on Linux. I see that Sane has some support for serial port scanners but not much. The scanner is attached to a POS system for retail sales and runs RHEL5. Unfortunately, I have no documentation for the scanner, I'm not even sure of the brand. The

[sane-devel] RS232 Scanner

2008-07-30 Thread m. allan noah
On Wed, Jul 30, 2008 at 8:13 AM, Dan Scott wrote: > Hi, > > 2008/7/30 m. allan noah : >>> So I was hoping that I would be able to use sane to communicate with >>> the scanner and work out what is happening. >> >> backwards. you have to work out what is happening, _before_ you write >> the sane

[sane-devel] RS232 Scanner

2008-07-30 Thread m. allan noah
On 7/30/08, Dan Scott wrote: > Hi, > > Thanks for your comments. > > I don't think that there is an image - the log file for the ltrace > output is only ~40kb. I think that the scanner is returning the array > and there is no post-processing by the diagnostic application. unless your log does

[sane-devel] RS232 Scanner

2008-07-30 Thread m. allan noah
but is this diag software output post-processed by the pc? if you have logs of the data in flight, and there is no image, then you dont need sane, you need a standalone app. allan On 7/30/08, Dan Scott wrote: > Hi, > > I think it's a bit simpler than that. The diagnostic software shows an > "a

[sane-devel] RS232 Scanner

2008-07-30 Thread m. allan noah
i have quite a bit of omr experience, and have done a bit with rs232 in the past, but never scanners. do your logs show the actual data being passed? if so, i think your first effort should be to extract image from logs. allan On 7/30/08, Dan Scott wrote: > Hi, > > I'm working on getting a RS23