so about: >> Q1. is there a daemon i have to run explicitly on moblin on startup? yes there is a devkit-disks-deamon which i do not have installed on my target platform. Once it is installed i assume it would work. I assume, because I did not install it, but killed this deamon on my development machine and it did not work as well. At the end i decided to work with udev and dbus signals and because per default the staorage devices will not be mounted automatically i can mount them myself in the udev.rules to where I want to :)
>> Q2. or maybe GVolumeMonitor is not going to work on moblin at all? as a part og GIO it is going to work. cheers simon:) On Sun, May 2, 2010 at 1:56 PM, Simon Bolek <simon.bo...@googlemail.com> wrote: > 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