freebsd-src/sys
Kazutaka YOKOTA a2fc20d086 A fix/work-around for ThinkPad 535.
Add a new configuration flag, KBD_NORESET (0x20) to tell scprobe() not
to reset the keyboard.

IBM ThinkPad 535 has the `Fn' key with which the user can perform
certain functions in conjunction with other keys. For example, `Fn' +
PageUP/PageDOWN adjust speaker volume, `Fn' + Home/End change
brightness of LCD screen. It can also be used to suspend the system.

It appears that these functions are implemented at the keyboard level
or the keyboard controller level and totally independent from BIOS or
OS.  But, if the keyboard is reset (as is done in scprobe()), they
become unavailable.  (There are other laptops which have similar
functions associated with the `Fn' key. But, they aren't affected by
keyboard reset.)

ThinkPad 535 doesn't have switches or buttons to adjust brightness and
volume, or to put the system into the suspend mode. Therefore, it is
essential to preserve these `Fn' key functions in FreeBSD. The new
flag make scprobe() skip keyboard reset.

If this flag is not set, scprobe() behaves in the same say as before.

(If we only knew a way to detect ThinkPad 535, we could skip keyboard
reset automatically, but...)
1997-06-29 15:11:40 +00:00
..
alpha Grr. Remove not-ready LDT modification fluff that also crept in with 1997-06-02 06:45:17 +00:00
amd64 apic_vector.s: 1997-06-27 23:48:05 +00:00
compat/linux Make this thing actually compile. 1997-06-02 10:43:41 +00:00
compile
conf Added CPU_DIRECT_MAPPED_CACHE option which sets L1 cache in direct 1997-06-27 13:46:19 +00:00
ddb Removed unused #includes. 1997-06-14 11:52:37 +00:00
dev A fix/work-around for ThinkPad 535. 1997-06-29 15:11:40 +00:00
fs More comment cleanup. 1997-06-26 17:12:59 +00:00
geom Removed unused #includes. 1997-06-14 13:56:12 +00:00
gnu Fix a problem with the VN device. Specifically, the VN device can 1997-06-15 17:56:53 +00:00
i386 A fix/work-around for ThinkPad 535. 1997-06-29 15:11:40 +00:00
isa A fix/work-around for ThinkPad 535. 1997-06-29 15:11:40 +00:00
isofs/cd9660 Hide the kernel-only stuff inside #ifdef KERNEL. 1997-05-07 13:23:04 +00:00
kern Initialize private variable other_cpus during AP boot. 1997-06-27 23:38:32 +00:00
libkern Style optimization in newly added POSIX range []] conformance, redo 1997-06-07 01:33:10 +00:00
miscfs More comment cleanup. 1997-06-26 17:12:59 +00:00
modules Take the OS release string from the kernel variable `osrelease' 1997-06-24 12:43:18 +00:00
msdosfs Remove redundant check for vp == dvp (done in VFS before calling). 1997-05-17 18:32:53 +00:00
net Fix this damn mbuf with a negative m_len. It turns 1997-06-22 02:19:53 +00:00
netatalk Actually POINT to the appletalk usrreqs struct. 1997-06-02 20:07:33 +00:00
netinet Add for public examination the beginnings of the per-host cache support 1997-06-18 01:24:28 +00:00
netipx Removed the #ifdef IPXERRORMSGS'ed code. Fix a lot of style errors that I 1997-06-26 19:36:03 +00:00
netkey
netnatm import Chuck Cranor's ATM driver 1997-05-09 08:04:59 +00:00
netns Remove unneeded member nsp_head from struct nspcb. 1997-04-14 18:26:51 +00:00
nfs Fix a condition where nfs_statfs() can precipitate a panic. There is 1997-06-27 19:10:46 +00:00
nfsclient Fix a condition where nfs_statfs() can precipitate a panic. There is 1997-06-27 19:10:46 +00:00
nfsserver Clear nfs_iodwant[myiod] when the nfsiod process exits due to a signal. 1997-06-25 21:07:26 +00:00
pc98 Synchronize with sys/i386/isa/clock.c and isa.c revisions 1.88 and 1997-06-26 14:49:25 +00:00
pccard Make this puppy compile again - add two includes. 1997-06-01 05:04:39 +00:00
pci Modify my copyright notice to allow the sequencer to be used with GPLed 1997-06-27 19:39:34 +00:00
powerpc/include Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
rpc Resolve conflicts. 1997-05-28 04:45:15 +00:00
scsi Introduce an advisory exclusive lock on the scsi link structure. 1997-06-25 19:07:43 +00:00
sys Preliminaries for stop_cpus()/restart_cpus(). 1997-06-27 23:12:31 +00:00
tools Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ufs Fix a problem with the VN device. Specifically, the VN device can 1997-06-15 17:56:53 +00:00
vm Don't try upgrading an existing exclusive lock in vm_map_user_pageable. 1997-06-23 21:51:03 +00:00
Makefile Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00