[maemo-developers] Differences between scratchbox and real OS2008 tablets

From: Markku Vire markku.vire at movial.fi
Date: Tue Feb 12 11:06:21 EET 2008
Hi,

Alsa on N800 is configured to use DSP-chip, which doesn't exist on your
pc (and inside scratchbox). However, it should be enough to change your
alsa configuration to use your host system's sound hw instead
(application doesn't need to know if the sound is routed through dsp or
not). Take a look to:

  /usr/share/alsa/alsa.conf

Inside maemo+scratchbox this talks about "alsa_dsp", which you need to
change. Also have a look to your host system's config.

I cannot give you the exact details, since I have never bothered to do
this myself ;)

Hope this helps,

-Markku-

Glen Ditchfield wrote:
> I installed the maemo-sdk by following the instructions
> at  http://linuxuk.blogspot.com/2008/01/installing-os2008-development.html
> and  http://www.progbox.co.uk/wordpress/?p=453
> and everything seemed fine.  I tried building "Battle for Wesnoth", and 
> eventually managed to compile it.  However, when I run it in scratchbox, it 
> fails with the error message "could not open pcm device /dev/dsptask/pcm3".  
> In the scratchbox, I only see the device /dev/dsp.  My N800 has no /dev/dsp, 
> but has /dev/dpstask<n>, /dev/dsptask/pcm3, and so on.
> 
> Is there some upgrade that installs the dsptask devices in scratchbox? Or, is 
> there some standard way to test libsdl audio programs in scratchbox?
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers


More information about the maemo-developers mailing list