View Single Post
Posts: 89 | Thanked: 52 times | Joined on Jan 2010 @ London, UK
#66
Originally Posted by qole View Post
Another idea for Shepherd: make your NIT into a WiFi USB host for your N900 (posted here by request):

(Prerequisites: an ad-hoc wifi network set up between the N8x0 and the N900, and a USB OTG adapter for the N8x0)

When you plug a USB device into your N8x0, Shepherd will notice and can ask if you want to start the ad-hoc wifi network. Then, on the N900, when you connect to the ad-hoc network, Shepherd can ask if you want to mount the USB devices from the tablet on your N900 (via sshfs probably), and open the file manager for you.

These comments are definitely getting out of scope here. This one sounds like a whole other application; unless you separate it into the scheduler part and <a.n.other> application that it can run (with params if need be) when the time/battery level/other sensor is reached.

As long as you make it easy to make it choose the application to run (which could then even be a script if people want more control, some provided by default perhaps for basic stuff like killing an app if running, setting config values like wifi stuff etc) then it should be useful for lots of things.

So shepherd just ends up being an extension on the basic 'cron' daemon but with a nice user interface to configure it (and maybe some programmatic way too). Is there a cron daemon on the n900/maemo devices by default? Or does it run a custom scheduler for alarms etc. Or is there one in the repos?