summaryrefslogtreecommitdiff
path: root/sys/dev/usb/ukbd.c
AgeCommit message (Collapse)Author
2007-05-21Remove logprintf macroJonathan Gray
2007-02-11Remove _KERNEL_OPT leftovers.Miod Vallat
2007-01-13Ignore country code on happy hacking keyboard, it reports itself as japanse.Miod Vallat
Spotted by naddy@
2006-06-26When attaching an USB keyboard, check the HID interface for its country codeMiod Vallat
id, and if it is non-zero, try to select the appropriate layout. Of course, Sun USB keyboards still use the Sun layout encoding, which is completely different, so we have to check for them. Tested on a variety of keyboards by krw@ matthieu@ and I.
2006-06-23In a drivers activate() entry point, if on DVACT_DEACTIVATE it doesMiod Vallat
something, then it MUST return zero on DVACT_ACTIVATE, not EOPNOTSUPP; this very popular bug has been cut and pasted a lot of times... ok deraadt@ mickey@
2005-11-21Move contents of sys/select.h to sys/selinfo.h in preparation for aTodd C. Miller
userland-visible sys/select.h. Consistent with what Net and Free do. OK deraadt@, tested with full ports build by naddy@.
2005-07-18Correct scancode mapping URL.Jonathan Gray
2004-11-30Make Sun type 6 USB keyboards return extended keycodes for 'L' keysMatthieu Herrb
ok deraadt@.
2004-07-08put "do { } while (0)" wrappers on all the debug maroc functionsTheo de Raadt
2003-07-05sync with netbsdNathan Binkert
2003-05-19fix documentation links from netbsdNathan Binkert
2002-07-29this should be a DPRINTFNathan Binkert
2002-07-25get rid of trailing whitespaceNathan Binkert
2002-05-11I HATE it when things that we fix come back from bad mergesTheo de Raadt
2002-05-09Sync hid stuff including ukbd, ums, and uhid with NetBSDNathan Binkert
This adds a uhidev device which can be thought of as something like a uhid bus. It allows more than one ukbd, ums, or uhid to attach to the same device instance. This functionality is found on many of the newer keyboards that have extra buttons. (The extra buttons show up as uhid device(s)). Tested by me on i386, dale on macppc, and jason on sparc64
2002-05-07Meant to commit only ulpt and committed everything. Most things weren't readyNathan Binkert
2002-05-07Sync ulpt driver with NetBSDNathan Binkert
2002-04-03move the "ukbd_enable: %s: bad call on=%d" from DIAGNOSTIC to UKBD_DEBUGJason Wright
2001-10-31Synchronize usb code with NetBSD.Nathan Binkert
2001-10-25ddb entry support using usb (console) keyboard.Dale Rahn
Do not send characters directly from usb interrupt handler for console keyboard. entering ddb from within the usb interrupt handler is _bad_. Instead delay until next timeout check and deliver characters then. Tested on mappc. From NetBSD.
2001-10-25If a usb keyboard is detached, check if the intrpipe is still active.Dale Rahn
Console keyboard will still be active and must be shut down for successful detach. This change and previous change to wskbd.c both from NetBSD. Tested by miod@ and myself. Hot plug/unplug on USB console keyboard now works on macppc. (this and wskbd.c may be errata candidates).
2001-07-25be carefull about initializing timeoutsMichael Shalayeff
2001-05-03Sync with NetBSD. Tested with a USB keyboard, USB mouse, and three differentAaron Campbell
kue(4) Ethernet devices.
2001-03-07Add some non US encodings. Add option UKBD_LAYOUT. -moj ok @aaronMats O Jansson
2001-01-28Fix callout/timeout difference that did not quite get merged correctly.Dale Rahn
Uses were correct, just definition did not get moved appropriately.
2001-01-28Another USB sync with NetBSD. We are still lacking an up-to-date umass(4)Aaron Campbell
driver. I would appreciate it if someone with the hardware looked into it. I also have to take a closer look at changes to the USB Ethernet drivers, as well as import some drivers we are missing (uftdi, if_upl, yap, etc.)
2000-11-13- Convert to new timeouts.Aaron Campbell
- Allow it to compile with option WSDISPLAY_COMPAT_RAWKBD.
2000-09-06Add usb keyboard. from NetBSD.Dale S. Rahn