summaryrefslogtreecommitdiffstats
path: root/sys/dev/hil (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Provide a "code" locator for hil devices. This will let people ask theirmiod2003-02-152-5/+19
| | | | | | | | | kernels to attach hilkbd0 (console keyboard) or hilms0 (main mouse) to a specific device in the loop, by using UKC or compiling a new kernel. Using this and the previous console changes, it is now possible on a loop with multiple keyboards, to choose which keyboard will be the console keyboard.
* Rework the console management on hppa:miod2003-02-154-32/+30
| | | | | | | | | | | | - only attach a keyboard as a console if it matches the PDC keyboard path - on hil, as there can be multiple keyboards on the loop, attach only the first hilkbd device configured as console keyboard. Right now this means the one with the lowest hil code, which was the existing behaviour so far. - do not try to switch to the wscons consdev structure early at all in wscons_machdep, but rather wait for the console to be completely configured (i.e. both wskbd and wsdisplay are attached) to switch. With feedback and help from mickey@
* - Better type usage in the various hil code: prefer u_int8_t to u_char, butmiod2003-02-153-40/+44
| | | | | | | do not stick to u_int8_t when native word size can do the job better. - Allow send_hildev_cmd() to return the command response buffer to its caller, rather than forcing it to look at the guts of its parent device softc... this will be needed shortly.
* Remove misleading (and incorrect) HIL_STATMASK definition.miod2003-02-151-2/+1
|
* A simple driver for HIL mice and tablets. Most of the work being alreadymiod2003-02-122-4/+298
| | | | done by the loop, this is mostly an HIL packet decoding routine.
* Move values related to device identification data to hilreg.h, with bettermiod2003-02-122-9/+17
| | | | names.
* I found a french HIL keyboard in a closet, so add a simple french layout.miod2003-02-111-2/+36
| | | | | Nobody will want to use such a keyboard anyways, as there is no ~ (tilde) key on it.
* Oops, forgot to commit the most important file...miod2003-02-111-0/+586
|
* Regenmiod2003-02-111-0/+58
|
* Machine independent HP-HIL loop support code.miod2003-02-1110-0/+1051
Derived from the hp300 HIL code, and some information found in XFree86 HP-UX specific parts. However, this code does not provide an HP-UX compatible /dev/hil* interface, but will rather attach real BSD drivers to the hil driver glue. Currently, only a driver for the HP-HIL keyboards is provided. More to come as resources permit. The international layout tables for hilkbd are derived from the ite tables found in the hp300 code, but only the US layout could be tested. Sample dmesg output on a heavily charged hil loop: hil0 at gsc0 offset 21000 irq 1 hilkbd0 at hil0 code 1: 109-key keyboard, layout 1b wskbd0 at hilkbd0: console keyboard hilkbd1 at hil0 code 2: 109-key keyboard, layout 1f wskbd1 at hilkbd1 "ID module" at hil0 id 34 code 3 not configured "ID module" at hil0 id 34 code 4 not configured "Tablet" at hil0 id 94 code 5 not configured "Mouse" at hil0 id 68 code 6 not configured Some feedback from and ok mickey@