History log of /openbsd-current/sys/dev/acpi/acpiasus.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.20 06-Apr-2022 naddy

constify struct cfattach


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE
# 1.19 01-Jul-2018 mlarkin

acpi: clean up some inconsistent style in the hid matching arrays

ok millert, kettenis, jcs, phessler, deraadt, mpi


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.18 25-Feb-2017 jcs

move vendor HIDs into their drivers, clean up some unused defines

ok kettenis


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.17 21-Feb-2014 deraadt

these two drivers should be doing their repair at DVACT_WAKEUP time
rather than DVACT_RESUME
in snapshots for a long time, looked at by pirofti kettenis mlarkin


# 1.16 30-Jan-2014 pirofti

The activate function was registered as a detach function.
Put the activate function in the proper place in cfattach.

Tested by jasper@ on eeepc-900
Okay kettenis@


# 1.15 06-Dec-2013 deraadt

Add a DVACT_WAKEUP op to the *_activate() API. This is called after the
kernel resumes normal (non-cold, able to run processes, etc) operation.
Previously we were relying on specific DVACT_RESUME op's in drivers
creating callback/threads themselves, but that has become too common,
indicating the need for a built-in mechanism.
ok dlg kettenis, tested by a sufficient amount of people


# 1.14 04-Nov-2013 mpi

Convert wskbd_set_mixervolume() to use a task internally instead of
being called in a workq.

ok kettenis@


Revision tags: OPENBSD_5_4_BASE
# 1.13 20-Jun-2013 mpi

Drop 3rd and 4th clauses from the BSD licence, from the following NetBSD's
revision:
sys/dev/acpi/asus_acpi.c r1.4
sys/dev/cardbus/cardbus_exrom.c r1.11
sys/dev/cardbus/cardbus_exrom.h r1.6

ok kettenis@


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.12 06-Jun-2011 deraadt

Microphone mute button support from acpithinkpad (or elsewhere).
The audio side is a bit lacking; it does not yet mute all types of
devices.
from Alexander Polakov
ok jakemsr


Revision tags: OPENBSD_4_9_BASE
# 1.11 28-Aug-2010 deraadt

powerhooks in acpi drivers? oh boy. change this into a (not yet called)
activate function
ok kettenis


# 1.10 27-Aug-2010 deraadt

kill PWR_STANDBY (apm can use PWR_SUSPEND instead). While here, renumber
PWR_{SUSPEND,RESUME} so that they match the values of DAVCT_{SUSPEND,RESUME}
so that we can eventually (many more steps...) kill the powerhook garbage
and use the activate mechanism.
no objections


Revision tags: OPENBSD_4_8_BASE
# 1.9 06-Jul-2010 deraadt

spacing


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE
# 1.8 06-Nov-2008 marco

Collapse all sanity checks of hids into one function.

Originaly from jordan


# 1.7 01-Oct-2008 robert

The display cycle key generates two ACPI events, so catch both
from jsign@

Change the camel capitalized key defines to full capitals,
and add some keys found on the eeepc 1000H

ok marco@


Revision tags: OPENBSD_4_4_BASE
# 1.6 14-Jun-2008 jsing

Teach acpiasus(4) about some more events. Whilst we're here bzero the cmd
structs and sprinkle some aml_freevalue() (diff initially from deanna@).

ok marco@


# 1.5 11-Jun-2008 marco

Fix $OpenBSD$ for once and for all


# 1.4 01-Jun-2008 marco

Re-enable new parser. Lots of testing by various folks. Fits all media
now too.

ok kettenis deraadt


# 1.3 16-May-2008 dlg

back out jordans new parser.

it didnt have enough oks from the right people, it did break machines
that were previously working, and it bloated the RAMDISKS and install
media beyond the constraints of the media.

requested by deraadt@


# 1.2 14-May-2008 jordan

Adding new ACPI Parser code
Old guts of code still exists, needs to be torn out next
ok marco@
ok brad@


# 1.1 24-Apr-2008 jsing

Introduce acpiasus(4), a driver for the ACPI based hotkeys found in many
ASUS laptops (including the ASUS EeePC) - largely based on NetBSD's
asus(4) driver. On the ASUS EeePC this allows us to enable/disable
wireless, change screen brightness and use the volume keys.

