Tagged Questions
14
votes
2answers
9k views
USB devices UDev and D-BUS
I am trying to get a list of currently plugged in USB devices in Ubuntu 10.10 and monitor changes that happen, like devices being plugged in or out using UDev and D-BUS. I'm fairly new to programming ...
5
votes
2answers
4k views
python udisks - enumerating device information
It's apparently possible to get a lot of info relating to attached disks using the udisks binary:
udisks --show-info /dev/sda1
udisks is apparently just enumerating the data which is available ...
1
vote
2answers
1k views
Getting Notified on “Ethernet cable plugged in” events in linux
I am writing a Python Application running on linux. I want to be able to register and be notified by the system if a network cable is plugged in/ out.
I am already using pyUdev (python bindings for ...
0
votes
1answer
452 views
how to get uuid of a device using udev
I want get the mount node of an usb mass-storage device, like /media/its-uuid
in pyudev, class Device has some general attributes, but not uuid or mount node.
how to do it
thanks help