Dell acpi_video patch

John Baldwin jhb at freebsd.org
Sat Oct 20 12:53:05 UTC 2012


On Friday, October 19, 2012 06:21:00 PM Alberto Villa wrote:
> On Fri, Oct 19, 2012 at 7:13 PM, John Baldwin <jhb at freebsd.org> wrote:
> > Yes, unless bit 31 is set, we can't know anything about bits 0-15 except
> > that they are "unique".  Specifically, we can't look at the "Display
> > Type" bits to determine if an output device is a CRT vs LCD vs TV, etc. 
> > You can only do that if bit 31 is set.
> 
> I know, I was saying that you probably confused bit 31 with bit 16, so
> the patch you proposed (about bit 31 being set in _DOD but not in
> _ADR) was not correct. ;)

Oh, no, I hadn't been able to tell from your ASL that bit 16 was set (it's
not that easy to guess as it computes the ID's dynamically at runtime.  I
was merely guessing that since I had changed the matching logic to look at
bit 31 that that was the cause, but it wasn't the matching logic that was
different (comparing _ADR to _DOD), but the logic that parsed _DOD is what
treated your laptop differently.

-- 
John Baldwin


More information about the freebsd-acpi mailing list