maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] QRadio (https://talk.maemo.org/showthread.php?t=67917)

gionni88 2011-01-13 12:30

Re: [Announce] QRadio
 
As I thought, it didn't resolve anything. I'll push another version using standard libs back.

Wikiwide 2011-01-13 12:56

Re: [Announce] QRadio
 
Quick reply...
I am reading FM receiver code.
http://mxr.maemo.org/fremantle/sourc...adio-bcm2048.c

Correct me if I'm wrong.

It has function bcm2048_set_region
It is called only once, during bcm2048_probe (driver loading?)
It sets region to BCM2048_DEFAULT_REGION
It is 0x02 .
Region 2 is Europe, channel_spacing 10, bottom_frequency 87.5, top_frequency 108, deemphasis 50.

Therefore, Nokia has written the driver without any way to check the region during loading of the drivers. Hard-coded to Europe.

I will be glad if somebody proves me wrong.

slender 2011-01-13 13:40

Re: [Announce] QRadio
 
Something is corrupted in background image.

some ideas:
http://img193.imageshack.us/img193/3935/ideasf.png

gionni88 2011-01-13 13:56

Re: [Announce] QRadio
 
Quote:

Originally Posted by slender (Post 919505)
Something is corrupted in background image.

Background image is taken from standard multimedia background. With BlackPlastic theme it works really nice, if another theme gives trouble you can change it by replacing /opt/qradio/background.png symlink with another link or a background image.

For the slider, there is FMRadio to tune it using fingers. Manual input and stations list can be accessed from menu. Last one can be accessed from the bottom left button aswell.

Will type some instructions at first post when I'm done fixing some scripts.

Ulukai 2011-01-13 14:33

Re: [Announce] QRadio
 
Quote:

Originally Posted by Wikiwide (Post 919476)
It has function bcm2048_set_region
It is called only once, during bcm2048_probe (driver loading?)
It sets region to BCM2048_DEFAULT_REGION
It is 0x02 .
Region 2 is Europe, channel_spacing 10, bottom_frequency 87.5, top_frequency 108, deemphasis 50.

Skyscraper and jacekowski did also dig in it: http://mg.pov.lt/maemo-irclog/%23mae...08-22.log.html
See at 13:58, there jacekowski found the spot where to change the DEFAULT_REGION within the binary of bcm2048 module. Skyscraper tried to change it to japan-wide, but it didn't work.
I also tried this approach, but it didn't change anything, I still get a "VIDIOC_S_FREQUENCY: failed: Input/output error"

gionni88 2011-01-13 15:13

Re: [Announce] QRadio
 
0.3.2 version pushed and seams to work well. I have updated post #1 with new info and screenshots, check it if needed.

guyr 2011-01-13 15:23

Re: [Announce] QRadio
 
Quote:

Originally Posted by gionni88 (Post 919443)
you can plug in and out headphones to fix it. It's a strange bug since I'm not touching input in the code, so I have no clue while it happens.
I have to force receiver chip off when radio app is closed aswell or you can ear radio while calling someone. It's a bug that happens too with FMRadio.

The plug in and out do not fix the problem for me. I hear the microphone of the n900 instead of the radio when i exit qradio
and launch it again.
For me, the problem never occurs with FM radio ...
I can fix the problem with rebooting the phone or opening the mediaplayer and playing a song before launching qradio ...

[EDIT] RESOLVED : i can't reproduce this error in 0.3.2. Thank you.

gruik 2011-01-13 16:39

Re: [Announce] QRadio
 
Waouh!!! congrats for the new features! I really like to test your Qradio but I send back my N900 this morning! :( It didn't recognize Sim cards!

guyr 2011-01-13 17:54

Re: [Announce] QRadio
 
Hi,
With 0.3.2 (new GUI) there is a problem with screen refresh (gliches).
In 'About' menu the version is always 0.3.0
The 'manage stations' don't work (can't move or delete stations).
I can't see RDS anymore ...
If there is a way to manage translation. I propose to make the french translation ...

gionni88 2011-01-13 18:09

Re: [Announce] QRadio
 
My bad, I forgot to change About to 0.3.2.
Manage stations window works, I forgot to say that you have to hold the button to move or delete stations...
Rds is working, be sure the station you are on has rds stream.
About the glitches, have you removed the background.png file?

Yes it can be translated and it's really easy. I can provide you the translation file to edit with Qt Linguist since I don't know any french other than je t'aime.


All times are GMT. The time now is 19:13.

vBulletin® Version 3.8.8