vimacs [Thu, 18 Feb 2010 16:25:55 +0000 (17:25 +0100)]
new file: testdata/scripts/op_battlow.sh
vimacs [Thu, 18 Feb 2010 15:22:01 +0000 (16:22 +0100)]
Power down/up bt and wl
modified: testdata/scripts/op_power.sh
vimacs [Thu, 18 Feb 2010 15:20:25 +0000 (16:20 +0100)]
check if statefile exists
modified: testdata/scripts/op_power.sh
vimacs [Thu, 18 Feb 2010 14:53:08 +0000 (15:53 +0100)]
Merge branch 'master' of git://git.openpandora.org/pandora-libraries
vimacs [Thu, 18 Feb 2010 14:52:28 +0000 (15:52 +0100)]
new standby script
modified: testdata/scripts/op_power.sh
skeezix [Thu, 18 Feb 2010 03:28:16 +0000 (22:28 -0500)]
And lets only do critical shutdown when a script is specified, shall we :)
skeezix [Thu, 18 Feb 2010 03:26:04 +0000 (22:26 -0500)]
Added critical battery level forced shutdown .. calls script when battery gets to (say) 1%
configured in evmapper conf
skeezix [Thu, 18 Feb 2010 03:07:38 +0000 (22:07 -0500)]
Added basic LED stuff to libpnd pnd_device
Added blink-timer to evmapperd .. low battery causes blink! cute!
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 [Wed, 17 Feb 2010 20:10:58 +0000 (15:10 -0500)]
Zombie.
skeezix [Wed, 17 Feb 2010 19:28:47 +0000 (14:28 -0500)]
Added anit-zombie measures to evmapperd
vimacs [Wed, 17 Feb 2010 17:04:19 +0000 (18:04 +0100)]
fixed
modified: testdata/scripts/op_lid.sh
modified: testdata/scripts/op_menu.sh
vimacs [Wed, 17 Feb 2010 12:14:54 +0000 (13:14 +0100)]
Remember old brightnes, dont use op_bright.sh
modified: testdata/scripts/op_lid.sh
vimacs [Wed, 17 Feb 2010 11:35:33 +0000 (12:35 +0100)]
Merge branch 'master' of git://git.openpandora.org/pandora-libraries
vimacs [Wed, 17 Feb 2010 11:34:19 +0000 (12:34 +0100)]
Switched to su -c instead of sudo.
modified: testdata/scripts/op_menu.sh
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 [Tue, 16 Feb 2010 04:43:18 +0000 (23:43 -0500)]
Another minor, useless change.
skeezix [Tue, 16 Feb 2010 01:19:37 +0000 (20:19 -0500)]
More logging in pnd_notify
skeezix [Tue, 16 Feb 2010 01:14:23 +0000 (20:14 -0500)]
Minor changes, all commented out; bloody inotify.
skeezix [Mon, 15 Feb 2010 19:29:48 +0000 (14:29 -0500)]
Merge branch 'master' of ssh://skeezixgit@git.openpandora.org/srv/git/pandora-libraries
skeezix [Mon, 15 Feb 2010 19:28:52 +0000 (14:28 -0500)]
Added a param to inotify flags; seems to detect removal of SDs much better now
vimacs [Mon, 15 Feb 2010 18:52:03 +0000 (19:52 +0100)]
Merge branch 'master' of git://git.openpandora.org/pandora-libraries
vimacs [Mon, 15 Feb 2010 18:51:31 +0000 (19:51 +0100)]
modified: testdata/scripts/op_menu.sh
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 14:54:55 +0000 (09:54 -0500)]
Added pnd_info.c since I'm an idiot
skeezix [Mon, 15 Feb 2010 14:45:05 +0000 (09:45 -0500)]
Makefile rule, copy pnd_info into deployment tree
skeezix [Mon, 15 Feb 2010 14:41:47 +0000 (09:41 -0500)]
Minor fixes for a couple 'uninitialized vars' that gcc here wasn't informing me of :)
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, 13 Feb 2010 12:26:03 +0000 (13:26 +0100)]
fixed x restarting, last commit fixed a bug that didnt exist in that way...
modified: testdata/scripts/pnd_run.sh
vimacs [Sat, 13 Feb 2010 12:19:58 +0000 (13:19 +0100)]
detaching and killing x should work now, maybe
modified: testdata/scripts/pnd_run.sh
vimacs [Tue, 9 Feb 2010 21:10:01 +0000 (22:10 +0100)]
added -j, join | mounts aditional folder into the union
modified: testdata/scripts/pnd_run.sh
vimacs [Sun, 10 Jan 2010 15:03:33 +0000 (16:03 +0100)]
op_lidtoggle.sh > op_lid.sh
modified: deployment/etc/pandora/conf/eventmap
vimacs [Fri, 8 Jan 2010 07:19:15 +0000 (08:19 +0100)]
modified: testdata/scripts/op_menu.sh
vimacs [Thu, 31 Dec 2009 03:13:31 +0000 (04:13 +0100)]
fixed sudoers?
modified: testdata/sh/sudoers
vimacs [Thu, 31 Dec 2009 02:32:13 +0000 (03:32 +0100)]
modified: testdata/scripts/op_power.sh
vimacs [Thu, 31 Dec 2009 02:02:05 +0000 (03:02 +0100)]
modified: testdata/scripts/op_lid.sh
vimacs [Thu, 31 Dec 2009 01:59:34 +0000 (02:59 +0100)]
new file: testdata/scripts/op_lid.sh
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
vimacs [Sat, 26 Dec 2009 21:14:48 +0000 (22:14 +0100)]
added op_power, untested!
new file: testdata/scripts/op_power.sh
vimacs [Sat, 26 Dec 2009 10:45:10 +0000 (11:45 +0100)]
Fixed sudoers so exec on aufs doesnt fail.
modified: testdata/sh/sudoers
vimacs [Fri, 25 Dec 2009 16:47:07 +0000 (17:47 +0100)]
Merge branch 'master' of git://git.openpandora.org/pandora-libraries
vimacs [Fri, 25 Dec 2009 16:46:03 +0000 (17:46 +0100)]
Fixed sudoers, i think
modified: testdata/sh/sudoers
skeezix [Wed, 23 Dec 2009 01:47:18 +0000 (20:47 -0500)]
Added .sh
skeezix [Wed, 23 Dec 2009 01:46:50 +0000 (20:46 -0500)]
Added .sh :)
vimacs [Tue, 22 Dec 2009 23:54:11 +0000 (00:54 +0100)]
renamed: pnd_button.sh -> op_menu.sh
vimacs [Tue, 22 Dec 2009 23:52:07 +0000 (00:52 +0100)]
Fixed pnd_button to work as root
modified: pnd_button.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:33:38 +0000 (10:33 -0500)]
More with the debug
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
vimacs [Mon, 21 Dec 2009 22:39:28 +0000 (23:39 +0100)]
Merge branch 'master' of git://git.openpandora.org/pandora-libraries
vimacs [Mon, 21 Dec 2009 22:38:53 +0000 (23:38 +0100)]
check if squashfs version is > 4
modified: testdata/scripts/pnd_make.sh
skeezix [Mon, 21 Dec 2009 20:41:13 +0000 (15:41 -0500)]
DEbugging :/
skeezix [Mon, 21 Dec 2009 18:13:50 +0000 (13:13 -0500)]
Added a flush option to pnd_log, which makes log-to-stdout useful
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 [Mon, 21 Dec 2009 16:58:47 +0000 (11:58 -0500)]
UNTESTED
pndevmapperd -
- added power button option
- through in a naive try at catching the lid open/close
vimacs [Sat, 19 Dec 2009 02:53:15 +0000 (03:53 +0100)]
doh..
modified: testdata/scripts/pnd_make.sh
vimacs [Sat, 19 Dec 2009 02:43:21 +0000 (03:43 +0100)]
Merge branch 'master' of git://git.openpandora.org/pandora-libraries
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)
vimacs [Sat, 19 Dec 2009 02:42:49 +0000 (03:42 +0100)]
forgot to add c to getopt
modified: testdata/scripts/pnd_make.sh
vimacs [Thu, 17 Dec 2009 02:35:11 +0000 (03:35 +0100)]
Merge branch 'master' of git://git.openpandora.org/pandora-libraries
skeezix [Thu, 17 Dec 2009 19:53:29 +0000 (14:53 -0500)]
Fix; introduced a core-dump that will occur when SD is not in place.
skeezix [Thu, 17 Dec 2009 18:58:08 +0000 (13:58 -0500)]
Forgot to add a deployment conf
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:12:42 +0000 (23:12 -0500)]
Added an extra log line; could be useful if you're sitting around watching logs
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.
vimacs [Thu, 17 Dec 2009 02:34:18 +0000 (03:34 +0100)]
slim > slim-init
modified: testdata/scripts/pnd_run.sh
modified: testdata/sh/sudoers
skeezix [Tue, 15 Dec 2009 20:49:59 +0000 (15:49 -0500)]
Fixed a bad desktop conf for deployment
skeezix [Tue, 15 Dec 2009 16:05:48 +0000 (11:05 -0500)]
Add a couple things to TODO list so I don't forget (TODO.txt)
Remove some inaccurate comments from pndnotifyd
skeezix [Tue, 15 Dec 2009 15:50:59 +0000 (10:50 -0500)]
Added basic emit_icon_to_buffer() routine for cpasjuste; you must free its return on your own
vimacs [Sat, 12 Dec 2009 14:19:59 +0000 (15:19 +0100)]
Fixed mounting of .pnd on /
Changed gdm to slim
Updated sudoers
modified: testdata/scripts/pnd_run.sh
modified: testdata/sh/sudoers
vimacs [Fri, 11 Dec 2009 20:25:05 +0000 (21:25 +0100)]
Now detects fs appdata is on and only uses noplink aufs option if its vfat
modified: testdata/scripts/pnd_run.sh
vimacs [Fri, 11 Dec 2009 19:44:30 +0000 (20:44 +0100)]
Added noplink option to aufs, changed losetup to /sbin/losetup
Should check fs where appdata folder is on and only use noplink if apropiate
modified: testdata/scripts/pnd_run.sh
vimacs [Sun, 15 Nov 2009 05:33:00 +0000 (06:33 +0100)]
Merge branch 'master' of git://git.openpandora.org/pandora-libraries
skeezix [Wed, 9 Dec 2009 04:29:19 +0000 (23:29 -0500)]
Least interesting change ever (testdata/conf/apps so notify path includes testdata/menuapps)
skeezix [Wed, 9 Dec 2009 04:21:42 +0000 (23:21 -0500)]
Misc little fixes of last commits; ie: change interval to 5s default instead of 10
- change 'apps.autodiscovery.searchpath' to be 'everything' (desktop/menu and apps from prior to recent changes), just to make sure pmenu gets it all
- point deployment menu to correct folder
skeezix [Tue, 8 Dec 2009 21:54:23 +0000 (16:54 -0500)]
Fix path for desktop-conf; ie: icons for menu can cache in the same place as .desktop
skeezix [Tue, 8 Dec 2009 21:35:19 +0000 (16:35 -0500)]
Hacked around pndnotifyd so it supports two sets of paths now -- menu path and desktop path
ie: apps are now in SD /pandora/desktop and /pandora/menu and go to their configured .desktop emit paths
TODO: fix up discotest and conftest to not look for apps.autodiscovery.searchpath but left it in for now
vimacs [Sun, 15 Nov 2009 05:30:59 +0000 (06:30 +0100)]
Removed a c&p error
modified: pnd_make.sh
vimacs [Sun, 15 Nov 2009 02:05:08 +0000 (03:05 +0100)]
Fixed proper umounting
changed the way the loop device is determined
Some cleanup
sometimes a loop device remains active, got to find out why still
modified: testdata/scripts/pnd_run.sh
vimacs [Sun, 15 Nov 2009 00:02:53 +0000 (01:02 +0100)]
Merge branch 'master' of git://git.openpandora.org/pandora-libraries
skeezix [Fri, 20 Nov 2009 18:59:04 +0000 (13:59 -0500)]
Anothe rminor typo; damn, I must've had a bad day when I refactored this :)
skeezix [Fri, 20 Nov 2009 18:19:24 +0000 (13:19 -0500)]
Fixed typo in pnd_device.h; thanks cpas :)
skeezix [Mon, 16 Nov 2009 17:11:35 +0000 (12:11 -0500)]
Added pnd_run to 'make deploy' target
Added an error comment to pnd_run
skeezix [Mon, 16 Nov 2009 16:51:22 +0000 (11:51 -0500)]
Added pnd_run binary app for invoking a pndfile by path; the app will figure out the PXML.xml and launch params and such just as if run via pndnotidyd etc, so handy for command line launches.
App also runs from arbitrary path, pndfile does not need to be in a searchpath.
vimacs [Sun, 15 Nov 2009 00:00:40 +0000 (01:00 +0100)]
new file: testdata/scripts/pnd_button.sh
take care of menu button
Added -c to create squashfs pnd
Now also eats squashfs
vimacs [Sat, 14 Nov 2009 23:10:33 +0000 (00:10 +0100)]
modified: genpxml.sh
skeezix [Thu, 12 Nov 2009 20:06:55 +0000 (15:06 -0500)]
pndnotifyd now uses pnd_logger to do its printf madness; cleans up the code nicely.
pndnotifyd now will look in 'apps' config for pndnotifyd.loglevel to set logging level, which
is otherwise default to '1' now. (0 includes debug info as well.)
Also added a couple things to pnd_logger
skeezix [Thu, 12 Nov 2009 18:56:55 +0000 (13:56 -0500)]
Added a rudimentary yet very easy to use logger; can log to one or more targets at once, and honours level filtering
skeezix [Wed, 11 Nov 2009 15:20:13 +0000 (10:20 -0500)]
Added desc-en and preview-pic[12] to the discovery struct; man, we need to improve that whole disco-t thing someday :)
vimacs [Wed, 11 Nov 2009 12:45:58 +0000 (13:45 +0100)]
spit out PXML.xml into pnd folder
modified: pnd_make.sh
vimacs [Mon, 9 Nov 2009 21:36:19 +0000 (22:36 +0100)]
Merge branch 'master' of git://git.openpandora.org/pandora-libraries
vimacs [Mon, 9 Nov 2009 21:34:15 +0000 (22:34 +0100)]
Fixed stupid error that prevented -m and -u to work without -e
modified: pnd_run.sh
vimacs [Mon, 2 Nov 2009 23:33:28 +0000 (00:33 +0100)]
Some more cleaning and commenting, "check" some params.
modified: pnd_run.sh
vimacs [Mon, 2 Nov 2009 01:52:50 +0000 (02:52 +0100)]
Some cleanup in pnd_run, removed zip support and mounting without union
also added some comments
modified: pnd_run.sh
vimacs [Sun, 1 Nov 2009 16:49:27 +0000 (17:49 +0100)]
Set permissions for appdata folder
modified: pnd_run.sh
modified: ../sh/sudoers
vimacs [Sun, 1 Nov 2009 16:27:38 +0000 (17:27 +0100)]
Some more cleanup after closing a pnd, /pandora/appdata now gets removed as well if empty
modified: pnd_run.sh
modified: sudoers
vimacs [Sun, 1 Nov 2009 14:47:53 +0000 (15:47 +0100)]
Cleaned up the init script a bit
modified: pndnotifyd