Recently I received some requests asking is USBManager will someday support DeviceKit/UDev, since HAL is officially deprecated. After some researches I retook this application development. During the research I found out some mismatching informations and a lack of examples, so I decided to post...
In the last post I’ve shown how to enumerate all storage devices connected to your PC using Python and UDisks. In this post I’ll show how to work with DeviceKit Disks interface. Fist lets read some documentations! The UDisks documentation is divided in five sections:
In the last post from this series I’ve shown how to show some info about the UDisks daemon, now lets search for devices. This first method that we’ll see is the EnumeraDevices >>> import dbus >>> >>> bus = dbus.SystemBus() >>> proxy = bus.get_object("org.freedesktop.UDisks",...
We’ve seen how to connect to DBus and UDisks, then how to check some UDisks daemon settings and informations and how to query for devices. All of this isn’t so "usable" if you don’t know when a new device is connected to your PC. Of course that you could periodically poll for new devices, but this...
Resurrecting the blog series about Python and Udisks, today I’m going to talk about how to get some more informations about the devices using properties.