lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Tue, 10 Nov 2009 11:50:47 -0500
From:	Jeremy Moles <jeremy@...erorlinux.com>
To:	linux-kernel@...r.kernel.org
Subject: Seeking Guidance For Serial Driver Creation

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...

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