Re: [PATCH 2.6.29] fujitsu-laptop: Add BL power, LED control and

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

 



Hi

I have done some testing:

with ACPI_VIDEO:

both alt and std interface works (SBLL/SBL2), but only while X is
running (I think with ACPI_VIDEO all brighness change etc is handled by
the IGD stuff in i915 which is only active if X is running)

without ACPI_VIDEO:

only alt interface changes brightness and it works regardless of X

In both cases events for the buttons are generated and it depends on if
hal/dbus and/or gnome-power-manager/kpower* is running if the the
brightness get actually changed.

Peter 



Am Samstag, den 03.01.2009, 22:57 +0000 schrieb Tony Vroon:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Peter Gruber wrote:
> > Tested it on the S6410, and works as expected
> 
> On the subject of the S6410 (and S6420, which I have), I believe I can
> simplify the backlight handling a *LOT*. Peter, to confirm that, could
> you tell me whether you have ACPI_VIDEO (a kernel config option)
> disabled? I'm hoping for a kernel configuration of:
> # CONFIG_ACPI_VIDEO is not set
> 
> With ACPI_VIDEO disabled (a default on quite a lot of systems, as it
> depends on video output switching) SBLL did indeed fail to update the
> display brightness. Also, the display hotkeys failed to work. Events
> were reported, but the "before" and "after" levels were always the same
> value.
> 
> After loading ACPI_VIDEO, the hotkeys came to life. Also, after looking
> at the DSDT I decided to specifically disable use_alt, causing the
> driver to use SBLL & GBLL instead of SBL2 & GBLS.
> Display brightness continued to be controllable. (And the Fujitsu laptop
> driver continues to be useful, as backlight control methods are not
> present on the ACPI video device)
> 
> So it seems to me that we should:
> 1) explicitly depend on ACPI_VIDEO through Kconfig

We also have to test if the ACPI_VIDEO scenario depends on DRM/DRM_I915
for the brightness handling and add a depend on those 

> 2) remove the use_alt framework
> 
> Regards,
> Tony V.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iEYEARECAAYFAklf7VoACgkQp5vW4rUFj5qXigCfSsDP38ochJ7i6X3/eFiZ3SP1
> UqEAn28yGSYRBLmvWA3+vNhDSJ1ro5oS
> =u1wO
> -----END PGP SIGNATURE-----

--
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