There's currently a basic sketch of a Device plugin using dbus to detect
devices plugged in to the PC. This is a very important feature that is
supported by Calibre.
We should take into account:
- Not only detect devices when they're plugged in, but also search for devices
already mounted when Aranduka starts.
- The current sample uses dbus and connects to the interface
org.gtk.Private.RemoteVolumeMonitor. That's very GTK-specific. Using HAL may be
a better way for Linux and also seems to provide with more information (see:
http://stackoverflow.com/questions/469243/how-can-i-listen-for-usb-device-insert
ed-events-in-linux-in-python)
- We should implement a driver interface that allows us to develop specific
drivers for different devices. I currently own a Sony Reader, so I could work
on its driver. There should also be a generic driver for USB storage devices
(pendrives, portable hdd, etc.).
Original issue reported on code.google.com by andresgattinoni on 24 Jan 2012 at 5:47
Original issue reported on code.google.com by
andresgattinoni
on 24 Jan 2012 at 5:47