Commit Graph

15 Commits (feat/new_hwcontrol)

Author SHA1 Message Date
Emanoil Kotsev 3da61733fc
added macros borrowed from Philippe
important: macros to be used with dbus-1-tqt/pulls/42

Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
5 months ago
Emanoil Kotsev 351c99b1fb Cleanup CMakeLists.txt files - use tde_automoc and tde_setup_dbus macros
Remove debug msg for ignored interfaces in HardwareControl and consistent logging for dbus name aquired

Cleanup header files and consistent formatting

Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
5 months ago
Emanoil Kotsev 5a7b1cd98f Cleanup HardwareControl
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
5 months ago
Emanoil Kotsev fc458cb2c9 TQT_SIGNAL to TQ_SIGNAL
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
5 months ago
Emanoil Kotsev 486076f2c6 A daemon based on dbus-1-tqt to replace the old tde_dbus_hardwarecontrol daemon
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
5 months ago
Slávek Banko 9a99527f0c
Removed dbus access rules for invalid "send_destination".
For the tde_dbus_hardwarecontrol daemon, the destination is always
"org.trinitydesktop.hardwarecontrol", which provides interfaces for
individual components. The permissions for the standard dbus Introspectable
and Properties calls are therefore set together on one destination,
regardless of the interfaces for the individual components.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko 78b2136011
tdehwlib: Allow everyone to read the status of input switches.
Reading the status of input switches seems safe so that it can be allowed
to everyone. This will prevent the log from being filled with unauthorized
access messages if the user is not a member of the plugdev group - this
resolve issue TDE/tde#44.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko 7f7f7322f9
tdehwlib: Add allowed access for plugdev group members.
This is useful if the system no longer supports policy at_console.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Michele Calgaro ba3ed714c6 tdecore: Added DBus support for hybrid suspend (aka suspend to RAM + suspend to disk).
This relates to bug 2601.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
10 years ago
Slávek Banko a7e4c6b5e7 Fix detection of switches on input event devices
This relates to Bug 1597
12 years ago
Slávek Banko d8d925203e Add SetHibernationMethod to tdehwlib-daemon 12 years ago
Slávek Banko 645e8c58a7 Add support for freeze suspend state 12 years ago
Slávek Banko 1fdeea0928 Supplementing tdehwlib dbus daemon:
+ Add reply to method Introspect
+ Processing signal NameAcquired
+ Error response to non-existent methods
12 years ago
Slávek Banko 2280c7079b Add tdehwlib-daemon power management backend to TDE hardware library 12 years ago
Golubev Alexander 0984f01947 move all tdehw stuff into separate subdir 12 years ago