shithub: rc

Download patch

ref: ed59850f39d7982e60976201845e0be77b1da177
parent: a9e9e008d4574c55fd9452de2cfc2cf9d964e7e5
author: Romano <unobe@cpan.org>
date: Thu Jun 8 03:49:37 EDT 2023

Ivy Bridge uses South Display for reading brightness levels, per Vol. 3 Part 3 and 4 of Programmer's Reference

--- a/bin/br
+++ b/bin/br
@@ -29,8 +29,8 @@
 	# works on x220, not on w520
 	did["8086/0126","r"] = "0xc8254";  did["8086/0126","w"] = "0x48254"
 	# ivy bridge
-	did["8086/0152","r"] = "0x48254";  did["8086/0152","w"] = "0x48254"
-	did["8086/0166","r"] = "0x48254";  did["8086/0166","w"] = "0x48254"
+	did["8086/0152","r"] = "0xc8254";  did["8086/0152","w"] = "0x48254"
+	did["8086/0166","r"] = "0xc8254";  did["8086/0166","w"] = "0x48254"
 	# haswell
 	did["8086/0412","r"] = "0xc8254";  did["8086/0412","w"] = "0x48254"
 	did["8086/041a","r"] = "0xc8254";  did["8086/041a","w"] = "0x48254"