Age | Commit message (Collapse) | Author |
|
|
|
ok miod@
|
|
Doesn't change anything, but silences a Clang warning; dhill@bitrig
|
|
prevent us from accidentally reenabling the burner.
ok miod@
|
|
ok otto
|
|
cleaning up some shutdown-hook related code on the way.
(A few drivers related to sparc are still skipped at kettenis' request)
ok kettenis mlarkin, tested by many others too
|
|
attempting to switch screens. On amd64/i386 the glass console gets
initialised early even if a serial console has been set up by the bootloader.
To add insult to injury, the glass console isn't properly "detached" and the
MI wsdisplay(4) driver continues to believe it is the console. This should
really be fixed, but is a nasty can of worms.
ok miod@
|
|
vt100 and vt220 do not have such function keys, and there is no clear consensus,
for terminal emulations supporting F21 to F24, of the escape codes to use
(linux stops at F20, and Wyse and QNX use incompatible sequences for keys up
to F20).
From "Creamy" on tech@
|
|
wsdisplay console later in the boot process. Needed for upcoming KMS changes
where on i386/amd64 we will switch from vga text mode to a framebuffer console
when the KMS drm driver attaches.
ok miod@, mpi@
|
|
otherwise volume may be adjusted twice: once by X apps and once in
the kernel.
feedback from many, ok shadchin@
|
|
ok guenther millert kettenis
|
|
input driver to configure these touchpads properly, e.g. toggle tap-to-click,
two-finger scrolling, edge-scrolling, etc. So far these pads were working
only in PS/2 mouse compatibility mode.
Support for up to hardware version 3 has been implemented. But only version 3
has been tested so versions 1 and 2 remain disabled via #ifdef notyet until
someone tests (bugs in this code could seriously mess up the mouse and I
don't want to end up shipping such bugs in 5.3).
help and ok mpi@ shadchin@
|
|
ok miod@
|
|
ok gilles@, matthieu@, mpi@, miod@, deraadt@
|
|
|
|
|
|
|
|
thread, aka. p_p->ps_pid.
ok miod
|
|
but if close wskbdX, wskbdX not returned to mux. Fix it.
ok miod@
|
|
no objections mpi@ and matthieu@
|
|
ok miod@, matthieu@
|
|
`ESC \', as supported by xterm; some third-party software such as
ncmpcpp rely upon this.
Noticed by dcoppa@, based on a draft diff by nicm@; ok deraadt@
|
|
wsdisplaypoll.
ok miod deraadt
|
|
i386. Stop abusing it on other archs for controling a shutdown by
pressing the soft power button:
* Add a MI sysctl hw.allowpowerdown; if set to 1 (the default) it
allows a power button shutdown.
* Make acpi(4)/acpibtn(4) honor hw.allowpowerdown.
* Switch the various power button intercepts on landisk, sgi, sparc64
and zaurus over to hw.allowpowerdown.
* Garbage collect the machdep.kbdreset sysctl on all archs other than
amd64 and i386.
ok miod@
|
|
|
|
The audio side is a bit lacking; it does not yet mute all types of
devices.
from Alexander Polakov
ok jakemsr
|
|
ioctl is issued to switch to synaptics mode.
WSMOUSE_COMPAT - behavior conventional mouse (relative mode) (default)
WSMOUSE_NATIVE - full power synaptics
ok miod@
|
|
Updating state LED only when necessary.
ok krw@
|
|
ok miod@
|
|
ok miod@
|
|
|
|
one has been weeding it, and it makes life harder.
Toasts of Brennivin for its passing from many; diff ok henning@
|
|
from right alt. ok krw@ shadchin@ deraadt@
|
|
a single keysym_t at a time - this means tty sanity checks will only happen
once.
Introduce wsdisplay_rawkbdinput() for raw mode input, since raw input is
a byte array. As a bonus this allows us to skip the `is this a KS_GROUP_Ascii
value' test in that case.
|
|
short #define for the former, and seeing both forms in this file is confusing.
|
|
column and and clear VTFL_LASTCHAR if so.
This fixes the case where an escape sequence (originally noticed with
DECSTBM) moves the cursor and doesn't reset the flag - if it was set,
there would be a spurious line feed on the next input.
ok miod
|
|
no functional change.
|
|
|
|
so that the process-level stuff is to/from struct process and not
struct proc. This fixes a bunch of problem cases in rthreads.
Based on earlier work by blambert and myself, but mostly written
at c2k10.
Tested by many: deraadt, sthen, krw, ray, and in snapshots
|
|
ok deraadt matthew millert
|
|
Information needed for wsconscfg. feedback and ok miod@. -moj
|
|
max-baud-rate hint. Adjust TTYHOG (the nearly full logic) to this new
situation. The larger buffers are required by the very high speed
KDDI devices in Japan (CF com, or USB ucom) so those are the only two
drivers which currently ask for a larger buffer size.
ok yasuoka miod
|
|
a process instead of using curproc. ok deraadt
|
|
When we hit suspend time, go through all wsdisplays on the system. if
they are in mode MAPPED, but not MODE_DUMBFB then if possible do a full
vt switch to a !mapped vt, and prevent switching back until resume time.
This has to be called from MD code because this involves userland
running so that X can run the vt switch signal handler. This way, any
case where we are using the "poke registers from userland" model, we
will not be on the hardware when we go down, so the kernel can actually
handle thing properly.
Tested on several acpi laptops (by kettenis@ and ian@), x40 (me and
beck@ at LEAST) and zaurus (me). Maybe others, but if so I forgot who at
this time..
Idea from deraadt somewhere over the Faroe Islands (I thought of a
similar thing myself a while ago). Much prompting from him. Ok and
comments miod@
|
|
Octane systems, as well as some Onyxes. With special permission to change a
systemwide .h file and add a manpage from deraadt@
Magic numbers and operation sequencing borrowed from Linux; tested on
Octane + ESI.
ok deraadt@
|
|
ok miod@
|
|
Currently unable to change video modes or provide any form of acceleration,
so you are stuck in a 640x400x8 mode, but at least people scared of serial
consoles will get a chance to use their Fuloongs now.
Tested by otto@ (early developments) and jasper@ (final version)
|
|
|
|
looking for something else.
sha1(1) tells me there's no binary change.
|
|
supported it doesn't do any harm), so put the KNOTE() in selwakeup() itself and
remove it from any occurences where both are used, except one for kqueue itself
and one in sys_pipe.c (where the selwakeup is under a PIPE_SEL flag).
Based on a diff from tedu.
ok deraadt
|