Re: Backlight control

2009-01-29 Thread Tomeu Vizoso
On Tue, Jan 27, 2009 at 06:10, John Watlington w...@laptop.org wrote: On Jan 24, 2009, at 5:18 AM, Marco Pesenti Gritti wrote: On Sat, Jan 24, 2009 at 5:23 AM, John Watlington w...@laptop.org wrote: What can I call from an activity (in python) to indicate that the backlight should be

Re: Backlight control

2009-01-29 Thread John Watlington
On Jan 29, 2009, at 2:11 PM, Tomeu Vizoso wrote: On Tue, Jan 27, 2009 at 06:10, John Watlington w...@laptop.org wrote: On Jan 24, 2009, at 5:18 AM, Marco Pesenti Gritti wrote: On Sat, Jan 24, 2009 at 5:23 AM, John Watlington w...@laptop.org wrote: What can I call from an activity (in

Re: Backlight control

2009-01-26 Thread John Watlington
On Jan 24, 2009, at 5:18 AM, Marco Pesenti Gritti wrote: On Sat, Jan 24, 2009 at 5:23 AM, John Watlington w...@laptop.org wrote: What can I call from an activity (in python) to indicate that the backlight should be turned off ? I'm playing with a photoframe app, and want to have the

Re: Backlight control

2009-01-24 Thread Marco Pesenti Gritti
On Sat, Jan 24, 2009 at 5:23 AM, John Watlington w...@laptop.org wrote: What can I call from an activity (in python) to indicate that the backlight should be turned off ? I'm playing with a photoframe app, and want to have the ability to deliberately control the backlight level from the

Re: Backlight control

2009-01-24 Thread pgf
marco pesenti gritti wrote: On Sat, Jan 24, 2009 at 5:23 AM, John Watlington w...@laptop.org wrote: What can I call from an activity (in python) to indicate that the backlight should be turned off ? I'm playing with a photoframe app, and want to have the ability to

Re: Backlight control

2009-01-24 Thread Marco Pesenti Gritti
On Sat, Jan 24, 2009 at 3:43 PM, p...@laptop.org wrote: but if ohmd is going to be in the middle, then the published api for requesting those changes should be more transparent than requiring every application be in python and have knowledge of dbus. There is no python dependency and I

Re: Backlight control

2009-01-24 Thread Tomeu Vizoso
On Sat, Jan 24, 2009 at 15:50, Marco Pesenti Gritti marc...@sugarlabs.org wrote: On Sat, Jan 24, 2009 at 3:43 PM, p...@laptop.org wrote: but if ohmd is going to be in the middle, then the published api for requesting those changes should be more transparent than requiring every application be

Re: Backlight control

2009-01-24 Thread pgf
tomeu wrote: On Sat, Jan 24, 2009 at 15:50, Marco Pesenti Gritti marc...@sugarlabs.org wrote: On Sat, Jan 24, 2009 at 3:43 PM, p...@laptop.org wrote: but if ohmd is going to be in the middle, then the published api for requesting those changes should be more transparent than

Re: Backlight control

2009-01-24 Thread Marco Pesenti Gritti
On Sat, Jan 24, 2009 at 4:07 PM, p...@laptop.org wrote: right -- there's only a python dependency in that when someone asks how do i change the brightness, they're pointed to python code. :-) Well... Wad needed it for a python activity. And even if you need to write it in another language,

Re: Backlight control

2009-01-24 Thread pgf
marco pesenti gritti wrote: On Sat, Jan 24, 2009 at 4:07 PM, p...@laptop.org wrote: http://git.sugarlabs.org/projects/sugar/repos/mainline/blobs/master/src/jarabe/m odel/screen.py it looks like there's a missing assignment to _ohm_service (i.e., to save the connection so it

Re: Backlight control

2009-01-24 Thread david
On Sat, 24 Jan 2009, Marco Pesenti Gritti wrote: On Sat, Jan 24, 2009 at 3:43 PM, p...@laptop.org wrote: but if ohmd is going to be in the middle, then the published api for requesting those changes should be more transparent than requiring every application be in python and have knowledge

Re: Backlight control

2009-01-24 Thread Michael Stone
David -- why quibble over ohm when you've got NM and HAL to worry about? Paul -- why are the /sys nodes only writable by root? Michael On 1/24/09, da...@lang.hm da...@lang.hm wrote: On Sat, 24 Jan 2009, Marco Pesenti Gritti wrote: On Sat, Jan 24, 2009 at 3:43 PM, p...@laptop.org wrote: but

Re: Backlight control

2009-01-24 Thread david
On Sat, 24 Jan 2009, Michael Stone wrote: David -- why quibble over ohm when you've got NM and HAL to worry about? NM (network manager) I can (and frequently do) disable. HAL is starting to become more of a problem. very recently it was very easy to ignore it, the lasest X.org releases make

Re: Backlight control

2009-01-24 Thread pgf
michael wrote: David -- why quibble over ohm when you've got NM and HAL to worry about? Paul -- why are the /sys nodes only writable by root? discounting, possible denial-of-brightness attacks by malicious screen hackers, no particularly good reason that i know of. well, other than

Re: Backlight control

2009-01-24 Thread pgf
marco pesenti gritti wrote: On Sat, Jan 24, 2009 at 4:07 PM, p...@laptop.org wrote: right -- there's only a python dependency in that when someone asks how do i change the brightness, they're pointed to python code. :-) Well... Wad needed it for a python activity. And even if you