[Sugar-devel] [PATCH sugar] Control Panel "About my Computer": show information on XO 1.75 OLPC #11232
walter.bender at gmail.com
Wed Sep 28 12:39:04 EDT 2011
On Wed, Sep 28, 2011 at 12:30 PM, Simon Schampijer <simon at schampijer.de> wrote:
> On 09/28/2011 06:24 PM, Walter Bender wrote:
>> On Wed, Sep 28, 2011 at 10:24 AM, Simon Schampijer<simon at schampijer.de>
>>> '/ofw' has been removed on the XOs now. We need to refine the
>>> check if the machine is an XO in order to display the
>>> information accordingly.
>> Can we finally agree to create a toolkit method for this? As an
>> activity maintainer who needs to occasionally do things differently on
>> an XO than other HW, it would be really nice to not have to keep
>> changing my XO detection methods as the system changes under me.
> We discussed this a bit briefly the other day with Gonzalo and Daniel. The
> pro is, that code is not duplicated in activities. The con is, that
> activities should not depend on any hardware and use other methods to
> determine specific hardware (camera detection etc) and maybe there should be
> guidelines about good practices.
I am sure that most of my problems are related to poor programming
practice, but in every activity I write, I need to set a font scale
differently for the XO than other HW and when I do have, for example,
the proper alsa controls for the microphone-sensor input, I still need
to know which version of the XO hardware I am using to set proper
calibration levels... So I don't see a work-around to not depending on
hardware. Some code snippets to show me the way would be greatly
appreciated (please add links from the Activity Team pages and in the
> Good topic, we should see what makes sense and what we can agree on.
More information about the Sugar-devel