driver: update introspection data
Make sure what we return is a verbatim copy of what the reference
implementation returns on the canonical path. The only difference
is that we do not support the Debug interface.
@@ -1624,6 +1624,27 @@ static int driver_method_introspect(Peer *peer, CDVar *in_v, uint32_t serial, CD
" <arg type=\"s\"/>\n"
" </signal>\n"
" </interface>\n"
+ " <interface name=\"org.freedesktop.DBus.Properties\">\n"
+ " <method name=\"Get\">\n"
+ " <arg direction=\"in\" type=\"s\"/>\n"
+ " <arg direction=\"in\" type=\"s\"/>\n"
+ " <arg direction=\"out\" type=\"v\"/>\n"
+ " </method>\n"
+ " <method name=\"GetAll\">\n"
+ " <arg direction=\"in\" type=\"s\"/>\n"
+ " <arg direction=\"out\" type=\"a{sv}\"/>\n"
+ " </method>\n"
+ " <method name=\"Set\">\n"
+ " <arg direction=\"in\" type=\"s\"/>\n"
+ " <arg direction=\"in\" type=\"s\"/>\n"
+ " <arg direction=\"in\" type=\"v\"/>\n"
+ " </method>\n"
+ " <signal name=\"PropertiesChanged\">\n"
+ " <arg type=\"s\" name=\"interface_name\"/>\n"
+ " <arg type=\"a{sv}\" name=\"changed_properties\"/>\n"
+ " <arg type=\"as\" name=\"invalidated_properties\"/>\n"
+ " </signal>\n"
+ " </interface>\n"
" <interface name=\"org.freedesktop.DBus.Introspectable\">\n"
" <method name=\"Introspect\">\n"
" <arg direction=\"out\" type=\"s\"/>\n"
@@ -1636,11 +1657,11 @@ static int driver_method_introspect(Peer *peer, CDVar *in_v, uint32_t serial, CD
" </method>\n"
" </interface>\n"
" <interface name=\"org.freedesktop.DBus.Peer\">\n"
- " <method name=\"Ping\">\n"
- " </method>\n"
" <method name=\"GetMachineId\">\n"
" <arg direction=\"out\" type=\"s\"/>\n"
" </method>\n"
+ " <method name=\"Ping\">\n"
+ " </method>\n"
" </interface>\n"
"</node>\n";
int r;
