View Single Post
Old 12-07-08, 01:06 AM   #12
tut
Registered User
 
tut's Avatar
 
Join Date: Dec 2008
Location: Kyiv/Ukraine
Posts: 13
Lightbulb [WORKAROUND] Power source detection

I was right. Have just replaced
Code:
!system=ACPI subsystem=ACAD type=\_SB_.AC__ notify=%x
with
Code:
!system=ACPI subsystem=ACAD type=%*s notify=%x
in 'nvidia_drv.so' binary using hex editor and voilą - it works:
Code:
[battery] $ sysctl hw.acpi.acline; nvidia-settings -q GPUPowerSource -t
hw.acpi.acline: 0
1

[AC] $ sysctl hw.acpi.acline; nvidia-settings -q GPUPowerSource -t
hw.acpi.acline: 1
0
__________________
[nvidia-driver-180.16 @ FreeBSD 7.1-PRERELEASE @ GeForce Go 6100]
tut is offline   Reply With Quote