Re: usb plug/unplug notifications



On 07/09/2009 09:14 PM, Ardhan Madras wrote:
For desktop application (because we are GTK+ forum) there is HAL (Hardware Abstraction Layer) 
http://www.freedesktop.org/wiki/Software/hal to receive events and informations from devices and the kernel, 
gnome-volume-manager use HAL to know when a device has been attached then do some task that the user has 
defined (eg. mount).

I'd advice against programming to HAL unless your environment requires it.

DeviceKit is the future.


P.S. Top posting? :)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]