History log of /openbsd/sys/dev/isa/aps.c (Results 1 – 25 of 28)
Revision Date Author Comments
# 471aeecf 06-Apr-2022 naddy <naddy@openbsd.org>

constify struct cfattach


# 4b1a56af 09-Jan-2022 jsg <jsg@openbsd.org>

spelling
feedback and ok tb@ jmc@ ok ratchov@


# 2d357aed 02-Mar-2017 natano <natano@openbsd.org>

Add a new sysctl machdep.lidaction. The sysctl works as follows:

machdep.lidaction=0 # do nothing
machdep.lidaction=1 # suspend
machdep.lidaction=2 # hibernate

lidsuspend is just an alias for lidac

Add a new sysctl machdep.lidaction. The sysctl works as follows:

machdep.lidaction=0 # do nothing
machdep.lidaction=1 # suspend
machdep.lidaction=2 # hibernate

lidsuspend is just an alias for lidaction, so if you change one, the
other one will have the same value. The plan is to remove
machdep.lidsuspend eventually when people have upgraded their
/ets/sysctl.conf.

discussed with deraadt, who came up with the new MIB name
no objections mlarkin
ok stsp halex jcs

show more ...


# 21dab745 14-Mar-2015 jsg <jsg@openbsd.org>

Remove some includes include-what-you-use claims don't
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.

ok tedu@ deraadt@


# 88eb0740 04-Apr-2011 deraadt <deraadt@openbsd.org>

Hit this code with a big hammer. It now works on the X201/T510 series
machines after warm boot or resume. Some of the checks being made were
nonsense. Also tested by claudio and guenther.
ok jsg


# 633b34e4 05-Jan-2011 deraadt <deraadt@openbsd.org>

remove debug code


# 037e02e3 04-Jan-2011 deraadt <deraadt@openbsd.org>

Support machdep.lidsuspend support in apm(4) land, at least on thinkpads
which have aps(4). You can now turn off the BIOS option for lid suspends,
and control it with sysctl.


# b07c7932 07-Sep-2010 deraadt <deraadt@openbsd.org>

remove the powerhook code. All architectures now use the ca_activate tree
traversal code to suspend/resume
ok oga kettenis blambert


# e612a1ba 27-Aug-2010 deraadt <deraadt@openbsd.org>

Mutilate the powerhook function into an activate function, then create
a stub powerhook function to call it.


# 0caa36ec 24-May-2009 jsg <jsg@openbsd.org>

make sure the array of chars we pass aps_do_io() in aps_match() is
unsigned, like all the other callers of aps_do_io in aps do.


# 325ff358 21-Apr-2009 mk <mk@openbsd.org>

Switch aps(4) to use timeout_add_msec() instead of timeout_add() with a
calculation of ticks. Saves 26 bytes.

ok oga `fine' deraadt


# c96de550 27-Jun-2008 canacar <canacar@openbsd.org>

Access the embedded controller according to the documentation referenced
from the hdaps linux driver, and update model detection. Now works on
newer thinkpad models. Suggestions from jsg@, tested by

Access the embedded controller according to the documentation referenced
from the hdaps linux driver, and update model detection. Now works on
newer thinkpad models. Suggestions from jsg@, tested by many.

show more ...


# a499dca2 22-May-2008 mk <mk@openbsd.org>

More timeout(9) usage cleaned up.

ok claudio


# 8a97f244 19-May-2007 tedu <tedu@openbsd.org>

the thinkpad 60 models are in "state" 5.
ok deraadt jasper jsg mk


# 275cbf62 22-Mar-2007 deraadt <deraadt@openbsd.org>

split userland & kernel struct sensor/sensordev so that the addition
of new fields in the future is less disruptive. This is done similar
to how struct proc is handled for ps(1). ok jmc (man page c

split userland & kernel struct sensor/sensordev so that the addition
of new fields in the future is less disruptive. This is done similar
to how struct proc is handled for ps(1). ok jmc (man page changes)
tested fkr simon, and more suggestions from millert

show more ...


# 093389c9 05-Jan-2007 jsg <jsg@openbsd.org>

Don't pollute userspace with uneeded headers.


# 4f9dec20 05-Jan-2007 jsg <jsg@openbsd.org>

Remove unknown sensor that seems to always be fixed at 7
on all ThinkPad models.


# 569d7da4 05-Jan-2007 jsg <jsg@openbsd.org>

Switch to indicator type for sensors with boolean values.
From Constantine A. Murenin


# 52a6f82e 05-Jan-2007 jsg <jsg@openbsd.org>

Change slightly to not need one of the softc members.
From Constantine A. Murenin


# 27515a6b 23-Dec-2006 deraadt <deraadt@openbsd.org>

adapt to new two-level sensor api; Constantine A. Murenin


# 1f626787 19-Jun-2006 kettenis <kettenis@openbsd.org>

Do not bother initializing the rfact member of `struct sensor'; it is on its
way out anyway.


# aafcf214 10-Apr-2006 deraadt <deraadt@openbsd.org>

unify temperature sensor names much more


# 92bc2975 19-Jan-2006 grange <grange@openbsd.org>

Replace SENSOR_ADD() macro with a pair of functions
sensor_add()/sensor_del() so that sensors can be attached
and detached dynamicaly.

ok kettenis@ deraadt@ dlg@


# 721d5653 28-Aug-2005 djm <djm@openbsd.org>

wake aps up on resume from suspend/standby; ok deraadt@
tested by jsg@ naddy@ and some helpful souls on tech@


# 1c54b514 06-Aug-2005 jsg <jsg@openbsd.org>

Improved X40 kludge, tested by djm@.
Any X40 users still having problems after this mail me.


12