Re: ALSA sound driver for Nokia 770 and DSP programming

2008-09-26 Thread Robert Schuster
Hi,

Siarhei Siamashka schrieb:
 Recently I have been trying to make it running and seems like we have a very
 good chance to have it working nicely. It is also interesting, that the
 linux-omap guys seem to be developing a new driver [3] for AIC23 which may
 eventually become a better alternative.
Very nice!

I will try your patch in mamona which IMO provides the most easy way to
test those things out. Mamona is based on OpenEmbedded and every other
distribution made from it bases its sound core on ALSA not gstreamer ...

It is good that a new driver is in development, however I have doubts
that we will be able to run 2.6.27+ on the N770 soon ;).

Is the AIC23 also in the N8x0 devices?

Regards
Robert



signature.asc
Description: OpenPGP digital signature
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Log-in to scratch-box without using password.

2008-09-26 Thread atul raut

Hi all, 

How to login to Scrach-box without 
password is there any way ?

br
atul
--
  You Never Get a Second Chance to Make First Good Impression  Atul Raut
Hyderabad - 500 033 


  Unlimited freedom, unlimited storage. Get it now, on 
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/

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


RE: ALSA sound driver for Nokia 770 and DSP programming

2008-09-26 Thread Simon Pickering
 
  Recently I have been trying to make it running and seems 
  like we have a very
  good chance to have it working nicely. It is also 
  interesting, that the
  linux-omap guys seem to be developing a new driver [3] for 
  AIC23 which may
  eventually become a better alternative.
  Very nice!

Good stuff Siarhei :)

Have you built a replacement DSP-kernel yet?

 I will try your patch in mamona which IMO provides the most 
 easy way to
 test those things out. Mamona is based on OpenEmbedded and every other
 distribution made from it bases its sound core on ALSA not 
 gstreamer ...

Sounds like a useful test-bed.

 It is good that a new driver is in development, however I have doubts
 that we will be able to run 2.6.27+ on the N770 soon ;).
 
 Is the AIC23 also in the N8x0 devices?

From the N810 datasheet, it looks like it contains a TVL320AIC33NIZQER, or
in shorter form a TVL320AIC33:
http://focus.ti.com/docs/prod/folders/print/tlv320aic33.html

I seem to remember there being something different in the N800, anyone got
the datasheet handy for the N800?

Cheers,


Simon

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


Re: Log-in to scratch-box without using password.

2008-09-26 Thread Marius Gedminas
On Fri, Sep 26, 2008 at 03:23:18PM +0530, atul raut wrote:
 How to login to Scrach-box without 
 password is there any way ?

When I run sb-login, I'm never asked for a password.

Marius Gedminas
-- 
Hanlon's Razor:
Never attribute to malice that which is adequately explained
by stupidity.


signature.asc
Description: Digital signature
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


undefined reference to 'g_strcmp0'

2008-09-26 Thread Pedro Sanchez
Likely a silly question, but I'm getting the subject linking error when
I try to use this glib function.

My configure.ac file has

PKG_CHECK_MODULES(... glib-2.0 ...)

and my source file has

#include glib.h
#include glib/gprintf.h

What else is needed?

Thanks,

-- 
Pedro




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


Re: undefined reference to 'g_strcmp0'

2008-09-26 Thread Fred
Pedro Sanchez a écrit :
 Likely a silly question, but I'm getting the subject linking error when
 I try to use this glib function.
 
 My configure.ac file has
 
 PKG_CHECK_MODULES(... glib-2.0 ...)
 
 and my source file has
 
 #include glib.h
 #include glib/gprintf.h
 
 What else is needed?
 
 Thanks,
 

from the glib doc : Since 2.16
What version is your glib in scratchbox ?
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: undefined reference to 'g_strcmp0'

