head 1.1; access; symbols netbsd-11-0-RC4:1.1 netbsd-11-0-RC3:1.1 netbsd-11-0-RC2:1.1 netbsd-11-0-RC1:1.1 netbsd-11:1.1.0.6 netbsd-11-base:1.1 netbsd-10-1-RELEASE:1.1 netbsd-9-4-RELEASE:1.1.2.2 netbsd-10-0-RELEASE:1.1 netbsd-10-0-RC6:1.1 netbsd-10-0-RC5:1.1 netbsd-10-0-RC4:1.1 netbsd-10-0-RC3:1.1 netbsd-10-0-RC2:1.1 netbsd-10-0-RC1:1.1 netbsd-10:1.1.0.4 netbsd-10-base:1.1 netbsd-9-3-RELEASE:1.1.2.2 netbsd-9-2-RELEASE:1.1.2.2 netbsd-9-1-RELEASE:1.1.2.2 netbsd-9:1.1.0.2; locks; strict; comment @.\" @; 1.1 date 2020.07.22.20.38.29; author tsutsui; state Exp; branches 1.1.2.1; next ; commitid k7UPGpK5ONmYj7hC; 1.1.2.1 date 2020.07.22.20.38.29; author martin; state dead; branches; next 1.1.2.2; commitid GJiXdOKEoNLjgGlC; 1.1.2.2 date 2020.08.27.08.53.19; author martin; state Exp; branches; next ; commitid GJiXdOKEoNLjgGlC; desc @@ 1.1 log @Import WIP Xorg-Server-1.20'fied monolithic Xsun servers. This is based on 1.10 version imported into xorg-server.old and all upstream API changes between xorg-server 1.10 and 1.20 are applied almost mechanically. https://github.com/tsutsui/xorg-server-Xsun/commits/xorg-server-1.20 Xsun and XsunMono servers are also confirmed working with bwtwo on 3/60 and tme, and cgtwo on tme. XKB stuff is still to be resolved. @ text @.\" $Xorg: kbd_mode.man,v 1.4 2001/02/09 02:04:43 xorgcvs Exp $ .\" Copyright 1987 Sun Microsystems, Inc. .\" Copyright 1993, 1998 The Open Group .\" .\" Permission to use, copy, modify, distribute, and sell this software and its .\" documentation for any purpose is hereby granted without fee, provided that .\" the above copyright notice appear in all copies and that both that .\" copyright notice and this permission notice appear in supporting .\" documentation. .\" .\" The above copyright notice and this permission notice shall be included .\" in all copies or substantial portions of the Software. .\" .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS .\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF .\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. .\" IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR .\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, .\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR .\" OTHER DEALINGS IN THE SOFTWARE. .\" .\" Except as contained in this notice, the name of The Open Group shall .\" not be used in advertising or otherwise to promote the sale, use or .\" other dealings in this Software without prior written authorization .\" from The Open Group. .\" .\" $XFree86: xc/programs/Xserver/hw/sun/kbd_mode.man,v 1.8 2005/02/11 03:03:10 dawes Exp $ .\" .TH KBD_MODE 1 __vendorversion__ .SH NAME kbd_mode \- recover the Sun console keyboard .SH SYNOPSIS .B kbd_mode [ -a -e -n -u ] .SH DESCRIPTION .I Kbd_mode resets the Sun console keyboard to a rational state. .SH OPTIONS The following options are supported, see \fIkb(4S)\fP for details: .TP 8 .B \-a Causes ASCII to be reported. .TP 8 .B \-e Causes \fIFirm_events\fP to be reported. .TP 8 .B \-n Causes up/down key codes to be reported. .TP 8 .B \-u Causes undecoded keyboard values to be reported. .SH SEE ALSO kb(4S) @ 1.1.2.1 log @file kbd_mode.man was added on branch netbsd-9 on 2020-08-27 08:53:19 +0000 @ text @d1 53 @ 1.1.2.2 log @Pull up following revision(s) (requested by tsutsui in ticket #1061): external/mit/xorg-server/dist/hw/sun/sunCfb.c: revision 1.6 external/mit/xorg-server/dist/hw/sun/sunCursor.c: revision 1.1 external/mit/xorg-server/dist/hw/sun/sunInit.c: revision 1.1 external/mit/xorg-server/dist/hw/sun/sunInit.c: revision 1.2 external/mit/xorg-server/dist/hw/sun/sunInit.c: revision 1.3 external/mit/xorg-server/dist/hw/sun/sunInit.c: revision 1.4 external/mit/xorg-server/dist/hw/sun/sunFbs.c: revision 1.1 external/mit/xorg-server/dist/hw/sun/sunCfb24.c: revision 1.1 external/mit/xorg-server/dist/hw/sun/sunInit.c: revision 1.5 external/mit/xorg-server/dist/hw/sun/sunFbs.c: revision 1.2 external/mit/xorg-server/dist/hw/sun/sunMouse.c: revision 1.1 external/mit/xorg-server/dist/hw/sun/sunInit.c: revision 1.6 external/mit/xorg-server/dist/hw/sun/sunGX.c: revision 1.1 external/mit/xorg-server/dist/hw/sun/sunFbs.c: revision 1.3 external/mit/xorg-server/dist/hw/sun/kbd_mode.c: revision 1.1 external/mit/xorg-server/dist/hw/sun/sunMouse.c: revision 1.2 external/mit/xorg-server/dist/hw/sun/sunInit.c: revision 1.7 external/mit/xorg-server/dist/hw/sun/sunInit.c: revision 1.8 external/mit/xorg-server/dist/hw/sun/sunIo.c: revision 1.1 external/mit/xorg-server/dist/hw/sun/sunInit.c: revision 1.9 external/mit/xorg-server/dist/hw/sun/sunGX.h: revision 1.1 external/mit/xorg-server/dist/hw/sun/sunIo.c: revision 1.2 external/mit/xorg-server/dist/hw/sun/sun.h: revision 1.1 external/mit/xorg-server/dist/hw/sun/Xsun.man: revision 1.1 external/mit/xorg-server/dist/hw/sun/sunIo.c: revision 1.3 external/mit/xorg-server/dist/hw/sun/sun.h: revision 1.2 external/mit/xorg-server/dist/hw/sun/sunKeyMap.c: revision 1.1 external/mit/xorg-server/dist/hw/sun/sunIo.c: revision 1.4 external/mit/xorg-server/dist/hw/sun/sun.h: revision 1.3 external/mit/xorg-server/dist/hw/sun/constype.c: revision 1.1 external/mit/xorg-server/dist/hw/sun/sunMultiDepth.c: revision 1.1 external/mit/xorg-server/dist/hw/sun/sunKeyMap.c: revision 1.2 external/mit/xorg-server/dist/hw/sun/sunIo.c: revision 1.5 external/mit/xorg-server/dist/hw/sun/sun.h: revision 1.4 external/mit/xorg-server/dist/hw/sun/sunMfb.c: revision 1.1 external/mit/xorg-server/dist/hw/sun/sunKeyMap.c: revision 1.3 external/mit/xorg-server/dist/hw/sun/sun.h: revision 1.5 external/mit/xorg-server/dist/hw/sun/README: revision 1.1 external/mit/xorg-server/dist/hw/sun/sun.h: revision 1.6 external/mit/xorg-server/dist/hw/sun/sun.h: revision 1.7 external/mit/xorg-server/dist/hw/sun/kbd_mode.man: revision 1.1 external/mit/xorg-server/dist/hw/sun/circleset.h: revision 1.1 external/mit/xorg-server/dist/hw/sun/sunKbd.c: revision 1.1 external/mit/xorg-server/dist/hw/sun/sunKbd.c: revision 1.2 external/mit/xorg-server/dist/hw/sun/sunKbd.c: revision 1.3 external/mit/xorg-server/dist/hw/sun/sunKbd.c: revision 1.4 external/mit/xorg-server/dist/hw/sun/sunKbd.c: revision 1.5 external/mit/xorg-server/dist/hw/sun/sunKbd.c: revision 1.6 external/mit/xorg-server/dist/hw/sun/sunKbd.c: revision 1.7 external/mit/xorg-server/dist/hw/sun/constype.man: revision 1.1 external/mit/xorg-server/dist/hw/sun/sunCfb.c: revision 1.1 external/mit/xorg-server/dist/hw/sun/sunCfb.c: revision 1.2 external/mit/xorg-server/dist/hw/sun/sunCfb.c: revision 1.3 external/mit/xorg-server/dist/hw/sun/sunCfb.c: revision 1.4 external/mit/xorg-server/dist/hw/sun/sunCfb.c: revision 1.5 Import WIP Xorg-Server-1.20'fied monolithic Xsun servers. This is based on 1.10 version imported into xorg-server.old and all upstream API changes between xorg-server 1.10 and 1.20 are applied almost mechanically. https://github.com/tsutsui/xorg-server-Xsun/commits/xorg-server-1.20 Xsun and XsunMono servers are also confirmed working with bwtwo on 3/60 and tme, and cgtwo on tme. XKB stuff is still to be resolved. Use proper ANSI offsetof(3) to specify framebuffer offset in struct. Fixes build error on sparc64. No binary change on sun3. Apply upstream "free the EQ allocated memory on shutdown" fixes. This should be updated before 1.20 import: https://cgit.freedesktop.org/xorg/xserver/commit/?id=87d4f90bfcb509471ac9e7886e14a92b33223fd7 Use proper args for dixLookupResourceByType() to get defcolormap. Botched in mechanical 1.20 updates. Add prototype declarations for CG2 functions. Implement functions to restore palette settings on exiting Xserver. Explicitly initialize origColormapValid for readability. Fix LED defintions to match xkb/xkbInit.c. Now CapsLock and NumLock LEDs work correctly. XXX: No ScrollLock LED Remove unused functions required to handle non-XKB autorepeat. Initialize ModMap dynamically using keymap data per each keyboard. Now ScrollLock LED works properly. Remove now unused ModMap data for each keyboard. Use "empty" for rmlvo model and layout to avoid lingering default settings. Now all modifier keys (CTRL, SHIFT, and NumLock) work as expected. It seems XkbApplyMappingChange() doesn't update some XKB modifier settings even if new modmap data is specified. Trailing whitespace. Call LogInit() for logging to /var/log/Xsun.%s.log as Xorg server. Inform detected keyboard type and layout via LogMessage(). Remove a leftover variable for non-XKB autorepeat. Remove redundant command option arg checks. Put probed framebuffer info to a log file by default. Remove more redundant command option arg checks. Avoid dumb DevicePtr casts. @ text @a0 53 .\" $Xorg: kbd_mode.man,v 1.4 2001/02/09 02:04:43 xorgcvs Exp $ .\" Copyright 1987 Sun Microsystems, Inc. .\" Copyright 1993, 1998 The Open Group .\" .\" Permission to use, copy, modify, distribute, and sell this software and its .\" documentation for any purpose is hereby granted without fee, provided that .\" the above copyright notice appear in all copies and that both that .\" copyright notice and this permission notice appear in supporting .\" documentation. .\" .\" The above copyright notice and this permission notice shall be included .\" in all copies or substantial portions of the Software. .\" .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS .\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF .\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. .\" IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR .\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, .\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR .\" OTHER DEALINGS IN THE SOFTWARE. .\" .\" Except as contained in this notice, the name of The Open Group shall .\" not be used in advertising or otherwise to promote the sale, use or .\" other dealings in this Software without prior written authorization .\" from The Open Group. .\" .\" $XFree86: xc/programs/Xserver/hw/sun/kbd_mode.man,v 1.8 2005/02/11 03:03:10 dawes Exp $ .\" .TH KBD_MODE 1 __vendorversion__ .SH NAME kbd_mode \- recover the Sun console keyboard .SH SYNOPSIS .B kbd_mode [ -a -e -n -u ] .SH DESCRIPTION .I Kbd_mode resets the Sun console keyboard to a rational state. .SH OPTIONS The following options are supported, see \fIkb(4S)\fP for details: .TP 8 .B \-a Causes ASCII to be reported. .TP 8 .B \-e Causes \fIFirm_events\fP to be reported. .TP 8 .B \-n Causes up/down key codes to be reported. .TP 8 .B \-u Causes undecoded keyboard values to be reported. .SH SEE ALSO kb(4S) @