Re: [maemo-developers] GStreamer and 770

2006-02-07 Thread Zeeshan Ali
Hello,

On 2/6/06, Matti Reijonen [EMAIL PROTECTED] wrote:


 I followed the http://www.linuxrising.org/gstreamer-maemo-howto.html howto on
 installing gstreamer on 770, I had trouble building the base plugins:

That howto might be 'a bit' outdated since i remember it was
writen before 0.10 was released.  Which version have you been trying?
I strongly recommend you to use release tarballs of 0.10.

 gsttcpserversink.c: In function `gst_tcp_server_sink_removed':
 gsttcpserversink.c:173: warning: unused variable `this'
 v4lsrc_calls.c: In function `gst_v4lsrc_palette_name':
 v4lsrc_calls.c:500: error: `v4l_palette_name' undeclared (first use in this
 function)
 v4lsrc_calls.c:500: error: (Each undeclared identifier is reported only once
 v4lsrc_calls.c:500: error: for each function it appears in.)
 make[3]: *** [libgstvideo4linux_la-v4lsrc_calls.lo] Error 1
 make[2]: *** [all-recursive] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2

 and I finally got it compiling, when I left out the video4linux:
 ./configure --prefix=/usr --disable-gst-debug --disable-gst_v4l

   I can understand how can that resolve your v4lsrc problems but how
did this fix the tcpserversink problem? I have compiled 0.10 for 770
without any problems at all.

 ,that is got it compiling for the device, I also compiled it
 for the SDK_PC, but there's one problem, the alsasink or edsink
 are not installed according to gst-inspect..

 Does someone know where's the problem?

Do you have alsa and esd dev files/packages installed in your PC
target? BTW, esd plugin is in the gst-plugins-good.

--
Regards,

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


Re: [maemo-developers] Audio on scratchbox and 770

2006-02-07 Thread Teemu Nikkilä
I accidentally replied to the author, not the list, apologies.

On Sunday, 5. February 2006 00:06, Kalle Vahlman wrote:
  I'm led to believe
  that scratchbox is OSS enabled.

 inside scratchbox you are talking to your real /dev/dsp so it's more
 correct to say that you discovered that your real linux installation
 is OSS enabled... ;)

Badly phrased from me, I guess a better way to say it would be scratchbox can 
use whatever audio system is present on the host computer.

 Scratchbox just mounts the /dev, /proc and /tmp (possibly others too?)
 from the real environment so having audio work on scratchbox is not
 really an indication of anything I'm afraid.

The version of esound that is shipped with Maemo SDK seems to be like on N770 
defaulting to /dev/dsptask. So it didn't work for me, since the host is 
running ALSA with OSS-emulation (see above :-), and (DSP 
Gateway's?) /dev/dsptaskX directories do not exist there. So I took the 
esound 0.2.35 sources from 
http://ftp.gnome.org/pub/GNOME/sources/esound/0.2/. After installing the 
esound stuff to the SDK from these, esd starts and works.

If I now succesfully compile and test an audio application with this new 
version of esound under Maemo arm-target, what is the likelihood the app 
would also work on the N770? Am I doing something fundamentally wrong here?

-Teemu


 --
 Kalle Vahlman, [EMAIL PROTECTED]
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] GStreamer and 770

2006-02-07 Thread Timo Steuerwald

Hi Matti,

do you already read this?
http://maemo.org/maemowiki/EnablingGstreamerSupport
But ALSA support didn't work with the internal soundcard, only via a usb 
headset, which uses the snd-usb-audio module. Because there doesn't 
exists an ALSA device for the internal dsp, you have only a Dummy ALSA 
device which IMHO moves your data to /dev/null or something similar 
useful ;)
So doing anything with ALSA/OSS can not work with the internal dsp. To 
access the internal dsp you have (using the 45 Release - a little bit 
old) this gstreamer plugins available:

snip---
Nokia770-45:~# gst-inspect-0.8 |grep dsp
dspaac:  dspaacsink: DSP AAC Sink
dsppcm:  dsppcmsink: DSP PCM Sink
dspmpeg4sink:  dspmpeg4sink: DSP MPEG4/H.263 Sink
dspfbsink:  dspfbsink: DSP FB Sink
dspamr:  dspamrsink: DSP AMR Sink
dspmp3:  dspmp3sink: DSP MP3 Sink
snip---
May be the pcm sink is sufficient for you?
Another solution will be to build the esdsink yourself...

Cheers,

Timo

Matti Reijonen wrote:




I followed the http://www.linuxrising.org/gstreamer-maemo-howto.html 
howto on

installing gstreamer on 770, I had trouble building the base plugins:

gsttcpserversink.c: In function `gst_tcp_server_sink_removed':
gsttcpserversink.c:173: warning: unused variable `this'
v4lsrc_calls.c: In function `gst_v4lsrc_palette_name':
v4lsrc_calls.c:500: error: `v4l_palette_name' undeclared (first use in 
this