2008-09-26 Thread Pedro Sanchez
On Fri, 2008-09-26 at 19:46 +0200, Fred wrote:
 Pedro Sanchez a écrit :
  Likely a silly question, but I'm getting the subject linking error when
  I try to use this glib function.
  
  My configure.ac file has
  
  PKG_CHECK_MODULES(... glib-2.0 ...)
  
  and my source file has
  
  #include glib.h
  #include glib/gprintf.h
  
  What else is needed?
  
  Thanks,
  
 
 from the glib doc : Since 2.16
 What version is your glib in scratchbox ?

Yeap, you're right. In my diablo SDK:

Source: glib2.0
Version: 2.12.12-1osso13

... and looking at the documentation there is no g_strcmpXXX of any kind
for this version. I guess I'll fall back to the classic strcmp, or how
else do you compare strings in current maemo SDK (g_ascii_strcasecmp()
maybe)?

Thanks,

-- 
Pedro





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


Integration with hildon desktop

2008-09-26 Thread Jeffrey Barish
After much fiddling, I managed to integrate my application in the hildon
desktop.  It appears in the Extras menu along with its logo.  I get the
loading message when it's starting, and then it runs.  However, when it's
running, I get the default icon in the task navigator bar.  Any idea what I
forgot to do?
-- 
Jeffrey Barish

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


Re: Integration with hildon desktop

2008-09-26 Thread Antonio Aloisio
Check the Icon field in the .desktop file.

Antonio

On Fri, Sep 26, 2008 at 10:52 PM, Jeffrey Barish
[EMAIL PROTECTED]wrote:

 After much fiddling, I managed to integrate my application in the hildon
 desktop.  It appears in the Extras menu along with its logo.  I get the
 loading message when it's starting, and then it runs.  However, when it's
 running, I get the default icon in the task navigator bar.  Any idea what I
 forgot to do?
 --
 Jeffrey Barish

 ___
 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: Integration with hildon desktop

2008-09-26 Thread Jeffrey Barish
Antonio Aloisio wrote:

 On Fri, Sep 26, 2008 at 10:52 PM, Jeffrey Barish
 [EMAIL PROTECTED]wrote:
 
 After much fiddling, I managed to integrate my application in the hildon
 desktop.  It appears in the Extras menu along with its logo.  I get the
 loading message when it's starting, and then it runs.  However, when it's
 running, I get the default icon in the task navigator bar.  Any idea what
 I forgot to do?
 --
 Jeffrey Barish

 Check the Icon field in the .desktop file.
 
 Antonio

For what?  I wouldn't get an icon in the menu if it weren't specified
correctly, would I?

-- 
Jeffrey Barish

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


Re: ALSA sound driver for Nokia 770 and DSP programming

2008-09-26 Thread Siarhei Siamashka
On Friday 26 September 2008, Simon Pickering wrote:
   Recently I have been trying to make it running and seems
   like we have a very
   good chance to have it working nicely. It is also
   interesting, that the
   linux-omap guys seem to be developing a new driver [3] for
   AIC23 which may
   eventually become a better alternative.
   Very nice!

 Good stuff Siarhei :)

 Have you built a replacement DSP-kernel yet?

Yes, sure. You can easily build DSP kernel and demo_console DSP task from
the sources in dspgw-3.3-dsp.tar.bz2

All that is need to done is to run 'make' in 'tokliBIOS' (*), 'tinkernel' and 
'apps/demo_mod' subdirectories. You will get 'tinkernel.out' and 
'demo_console.o' binary files which are DSP kernel and DSP task respectively.
After that, have a look into dspgw-3.3-dynamic-demo-omap1.tar.bz2 archive for
the target directory layout and README file with the instructions how to test
it. Of course you can replace 'tinkernel.out' and 'demo_console.o' with the
files that you have compiled yourself. ARM side binaries also need to be
recompiled before you can run them (they were compiled for OABI and will
not run out of the box), but that's a minor issue. Only 'dsp_dld' compilation
may cause problems because it needs a more up to date version of flex than the
one that is part of OS2006 SDK.

