hello gurus:)

     In my application I would like to react on USB storage
insert/removal. So there are 2 possibilities i found:
1) udev -> start simple app and emit D-Bus signals to my main application
2) in my main application i use GVolumeMonitor and connect callbacks
(eg. volume-added)

So the 1) is working fine I created .rules reacting on add/remove SD
usb sticks and call there a simple program to send a signal to my main
Clutter application. Working almost perfect, but it is missing the
functionality of recognizing if volume is mounted and where(no
$env{...} in .rules available)

And than I figure out the GVolumeMonitor from gio.h and wanted to use
it. In my development enviroment (Ubuntu 9.10) it is working ok,
getting signals
"drive-added"
"mout-added"
etc.

but when trying to run in on moblin directly, i get no signal.

So my questions are
Q1. is there a daemon i have to run explicitly on moblin on startup?
Q2. or maybe GVolumeMonitor is not going to work on moblin at all?

plaese help. If something was unclear, plaese let me know and I will
extend the description and attach code if necessary.

thanks+best regards
simon:)
_______________________________________________
Moblin dev Mailing List
dev@moblin.org

To manage or unsubscribe from this mailing list visit:
http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org 
once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists

Reply via email to