function)
v4lsrc_calls.c:500: error: (Each undeclared identifier is reported 
only once

v4lsrc_calls.c:500: error: for each function it appears in.)
make[3]: *** [libgstvideo4linux_la-v4lsrc_calls.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

and I finally got it compiling, when I left out the video4linux:
./configure --prefix=/usr --disable-gst-debug --disable-gst_v4l

,that is got it compiling for the device, I also compiled it
for the SDK_PC, but there's one problem, the alsasink or edsink
are not installed according to gst-inspect..

Does someone know where's the problem?

  - Matti

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





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


Re: [maemo-developers] package is built-in?

2006-02-07 Thread Larry Battraw
  You'll get this message any time you try and install a .deb from the
Debian pool or other non-Maemo repository.  Basically it means you'll
have to install it manually as mentioned by someone else.  For a quick
and dirty install, do a dpkg-deb -X [.deb filename] /, although I'm
sure there are better ways to do it.

Larry

On 2/6/06, Steven Hill [EMAIL PROTECTED] wrote:
 I am trying to install a package on my Nokia 770 device. I download
 the .deb file to my /home/users/MyDocs directory and then use the
 package installer on the device (through control panel) to install the
 package.  But I get a message that says:

 Installation of  failed. Display details?

 ( is my package name) When I look at the details, I get:

 Unable to install . Component is built-in

 Obviously my package is not a built-in component.  Can anyone explain to
 me what this message means, and how to get my package installed?

 Thanks...

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


[maemo-developers] device lock bypass in charging mode

2006-02-07 Thread Adam Laurie
I just noticed that if I power off my 770 but plug it into the charger 
before it's completely off, or power it off while already plugged into 
the charger (basically so you end up with the charging logo on the 
screen), it never goes into lock mode, so can be powered back up after 
any length of time without having to enter the security code...


IMHO this is not expected behaviour...

cheers,
Adam
--
Adam Laurie Tel: +44 (0) 20 7605 7000
The Bunker Secure Hosting Ltd.  Fax: +44 (0) 20 7605 7099
Shepherds Building  http://www.thebunker.net
Rockley Road
London W14 0DA  mailto:[EMAIL PROTECTED]
UNITED KINGDOM  PGP key on keyservers

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


[maemo-developers] SQLite installation

2006-02-07 Thread Steven Hill
Can anyone tell me how SQLite should be installed on the Nokia 770? I
first installed it using the package installer in the control panel, but
then typing sqlite3 in Xterm (as suggested in the library section in
the Wiki) did not work.  So I removed it, again using the control panel
app, and installed it from the root after signing in as root using SSH,
but then I got the following:

Nokia770:/# dpkg -i sqlite_3.2.7_arm.deb
Selecting previously deselected package sqlite.
(Reading database ... 5689 files and directories currently installed.)
Unpacking sqlite (from sqlite_3.2.7_arm.deb) ...
dpkg: dependency problems prevent configuration of sqlite:
 sqlite depends on maemo; however:
  Package maemo is not installed.
dpkg: error processing sqlite (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 sqlite

But it does seem to be installed, as is shown in the next output:

Nokia770:/# sqlite3
SQLite version 3.2.7
Enter .help for instructions
sqlite .q

Can anyone tell me if this last way of installing SQLite is the correct
way, in spite of the error messages?



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


RE: [maemo-developers] SQLite installation

2006-02-07 Thread Peter.Hagg
Hi, 

it seems that you're trying to install an osso-application-installer package. 
You can't do that with dpkg from the command line on the 770. Instead, use 
app-installer-tool, like this:

 Nokia770:/# app-installer-tool install sqlite_3.2.7_arm.deb

Did you check the error messages when trying to install the package with the 
application installer in control panel (there's a button for this)? If so, what 
did it report as the error?


Regards, 

- Pete -

-Original Message-
From: [EMAIL PROTECTED] on behalf of Steven Hill
Sent: Tue 2/7/2006 10:26 PM
To: maemo-developers@maemo.org
Subject: [maemo-developers] SQLite installation
 
Can anyone tell me how SQLite should be installed on the Nokia 770? I
first installed it using the package installer in the control panel, but
then typing sqlite3 in Xterm (as suggested in the library section in
the Wiki) did not work.  So I removed it, again using the control panel
app, and installed it from the root after signing in as root using SSH,
but then I got the following:

Nokia770:/# dpkg -i sqlite_3.2.7_arm.deb
Selecting previously deselected package sqlite.
(Reading database ... 5689 files and directories currently installed.)
Unpacking sqlite (from sqlite_3.2.7_arm.deb) ...
dpkg: dependency problems prevent configuration of sqlite:
 sqlite depends on maemo; however:
  Package maemo is not installed.
dpkg: error processing sqlite (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 sqlite

But it does seem to be installed, as is shown in the next output:

Nokia770:/# sqlite3
SQLite version 3.2.7
Enter .help for instructions
sqlite .q

Can anyone tell me if this last way of installing SQLite is the correct
way, in spite of the error messages?



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

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