skeezix [Tue, 2 Mar 2010 03:38:35 +0000 (22:38 -0500)]
Adding argument support to PXML; pnd_run.sh already had it, but PXML did not.
In the Exec tag you can now specify args to pass, save you making sh-scripts in the pnd a lot of the time
skeezix [Mon, 1 Mar 2010 03:52:09 +0000 (22:52 -0500)]
Large change, to support multiple applications within a single PXML.xml file.
genpxml script was updated to generate properly formed new XML
test apps were updated to comply
pnd_run will attempt to run all subapps right now, for lack of a better idea :)
pndnotifyd will generate all the icons and .desktop files for all subapps, and it should all work
skeezix [Wed, 17 Feb 2010 22:18:28 +0000 (17:18 -0500)]
Evtest added (from beagleboard guys, just copied in for convenience)
evmapperd properly detects power button now .. so can now do lid, power, and pandora-menu buttons
... soon to add power level blinking
skeezix [Tue, 16 Feb 2010 17:51:57 +0000 (12:51 -0500)]
Added a lame but working dbus watch ability..
-- dbus can watch insert/eject
-- inotify can watch file moves
-- etc/pandora/conf/apps notify list removed /media (was catching the OS, since fw mounted to /media/mmcblk0p1 when boot off SD!)
-- dbusnotifytest seems to work on desktop and panda
Working much better, catches every insert/eject just fine, without spamming
skeezix [Mon, 15 Feb 2010 18:49:18 +0000 (13:49 -0500)]
Added 'seconds since first log line' to pnd_logger
pndnotifyd should now ignore a rediscover request within 2s of past one, maybe avoid a few 'redraws'
skeezix [Mon, 15 Feb 2010 04:19:38 +0000 (23:19 -0500)]
Added -l option to pndevmapperd, same as in pndnotifyd
Previous push, added pnd_info for userland inspection of PXML.xml -- say user wants to know how to install an app or something
skeezix [Mon, 15 Feb 2010 03:31:02 +0000 (22:31 -0500)]
pndnotifyd logging was already available (just drop the -d on command line, and redirect to file; log level was in conf file..)
-- but now you can just add -l to command line to cause it to go go debuglevel and spit out to /tmp/pndnotifyd.log
-- can actualyl do -l#, where # is log level, default is 0 (all)
pnd_logger now has set_buried_logging() which lets you turn on logging in libpnd API that doesn't normally log, such as
the discovery code; this way we can log some deep-shit, if we really want to
skeezix [Sun, 14 Feb 2010 05:05:47 +0000 (00:05 -0500)]
Added <mkdir> to PXML.xml wherein pndnotifyd will attempt to create some directories on the SD card hosting the pnd-file, when directed to.
Shoudl be used sparingly, bt coudl be handy for guiding user to a needed path, or implying canonicle paths
vimacs [Sat, 26 Dec 2009 21:28:02 +0000 (22:28 +0100)]
Fixed op_menu if no x is running and added screen poweroff and cpu slowdown to power button script
modified: testdata/scripts/op_menu.sh
modified: testdata/scripts/op_power.sh
skeezix [Tue, 22 Dec 2009 16:26:57 +0000 (11:26 -0500)]
Added X-Pandora-UID to .desktop
Changed _Source to X-Pandora-Source
Cleaned up a header collision from old copy/paste
Fixed discotest to use correct header
skeezix [Tue, 22 Dec 2009 15:31:24 +0000 (10:31 -0500)]
Added a bit more debug, check_login() will ignore root as a candidate, and set default $HOME to path found in filesystem as its sometimes inaccurate too early
skeezix [Mon, 21 Dec 2009 17:33:28 +0000 (12:33 -0500)]
Added Comment= to .desktop emitted files, if description_en is present
Switched up category handling code, so it just blindly copies categories from PXML.xml to .desktop
skeezix [Sat, 19 Dec 2009 03:27:35 +0000 (22:27 -0500)]
Added a spin-delay at start of pndnotifyd so in theory it will wait until a user logs in; this possibly could solve the problem where sometimes pndnotifyd doesn't emit .desktops
extended evmapperd to not spam-execute script (configurable minimum separation time between runs)
extended evmapperd to pass the hold-time of key to script as first argument (argv[1], since argv[0] is job name)
skeezix [Thu, 17 Dec 2009 18:54:48 +0000 (13:54 -0500)]
Added basic and UNTESTED pndevmapperd to catch key events and invoke scripts
TODO:
- handle lid open/close events (toggle screen)
- get it added to init scripts and image
- handle keys .. menu -> popmenu script, key lock (?) -> toggle power mode
- does it work at all?
skeezix [Thu, 17 Dec 2009 04:11:01 +0000 (23:11 -0500)]
UNTESTED on device!
Put in a workaround for the inotify being out in space issue, maybe. At least,
pndnotifyd will try inotify and see if it notices anything; if so, continues,
otherwise bitches.
skeezix [Thu, 17 Dec 2009 03:27:39 +0000 (22:27 -0500)]
In the last couple checkins, introduced a bug where when a SD is popped out
the icons are not removed from desktop. That'll teach me to out-clever myself.