ok jsg@, weingart@


# 1.19 01-Jul-2018 mlarkin

acpi: clean up some inconsistent style in the hid matching arrays

ok millert, kettenis, jcs, phessler, deraadt, mpi


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.18 25-Feb-2017 jcs

move vendor HIDs into their drivers, clean up some unused defines

ok kettenis


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.17 21-Feb-2014 deraadt

these two drivers should be doing their repair at DVACT_WAKEUP time
rather than DVACT_RESUME
in snapshots for a long time, looked at by pirofti kettenis mlarkin


# 1.16 30-Jan-2014 pirofti

The activate function was registered as a detach function.
Put the activate function in the proper place in cfattach.

Tested by jasper@ on eeepc-900
Okay kettenis@


# 1.15 06-Dec-2013 deraadt

Add a DVACT_WAKEUP op to the *_activate() API. This is called after the
kernel resumes normal (non-cold, able to run processes, etc) operation.
Previously we were relying on specific DVACT_RESUME op's in drivers
creating callback/threads themselves, but that has become too common,
indicating the need for a built-in mechanism.
ok dlg kettenis, tested by a sufficient amount of people


# 1.14 04-Nov-2013 mpi

Convert wskbd_set_mixervolume() to use a task internally instead of
being called in a workq.

ok kettenis@


Revision tags: OPENBSD_5_4_BASE
# 1.13 20-Jun-2013 mpi

Drop 3rd and 4th clauses from the BSD licence, from the following NetBSD's
revision:
sys/dev/acpi/asus_acpi.c r1.4
sys/dev/cardbus/cardbus_exrom.c r1.11
sys/dev/cardbus/cardbus_exrom.h r1.6

ok kettenis@


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.12 06-Jun-2011 deraadt

Microphone mute button support from acpithinkpad (or elsewhere).
The audio side is a bit lacking; it does not yet mute all types of
devices.
from Alexander Polakov
ok jakemsr


Revision tags: OPENBSD_4_9_BASE
# 1.11 28-Aug-2010 deraadt

powerhooks in acpi drivers? oh boy. change this into a (not yet called)
activate function
ok kettenis


# 1.10 27-Aug-2010 deraadt

kill PWR_STANDBY (apm can use PWR_SUSPEND instead). While here, renumber
PWR_{SUSPEND,RESUME} so that they match the values of DAVCT_{SUSPEND,RESUME}
so that we can eventually (many more steps...) kill the powerhook garbage
and use the activate mechanism.
no objections


Revision tags: OPENBSD_4_8_BASE
# 1.9 06-Jul-2010 deraadt

spacing


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE
# 1.8 06-Nov-2008 marco

Collapse all sanity checks of hids into one function.

Originaly from jordan


# 1.7 01-Oct-2008 robert

The display cycle key generates two ACPI events, so catch both
from jsign@

Change the camel capitalized key defines to full capitals,
and add some keys found on the eeepc 1000H

ok marco@


Revision tags: OPENBSD_4_4_BASE
# 1.6 14-Jun-2008 jsing

Teach acpiasus(4) about some more events. Whilst we're here bzero the cmd
structs and sprinkle some aml_freevalue() (diff initially from deanna@).

ok marco@


# 1.5 11-Jun-2008 marco

Fix $OpenBSD$ for once and for all


# 1.4 01-Jun-2008 marco

Re-enable new parser. Lots of testing by various folks. Fits all media
now too.

ok kettenis deraadt


# 1.3 16-May-2008 dlg

back out jordans new parser.

it didnt have enough oks from the right people, it did break machines
that were previously working, and it bloated the RAMDISKS and install
media beyond the constraints of the media.

requested by deraadt@


# 1.2 14-May-2008 jordan

Adding new ACPI Parser code
Old guts of code still exists, needs to be torn out next
ok marco@
ok brad@


# 1.1 24-Apr-2008 jsing

Introduce acpiasus(4), a driver for the ACPI based hotkeys found in many
ASUS laptops (including the ASUS EeePC) - largely based on NetBSD's
asus(4) driver. On the ASUS EeePC this allows us to enable/disable
wireless, change screen brightness and use the volume keys.

ok jsg@, weingart@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.18 25-Feb-2017 jcs

move vendor HIDs into their drivers, clean up some unused defines

ok kettenis


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.17 21-Feb-2014 deraadt

these two drivers should be doing their repair at DVACT_WAKEUP time
rather than DVACT_RESUME
in snapshots for a long time, looked at by pirofti kettenis mlarkin


# 1.16 30-Jan-2014 pirofti

The activate function was registered as a detach function.
Put the activate function in the proper place in cfattach.

Tested by jasper@ on eeepc-900
Okay kettenis@


# 1.15 06-Dec-2013 deraadt

Add a DVACT_WAKEUP op to the *_activate() API. This is called after the
kernel resumes normal (non-cold, able to run processes, etc) operation.
Previously we were relying on specific DVACT_RESUME op's in drivers
creating callback/threads themselves, but that has become too common,
indicating the need for a built-in mechanism.
ok dlg kettenis, tested by a sufficient amount of people


# 1.14 04-Nov-2013 mpi

Convert wskbd_set_mixervolume() to use a task internally instead of
being called in a workq.

ok kettenis@


Revision tags: OPENBSD_5_4_BASE
# 1.13 20-Jun-2013 mpi

Drop 3rd and 4th clauses from the BSD licence, from the following NetBSD's
revision:
sys/dev/acpi/asus_acpi.c r1.4
sys/dev/cardbus/cardbus_exrom.c r1.11
sys/dev/cardbus/cardbus_exrom.h r1.6

ok kettenis@


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.12 06-Jun-2011 deraadt

Microphone mute button support from acpithinkpad (or elsewhere).
The audio side is a bit lacking; it does not yet mute all types of
devices.
from Alexander Polakov
ok jakemsr


Revision tags: OPENBSD_4_9_BASE
# 1.11 28-Aug-2010 deraadt

powerhooks in acpi drivers? oh boy. change this into a (not yet called)
activate function
ok kettenis


# 1.10 27-Aug-2010 deraadt

kill PWR_STANDBY (apm can use PWR_SUSPEND instead). While here, renumber
PWR_{SUSPEND,RESUME} so that they match the values of DAVCT_{SUSPEND,RESUME}
so that we can eventually (many more steps...) kill the powerhook garbage
and use the activate mechanism.
no objections


Revision tags: OPENBSD_4_8_BASE
# 1.9 06-Jul-2010 deraadt

spacing


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE
# 1.8 06-Nov-2008 marco

Collapse all sanity checks of hids into one function.

Originaly from jordan


# 1.7 01-Oct-2008 robert

The display cycle key generates two ACPI events, so catch both
from jsign@

Change the camel capitalized key defines to full capitals,
and add some keys found on the eeepc 1000H

ok marco@


Revision tags: OPENBSD_4_4_BASE
# 1.6 14-Jun-2008 jsing

Teach acpiasus(4) about some more events. Whilst we're here bzero the cmd
structs and sprinkle some aml_freevalue() (diff initially from deanna@).

ok marco@


# 1.5 11-Jun-2008 marco

Fix $OpenBSD$ for once and for all


# 1.4 01-Jun-2008 marco

Re-enable new parser. Lots of testing by various folks. Fits all media
now too.

ok kettenis deraadt


# 1.3 16-May-2008 dlg

back out jordans new parser.

it didnt have enough oks from the right people, it did break machines
that were previously working, and it bloated the RAMDISKS and install
media beyond the constraints of the media.

requested by deraadt@


# 1.2 14-May-2008 jordan

Adding new ACPI Parser code
Old guts of code still exists, needs to be torn out next
ok marco@
ok brad@


# 1.1 24-Apr-2008 jsing

Introduce acpiasus(4), a driver for the ACPI based hotkeys found in many
ASUS laptops (including the ASUS EeePC) - largely based on NetBSD's
asus(4) driver. On the ASUS EeePC this allows us to enable/disable
wireless, change screen brightness and use the volume keys.

ok jsg@, weingart@