Using the D-Bus ratbagd sample bundle
dbus-ratbagd example bundle in
samples/dbus-ratbagd demonstrates how to
access all devices supported by ratbagd. Here is a guide to how to get it
You will need a working
nodecg-io installation. If you have non yet take a
look at installation guide. You may need to
install this bundle, so take a look at the
“Try an included sample”-Guide. It
will also tell you how to log in and how to use the GUI.
You also need:
Configure the DBus ratbagd sample bundle
- In NodeCG, create a new D-Bus service instance.
Configure the D-Bus service
There should not be any additional configuration needed for the D-Bus service.
Set the sample's (
dbus-ratbagd) dependency to be the newly created service instance (of type
Check the NodeCG logs:
You should see an error or a success message and a list of connected device names.