* Seeking Guidance For Serial Driver Creation
@ 2009-11-10 16:50 Jeremy Moles
0 siblings, 0 replies; only message in thread
From: Jeremy Moles @ 2009-11-10 16:50 UTC (permalink / raw)
To: linux-kernel
I am working on getting all of the hardware for a Panasonic CF-H1
supported. I am also interested in writing an OSS driver for the
internal barcode scanner device.
What I'm looking for is someone familiar with the serial API to take a
quick look at some data I've snooped from Windows' COM1 device--which I
acquired by running a serial snooping utility on the serial port from
the time that I push the "scan" button to the time it stops--and perhaps
offer a quick bit of advice on how I should proceed. I have a lot of
experience hacking EXISTING specialty drivers (things like pcc-acpi,
ibm-acpi, sony-acpi, sonypi, etc.) and I'm no stranger to low-level C
code, but this will be the first time I've written a serious driver from
scratch.
The information grokked from Windows can be found here:
http://jeremymoles.com/scanner
I've divided it up as best I can; unfortunately, this data is exported
as-is from the Windows tool. The most interesting file is probably:
http://jeremymoles.com/scanner/packet-view.html
Something to note is that unlike normal serial barcode scanners, the
actual "begin scanning" message isn't initiated by hardware. :( On a
traditional device it seems that you simply press a button on the
scanner and the text representation of that barcode is just dumped out
on the tty for you to read. In the case of this machine, a button on the
front (which must be handled in software) is pressed, and the OS takes
over and initializes the device and somehow informs it to "begin
scanning." I believe this is the function of the first few lines of each
of the files I've uploaded, but I could be wrong.
Thanks beforehand...
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-11-10 17:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-10 16:50 Seeking Guidance For Serial Driver Creation Jeremy Moles
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®