summaryrefslogtreecommitdiff
path: root/sys/dev/hil
AgeCommit message (Collapse)Author
2004-09-15code locator is optionalMichael Shalayeff
2004-05-10obliterate undef, ok miodJolan Luff
2004-04-06Hil keyboard layout for german keyboards, at least suitable for the PS/2-likeMiod Vallat
layout. Based upon an old diff from paul@, tests and feedback otto@ paul@
2004-03-12Allow busy wait loops to fail, so that we don't spin if the hil loop does notMiod Vallat
behave correctly for some reason.
2003-12-20Relax a redundant printf format specifier.Miod Vallat
2003-10-21typo from Tom Cosgrove;Jason McIntyre
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-27as mentioned in hardball ers a few delays are needed; mios@ testing on hp300 ↵Michael Shalayeff
and ok
2003-03-28Fix various gremlins in the hilms code my simple test program did not catch,Miod Vallat
but XFree did.
2003-03-28Better message to report an empty loop during probe.Miod Vallat
2003-03-16A better explanation of why we need to operate hil keyboards in raw mode.Miod Vallat
2003-02-26Better support for the ps/2-style HIL keyboards (those with a real numericMiod Vallat
pad and a few extra keys).
2003-02-26New hil child devices attachment framework, that allow them to be detachedMiod Vallat
at runtime. Handle reconfiguration notices from the loop, and do the necessary detach/attach work so that our vision of the loop is in sync with reality. Adapt all hil child devices to the above changes. "This is not as plug'n'play as usb, but you get the same feeling anyways..."
2003-02-19Leaving console polling mode works now, and workaround boot -a slow responseMiod Vallat
glitch.
2003-02-18Oops, remove debug code that was not supposed to be left hereMiod Vallat
2003-02-18Real polled mode console support, enough to play hangman in ddb.Miod Vallat
Still a minor issue left for tomorrow.
2003-02-18Track enable state and behave appropriately.Miod Vallat
Also, better probe for leds on keyboard.
2003-02-15A simple and crude driver to play with the hil so-called ``ID module''Miod Vallat
devices. The ID module only purpose is to provide a small, unique, bitstring, which was used for some copy-protection or licensing scheme under HP-UX. Right now this driver is useless, as it provides no way to communicate this information to userland, and only displays it while attaching, as such: hilid0 at hil0 code 2: ID module hilid0: security code 10 04 b4 41 ac 77 14 0f 41 00 00 00 00 00 00 00 hilid1 at hil0 code 3: ID module hilid1: security code 10 04 b4 41 e3 b8 13 0f 41 00 00 00 00 00 00 00 Too bad it's not even good enough to feed the kernel random generator...
2003-02-15Provide a "code" locator for hil devices. This will let people ask theirMiod Vallat
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.
2003-02-15Rework the console management on hppa:Miod Vallat
- 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@
2003-02-15- Better type usage in the various hil code: prefer u_int8_t to u_char, butMiod Vallat
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.
2003-02-15Remove misleading (and incorrect) HIL_STATMASK definition.Miod Vallat
2003-02-12A simple driver for HIL mice and tablets. Most of the work being alreadyMiod Vallat
done by the loop, this is mostly an HIL packet decoding routine.
2003-02-12Move values related to device identification data to hilreg.h, with betterMiod Vallat
names.
2003-02-11I found a french HIL keyboard in a closet, so add a simple french layout.Miod Vallat
Nobody will want to use such a keyboard anyways, as there is no ~ (tilde) key on it.
2003-02-11Oops, forgot to commit the most important file...Miod Vallat
2003-02-11RegenMiod Vallat
2003-02-11Machine independent HP-HIL loop support code.Miod Vallat
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@