Re: [PATCH v2] platform/x86: Add driver for Apple gmux device
From: Matthew Garrett
Date: Thu Mar 15 2012 - 12:09:09 EST
On Thu, Mar 15, 2012 at 10:47:56AM -0500, Seth Forshee wrote:
> Turns out that acpi_video0 does work under Windows, and it also works
> under Linux depending on how the OS is booted. Doing a boot camp style
> boot gives us working acpi_video0 and apple_bl backlights. acpi_video1
> doesn't show up in a legacy boot situation, as evaluating _BCM gives an
> error.
>
> Under EFI boot, both acpi_video backlights show up but neither works.
> The readback verify in apple_bl's probe fails, so that one doesn't show
> up. Only gmux_backlight actually works.
Ok, that's consistent. You can probably handle that case by just calling
acpi_video_unregister() in gmux. Something like your patch looks fine
for the apple_bl case.
--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/