(*) Actually you need to apply a patch to 'tokliBIOScfg.tcf' if you want to
use the generated 'tokliBIOScfg.cmd' instead of tinkernelcfg.cmd'. That was
actually the hardest part.

Now it is possible to experiment with configuring DSP kernel by changing
.tcf file and enabling different kernel features. Documentation which explains
its syntax is available in free DSP toolchain.

So DSP programming for 770 and other OMAP1 based devices should be perfectly
fine. But I can't say the same for N8x0 at the moment, because free DSP
toolchain from TI does not support compilation of DSP kernel for OMAP2
according to dspgateway documentation.

-- 
Best regards,
Siarhei Siamashka
--- dspgw-3.3-dsp.orig/tokliBIOS/tokliBIOScfg.tcf	2005-06-09 07:28:21.0 +0300
+++ dspgw-3.3-dsp/tokliBIOS/tokliBIOScfg.tcf	2008-09-27 03:00:40.0 +0300
@@ -47,6 +47,10 @@
 bios.MEM.MALLOCSEG = prog.get(DARAM);
 bios.MEM.BIOSOBJSEG = prog.get(DARAM);
 
+var extmem = bios.MEM.create(EXTMEM);
+extmem.base = 0x14000;
+extmem.len = 0x1000;
+extmem.createHeap = false;
 
 /*
  * CLK
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: ALSA sound driver for Nokia 770 and DSP programming

2008-09-26 Thread Siarhei Siamashka
On Friday 26 September 2008, Robert Schuster wrote:
 Hi,

 Siarhei Siamashka schrieb:
  Recently I have been trying to make it running and seems like we have a
  very good chance to have it working nicely. It is also interesting, that
  the linux-omap guys seem to be developing a new driver [3] for AIC23
  which may eventually become a better alternative.

 Very nice!

 I will try your patch in mamona which IMO provides the most easy way to
 test those things out. 

That's great, feedback is very much welcome. Though bugreports can wait until
I roll out the next revision of the patch ;)

 Mamona is based on OpenEmbedded and every other 
 distribution made from it bases its sound core on ALSA not gstreamer ...

Somehow I also like this approach better ...

 It is good that a new driver is in development, however I have doubts
 that we will be able to run 2.6.27+ on the N770 soon ;).

Sure, upgrading the kernel may end up in fixing one problem, but introducing a
lot more of them instead :) But we could try to backport the new driver to
2.6.16 once it is ready.

 Is the AIC23 also in the N8x0 devices?

In addition to the information already provided by Simon, I can recommend to
search linux-omap and alsa-devel mailing lists.

-- 
Best regards,
Siarhei Siamashka
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


How to lists all the applications that could handle a specified MIME type?

2008-09-26 Thread Zhihai Wang
Dear All,

When got the target file's MIME type(such as when downloading a file from
Internet),
I could get the file's MIME type, say, audio/x-ms-wma,
How could I know which applications in my device have the capability to
handle audio/x-ms-wma
so that I could list these applications and let the user select his(her)
prefer one?

Best Regards,
Zhihai Wang
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


RE: Integration with hildon desktop

2008-09-26 Thread Jun Xu
To my knowledge, there are many parameters to determine what to show in the 
navigator bar. So I guess that you can try the parameters StartupWMClass in 
your desktop file.
To know more info about desktop's parameters file see:
http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-0.9.4.html


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeffrey Barish
Sent: 2008年9月27日 3:52
To: maemo-developers@maemo.org
Subject: Integration with hildon desktop

After much fiddling, I managed to integrate my application in the hildon
desktop.  It appears in the Extras menu along with its logo.  I get the
loading message when it's starting, and then it runs.  However, when it's
running, I get the default icon in the task navigator bar.  Any idea what I
forgot to do?
-- 
Jeffrey Barish

___
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