summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-02-28New backlight API relying on udevHEADmasterTiago Vignatti6-87/+125
libpciaccess was sending a handler to be used to find and match an appropriate backlight. Non-PCI devices would have to rely on libpciaccess anyway or alternatively use the DRM tripe (card id, connector_type and connector_type_id) for doing so (and the DRM tripe was not working anyway when card equals 0). Besides, find & match of devices is not the real intention of libpciaccess and for such we have UDEV. This commit removes the matching logic that uses libpciaccess and the DRM tripe, using instead the UDEV handler of a connector device and the type. Such alternative is quite flexible for configuration, and is inspired by systemd: http://www.freedesktop.org/wiki/Software/systemd/multiseat Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
2012-02-16setbacklight: print which connector has being pickedTiago Vignatti1-1/+10
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
2012-02-14setdpms: add new test for dpms controlTiago Vignatti2-1/+103
alright, it doesn't really depends on libbacklight but it's quite related for playing around and testing. Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
2012-02-14setbacklight: add new test for backlight controlTiago Vignatti4-13/+111
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
2012-02-14Use new directory structure for the projectTiago Vignatti8-13/+65
at the moment test/ is stub basically. Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
2012-02-14Use autogen for configurationTiago Vignatti2-1/+14
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
2011-01-18Check asprintf errorsMatthew Garrett1-14/+35
2011-01-18Header guardMatthew Garrett1-0/+4
2011-01-18Include stdlib.h for strtol prototypeMatthew Garrett1-0/+1
2011-01-18Make sure the docs get shippedMatthew Garrett1-0/+2
2011-01-18Fix the checking for the card/connector caseMatthew Garrett1-1/+1
2011-01-18Comment the headerMatthew Garrett1-2/+16
2011-01-18Add brief API documentation`Matthew Garrett1-0/+30
2011-01-18Add a COPYING fileMatthew Garrett1-0/+23
2011-01-18Explicitly include unistd.hMatthew Garrett1-0/+1
2011-01-18Add C++ guardsMatthew Garrett1-0/+8
2011-01-17Install pkgconfig filesMatthew Garrett1-1/+4
2010-09-10Clean up matching logicMatthew Garrett1-15/+22
2010-09-09Avoid memory leakMatthew Garrett1-3/+2
2010-09-09Add copyright noticeMatthew Garrett1-0/+29
2010-09-09Require gpu-level backlight control for external displays.Matthew Garrett1-10/+23
This may change in future if we work out how to tie ACPI to DRM and see any examples of external backlight control via ACPI. I kind of doubt it, though.
2010-09-09Export backlight_get_actual_brightness()Matthew Garrett1-0/+1
2010-09-09Update brightness value on brightness setMatthew Garrett1-0/+1
2010-09-09Install the headerMatthew Garrett1-0/+1
2010-09-09Add a destroy functionMatthew Garrett2-0/+14
2010-09-09Reduce pciaccess version requirementMatthew Garrett1-1/+1
2010-09-09FixesMatthew Garrett1-9/+22
2010-09-09Output config filesMatthew Garrett1-1/+2
2010-09-09Initial commitMatthew Garrett5-0/+282