version 1.3, 2009/12/29 09:25:41
|
version 1.5, 2009/12/29 09:28:29
|
Line 18 can access them through the <b>hw.keyloc
|
Line 18 can access them through the <b>hw.keyloc
|
|
|
The following components have been added: |
The following components have been added: |
|
|
* '''{{manual page|gpiolock|4|}}''' a driver for GPIO attached keylocks. |
* <b>[gpiolock(4)](http://netbsd.gw.com/cgi-bin/man-cgi?gpiolock+4+NetBSD-current)</b> |
|
a driver for GPIO attached keylocks. |
The driver registers with the in-kernel keylock "subsystem". See |
The driver registers with the in-kernel keylock "subsystem". See |
[gpiolock.c](http://cvsweb.de.netbsd.org/cgi-bin/cvsweb.cgi/src/sys/dev/gpio/gpiolock.c?rev=HEAD). |
[gpiolock.c](http://cvsweb.de.netbsd.org/cgi-bin/cvsweb.cgi/src/sys/dev/gpio/gpiolock.c?rev=HEAD). |
|
|
Line 36 model as well (e.g. to provide keylock s
|
Line 37 model as well (e.g. to provide keylock s
|
Useful e.g. for POS applications). |
Useful e.g. for POS applications). |
|
|
The keylock state interpretation is done in |
The keylock state interpretation is done in |
[keylock.c](http://cvsweb.de.netbsd.org/cgi-bin/cvsweb.cgi/src/sys/dev/keylock.c) |
[keylock.c](http://cvsweb.de.netbsd.org/cgi-bin/cvsweb.cgi/src/sys/dev/keylock.c?rev=HEAD) |
and not in the driver itself. This |
and not in the driver itself. This |
allows for adding support for multiple keylocks in the future. The |
allows for adding support for multiple keylocks in the future. The |
hw.keylock.pos and hw.keylock.npos sysctl variable have debugging |
hw.keylock.pos and hw.keylock.npos sysctl variable have debugging |