portaudio

2008-08-11 Thread Chris Dobbs
 All,
I managed to compile and build the V19 libportaudio.so library using the 
scratchbox CHINOOK environent. The test program pa_devs when run in the 
scratchbox envoronment works fine and reports 3 sound devices. When I try this 
on the actual N800 machine I get 0 devices found. Has anyone managed to get 
portaudio working on the N800 ?
-Chris Dobbs
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Battery drain with Diablo 4.2008.23-14

2008-08-11 Thread olle
On Mon, Aug 11, 2008 at 12:26:23PM +0200, Juan A. Suarez Romero wrote:
> 
> The battery of my N810 lasts a day after reflashing it with Diablo
> version 4.2008.23-14.

Had a similar experience when upgrading an N800 a while ago.
IIRCC the fix then was to delete and recreate the swap file.

/olle
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: javascript interruption

2008-08-11 Thread Brad Midgley
fwiw,

> I've noticed that when using the browser, if I haven't clicked
> anything on my n810 for a while, the javascript execution in the
> browser is halted.

it's sort of cosmic... the answer was 42.

I had to build and periodically execute "acpi_fakekey 42" to keep the
browser awake. 42 is the value for the left shift key... plus I get to
hear the keyboard tapping away by itself.

I would feel better with a hack-free way to do this. It won't work on
my n800 since acpi_fakekey can't find a keyboard. I'm not sure how to
change it to insert events into a different device or if there even is
a no-op I can insert there that won't get ignored.

-- 
Brad
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Battery drain with Diablo 4.2008.23-14

2008-08-11 Thread Juan A. Suarez Romero
On Mon, 2008-08-11 at 15:42 +0300, Kimmo Hämäläinen wrote:
> I don't know the details. Disabling R&D mode would at least eliminate
> the possibility.
> 

Ok. I'll try it. Thank you very much.

> BR; Kimmo
> 
> > 
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
> 

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Battery drain with Diablo 4.2008.23-14

2008-08-11 Thread Kimmo Hämäläinen
On Mon, 2008-08-11 at 12:04 +, Igor Stoppa wrote:
> On Mon, 2008-08-11 at 12:17 +0100, ext Andrew Flegg wrote:
> > On Mon, Aug 11, 2008 at 12:13 PM, Kimmo Hämäläinen
> > <[EMAIL PROTECTED]> wrote:
> > >
> > > Do you have the R&D mode enabled?  It can drain the battery in a day.
> > 
> > It can? Previous information has been that R&D mode on its own (i.e.
> > without enabling the serial console etc.) has no effect on battery
> > life; and solely enables `sudo gainroot'.
> 
> And that should still hold true, afaik
> 
> > What does "plain" R&D mode do which affects battery so greatly?
> 
> Nothing unless somebody had the bright idea to hook something to the
> plain R&D mode flag. Which i really hope is not the case.
> 
> Kimmo: can you please detail?

I don't know the details. Disabling R&D mode would at least eliminate
the possibility.

BR; Kimmo

> 
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Multi-boot Diablo and Chinook

2008-08-11 Thread Frantisek Dufka
David Greaves wrote:
> Hi all
> 
> So I've been trying to get my N800 to multi-boot into an everyday Diablo and a
> 'clean' test install of Chinook and Diablo.

This is perfectly possible. I'm runing everyday Chinook and 'clean' test 
install of Diablo. Kernel and initfs is from Diablo.

> 
> I've written up my progress here:
>   https://wiki.maemo.org/Advanced_booting
> and now I'm stuck.
> 
> Neither the Chinook nor Diablo partitions run correctly; they both progess to
> about 90% (blue line on bottom of splash screen) and then reboot.
> 
> I'd appreciate some assistance :)

I don't see anything wrong, few random hints

- extract rootfs.jffs2 from .bin again and never mount it rw on desktop 
i.e. do 'mount -t jffs2 -o ro /tmp/mtdblock0 /tmp/jffs2' on PC. I've 
seen corruption of the image if mounted rw on PC.

- use tar instead of rsync (should not make much difference)

- performance tip - mount destination ext2 with noatime, run rsync with 
--inplace to prevent creating 2x more files in destination (one 
temporary, one real)

Frantisek
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Battery drain with Diablo 4.2008.23-14

2008-08-11 Thread Faheem Pervez
RD-Mode is an interesting one. All enabling it does is set a flag in the
CAL. The bulk of what happens in in /mnt/initfs/linuxrc and
/etc/rc2.d/S99ttyusb0 which just read that flag and do things if that flag
is set.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Battery drain with Diablo 4.2008.23-14

2008-08-11 Thread Igor Stoppa
On Mon, 2008-08-11 at 12:17 +0100, ext Andrew Flegg wrote:
> On Mon, Aug 11, 2008 at 12:13 PM, Kimmo Hämäläinen
> <[EMAIL PROTECTED]> wrote:
> >
> > Do you have the R&D mode enabled?  It can drain the battery in a day.
> 
> It can? Previous information has been that R&D mode on its own (i.e.
> without enabling the serial console etc.) has no effect on battery
> life; and solely enables `sudo gainroot'.

