Registering an emulated device in user-space with UPower
Andy Holmes
andrew.g.r.holmes at gmail.com
Fri Feb 23 22:02:01 UTC 2018
Hi,
I had a short conversation with hughsie about inserting an emulated
device into the list of devices enumerated by UPower, esp DBus. He
indicated there's little or no documentation on this, but might be
possible by manipulating another entry point like up-device-idevice.
Essentially, I have a device (phone/tablet) connected over LAN
reporting it's battery level and state that I would like to register
with UPower, but the connection is in userspace (ie. I can't modify
UDev or sysfs) which is where UPower seems to find devices.
If anyone has any pointers or knows of an existing example of this
sort of thing, it would be appreciated.
Regards,
Andy
More information about the devkit-devel
mailing list