Re: [PATCH] disable _BQC/_BCQ if it returns invalid values

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Zhang Rui wrote:
> _BQC returns a value larger than 100?
> is this true on your laptop?

Yes, it returns random garbage. It is completely broken. There's an if()
in the ASL that disables the entire method (including no valid return
value) when a certain EC SRAM register is 0. The backlight code also
constantly clears this register. I suppose the EC should theoretically
set it at some point, but it doesn't (at least not reliably). In any
case, _BQC isn't needed here since the hardware doesn't change the
screen brightness autonomously, and disabling the method as soon as it
misbehaves works just fine.

-- 
Hector Martin (hector@xxxxxxxxxxxxxx)
Public Key: http://www.marcansoft.com/marcan.asc

--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux