]> git.neil.brown.name Git - plato.git/log
plato.git
11 years agotapboard - make TAB and ESC more assessible.
NeilBrown [Thu, 24 Jan 2013 23:19:47 +0000 (10:19 +1100)]
tapboard - make TAB and ESC more assessible.

They are just drags on 'space' and 'return'.

Still more work to do here.

Signed-off-by: NeilBrown <neilb@suse.de>
11 years agonetman: flag networks that have security enabled.
NeilBrown [Fri, 18 Jan 2013 04:29:39 +0000 (15:29 +1100)]
netman: flag networks that have security enabled.

' ' for 'no'
'!' for ad-hoc network
'*' for 'yes'
'?' for 'some security we probably cannot handle

11 years agocmd: improve detection of command-finished.
NeilBrown [Mon, 14 Jan 2013 20:23:30 +0000 (07:23 +1100)]
cmd: improve detection of command-finished.

We sometimes get an error on read, and spin on it forever.

11 years agoplato_gsm: fix bug with message passing.
NeilBrown [Mon, 14 Jan 2013 20:22:22 +0000 (07:22 +1100)]
plato_gsm: fix bug with message passing.

This call is only need in the recipient of a message (so it can
receive another), not the sender.

11 years agonetman: display current usage for GSM connnection.
NeilBrown [Mon, 14 Jan 2013 20:21:30 +0000 (07:21 +1100)]
netman: display current usage for GSM connnection.

This is fairly hacky but does display the data...

11 years agosendsms: provide access to contacts
NeilBrown [Mon, 14 Jan 2013 20:19:37 +0000 (07:19 +1100)]
sendsms: provide access to contacts

When viewing a message, we can now 'call' the correspondent
or go to the contacts app with a search for the correspondent.

11 years agosound: play any pending sounds on restart.
NeilBrown [Mon, 14 Jan 2013 20:18:24 +0000 (07:18 +1100)]
sound: play any pending sounds on restart.

abort a little  more quickly if something goes wrong,
and check for sounds on restart.

11 years agocontacts: improve selection handling.
NeilBrown [Mon, 14 Jan 2013 20:16:06 +0000 (07:16 +1100)]
contacts: improve selection handling.

Allow a selection of '-' to mean 'just raise without
selecting anything.
Also improve selection code a bit

11 years agodialler: allow easy access to contacts.
NeilBrown [Mon, 14 Jan 2013 20:15:06 +0000 (07:15 +1100)]
dialler: allow easy access to contacts.

If you tap the place where  the name of the contact can
be displayed, it takes you to the  'contacts' app.

11 years agobattery: be firmer about shutdown
NeilBrown [Mon, 14 Jan 2013 20:13:29 +0000 (07:13 +1100)]
battery: be firmer about shutdown

'halt' doesn't seem to work, so use 'poweroff -f'

11 years agogsm-getsms: use recorded SIM card id
NeilBrown [Mon, 14 Jan 2013 20:11:40 +0000 (07:11 +1100)]
gsm-getsms: use recorded SIM card id

rather than getting it again

11 years agodialer: allow previously dialed numbers to be easily accessed.
NeilBrown [Mon, 14 Jan 2013 07:41:04 +0000 (18:41 +1100)]
dialer: allow previously dialed numbers to be easily accessed.

Just press 'backspace' when no number present and it goes to previous number.

Signed-off-by: NeilBrown <neilb@suse.de>
11 years agogsmd: log data usage
NeilBrown [Mon, 31 Dec 2012 20:53:26 +0000 (07:53 +1100)]
gsmd: log data usage

11 years agogsmd/netman : various fixes to recent enhancements.
NeilBrown [Mon, 31 Dec 2012 20:10:52 +0000 (07:10 +1100)]
gsmd/netman : various fixes to recent enhancements.

11 years agonetman: use new gsmd interface for WWAN data.
NeilBrown [Mon, 31 Dec 2012 09:59:01 +0000 (20:59 +1100)]
netman: use new gsmd interface for WWAN data.

i.e. write APN to data-APN, and watch 'data' for updates.

For now, APN is hard-coded.

11 years agoGSMD - add management of data connection.
NeilBrown [Mon, 31 Dec 2012 09:41:16 +0000 (20:41 +1100)]
GSMD - add management of data connection.

If /run/gsm-state/data-APN contains an APN, then gsmd
tries to establish and maintain a data connection.
The 'hso' interface is ifconfiged and the IP is written to
/run/gsm-state/data.
DNS servers are written to /run/gsm-state/dns

11 years agogsmd: record 'sim' and 'sid'.
NeilBrown [Mon, 31 Dec 2012 08:10:19 +0000 (19:10 +1100)]
gsmd: record 'sim' and 'sid'.

SIM number and service provider ID are records as
'sim' and 'sid'.

If 'sid' is a prefix of 'sim', then we aren't roaming.

Different SMS histories and APN values can be keyed off
different 'sim' values, for people who swap sims.

11 years agogsmd: allow repeat= arg to be a function.
NeilBrown [Sun, 30 Dec 2012 20:37:56 +0000 (07:37 +1100)]
gsmd: allow repeat= arg to be a function.

This allows commands to be repeated differently, or not at all,
depending on arbitrary aspects of state.
'data' support will use this.

11 years agogsmd: fix the force_state command.
NeilBrown [Sat, 29 Dec 2012 20:52:02 +0000 (07:52 +1100)]
gsmd: fix the force_state command.

It didn't reset 'lastrun', so it didn't really work.

11 years agogsmd: change 'nextstate' to a queue
NeilBrown [Fri, 28 Dec 2012 06:22:35 +0000 (17:22 +1100)]
gsmd: change 'nextstate' to a queue

and various associated fixes.

11 years agosound: allow a digit in file name to attenutate volume.
NeilBrown [Thu, 27 Dec 2012 07:32:59 +0000 (18:32 +1100)]
sound: allow a digit in file name to attenutate volume.

Signed-off-by: NeilBrown <neil@brown.name>
11 years agoAdd lots of stuff I had been keeping elsewhere
NeilBrown [Wed, 26 Dec 2012 23:14:56 +0000 (10:14 +1100)]
Add lots of stuff I had been keeping elsewhere

12 years agoModify udev usb rule.
NeilBrown [Sun, 22 Apr 2012 06:58:37 +0000 (16:58 +1000)]
Modify udev usb rule.

Turn leds on/off depending on charge status.
 red: charging
 green: powered but not charging
 off: unpowered.

all are slow (3 second) blinks

Signed-off-by: NeilBrown <neilb@suse.de>
12 years agoAdd udev rules for GTA04.
NeilBrown [Sun, 22 Apr 2012 05:48:58 +0000 (15:48 +1000)]
Add udev rules for GTA04.

- stable names for Option 3G tty devices
- stable names for input devices
- current setting for different usb cables.

Signed-off-by: NeilBrown <neilb@suse.de>
12 years agoAdd utils/battery.py
NeilBrown [Sun, 22 Apr 2012 05:04:34 +0000 (15:04 +1000)]
Add utils/battery.py

Battery status monitor for GTA04

Signed-off-by: NeilBrown <neilb@suse.de>
12 years agoAdd simple .gitignore file
NeilBrown [Sun, 22 Apr 2012 04:52:05 +0000 (14:52 +1000)]
Add simple .gitignore file

Blast those .pyc files...

Signed-off-by: NeilBrown <neilb@suse.de>
12 years agoAdd submodule for susman
NeilBrown [Sun, 22 Apr 2012 04:47:13 +0000 (14:47 +1000)]
Add submodule for susman

susman is needed for working suspend as several plato tools
use it to disable/enable suspend.

And I want to experiment with git submodules.

Signed-off-by: NeilBrown <neilb@suse.de>
12 years agoAdd utils/lock.py
NeilBrown [Sat, 21 Apr 2012 22:33:45 +0000 (08:33 +1000)]
Add utils/lock.py