And that should still hold true, afaik

> What does "plain" R&D mode do which affects battery so greatly?

Nothing unless somebody had the bright idea to hook something to the
plain R&D mode flag. Which i really hope is not the case.

Kimmo: can you please detail?

-- 

Cheers, Igor

---

Igor Stoppa
Maemo Software - Nokia Devices R&D - Helsinki
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Multi-boot Diablo and Chinook

2008-08-11 Thread David Greaves
Hi all

So I've been trying to get my N800 to multi-boot into an everyday Diablo and a
'clean' test install of Chinook and Diablo.

I've written up my progress here:
  https://wiki.maemo.org/Advanced_booting
and now I'm stuck.

Neither the Chinook nor Diablo partitions run correctly; they both progess to
about 90% (blue line on bottom of splash screen) and then reboot.

I'd appreciate some assistance :)

David
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Battery drain with Diablo 4.2008.23-14

2008-08-11 Thread Juan A. Suarez Romero
On Mon, 2008-08-11 at 14:13 +0300, Kimmo Hämäläinen wrote:
> Do you have the R&D mode enabled?  It can drain the battery in a day.
> 

Sure? Yes, I've R&D mode enabled. But I've been using that mode in
previous flashes, and never had any problem.

K.R.


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Battery drain with Diablo 4.2008.23-14

2008-08-11 Thread Juan A. Suarez Romero
On Mon, 2008-08-11 at 14:09 +0300, Eero Tamminen wrote:
> Hi,
> 
> ext Juan A. Suarez Romero wrote:
> > The battery of my N810 lasts a day after reflashing it with Diablo
> > version 4.2008.23-14.
> 
> What packages you've installed on top of it?
> 

None. As I said, I've reflashed it and nothing more. Even I've tested it
by uninstalled applications that come with flash. No luck.

> When the device is in offline mode with MMC out, if you run "top" in
> XTerm, does anything else besides the top, xterm (maemo-launcher) and
> Xomap show up using *any* CPU?

No, nothing.

