RE: FM RDS data

2010-01-07 Thread Simon Pickering

  I'm thinking of a small usage, a app that found the freest frequency 
  (by listening fm with the transmitter) and change the frequency of 
  transmitted music to the found one and send an rds signal by the 
  transmitter, so you don't have to change frequency on your 
 car receiver (or everything else).

Great to hear this, I was thinking of trying something similar when I had
some time. The FM transmitter also has a basic receiver built in (afair from
the spec sheet), i.e. not the one that is built into the Bluetooth chip that
is used to listen to the radio, which I imagine is designed for just such a
usage (I think it just returns a signal level for each frequency, but I'd
have to take another look at the sheet to be sure) does anyone know if we
can access this at the moment?

Cheers,


Simon

 -Original Message-
 From: maemo-developers-boun...@maemo.org 
 [mailto:maemo-developers-boun...@maemo.org] On Behalf Of Martin Grimme
 Sent: 07 January 2010 07:23
 To: Benoît HERVIER
 Cc: maemo-developers@maemo.org; Aldon Hynes
 Subject: Re: FM RDS data
 
 Hi,
 
 yes, RDS PS and RDS RT can be modified. See
 
 http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Us
ing_Multimedia_Components/FM_Transmitter_API_Usage
 
 
 Martin
 
 
 2010/1/7, Benoît HERVIER kher...@khertan.net:
  About FM and RDS modifying RDS signal transmited from the tablet is 
  possible ?
 
  I'm thinking of a small usage, a app that found the freest 
 frequency 
  (by listening fm with the transmitter) and change the frequency of 
  transmitted music to the found one and send an rds signal by the 
  transmitter, so you don't have to change frequency on your 
 car receiver (or everything else).
 
  I know that fm transmitter emit an rds signal ... but can 
 that be changed ?
 
  Does there is documentation about the fm transmitter and receiver 
  somewhere on Maemo ?
 
  Thanks a lot
 
  2010/1/6 Martin Grimme martin.gri...@gmail.com
 
  Hi,
 
  the FM receiver's interface for RDS is exposed via sysfs. So any 
  application can read RDS data from it.
  The frequency bands the receiver is capable of are US/EUR (87.5 - 
  108.00 MHz) and Japan (don't remeber, but I think starts 
 somewhere at 
  70 MHz). A region switch in the driver (sysfs-Interface 
 again but as
  root) switches between the frequency bands.
 
 
  Martin
 
 
  2010/1/6, Aldon Hynes aldon.hy...@orient-lodge.com:
   I have been approached by a person interested in sending 
 data from 
   a
  sensor
   via FM to a cellphone which would in term transmit this 
 data to the 
   Internet.  I am interested in figuring out if this is something 
   that
  could
   be done with an N900.  With that, I have a few specific 
 questions:
  
   First, can anyone point me to information about how to 
   programatically receive RDS data?  I've read that the FM receive 
   app is supposed to do
  that,
   but I haven't managed to receive RDS data that way yet, 
 and I don't 
   have
  the
   source code.
  
   Second, does anyone have any idea what frequencies the 
 FM receiver 
   can
  tune
   into?  The programs I've seen have focused on the traditional 
   commercial
  FM
   band, 88 Mhz to 106 Mhz.  Can the FM receiver tune in higher or 
   lower frequencies?  If so, what is the real frequency 
 range of the 
   FM Receiver.
  
   Third, are there other data formats that can easily be 
 sent and/or
  received
   from the Nokia phone?  If so, can people point me to any 
 of these 
   other
  data
   formats?
  
   Any help you can provide would be greatly appreciated.
  
   Aldon
  
   ___
   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
 
 
 
 
  --
  Benoît HERVIER - http://khertan.net/
 
 ___
 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: FM RDS data

2010-01-07 Thread Martin Grimme
Hi,

I would imagine that the signal strength can be read using V4L2
interface on /dev/radio0.
I was able to set frequency with this interface and IIRC I also read
signal strength from it already at a time when I was thinking that
/dev/radio0 was the FM _receiver_.


Martin


2010/1/7, Simon Pickering s.g.picker...@bath.ac.uk:

  I'm thinking of a small usage, a app that found the freest frequency
  (by listening fm with the transmitter) and change the frequency of
  transmitted music to the found one and send an rds signal by the
  transmitter, so you don't have to change frequency on your
 car receiver (or everything else).

 Great to hear this, I was thinking of trying something similar when I had
 some time. The FM transmitter also has a basic receiver built in (afair from
 the spec sheet), i.e. not the one that is built into the Bluetooth chip that
 is used to listen to the radio, which I imagine is designed for just such a
 usage (I think it just returns a signal level for each frequency, but I'd
 have to take another look at the sheet to be sure) does anyone know if we
 can access this at the moment?

 Cheers,


 Simon

 -Original Message-
 From: maemo-developers-boun...@maemo.org
 [mailto:maemo-developers-boun...@maemo.org] On Behalf Of Martin Grimme
 Sent: 07 January 2010 07:23
 To: Benoît HERVIER
 Cc: maemo-developers@maemo.org; Aldon Hynes
 Subject: Re: FM RDS data

 Hi,

 yes, RDS PS and RDS RT can be modified. See

 http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Us
 ing_Multimedia_Components/FM_Transmitter_API_Usage


 Martin


 2010/1/7, Benoît HERVIER kher...@khertan.net:
  About FM and RDS modifying RDS signal transmited from the tablet is
  possible ?
 
  I'm thinking of a small usage, a app that found the freest
 frequency
  (by listening fm with the transmitter) and change the frequency of
  transmitted music to the found one and send an rds signal by the
  transmitter, so you don't have to change frequency on your
 car receiver (or everything else).
 
  I know that fm transmitter emit an rds signal ... but can
 that be changed ?
 
  Does there is documentation about the fm transmitter and receiver
  somewhere on Maemo ?
 
  Thanks a lot
 
  2010/1/6 Martin Grimme martin.gri...@gmail.com
 
  Hi,
 
  the FM receiver's interface for RDS is exposed via sysfs. So any
  application can read RDS data from it.
  The frequency bands the receiver is capable of are US/EUR (87.5 -
  108.00 MHz) and Japan (don't remeber, but I think starts
 somewhere at
  70 MHz). A region switch in the driver (sysfs-Interface
 again but as
  root) switches between the frequency bands.
 
 
  Martin
 
 
  2010/1/6, Aldon Hynes aldon.hy...@orient-lodge.com:
   I have been approached by a person interested in sending
 data from
   a
  sensor
   via FM to a cellphone which would in term transmit this
 data to the
   Internet.  I am interested in figuring out if this is something
   that
  could
   be done with an N900.  With that, I have a few specific
 questions:
  
   First, can anyone point me to information about how to
   programatically receive RDS data?  I've read that the FM receive
   app is supposed to do
  that,
   but I haven't managed to receive RDS data that way yet,
 and I don't
   have
  the
   source code.
  
   Second, does anyone have any idea what frequencies the
 FM receiver
   can
  tune
   into?  The programs I've seen have focused on the traditional
   commercial
  FM
   band, 88 Mhz to 106 Mhz.  Can the FM receiver tune in higher or
   lower frequencies?  If so, what is the real frequency
 range of the
   FM Receiver.
  
   Third, are there other data formats that can easily be
 sent and/or
  received
   from the Nokia phone?  If so, can people point me to any
 of these
   other
  data
   formats?
  
   Any help you can provide would be greatly appreciated.
  
   Aldon
  
   ___
   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
 
 
 
 
  --
  Benoît HERVIER - http://khertan.net/
 
 ___
 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: Drag Drop on GTK + Maemo 5 (was: Re: [pymaemo] DnD on N900)

2010-01-07 Thread Claudio Saavedra
El mié, 06-01-2010 a las 19:44 -0400, Anderson Lizardo escribió:
 [I'm CC'ing maemo-developers as it is clearly not a Python specific
 issue; see below for details]
 
 On Wed, Jan 6, 2010 at 2:11 PM, Jeffrey Barish
 jeff_bar...@earthlink.net wrote:
  Well, it took a little more than a few days, but here is a test program.  It
  works on Ubuntu and N810, but not N900.
 
 Well, I tested your example on Maemo and Ubuntu, and indeed the drag 
 drop only worked on Ubuntu. Additionally, this error is shown on
 console:
 
 /tmp/dndtest.py:77: Warning: g_object_set_data_full: assertion
 `G_IS_OBJECT (object)' failed
   gtk.main()
 
 So I went further and translated your example to C (please note I'm no
 GTK expert, I'm only trying to help debugging the problem). And the
 same behavior is presented: the drag does not work and this message is
 shown on console:
 
 dndtest[9349]: GLIB CRITICAL ** GLib-GObject - g_object_set_data_full:
 assertion `G_IS_OBJECT (object)' failed
 
 That means the problem is not related to Python or PyGTK at all, but
 some GTK limitation/bug on Maemo 5.

There is no drag 'n drop in Maemo GTK+. This has been deliberately
disabled.

A stacktrace on the critical warning would be useful to find out the
cause.

Claudio


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


Re: Storing passwords on Maemo 5

2010-01-07 Thread Tatu Lahtela
On Wed, Jan 6, 2010 at 5:06 PM, Iñigo Illán kodep...@terra.es wrote:
 Having a device oriented mainly to internet but not having a framework for  
 storing passwords in a safe way seems a
 huge lack. Have anyone any suggestion of how to save passwords in a safe way 
 in Maemo5?

Agreed. A password storage service, such as kwalletd or gnome-keyring,
for single-sign-on would be great. If neither is ported or none
exists, a service that provides a DBUS api for password storage would
be quite useful.

As a side note, I'm writing a simple app for password management, it
uses the Qt Cryptographic Architecture ( http://delta.affinix.com/qca/
) for the encryption with OpenPGP keys. The QCA library isn't
available in the Maemo repos, but porting it seemed to be just a
matter of compilation (and perhaps optification is required). The lib
could easily be used for this kind of service as well.


--
Tatu Lahtela laht...@iki.fi
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Proposal: Sharing plugin to call command-line apps (e.g. photo sharing via SCP)

2010-01-07 Thread Thomas Perl
Hello Alan, b0nc3 and Tuomas!

2010/1/5 Qole qole.tab...@gmail.com:
 On Sat, Jan 2, 2010 at 7:53 AM, Thomas Perl th.p...@gmail.com wrote:
 I've been thinking of creating a SCP sharing plugin for uploading
 photos to a web server, but then thought that a generic command-line
 sharing plugin would be even more universal and useful. [...]

 What a MARVELOUS idea!

I have created a project on garage:

https://garage.maemo.org/projects/sharing-cli/

Would be nice if all of you who are interested can join this group so
we can collaboratively implement this plugin. I've set up the git
repository (although no commits yet) and am waiting for the mailing
list to be activated.

 If you coupled this with an Advanced Mode in the File manager that let you
 show all files and browse all directories, it would be The Best Idea Evar!

This should probably go into Petrovich - we have control over it (it's
open source), and it integrates the Sharing functionality already.

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


How to access geotag information?

2010-01-07 Thread Till Harbaum
Hi,

i am planning to add a feature to Maep so that it displays small thumbnails of 
geotagged media data. How do i access geotags? I suppose the correct way to 
access any media files is to go via tracker. Are there any examples to request 
geoinformation from tracker? A little googling reveals many pages saying that 
tracker doesn't index geotags. Is this true? What is the correct way to get 
geotags of all media stored on the device? It sure doesn't make much sense to 
ask tracker for a list of all media and than try to extract geotags from them. 
This would take forever on a big media collection.

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


Re: oFono

2010-01-07 Thread Jeff Moe
On Thursday 07 January 2010 04:09:46 you wrote:
 ke, 2010-01-06 kello 15:26 +0100, ext Jeff Moe kirjoitti:
  On Wednesday 06 January 2010 08:25:15 you wrote:
   Hi,
   
   I wonder if you really need a laptop for making calls. The program
   pnatd gives you tty to a modem where you can send AT commands. I'm
   using it to send USSD codes.
  
  Very cool. That looks like it may work, actually, at least for within 
  Maemo. Can you give me a hint as to how to use it though?
 
 You should use the isimodem driver in oFono. It is specifically made to
 support Nokia modems, such as the one on N900.

I've been told, and tried my self, and it doesn't work on the N900. That said, 
you know far more about it! Do you have a sample modem.conf for N900? And other 
clues would be appreciated!

Thanks,

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


Re: oFono

2010-01-07 Thread Aki Niemi
to, 2010-01-07 kello 13:48 +0100, ext Jeff Moe kirjoitti:
  You should use the isimodem driver in oFono. It is specifically made to
  support Nokia modems, such as the one on N900.
 
 I've been told, and tried my self, and it doesn't work on the N900.

It _should_ work out of the box on the N900. In fact, I did some quick
packaging of the 0.15 release and just pushed ofono in Fremantle
extras-devel. So let's see...

There is some jumping through hoops required to get Phonet over USB
working that would allow you to use oFono on the desktop with N900 or
any other (recent) Nokia phone connected via USB in PC suite mode. I've
been meaning to write a howto for that, and I guess it's high time I
actually go and do that. ;)

  That said, you know far more about it! Do you have a sample
 modem.conf for N900? And other clues would be appreciated!

There's no need for modem.conf on the N900; in fact, my ofono package
builds with atmodem and udev disabled. The isimodem driver automagically
detects modems via netlink.

Cheers,
Aki

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


Re: Disabling Desktop Notifications

2010-01-07 Thread Kimmo Hämäläinen
On Wed, 2010-01-06 at 01:06 +0100, ext dc101 wrote:
 Hi all,
 
 
 
 Is it possible to disable the connection notifications when the device
 boots up? The notifications I am interested in disabling are:
 -When the device is connected to DUMMY automatically (Connected to
 dummy)
 -When the device is looking to connect to phone (Searching for
 phone...)
 -When the device failed to connect to any phones (Could not find
 phone)
 
 
 I understand that all the notifications are called to the Notification
 D-Bus Service, and it's probably not possible to disable certain
 notifications, but at the very least I'd be happy to know if I can
 turn off the notification d-bus service.

hildon-home is handling the notification service, so you can hack it to
not handle org.freedesktop.Notifications. The code is in Gitorious:

http://maemo.gitorious.org/fremantle-hildon-desktop/hildon-home

However, I think most of the notification are displayed by the
daemons/applications themselves, so you can only rid some of them,
unless you hack the libhildon1 library so that it does not show
infobanners at all.

-Kimmo

 
 
 
 
 Cheers,
 dc101

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


Re: Debugging applet causing hildon-home crash

2010-01-07 Thread Kimmo Hämäläinen
On Wed, 2010-01-06 at 22:46 +0100, ext Graham Cobb wrote:
 In Fremantle, the GPE Summary applet causes hildon-home to crash if it is 
 removed and then re-added.  I have not been able to work out what the problem 
 is.

We had several of this kind of crashes that happen when you remove and
add it back. Usually the problem was in the Glib types that the applet
uses: if it tries to register new types that are already there, or
something similar.  I guess Glib should print out some warnings for you?
(notice that hildon-home probably closes stdout by default)

 Any hints on how best to debug this hildon-home crash?

It could help to disable all other plugins than the one that you are
debugging and using gdb or good old printfs I guess.

-Kimmo

 Graham
 ___
 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: Drag Drop on GTK + Maemo 5 (was: Re: [pymaemo] DnD on N900)

2010-01-07 Thread Anderson Lizardo
On Thu, Jan 7, 2010 at 5:37 AM, Claudio Saavedra csaave...@igalia.com wrote:
 There is no drag 'n drop in Maemo GTK+. This has been deliberately
 disabled.

I believe that pretty much answers Jeff's issue... Was this done for
Maemo 5 ? Because according to Jeff it used to work on the N810
(Diablo). I haven't tested it myself on N810 , though.

 A stacktrace on the critical warning would be useful to find out the
 cause.

How to get that stack trace (some glib/gtk function?) ? it does not
crash the application , so I think gdb cannot be used in this case.

Thanks,
-- 
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Drag Drop on GTK + Maemo 5 (was: Re: [pymaemo] DnD on N900)

2010-01-07 Thread Claudio Saavedra
El jue, 07-01-2010 a las 10:08 -0400, Anderson Lizardo escribió:
 On Thu, Jan 7, 2010 at 5:37 AM, Claudio Saavedra csaave...@igalia.com wrote:
  There is no drag 'n drop in Maemo GTK+. This has been deliberately
  disabled.
 
 I believe that pretty much answers Jeff's issue... Was this done for
 Maemo 5 ? Because according to Jeff it used to work on the N810
 (Diablo). I haven't tested it myself on N810 , though.

Yes, only since Maemo 5.

 
  A stacktrace on the critical warning would be useful to find out the
  cause.
 
 How to get that stack trace (some glib/gtk function?) ? it does not
 crash the application , so I think gdb cannot be used in this case.

Set G_DEBUG=fatal-criticals. That will cause glib to abort on a critical
warning.

Claudio


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


Re: How to access geotag information?

2010-01-07 Thread Michael Cronenworth

Till Harbaum on 01/07/2010 06:30 AM wrote:

How do i access geotags?



With libexif. GPS coordinates are in the EXIF data.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers