Age | Commit message (Collapse) | Author |
|
This change was prompted by a report from Ilya Kaliman where acpiec(4)
failed to initialize on his Acer Aspire S7.
Further investigations showed that the machine had 4 instead of 2 resources
defined inside the EC device which is a violation of all existing ACPI
revisions.
We now handle such machines by using the aml resource parser directly, which
lead to the removal of the existing one from acpiec.c, and ignoring extra
resources (although they are reported in the dmesg).
In the process I also done a couple of more style(9) fixes.
Suggested by and ok guenther@
|
|
This is needed by an upcoming acpiec commit that handles machines breaking
the current ACPI specifications.
Change suggested by and ok kettenis@, guenther@
|
|
ok kettenis@
|
|
telling the audio subsystem about this later on in boot. (Mute state
is maintained by the BIOS over a suspend, hibernate, reboot, etc -- this
may be last missing piece of the puzzle we tore our hair out in Brisbane)
diagnosis and code by Anton Lindqvist, ok ratchov
|
|
these occurring recently.
|
|
when acpicpu tries to attach, leading to a NULL dereference. The ACPI
processor object on the Dells where this was reported is bogus and useless
anyway so apply the same test when deciding whether to attach to processor
objects as acpicpu would when matching them to cpus.
Problem reported by Eivind Eide (xenofil (at) gmail.com) and
Johan Huldtgren (johan+openbsd-bugs (at) huldtgren.com).
Testing by Eivind Eide.
ok kettenis@ mlarkin@
|
|
the normal one
ok kettenis@ mlarkin@
|
|
and improve the output for those we might.
output examples from mikeb@
ok kettenis@
|
|
device
reported by Callum R. Davies
|
|
This fixes the problem that long-running machines which were not
shut down properly would reboot with a badly offset system time.
hints and ok kettenis@
|
|
The second argument of aml_showvalue() was probably supposed to set
the verbosity level through dnprintf() but in fact it does nothing.
OK deraadt@
|
|
the chromebook pixel
|
|
required in order to talk to certain i2c slave devices behind dwiic
|
|
- read CLR_INTR register when disabling interrupts
|
|
- move power control into a dedicated function
- sprinkle aml_freevalue
|
|
Fixes at least one machine that woke up from sleep / poweroff immediately.
ok kettenis@, tested by kettenis and martijn@
|
|
avoids problems on hardware with broken or unimplemented burst mode
and isn't really necessary for such small transactions anyway.
matches what linux and freebsd have done for a long time.
tested in snaps
ok deraadt kettenis
|
|
before suspending, in order to fix suspend/resume on some newer
machines.
more cleanup and TPM 2.0 support coming later.
earlier version ok pirofti
ok deraadt
|
|
hw.sensors.acpials0.illuminance0=11.00 lx (ambient light sensor)
|
|
acpicpu(4) drivers to the right cpu(4).
ok mlarkin@, guenther@
|
|
|
|
even for APIC ID values less than 255. Makes secondary CPUs attach on the
HP DL360 gen 9.
tested by jung@
ok guenther@
|
|
It is the ACPI processor UID that is stored here.
ok guenther@
|
|
adjustable with wsconsctl keyboard.backlight
ok bmercer, kettenis
|
|
ok mlarkin@
|
|
attempt to attach acpitimer(4) if the timer isn't present.
Pointed out by jcs@
ok jcs@
|
|
ok pirofti@
|
|
Problem reported by James Hastings.
ok dcoppa@ mlarkin@
|
|
|
|
|
|
we attach the device itself. The _DEP methode, introduced in ACPI 5.0,
is a hint that the device in question depends on OpRegion support from
the devices listed by _DEP, so we have to order them the proper way.
To prevent us from attaching those devices again when we encounter them
later walking down the device tree, keep track of our attempts to
attach a device driver to them using aflag in the aml_node structure.
ok guenther@
|
|
|
|
|
|
|
|
SoC.
|
|
AML to peek and poke at GPIO pins as if it were reading and writing
registers. For now this only implements peeking at pins. It will print
a message if AML attempt to poke at a pin. And it will panic if the
assumptions made in the code are violated.
ok mlarkin@
|
|
acpiec(4) calls the _REG method.
ok mlarkin@
|
|
value is 0 to match the behaviour when the callbacks are not set.
Prevents a divide by zero in wsconsctl(8) reported by Caspar Schutijser.
earlier version ok jung@ deraadt@ kettenis@
|
|
and don't generate a GPIO controller interrupt. Masking them menas devices
relying on those APIC interrupts will break. Unbreaks the keyboard on the
Asus x205ta, which got broken in rev 1.6.
|
|
|
|
Ideacentre Stick 300.
|
|
support ADMA2. The older SDMA mode has too many limitations to be really
usable. Gives us only moderate speed improvements, bus reduces the CPU load
considerably. We will reap the full benefits once we implement wider bus
widths and high speed modes.
There is a remining issue with simultanious use of eMMC and external SD card
on (some) Intel Bay Trail hardware. Still under investigation.
ok patrick@, stsp@, deraadt@
|
|
done through a gpio pin instead of the standard register.
|
|
"if the temperature is below the active cooling level for a tz, turn the fan off
regardless of what state it is currently in"
ok mlarkin@
|
|
report it in the dmesg.
OK deraadt@, mlarkin@.
|
|
|
|
|
|
that allows the i2c controller implementation to establish interrupts on
behalf of i2c slave device drivers. Use this mechanism in dwiic(4) to let
it configure the right acpi interrupt (global or gpio). Change the level to
IPL_TTY as this is the appropriate level to use for keyboards and other
input devices.
ok jsg@
|
|
driver.
ok mpi@
|
|
Required for the keyboard and touchpad on the ideapad 100s.
ok kettenis@
|