Hi Paweł, I know that it should live on the session bus, so --system is
wrong in your introspection call.

Doesn't look like go-dbus exposes an introspection interface (sigh), so it
seems to me this is the API:

------------------------------

Name: com.canonical.usensord
Object: /com/canonical/usensord/haptic
Interface:com.canonical.usensord.haptic

Methods: Vibrate(duration u) → void, VibratePattern(pattern au, repeat u) →
Properties: *None*

------------------------------


Name: com.canonical.usensord
Object: /com/canonical/usensord/haptic
Interface: org.freedesktop.DBus.Properties

Methods: Get, Set, GetAll (see this iface's doc online)
Properties: OtherVibrate u ({0, 1})

Does this suffice? You can lookup data types over at e.g. [1].

[1]
https://dbus.freedesktop.org/doc/dbus-python/doc/tutorial.html#data-types

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1621098

Title:
  Create interface for usensord (com.canonical.usensord)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1621098/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to