summaryrefslogtreecommitdiff
path: root/sys/dev/pckbc
AgeCommit message (Collapse)Author
2003-10-22Typo in comment. From OpenBSD.mjl
2003-10-18On some machines, the keyboard is not enabled after a reset, rendering themanu
console useless. Fix that by explicitely enabling the keyboard when it is attached.
2003-09-13Make some variables unsigned since that's the type of parameter they'resimonb
passed as to other functions.
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-04-23Add KB_DE | KB_MACHDEP placeholder. Need it for the Jornada 680/690uwe
German (ABD) keyboard layout (to be added soon).
2003-03-14Add not sign, currency and cent keys to the spanish keymap.jmmv
Fixes my own PR kern/17990.
2003-02-05change t_extended to t_extended0 for consistency with KBR_EXTENDED[01]perry
and t_extended1 Fix comment to note that PAUSE keycodes are being remaped to 7F, not BREAK, which isn't strictly accurate by the various pieces of official documentaiton.
2002-10-02Add trailing ; to CFATTACH_DECL.thorpej
2002-09-30Use CFATTACH_DECL().thorpej
2002-09-27Declare all cfattach structures const.thorpej
2002-09-13Following discussion on tech-kern, nuke calls to microtime() and usemartin
mono_time instead. We loose some precision here (depending on hz), so bump up the reset-mouse threshold quite a bit (from >=25ms to >40ms).
2002-07-10only power down on suspend, not standby (sugested by thorpej).chuck
fixes problem noted at bottom of PR#17537.
2002-07-08Apply patch from Peter Seebach (in private Mail, similar to the one proposedmartin
in PR kern/17506): If we reset the mouse and discover a different protocol after the reset than before, reset it again after one second. This makes protocol detection after a KVA switched to another machine more reliable and should not affect the standard situation with one mouse connected to one machine.
2002-06-20Correct spannish mapping. Fix kern/15509 by Julio Merino <juli@merino.net>.bouyer
2002-05-29Nuke all useages of polled kbd controller commands when not attaching ormartin
probing. Make sure to not initialize the protocol more than once, see rev. 1.11 of the old psm_intelli.c driver (this caused hangs when starting X). Unify the "ignore garbage" behaviour (which we already did if PMS_STANDARD protocol was used), the old intelli-driver did the same and on some scroll mice a stream of garbage is emitted shortly after reset.
2002-05-23When using standard (no scroll wheel) protocol, ignore garbage betweenmartin
two packets (just like the old psm.c driver did). And don't insist on the first byte having bit 0x08 set. This makes some odd trackball device work. Thanks to Tyler Mitchell for reporting and testing.
2002-05-17(Mostly) backout previous, with some slight modifications.martin
Restore the reset thread, to make resetting the interface possible while not blocking interrupts. Make sure to throw away garbage input while the reset thread is at work (by setting sc_enabled a bit later). Issue a PMS_RESET command when resetting to address PR 16788.
2002-05-13Change the reset code to block interrupts and use polled commands; alsojdolecek
eliminate the kthread now that it's not necessary, and use callout instead. This seems to fix the X mouse freeze problem. Testing and some debug printf fixes by Martin Husemann.
2002-04-22Name the thread after the device.ad
2002-04-22Move psm.c and psmreg.h to pms.c and pmsreg.h, since they contain thewiz
pms (not psm) driver. Fix a debugging message to print the correct function name. Approved by Christos.
2002-04-18This file no longer used.ad
2002-04-14Remove pmsi.mycroft
2002-03-28PR/16102: Martin Husemann: psm.c on thinkpad ends up in constant reset cycle.christos
2002-03-28fix debugging macros.christos
2002-03-20New mouse code from Peter Seebach.christos
2002-03-17Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY foratatat
indicating an unhandled "command". ERESTART is -1, which can lead to confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been placed at -4. No ioctl code should now return -1 anywhere. The ioctl() system call is now properly restartable.
2002-03-13fix a bug that timevals are compared incorrectly.yamt
2002-03-10PR/15839: Peter Seebach: PS/2 driver improvementschristos
2002-02-27Add constraints to allow for disabling PS/2 mouse powerhooks. As requestedjmcneill
by Chuck Cranor. To disable powerhooks with the pms and pmsi drivers, respectively: options PMS_DISABLE_POWERHOOK options PMSI_DISABLE_POWERHOOK
2002-01-25Make sure not to set the intellimouse mode more than once at boot, but stilljmcneill
reset the intellimouse mode on suspend/resume. Fixes problems with pmsi mice locking the keyboard controller when X starts.
2002-01-14Add power management hooks to pmsi driver and make sure that thejmcneill
device is setup for the proper intellimode on resume.
2001-12-24Back off rev. 1.21, this is going to be handled via userland keymap file.jdolecek
Discussed with Martin Husemann.
2001-12-09pckbd_enable is called during autoconfig. Using pckbc_enqueue_cmd atfvdl
that time will have bad results, such as queue corruption because of multiple TAILQ_INSERTs, etc, because it's not designed to work in an interrupt/context-free environment. Use pckbc_poll_cmd instead.
2001-11-20- replace "defopt" with "defparam" for options which must take a value,lukem
as config(8) will warn for value-less defparam options - minor whitespace/formatting cleanup - consolidate opt_tcp_recvspace.h and opt_tcp_sendspace.h into opt_tcp_space.h
2001-11-13Add a DISGNOSTIC message.augustss
2001-11-13add RCSIDslukem
2001-11-11Add polish keyboard map, from Dawid Szyma_ski <dawszy@netbsd.lubin.pl>.martin
2001-09-13add power hook to PS/2 mouse driver; some mobile PCs hastshiozak
unstable pointer, it arbitrarily awake the machine from standby state. to prevent it, we need to stop the mouse controller before sleeping.
2001-07-07bzero -> memsetthorpej
2001-06-01Delete the XXX'd includes of <dev/isa/isavar.h> and <sys/kernel.h>.simonb
These aren't needed. Tested on i386 and alpha.
2001-04-11Only install headers which are actually used by our userland. Thisjdolecek
saves about 2.2MB under /usr/include/dev/. Discussed on tech-kern@ recently. I HOPE to get the list right. The headers I left in are ones used for MI tools and those whose usage I discovered by grep over tree sources. Feel free to put needed includes back in if you encounter anything which should not be removed from lists.
2001-02-24whitespace policelukem
2001-01-23cause the "delete" key to actually send \177 like it used tochuck
(and still does with pccons) rather than \033[3~ ...
2000-12-20The key below <escape> is now ~ (KS_asciitilde) when shifted in theaymeric
french layout. This is consistent with the XFree layout, and is very convenient.
2000-10-13Revert previous since the finnish keymap is already present undermjl
the name "sv". Note to myself: Read PRs completely before acting. Note to Santa Claus: I want a mailing list that carries all follow ups to PRs!
2000-10-12Add finnish keymap, from Heikki Kallasjoki in PR/11186.mjl
2000-10-01- Add ioctl commands to wsdisplay which set/get some LCD status,takemura
backlight, brightness and contrast. - Add 9 command key symbols which make wskbd to call wsdisplay's iocontrol. - Add special key map variant KB_MACHDEP. This variant does not have any real keymap but it's just a placeholder for machine dependent maps which will be overwrite by machine dependent keyboard driver.
2000-06-05If rnd is configured into the kernel, do rnd(4) entropy collectionsommerfeld
from devices connected to pckbc: - Do actual sample collection in pckbc. - Add rndsource_element_t to the slot data. - Change pckbc_set_inputhandler() to take an additional argument, the name of the device, which is (eventually) passed into rnd_attach_source() to identify the source. - Change callers of pckbc_set_inputhander() appropriately.
2000-05-19add spanish keymap, data fromdrochner
Juan Jose Garcia Ripoll <jjgarcia@ind-cr.uclm.es>
2000-04-14Add an "iopener" keymap variant, giving us.iopener andtsarna
us.iopener.swapctrlcaps. This makes F1 ("Back") into Escape, and shifts the other keys over by one, so F2-F12 ("Forward"-"Home") become F1-F11.