[Wolves] Using hardware events as software triggers
Adam Sweet
drinky76 at yahoo.com
Wed Sep 7 23:33:51 BST 2005
--- Adam Sweet <drinky76 at yahoo.com> wrote:
> What I've been asked to do is to find out whether we
> can use hardware events such the connection of a usb
> card reader and the insertion of the media itself to
> trigger certain processes, such as:
>
> On connection of reader, check for the media and if
> it
> is present, check for a filesystem, if there is one
> present, mount it and check for data, if not, access
> the device directly and check for data. In either
> case, if there is data on the media, do x, y and z
> with it.
>
> I know that HAL, D-BUS and sysfs are used for this
> kind of thing but I'm not sure at which level of the
> stack to jump into.
Thanks to everyone who piped up on this but it looks
like I won't be doing it anymore. Good thing too as I
was a bit out of my depth.
Thanks anyway,
Ad
--
http://www.drinky.org.uk
http://blog.drinky.org.uk
___________________________________________________________
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
More information about the Wolves
mailing list