Also add associated icons in new 'icons' directory.

'lock' handles locking the display when idle and allowing suspend
when completely idle.

This has lots of dependencies on things that aren't packaged yet.
 - susman (suspend manager)
 - sound (plays sound files when they appear in a directory)

Signed-off-by: NeilBrown <neilb@suse.de>
12 years agoAdd lib/vibra.py
NeilBrown [Sat, 21 Apr 2012 21:54:35 +0000 (07:54 +1000)]
Add lib/vibra.py

The vibrator in the GTA04 is presented as an input device with
the 'rumble' force-feedback effect.
This python module provides easy access.

Signed-off-by: NeilBrown <neilb@suse.de>
12 years agoutil: tapinput
NeilBrown [Sat, 21 Apr 2012 11:49:40 +0000 (21:49 +1000)]
util: tapinput

tapinput uses 'tapboard' to receive input and 'fakeinput'
to pass it to an X application.
So it makes an on-screen keyboard.

Signed-off-by: NeilBrown <neilb@suse.de>
12 years agoAdd evdev.py
NeilBrown [Sat, 21 Apr 2012 11:42:50 +0000 (21:42 +1000)]
Add evdev.py

evdev monitors /dev/input/event* (event devices) and calls
a callback on each event.
It allows 'grabbing' of devices too

Signed-off-by: NeilBrown <neilb@suse.de>
12 years agoAdd tapboard.py
NeilBrown [Sat, 21 Apr 2012 11:22:04 +0000 (21:22 +1000)]
Add tapboard.py

This is similar in concept to tappad.py.
However instead of 3x4 it has 10x4 with many more buttons
which only need to be tapped once.  Dragging buttons give
more options.
But the buttons are quite small.

Signed-off-by: NeilBrown <neilb@suse.de>
12 years agoAdd tappad.py
NeilBrown [Sat, 21 Apr 2012 11:12:04 +0000 (21:12 +1000)]
Add tappad.py

tappad is a python library module to present a simple
keypad where two taps can produce (nearly) any character.

Signed-off-by: NeilBrown <neilb@suse.de>
12 years agoAdd fingerscroll.py
NeilBrown [Sat, 21 Apr 2012 10:51:57 +0000 (20:51 +1000)]
Add fingerscroll.py

Fingerscroll is a python/gtk module to display text
and allow it to be scrolled easily with a finger.

No throwing, just dragging.

Signed-off-by: NeilBrown <neilb@suse.de>
12 years agoAdd scrawl.py
NeilBrown [Sat, 21 Apr 2012 10:48:01 +0000 (20:48 +1000)]
Add scrawl.py

'scrawl' converts mouse/finger movements into letters and numbers.

Signed-off-by: NeilBrown <neilb@suse.de>
12 years agoAdd fakeinput.py
NeilBrown [Sat, 21 Apr 2012 10:38:56 +0000 (20:38 +1000)]
Add fakeinput.py

'fakeinput' is a python library which makes characters appeared
to be typing at the X11 focus.
This is useful for making an on-screen keyboard for X

Signed-off-by: NeilBrown <neilb@suse.de>
12 years agoAdd listselect.py
NeilBrown [Sat, 21 Apr 2012 10:29:50 +0000 (20:29 +1000)]
Add listselect.py

listselect is a python/gtk library module for building lists
that can be easily selected from using a finger on the touch
screen.

Signed-off-by: NeilBrown <neilb@suse.de>
12 years agoTrivial tracing python library
NeilBrown [Sat, 21 Apr 2012 10:19:14 +0000 (20:19 +1000)]
Trivial tracing python library

Allows tracing that can easily be turned on/off

Signed-off-by: NeilBrown <neilb@suse.de>
12 years agoAdd dnotify.py
NeilBrown [Sat, 21 Apr 2012 10:17:10 +0000 (20:17 +1000)]
Add dnotify.py

This is a library to make it easy to python scripts to notice when
files changes.

Signed-off-by: NeilBrown <neilb@suse.de>