oldman20 Posted September 16, 2022 Share Posted September 16, 2022 As title, I booted with both Clover and OpenCore and realized when booted with OC, opencore doesn't reduce brighter when ac plugin like booted with Clover, how can solved this issue in OC? Thank Link to comment Share on other sites More sharing options...
1Revenger1 Posted September 16, 2022 Share Posted September 16, 2022 In my experience, you usually need to add a fake Ambient Light Sensor and use SMCLightSensor. Can get an SSDT here which adds the device: https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/AcpiSamples/Source/SSDT-ALS0.dsl 1 Link to comment Share on other sites More sharing options...
Slice Posted September 16, 2022 Share Posted September 16, 2022 May be, although Ambient Light is not AC adapter. 1 Link to comment Share on other sites More sharing options...
oldman20 Posted September 16, 2022 Author Share Posted September 16, 2022 3 hours ago, 1Revenger1 said: In my experience, you usually need to add a fake Ambient Light Sensor and use SMCLightSensor. Can get an SSDT here which adds the device: https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/AcpiSamples/Source/SSDT-ALS0.dsl 38 minutes ago, Slice said: May be, although Ambient Light is not AC adapter. Thank all, I think you total right, I used SMCLightSensor and SSDT-ALS0.aml in Clover, but not in OpenCore. In windows device manager I checked doesn't exist ALS Sensor report, but in DSDT exist ALS entry, so don't know my machine has ALS Sensor or not Link to comment Share on other sites More sharing options...
oldman20 Posted September 16, 2022 Author Share Posted September 16, 2022 3 hours ago, 1Revenger1 said: In my experience, you usually need to add a fake Ambient Light Sensor and use SMCLightSensor. Can get an SSDT here which adds the device: https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/AcpiSamples/Source/SSDT-ALS0.dsl 55 minutes ago, Slice said: May be, although Ambient Light is not AC adapter. Thank all, I think you total right, I used SMCLightSensor and SSDT-ALS0.aml in Clover, but not in OpenCore. In windows device manager I checked doesn't exist ALS Sensor report, but in DSDT exist ALS entry, so don't know my machine has ALS Sensor or not cause I read in The Dortania GUIDE said this: Link to comment Share on other sites More sharing options...
1Revenger1 Posted September 16, 2022 Share Posted September 16, 2022 12 hours ago, Slice said: May be, although Ambient Light is not AC adapter. My X1 Extreme already had the AC adapter device in ACPI. I had to add the fake ALS device to get dimming when the AC adapter is disconnected. I agree it's a bit counterintuitive. Link to comment Share on other sites More sharing options...
Slice Posted September 17, 2022 Share Posted September 17, 2022 19 hours ago, 1Revenger1 said: My X1 Extreme already had the AC adapter device in ACPI. I had to add the fake ALS device to get dimming when the AC adapter is disconnected. I agree it's a bit counterintuitive. Yes, I understand. The dependency Battery/AC<->dimming is written into SMCLightSensor even if there are no such sensor. In my sensors project this dependency is a property of Battery sensor kext which is more logical. Link to comment Share on other sites More sharing options...
Recommended Posts