summaryrefslogtreecommitdiff
path: root/src/up-config.c
AgeCommit message (Collapse)AuthorFilesLines
2014-09-02daemon: Add helper to get string from configBastien Nocera1-0/+10
https://bugs.freedesktop.org/show_bug.cgi?id=82925
2013-10-14daemon: Add helper to get uint from configBastien Nocera1-0/+16
2011-04-26Respect $UPOWER_CONF_FILE_NAME in up_config_init()Martin Pitt1-1/+9
The daemon test in up-self-test instantiates an UpDaemon object, which creates an UpConfig object. Unlike UpDaemon itself, up_config_new() did not check for $UPOWER_CONF_FILE_NAME to find the configuration file name. This had the effect that a make check/distcheck run would always try to use the system wide configuration file, and fail if --sysconfdir wasn't specified appropriately.
2011-03-14Add a config option 'EnableWattsUpPro' to disable the Watts Up Pro deviceRichard Hughes1-0/+120
Annoyingly, the device used in the Watts Up Pro device seems to be a generic USB->serial adaptor, which means it doesn't have a unique vendor and product ID. If we try to probe for the WUP device, we can actually upset other devices that are not expecing to be probed. This fixes #33846 although we actually still need to be more strict in detecting a true WUP device.