Re: #10363 NORM 10.1.3: Auto-Suspend gets in the way when sharing over Salut

2010-10-12 Thread Simon Schampijer
On 09/29/2010 08:31 AM, Tomeu Vizoso wrote: > On Tue, Sep 28, 2010 at 21:43, Gonzalo Odiard wrote: >> We have this code in many places, I found it in the Distance activity and >> bitfrost updater. >> May be is a good idea inhibit suspend when is displayed the neighborhood >> view also. >> Can we h

Re: [squeakland] Audio recorder broken on XO-1.5

2010-10-12 Thread Bert Freudenberg
(I'm copying the olpc devel list) On 12.10.2010, at 07:58, tom.staub...@fhtw-berlin.de wrote: > Hi, > I'm currently experimenting with Etoys' audio recorder on the XO. > It seems to be broken on the XO-1.5. > > While it works (more or less) ok on several XO-1s, all of them have a fresh > instal

Re: #10363 NORM 10.1.3: Auto-Suspend gets in the way when sharing over Salut

2010-10-12 Thread James Cameron
On Tue, Oct 12, 2010 at 05:27:27PM +0200, Simon Schampijer wrote: > For 0.84 we can do what powerd offers, creating a file based on the pid > in /var/run/powerd-inhibit-suspend/ (those are removed by powerd when it > goes into suspend the next time). If I understand correctly, these are only rem

Re: #10363 NORM 10.1.3: Auto-Suspend gets in the way when sharing over Salut

2010-10-12 Thread Mikus Grinbergs
> We can rely on /var/run being empty on boot, > since it is a tmpfs. It is /var/tmp (and /var/log) that is a tmpfs. I believe that /var itself is part of the / filesystem - that makes /var/run persistent. mikus ___ Devel mailing list Devel@lists.lapt

Re: #10363 NORM 10.1.3: Auto-Suspend gets in the way when sharing over Salut

2010-10-12 Thread James Cameron
On Tue, Oct 12, 2010 at 06:08:27PM -0500, Mikus Grinbergs wrote: > > We can rely on /var/run being empty on boot, > > since it is a tmpfs. > > It is /var/tmp (and /var/log) that is a tmpfs. I believe that /var > itself is part of the / filesystem - that makes /var/run persistent. Odd, that doesn

Re: #10363 NORM 10.1.3: Auto-Suspend gets in the way when sharing over Salut

2010-10-12 Thread Mikus Grinbergs
>> I believe that /var >> itself is part of the / filesystem - that makes /var/run persistent. > > Odd, that doesn't match what I see in /proc/mounts ... there /var/run is > a tmpfs of 1024k. I was looking at the output of 'mount'. What's the difference between that and the output of 'cat /proc/m

Re: #10363 NORM 10.1.3: Auto-Suspend gets in the way when sharing over Salut

2010-10-12 Thread James Cameron
On Tue, Oct 12, 2010 at 10:21:12PM -0500, Mikus Grinbergs wrote: > I was looking at the output of 'mount'. What's the difference between > that and the output of 'cat /proc/mounts' ? /etc/mtab is a file on the filesystem. /proc/mounts is a query to the kernel. When no arguments are given to mou