Planet maemo: category "feed:b45a8ddcf3f2f1452044ac0e6a02e711"

Martin Grimme

Enabling FM band selection on the N800

2007-11-18 08:03 UTC  by  Martin Grimme
0
0
The Nokia N800 has a built-in FM radio which can't currently be used in Japan since Japan uses a different FM band (76 MHz to 90 MHz) than Europe and the US (87.5 MHz to 108 MHz).
Thanks to Kenroy Harrison for pointing this out.

The TEA5761 FM chip on the N800 supports the Japanese band by setting the BLIM bit but this is not supported by Nokia's driver code (Nokia doesn't sell the N800 in Japan anyway). So I have built a patched kernel enabling setting the BLIM bit.
The new release of pyFMRadio adds support for this kernel and allows switching the FM band.


If you have a N800 and are currently in Japan, please test this Python code and report if it's actually working:


from FMRadio import FMRadio
import time

r = FMRadio()
r.set_fm_band(r.FM_BAND_JPN)
for freq in r.scan():
r.set_frequency(freq)
r.set_volume(50)
time.sleep(3)
r.close()
Martin Grimme

N810 maemo submission accepted

2007-11-10 02:48 UTC  by  Martin Grimme
0
0
Here I am to join the lucky posts on planet.maemo.org about getting an N810 discount. Thanks to Nokia for choosing me again! :)

My new media center will soon be ready for the first release. It's already working great, only some rough edges to fix and some performance boosts to apply. When dealing with lots of thumbnail images in an resource-restricted environment such as the N800, you'll have to take special care about clean and efficient programming. And when I say "lots of thumbnail images", I mean that every video, every music ablum, and every image gets a thumbnail preview.

Another big challenge will be to get the app running fine on the Nokia 770. No, this device isn't dead for me yet. Since the video bus of the 770 is actually faster than that of the N800, kinetic scrolling works great there as well. But I'm still struggling with memory limitations and some mplayer issues on the 770.
Categories: n810
Martin Grimme

My Work on MediaBox

2007-11-07 11:42 UTC  by  Martin Grimme
0
0
MediaBox Media Center

Let me introduce MediaBox, a finger-friendly media center
for Nokia internet tablets, to be released in a few days.

This basically started some months ago as an experimental frontend to
mplayer
with physically correct kinetic scrolling for browsing the collection of
video files. But soon it was clear to me that this user interface could do a
lot more, so I added music playback and integrated the image viewer from my
Obscura project.

MediaBox can play video, audio, display images, features a desk clock with
large letters, and is open for new extensions. It will soon be able to use the
FM radio in the N800 with the pyFMRadio project.



Since the media player backend of MediaBox is mplayer, it will be able to play
almost anything you throw at it, including Ogg Vorbis.




PyFMRadio

The Nokia N800 has a built-in FM tuner and I wanted to be able to use this with
MediaBox. So far, the only FM radio application for the N800 seems to be the
closed-source fmradio applet by Nokia. It's good but it's not finger-friendly.

So I started diving into the kernel code and eventually came up with
a way to control the FM tuner chip with pure Python. This might
be useful to other projects as well, so I set up the offspring project
pyFMRadio.
Categories: mediabox