> 
> What if you disable all Home applets and close all applications
> also (if you already haven't)?
> 

After reflashing it, I've powered on device, and left in standby-mode. I
didn't open any application, nor aplet.

> 
> > I've repeated the process several times, even uninstalling all programs
> > that comes with flash, and no luck.
> > 
> > Any clue about why this happens?
> 
> Have you added multimedia (audio, video) files to the internal
> memory card?

No. Even I've formatted the internal card to have nothing.



___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Battery drain with Diablo 4.2008.23-14

2008-08-11 Thread Andrew Flegg
On Mon, Aug 11, 2008 at 12:13 PM, Kimmo Hämäläinen
<[EMAIL PROTECTED]> wrote:
>
> Do you have the R&D mode enabled?  It can drain the battery in a day.

It can? Previous information has been that R&D mode on its own (i.e.
without enabling the serial console etc.) has no effect on battery
life; and solely enables `sudo gainroot'.

What does "plain" R&D mode do which affects battery so greatly?

Thanks in advance,

Andrew

-- 
Andrew Flegg -- mailto:[EMAIL PROTECTED] | http://www.bleb.org/
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Wiki page of the Day, how users find them once they're ready?

2008-08-11 Thread Dave Neary
Hi,

Ryan Abel wrote:
>> Could something like "for information on ITOS 2007 and newer, see
>> the new wiki at wiki.maemo.org" be automatically added to the beginning
>> of each of the old wiki pages?
>>
> 
> This is a good plan, there was some discussion around it a while ago, but I 
> don't know what the result ever was.

Yes, the intention was to add a header to the top of all wiki pages
saying that the wiki had definitively moved, and that the old wiki was
locked.

The wiki got locked, but the deprecated message was only added to the
front page.

>> I just added a note to:
>> http://wiki.maemo.org/Root_access#OpenSSH
>>
>> about SSH X forwarding needing the "xauth" package and finding
>> the correct(?) page could have been easier...
>>
> 
> Well, um, that really isn't the correct page for information like that at 
> all. A large part of the reason you weren't able to find up-to-date ssh info 
> on the new wiki is because it really isn't there. Somebody should probably 
> put one together.

If there is content in the old wiki which should be moved (after all, I
exercised some editorial judgement on content that was of a good enough
quality to move), then please move & edit it. It's better to create
useful new pages than to refer to the deprecated wiki.

In general, one-line wiki pages aren't very welcome :) Perhaps a page
about SSH in general, which talks about X relaying, but also (say) how
to set up an ssh tunnel, etc?


-- 
maemo.org docsmaster
Email: [EMAIL PROTECTED]
Jabber: [EMAIL PROTECTED]

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Battery drain with Diablo 4.2008.23-14

2008-08-11 Thread Kimmo Hämäläinen
On Mon, 2008-08-11 at 12:26 +0200, ext Juan A. Suarez Romero wrote:
> Hello, maemoers!
> 
> The battery of my N810 lasts a day after reflashing it with Diablo
> version 4.2008.23-14.
> 
> Really I don't know why this happens. I've googled and seems this
> problem is reported in several places.
> 
> Moreover, after a full recharge, I've flashed it, put the device in
> offline-mode and removed the MMC card.
> 
> Without using the device at all, after one day it powers off due to lack
> of battery.
> 
> I've repeated the process several times, even uninstalling all programs
> that comes with flash, and no luck.
> 
> Any clue about why this happens?

Do you have the R&D mode enabled?  It can drain the battery in a day.

BR; Kimmo

> 
> 
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Battery drain with Diablo 4.2008.23-14

2008-08-11 Thread Eero Tamminen
Hi,

ext Juan A. Suarez Romero wrote:
> The battery of my N810 lasts a day after reflashing it with Diablo
> version 4.2008.23-14.

What packages you've installed on top of it?


> Really I don't know why this happens. I've googled and seems this
> problem is reported in several places.
> 
> Moreover, after a full recharge, I've flashed it, put the device in
> offline-mode and removed the MMC card.
> 
> Without using the device at all, after one day it powers off due to lack
> of battery.

This usually means that some process in the device is waking up
at about second interval (which doesn't really show up in top
unless it does also something else).

When the device is in offline mode with MMC out, if you run "top" in
XTerm, does anything else besides the top, xterm (maemo-launcher) and
Xomap show up using *any* CPU?

What if you disable all Home applets and close all applications
also (if you already haven't)?


> I've repeated the process several times, even uninstalling all programs
> that comes with flash, and no luck.
> 
> Any clue about why this happens?

Have you added multimedia (audio, video) files to the internal
memory card?


- Eero
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Battery drain with Diablo 4.2008.23-14

2008-08-11 Thread Juan A. Suarez Romero
Hello, maemoers!

The battery of my N810 lasts a day after reflashing it with Diablo
version 4.2008.23-14.

Really I don't know why this happens. I've googled and seems this
problem is reported in several places.

Moreover, after a full recharge, I've flashed it, put the device in
offline-mode and removed the MMC card.

Without using the device at all, after one day it powers off due to lack
of battery.

I've repeated the process several times, even uninstalling all programs
that comes with flash, and no luck.

Any clue about why this happens?


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: libSDL

2008-08-11 Thread Eero Tamminen
Hi,

ext Chris Dobbs wrote:
> Thanks Andew,
> I managed to get sound output working now by setting the env variable
> SDL_AUDIODRIVER=alsa
> 
> This works now with one the SDL project test programs.

AFAIK it's supposed to be "esd" as that does mixing for normal user
space programs.  If you have multiple programs using sound at the same
time, you may have strange (reliability) issues with "alsa".


- Eero
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Wiki page of the Day, how users find them once they're ready?

2008-08-11 Thread Ryan Abel

- Original message -

> Could something like "for information on ITOS 2007 and newer, see
> the new wiki at wiki.maemo.org" be automatically added to the beginning
> of each of the old wiki pages?
>

This is a good plan, there was some discussion around it a while ago, but I 
don't know what the result ever was.

> I just added a note to:
>     http://wiki.maemo.org/Root_access#OpenSSH
>
> about SSH X forwarding needing the "xauth" package and finding
> the correct(?) page could have been easier...
>

Well, um, that really isn't the correct page for information like that at all. 
A large part of the reason you weren't able to find up-to-date ssh info on the 
new wiki is because it really isn't there. Somebody should probably put one 
together.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Maemo autobuilder maintenance break

2008-08-11 Thread Niels Breet
Hi all,

We will have a maintenance break today at 11:00 UTC on the build machine
for the autobuilder.

Due to recent problems with running out of disk space, the builder will
get more storage added.

The builder will not be available for a short time.

Sorry for the inconvenience.

--
Niels Breet
maemo.org webmaster


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Maintenance break on all maemo.org servers on the 13th of August

2008-08-11 Thread marcell.lengyel
Hi All,

Our ISP is transferring the *.maemo.org servers to a new hosting center.
Because of this, all servers will be down on the 13th of August, between
07:45 and 17:00 (EEST).

Best Regards,

--
Marcell


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Wiki page of the Day, how users find them once they're ready?

2008-08-11 Thread Eero Tamminen
Hi,

Could something be done for the old Wiki?   If I use Google, it
returns links to the old Wiki which would seem to have mostly
IT2005/2006 information.  Try for example googling "ssh site:maemo.org".

Could something like "for information on ITOS 2007 and newer, see
the new wiki at wiki.maemo.org" be automatically added to the beginning
of each of the old wiki pages?


- Eero

I just added a note to:
http://wiki.maemo.org/Root_access#OpenSSH

about SSH X forwarding needing the "xauth" package and finding
the correct(?) page could have been easier...
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers