[maemo-developers] Bluetooth headset status on OS2006

2006-08-07 Thread Pierre TARDY

gizmo developers claims on:
http://support.gizmoproject.com/FAQs/nokia770.php

That you can use a bluetooth headset on the 770, but various other 
sources tells that it cant:

http://www.gossamer-threads.com/lists/maemo/developers/3167?search_string=bluetooth%20headset;#3167
http://linuxdevices.com/news/NS9255811301.html
http://www.maemo.org/maemowiki/BluetoothHeadset

So are the last links outdated or are gizmo guys doiing disinformation?

--
Pierre Tardy

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


Re: [maemo-developers] dspmpeg4sink

2006-06-06 Thread Pierre TARDY

jeff zhu wrote:

I'm interesting in this problem too ,  How to use dspmpeg4sink  .
It seems that nokia guys are not very verbose about their proprietary 
software.
Anyway, it seems that Koos Vriezen has done the reverse engineering job 
for its kmplayer port ( http://www.xs4all.nl/~jjvrieze/ )


He should have used dbus-monitor to catch the API between GUI and 
oss_media_player.


osso_media_server is providing some dbus API that we should call to play 
the video. It seems that gst-launch is not the good way to launch the video.


interresting lines are in kmplayerprocess.cpp:

   296 DBusMessage *message = dbus_message_new_method_call 
(NULL, /com/nokia/osso_media_server, 
com.nokia.osso_media_server.video, set_video_window);
   297 
dbus_message_set_destination(message,com.nokia.osso_media_server);
   298 dbus_message_append_args (message, DBUS_TYPE_INT32, 
m_rect.x(), DBUS_TYPE_INT32, m_rect.y(), DBUS_TYPE_INT32, 
m_rect.width(), DBUS_TYPE_INT32, m_rect.height(), 
DBUS_TYPE_INVALID);

   299 dbus_connection_send (connection, message, NULL);

   315 const char * service = !mrl-audio_only ? 
com.nokia.osso_media_server.video : com.nokia.osso_media_server.music;
   316 DBusMessage *message = dbus_message_new_method_call (NULL, 
/com/nokia/osso_media_server, service, play_media);
   317 printf (OssoMediaServer::play %s %s\n, service, (const 
char *) node-mrl ()-src);
   318 dbus_message_set_destination (message, 
com.nokia.osso_media_server);
   319 dbus_message_append_args (message, DBUS_TYPE_STRING, (const 
char *) node-mrl ()-src, DBUS_TYPE_INVALID);


The problem is that ossomediaplayer seams to not allow building our own 
gstreamer pipeline, though, the udp streaming. may be difficult.
Maybe the ossomediaplayer accept sdp mrl or udp:// mrl, this has to be 
checked.
The other thing is that gstreamer 0.8 is not very good at networking. 
Maybe we should wait for OS 2006 to have gstreamer 0.10 and its h263 
over RTP support.



 



 
2006/6/3, M M [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]:


Hi Bob,
Thanks for your response!, It is not a typo, it is correct as
represented.
Thanks once again!
 
Regards,

Michael
 
// -
 
Hi Michael


I hope your line below is a typo:)

gst-launch-0.8 udpsrc ! video/x-h263 ! dspmpeg4sink
I think should be

gst-launch-0.8 udpsrc | video/x-h263 | dspmpeg4sink

! should be | ??

Regards

Bob
 





Sneak preview the all-new Yahoo.com
http://us.rd.yahoo.com/evt=40762/*http://www.yahoo.com/preview.
It's not radically different. Just radically better.

___
maemo-developers mailing list
maemo-developers@maemo.org mailto: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
  



--
Pierre Tardy

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


[maemo-developers] Re: dspmpeg4sink

2006-06-02 Thread Pierre TARDY

M M wrote:

Hi,
I am trying to use dspmpeg4sink on maemo, but it never works. I used 
the following pipeline.


gst-launch-0.8 udpsrc ! video/x-h263 ! dspmpeg4sink

and this happens

RUNNING pipeline . . .
ERROR: pipeline doesn't want to play.
 
I had sent mails and gotten very good responses, but I wonder if any 
body has any clue on why it doesn't work, atleast as normal gstreamer 
plugin.
 
Regards,

Michael

I'm facing similar problem, trying to build by myself a pipeline with 
dsp sinks:

I type on the console:

Nokia770-13:/home/user/MyDocs/.videos# gst-launch-0.8 gnomevfssrc 
location=IceAge2_trailer.avi ! avidemux name=demux  demux.audio_00 ! 
dspmp3sink demux.video_00 ! dspmpeg4sink

RUNNING pipeline ...
dsp_dld: event detected.
device mpeg4dec is requesting for TADD.
starting TADD process for device mpeg4dec.
loading /etc/dsp/modules/mpeg4.o.
adding _mpeg4dec_socket_node(@11[ 2898.426300] omapdsp: task 4: name 
mpeg4dec

a94c) into system.
[ 2898.431579] omapdsp: taskdev mpeg4dec enabled.
[ 2898.438690] tlv320aic23 powering up
receiving signal 17
[ 2898.525115] tlv320aic23_init_power() done
dsp_dld: event detected.
device mp3dec is requesting for TADD.
starting TADD process for device mp3dec.
loading /etc/dsp/modules/mp3.o.
adding _mp3dec_socket_node(@1247[ 2899.623748] omapdsp: task 5: name mp3dec
c8) into system.
[ 2899.628906] omapdsp: taskdev mp3dec enabled.
receiving signal 17



The sound is well decoded and outputed, but I have no video at all.
The same of course if I launch the video only pipeline.

Nokia770-13:~/MyDocs/.videos$ gst-launch-0.8 gnomevfssrc 
location=IceAge2_trailer.avi ! avidemux ! dspmpeg4sink videoonly=true

RUNNING pipeline ...
dsp_dld: event detected.
device mpeg4dec is requesting for TADD.
starting TADD process for device mpeg4dec.
loading /etc/dsp/modules/mpeg4.o.
adding _mpeg4dec_socket_node(@11[ 3823.817687] omapdsp: task 4: name 
mpeg4dec

a94c) into system.
[ 3823.822967] omapdsp: taskdev mpeg4dec enabled.
[ 3823.830139] tlv320aic23 powering up
receiving signal 17
[ 3823.840789] tlv320aic23_init_power() done


I guess there are some tricks to configure the dsp and fb, programming 
the location and size of the output on screen for example..
Could you, nokia guys, provide more information to the community on how 
to use dspmpeg4sink from command line?


for example, how to produce these lines:
osso-media-server[914]: GLIB WARNING ** default - failed to init[ 
6159.287567] [dsp] FBCTL_ENABLE received, but fb is already enabled.

ialize dsp MPEG4 node, error = 0x0A
ProcXSPDispatch: 3
registering dsp area
register dsp area: 0, (176, 62), 600, 360
ProcXSPDispatch: 3
registering dsp area
register dsp area: 0, (176, 62), 600, 360
dsp_dld: event detected.

For those who are interrested, I ve compiled gstreamer in debug mode and 
produced some gst-inspect documentation on the proprietary plugins of nokia.


--
Pierre Tardy

No such element or plugin 'spaacsink'
Factory Details:
  Long name:DSP PCM Sink
  Class:Sink/Audio
  Description:  Raw PCM audio sink
  Author(s):Makoto Sugano [EMAIL PROTECTED]
  Rank: primary (256)

Plugin Details:
  Name: dsppcm
  Description:  DSP PCM audio sink
  Filename: /usr/lib/gstreamer-0.8/libgstdsppcmsink.so
  Version:  1.0
  License:  LGPL
  Package:  dspaudio
  Origin URL:   Nokia Corporation

GObject
 +GstObject
   +GstElement
 +GstDSPPcmSink

Pad Templates:
  SINK template: 'sink'
Availability: Always
Capabilities:
  audio/x-raw-int
 endianness: 1234
 signed: { true, false }
  width: { 8, 16 }
  depth: { 8, 16 }
   rate: { 8000, 11025, 12000, 16000, 22050, 24000, 32000, 
44100, 48000, 64000, 88200, 96000 }
   channels: [ 1, 2 ]
  audio/x-alaw
   rate: { 8000, 11025, 12000, 16000, 22050, 24000, 32000, 
44100, 48000, 64000, 88200, 96000 }
   channels: [ 1, 2 ]
  audio/x-mulaw
   rate: { 8000, 11025, 12000, 16000, 22050, 24000, 32000, 
44100, 48000, 64000, 88200, 96000 }
   channels: [ 1, 2 ]


Element Flags:
  GST_ELEMENT_EVENT_AWARE

Element Implementation:
  No loopfunc(), must be chain-based or not configured yet
  Has change_state() function: 0x401605b0
  Has custom save_thyself() function: gst_element_save_thyself
  Has custom restore_thyself() function: gst_element_restore_thyself

Element has no clocking capabilities.
Element has no indexing capabilities.

Pads:
  SINK: 'sink'
Implementation:
  Has chainfunc(): 0x4015f91c
Pad Template: 'sink'

Element Properties:
  name: The name of the object
String. (Default dsppcmsink0)
  volume  : Defines the volume level of the stream
Unsigned Integer. Range: 0 - 65535 (Default 65535)
  panning : Defines the balance between left/right channels

[maemo-developers] hacking the kernel with the help of the serial console

2006-05-31 Thread Pierre TARDY

Hi all,
I'm currently playing with the production n770, porting an sdio driver
to it.

I fear, I'm now facing a kernel panic, and I will need the serial
console to go further.
with the help of search engin, you can find references how to enable the
serial console, but no infomation on the effective pinouts of the
connector near the battery pack.

Can someone tell me where I can solder my 2 wires?

Best regards,

--
Pierre Tardy

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