public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Should asus-wmi provide a way to switch displays, and why video_output class is unused
@ 2011-02-15  6:53 Corentin Chary
  2011-02-21 20:24 ` Matthew Garrett
  0 siblings, 1 reply; 2+ messages in thread
From: Corentin Chary @ 2011-02-15  6:53 UTC (permalink / raw)
  To: platform-driver-x86
  Cc: linux acpi, LKML, Matthew Garrett, Dmitry Torokhov, Luming Yu

Hi,
In the ongoing effort to split eeepc-wmi, and add support for Asus WMI
capable notebooks, I found that some of them are able to control
dispay output.
Currently, asus-laptop, asus_acpi and eeepc-laptop are also all able
to do that, and they use a simple sysfs file with a bitmask to do
that.

Now, I was searching the right, generic way to do that, and I found
video_output class. The issue is that nobody, even acpi/video.ko, use
it.

So, what's the right way to do that ?

Note, that in my case, I can't know what output are available, so
anyway, using video_output would be a little tricky. But still, I'm
not really comfortable adding another cryptic sysfs file, even with
proper documentation in Docuementation/ABI/.

Thanks,
-- 
Corentin Chary
http://xf.iksaif.net

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Should asus-wmi provide a way to switch displays, and why video_output class is unused
  2011-02-15  6:53 Should asus-wmi provide a way to switch displays, and why video_output class is unused Corentin Chary
@ 2011-02-21 20:24 ` Matthew Garrett
  0 siblings, 0 replies; 2+ messages in thread
From: Matthew Garrett @ 2011-02-21 20:24 UTC (permalink / raw)
  To: Corentin Chary
  Cc: platform-driver-x86, linux acpi, LKML, Dmitry Torokhov, Luming Yu

Thought I'd replied to this already, but: Unless it's impossible for X 
and the kernel to handle enabling a display without this, don't bother. 
There's no reason for us to care about the combinations of outputs the
BIOS wants to support.

-- 
Matthew Garrett | mjg59@srcf.ucam.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-21 20:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-15  6:53 Should asus-wmi provide a way to switch displays, and why video_output class is unused Corentin Chary
2011-02-21 20:24 ` Matthew Garrett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox