MFC r346647:[acpi_ibm] Add support for newer Thinkpad modelsAdd support for newer Thinkpad models with id LEN0268. Was tested onThinkpad T480 and ThinkPad X1 Yoga 2nd gen.PR: 229120Submitted
MFC r346647:[acpi_ibm] Add support for newer Thinkpad modelsAdd support for newer Thinkpad models with id LEN0268. Was tested onThinkpad T480 and ThinkPad X1 Yoga 2nd gen.PR: 229120Submitted by: Ali Abdallah <[email protected]>
show more ...
acpi: Add support for Thinkpads Mic ledPR: 229074Submitted by: "Ali Abdallah" <[email protected]>
Fix build of aibs with base gcc on i386Add a few intermediate casts to intptr_t to suppress "cast to pointerfrom integer of different size" warnings from gcc. In this case, the'arg2' part of SYS
Fix build of aibs with base gcc on i386Add a few intermediate casts to intptr_t to suppress "cast to pointerfrom integer of different size" warnings from gcc. In this case, the'arg2' part of SYSCTL_HANDLER_ARGS is used to pass in a pointer, via anintermediate intmax_t, so no information is lost.Reviewed by: avgMFC after: 3 daysDifferential Revision: https://reviews.freebsd.org/D15725
Hide unneeded message under bootverbose.MFC after: 1 week
Set of improvements to acpi_hp(4) driver. - Attach only to WMI devices that provide supported GUIDs. HP Spectre x360has two WMI devices, only one of which provides the GUIDs. - Pass proper devic
Set of improvements to acpi_hp(4) driver. - Attach only to WMI devices that provide supported GUIDs. HP Spectre x360has two WMI devices, only one of which provides the GUIDs. - Pass proper device to ACPI_WMI_REMOVE_EVENT_HANDLER() on detach. - Improve error WMI handling separating status and data paths. This allowsto hide sysctls not supported by specific hardware/BIOS. - Improve CMI block parser to make it work on HP Spectre x360 laptop. - In verbose mode log all unknown events to help futher improvements.
aibs / atk0110: add support for querying sensors via GGRP and GITMComparing to the Linux driver there is still one missing feature.The Linux driver finds and enables "Embedded Controller" item in
aibs / atk0110: add support for querying sensors via GGRP and GITMComparing to the Linux driver there is still one missing feature.The Linux driver finds and enables "Embedded Controller" item inthe 0x11 group if it's not enabled yet.I tested the new method, Torfinn Ingolfsen tested the old methodand helped to fix several bugs in the earlier versions of the patch.Tested by: Torfinn Ingolfsen <[email protected]>Reviewed by: rpauloMFC after: 3 weeksDifferential Revision: https://reviews.freebsd.org/D8227
Fix the deciKelvin to Celsius conversion in kernel.After r285994, sysctl(8) was fixed to use 273.15 instead of 273.20 as 0Creference and as result, the temperature read in sysctl(8) now exibits a
Fix the deciKelvin to Celsius conversion in kernel.After r285994, sysctl(8) was fixed to use 273.15 instead of 273.20 as 0Creference and as result, the temperature read in sysctl(8) now exibits a+0.1C difference.This commit fix the kernel references to match the reference value used insysctl(8) after r285994.Sponsored by: Rubicon Communications (Netgate)
s/struct device */device_t/gSubmitted by: kmacy
sys/dev: minor spelling fixes.Most affect comments, very few have user-visible effects.
sys: Make use of our rounddown() macro when sys/param.h is available.No functional change.
Fix previous commit (r284357)I forgot to convert the && to a ||Pointyhat to: ngieX-MFC with: r283678, r284336, r284357
Fix inverted check by skipping over the model-specific checks if the makeror product is NULL, not if they are both not NULLReported by: araujo, kibX-MFC with: r283678, r284336Pointyhat to: allan
Fix inverted check by skipping over the model-specific checks if the makeror product is NULL, not if they are both not NULLReported by: araujo, kibX-MFC with: r283678, r284336Pointyhat to: allanjude
acpi_ibm.ko panics if SMBIOS information is not availableAdd a check for NULL before strcmp on smbios information incase it is not populatedDifferential Revision: https://reviews.freebsd.org/D275
acpi_ibm.ko panics if SMBIOS information is not availableAdd a check for NULL before strcmp on smbios information incase it is not populatedDifferential Revision: https://reviews.freebsd.org/D2750Reviewed by: ngie, jhbApproved by: rpauloSponsored by: ScaleEngine Inc.
acpi_ibm: add per-model default events mask.Add support for the hotkeys on a Lenovo X1 3rd gen. This also enablesevent reporting by default.
This implements default-state support as described in:https://www.kernel.org/doc/Documentation/devicetree/bindings/leds/leds-gpio.txtWithout this booting the VSATV102 causes the blue "working" le
This implements default-state support as described in:https://www.kernel.org/doc/Documentation/devicetree/bindings/leds/leds-gpio.txtWithout this booting the VSATV102 causes the blue "working" led to turnoff when the kernel starts up. With this the led (which is turned on bythe firmware) stays on since that's the default state specified in the FDT.Expanded the meaning of the led_create_state state parameter in orderto implement support for "keep". The original values were:== 0 Off!= 0 OnThe new values are:== -1 don't change / keep current setting== 0 Off!= -1 && != 0 OnThis should have no effect on acpi_asus_attach which only callsled_create_state with state set to 1. Updated acpi_ibm_attachin order to avoid surprises.Differential Revision: https://reviews.freebsd.org/D2615Submitted by: John WehleReviewed by: gonzo, loos
acpi_ibm: whitespace.
The SYSCTL data pointers can come from userspace and must not bedirectly accessed. Although this will work on some platforms, it canthrow an exception if the pointer is invalid and then panic the k
The SYSCTL data pointers can come from userspace and must not bedirectly accessed. Although this will work on some platforms, it canthrow an exception if the pointer is invalid and then panic the kernel.Add a missing SYSCTL_IN() of "SCTP_BASE_STATS" structure.MFC after: 3 daysSponsored by: Mellanox Technologies
Fix multiple incorrect SYSCTL arguments in the kernel:- Wrong integer type was specified.- Wrong or missing "access" specifier. The "access" specifiersometimes included the SYSCTL type, which it
Fix multiple incorrect SYSCTL arguments in the kernel:- Wrong integer type was specified.- Wrong or missing "access" specifier. The "access" specifiersometimes included the SYSCTL type, which it should not, except forprocedural SYSCTL nodes.- Logical OR where binary OR was expected.- Properly assert the "access" argument passed to all SYSCTL macros,using the CTASSERT macro. This applies to both static- and dynamicallycreated SYSCTLs.- Properly assert the the data type for both static and dynamicSYSCTLs. In the case of static SYSCTLs we only assert that the datapointed to by the SYSCTL data pointer has the correct size, hencethere is no easy way to assert types in the C language outside aC-function.- Rewrote some code which doesn't pass a constant "access" specifierwhen creating dynamic SYSCTL nodes, which is now a requirement.- Updated "EXAMPLES" section in SYSCTL manual page.MFC after: 3 daysSponsored by: Mellanox Technologies
Consistently cast ACPICA 64-bit integer types when we print them.
A driver for Intel Rapid Start Technology ACPI device.Note that it is just for 'Advanced' configuration for Rapid start technology.
Only cleanup CMI-related state on detach if the system supports CMI.PR: kern/163268MFC after: 1 week
Fix white spaces.
Remove tautological compare.PR: kern/176712Submitted by: Hiren Panchasara <[email protected]>Approved by: cperciva (mentor)
Use DEVMETHOD_END macro defined in sys/bus.h instead of {0, 0} sentinel on device_method_t arraysReviewed by: cognetApproved by: cognet
add support for newer Lenovo ThinkPads to acpi_ibmPR: kern/164538Submitted by: Pierre Imai <[email protected]>MFC after: 2 weeks
123456