summaryrefslogtreecommitdiff
path: root/src/udev/accelerometer/accelerometer.c
AgeCommit message (Collapse)Author
2015-02-23remove unused includesThomas Hindoe Paaboel Andersen
This patch removes includes that are not used. The removals were found with include-what-you-use which checks if any of the symbols from a header is in use.
2015-01-05udevadm,..: make --help output of udev tools more like the output of the ↵Lennart Poettering
various other tools
2014-12-30accelerometer: display short options tooRobert Milasan
2014-12-30accelerometer: drop unused -x optionRobert Milasan
2014-11-13udev: switch to systemd logging functionsKay Sievers
2014-08-11udev: never bypass our own logging framework and call vsyslog() directly ↵Lennart Poettering
from udev tools
2014-07-08accelerometer: Don't wait for new data from the sensorBastien Nocera
Instead of waiting for new data from the sensor, which might be a long time coming, depending on the sensor device, ask the kernel for the last state for that particular input device.
2014-02-13everywhere: always use O_CLOEXEC where it makes senseLennart Poettering
2013-12-24log: log_error() and friends add a newline after each line anyway, so avoid ↵Lennart Poettering
including it in the log strings
2013-12-14Add more _printf_'s for format-nonliteralsThomas Hindoe Paaboel Andersen
Clang is a bit more strict wrt format-nonliterals: http://clang.llvm.org/docs/LanguageExtensions.html#format-string-checking Adding these extra printf attributes also makes gcc able to find more problems. E.g. this patch uncovers a format issue in udev-builtin-path_id.c Some parts looked intetional about breaking the format-nonliteral check. I added some supression for warnings there.
2013-04-18move _cleanup_ attribute in front of the typeHarald Hoyer
http://lists.freedesktop.org/archives/systemd-devel/2013-April/010510.html
2013-03-31accelerometer: remove dead if and modernizeZbigniew Jędrzejewski-Szmek
Based on a coverity warning.
2013-02-13use streq instead of strcmpThomas Hindoe Paaboel Andersen
2013-01-10udev: Fix device matching in the accelerometerBastien Nocera
As we were searching by ID_PATH, it would have been possible for us to find a sibling device instead of the device we were looking for. This fixes device matching on the WeTab with the upstream kernel, as it was trying to use the "Asus Laptop extra buttons" device instead of the accelerometer.
2012-12-17licence: remove references to old FSF addressSami Kerola
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=57206
2012-09-23udev: free fd before return in accelerometer.cLukas Nykryn
2012-07-26udev: cdrom_id, accelerometer - enable debug output for --debugKay Sievers
2012-04-16udev: remove configuration options for /dev, /sys, /run directoriesKay Sievers
2012-04-08udev: switch to systemd logging functionsKay Sievers
2012-04-04move imported udev into placeKay Sievers