Commit 4b06f4a8 authored by Florian Echtler's avatar Florian Echtler Committed by Greg Kroah-Hartman

[PATCH] USB: add driver for the Siemens ID Mouse fingerprint sensor

This patch adds a new usb-misc driver for the fingerprint sensor that
can be found in the Siemens ID Mouse USB. "cat /dev/usb/idmouseX"
yields a 225x288 greyscale PNM with the fingerprint information.

It's now in version 0.5, which uses memcpy() instead of snprintf()
and allows interruption of the image acquisition process, in case
it should get stuck.

It may be considered controversial that it outputs a PNM instead
of raw data, but I hold the opinion that the 15 bytes of header,
"P5 225 288 256 ", do not do any harm and allow the device to be
used in shell scripts or similar, too.

The setup packets are not described further, simply because I don"t
know anything about them myself. We captured them under Windows
using SnoopyPro.

Please include this into the main USB kernel tree - I think it has
by now been scrutinized and tested quite thoroughly.
Signed-off-by: default avatarFlorian Echtler  <echtler@fs.tum.de>
Signed-off-by: default avatarAndreas Deresch <aderesch@fs.tum.de>
parent 8bef1248
...@@ -59,6 +59,7 @@ obj-$(CONFIG_USB_AUERSWALD) += misc/ ...@@ -59,6 +59,7 @@ obj-$(CONFIG_USB_AUERSWALD) += misc/
obj-$(CONFIG_USB_CYTHERM) += misc/ obj-$(CONFIG_USB_CYTHERM) += misc/
obj-$(CONFIG_USB_EMI26) += misc/ obj-$(CONFIG_USB_EMI26) += misc/
obj-$(CONFIG_USB_EMI62) += misc/ obj-$(CONFIG_USB_EMI62) += misc/
obj-$(CONFIG_USB_IDMOUSE) += misc/
obj-$(CONFIG_USB_LCD) += misc/ obj-$(CONFIG_USB_LCD) += misc/
obj-$(CONFIG_USB_LED) += misc/ obj-$(CONFIG_USB_LED) += misc/
obj-$(CONFIG_USB_LEGOTOWER) += misc/ obj-$(CONFIG_USB_LEGOTOWER) += misc/
......
...@@ -123,6 +123,20 @@ config USB_PHIDGETSERVO ...@@ -123,6 +123,20 @@ config USB_PHIDGETSERVO
To compile this driver as a module, choose M here: the To compile this driver as a module, choose M here: the
module will be called phidgetservo. module will be called phidgetservo.
config USB_IDMOUSE
tristate "Siemens ID USB Mouse Fingerprint sensor support"
depends on USB
help
Say Y here if you want to use the fingerprint sensor on
the Siemens ID Mouse. There is also a Siemens ID Mouse
_Professional_, which has not been tested with this driver,
but uses the same sensor and may therefore work.
This driver creates an entry "/dev/idmouseX" or "/dev/usb/idmouseX",
which can be used by, e.g.,"cat /dev/idmouse0 > fingerprint.pnm".
See also <http://www.fs.tum.de/~echtler/idmouse/>.
config USB_TEST config USB_TEST
tristate "USB testing driver (DEVELOPMENT)" tristate "USB testing driver (DEVELOPMENT)"
depends on USB && USB_DEVICEFS && EXPERIMENTAL depends on USB && USB_DEVICEFS && EXPERIMENTAL
......
...@@ -7,6 +7,7 @@ obj-$(CONFIG_USB_AUERSWALD) += auerswald.o ...@@ -7,6 +7,7 @@ obj-$(CONFIG_USB_AUERSWALD) += auerswald.o
obj-$(CONFIG_USB_CYTHERM) += cytherm.o obj-$(CONFIG_USB_CYTHERM) += cytherm.o
obj-$(CONFIG_USB_EMI26) += emi26.o obj-$(CONFIG_USB_EMI26) += emi26.o
obj-$(CONFIG_USB_EMI62) += emi62.o obj-$(CONFIG_USB_EMI62) += emi62.o
obj-$(CONFIG_USB_IDMOUSE) += idmouse.o
obj-$(CONFIG_USB_LCD) += usblcd.o obj-$(CONFIG_USB_LCD) += usblcd.o
obj-$(CONFIG_USB_LED) += usbled.o obj-$(CONFIG_USB_LED) += usbled.o
obj-$(CONFIG_USB_LEGOTOWER) += legousbtower.o obj-$(CONFIG_USB_LEGOTOWER) += legousbtower.o
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment