maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   How to enable FM transmitter? (Solution in thread) (https://talk.maemo.org/showthread.php?t=38997)

raptch 2009-12-12 00:31

How to enable FM transmitter? (Solution in thread)
 
My nokia N900 (bought from NOKIA GREECE) has the FM transmitter disabled. I can not enable it from the settings menu.
My version is 1.2009.42-11.
Is there a way to enable the transmitter?
Please help me.
Thanking you in advance

EIPI 2009-12-12 00:36

Re: Nokia N900 FM transmitter disabled
 
Is it possible that the FM transmitter is not allowed in Greece, and therefore is disabled? On my box, I recall some talk about the transmitter being allowed/denied in certain jurisdictions. I'm at the airport, so cannot check ;)

etuoyo 2009-12-12 00:37

Re: Nokia N900 FM transmitter disabled
 
I don't enable from settings menu. I just srart playing and then from the drop down arrow at the top of the screen there is an option for FM Transmitter to switch it on.

raptch 2009-12-12 00:39

Re: Nokia N900 FM transmitter disabled
 
Thank you for your help. I think this is the case (disabled in Greece). Since I travel a lot abroad is there anyway to enable it?
Maybe using command line fmtx?

raptch 2009-12-12 00:40

Re: Nokia N900 FM transmitter disabled
 
It does not switch on from the player also.

EIPI 2009-12-12 00:48

Re: Nokia N900 FM transmitter disabled
 
I do not know if this will work, but you *may* be able to reflash the device with another countries firmware. No gaurantees, YMMV, etc

mmlado 2009-12-31 08:35

Re: Nokia N900 FM transmitter disabled
 
I'm from Serbia and the FM Transmitter on my N900 is also disabled. :(

I flashed it with everything I found here http://tablets-dev.nokia.com/nokia_N900.php, but none of it helped.

I thought maybe it's buried in some config file, but after flashing with emmc image, which should delete everything from the tablet it doesn't work either.
Maybe it's a hardware switch, which is turned on when they ship one to a country where it's not allowed to use it.

Did someone found a solution to this problem?

anapospastos 2009-12-31 08:48

Re: Nokia N900 FM transmitter disabled
 
There are enough mobiles phones and devices(in Greece) with fm transmitter and only n900 has it disabled. Someone expert may give us a solution??

Ads 2009-12-31 13:06

Re: Nokia N900 FM transmitter disabled
 
Hi guys. Sorry I can't help with the initial problem. But I can throw this into the mix. I'm in the UK and just received my replacement after attempting a repair from the MIC problem. Basically, this replacement has the FM transmitter disabled!
Any ideas on anything I can check? Does this mean I now have a device that was originally heading to Greece for instance (just using as an example as it seems the tr"smitter isn't allowed there).
I'm awaiting a call from Nokia. I doubt they'll give me a manual solution, but I'll let you know if they do. Call wont be until Monday at the earliest now.

ossipena 2009-12-31 13:11

Re: Nokia N900 FM transmitter disabled
 
sounds like a bug or similar.

could you please reboot your device and after that go to terminal and capture dmesg :s output.

for example:
Quote:

dmesg > /home/user/MyDocs/.documents/dmesg.txt
and after that the dmesg.txt can be found in documents -folder.

if you want to grab the file to your pc via usb, i suggest you alter the command a bit:
Quote:

dmesg > /home/user/MyDocs/dmesg.txt
then the file should be found in the root of n900 drive that appears to computer when plugging the device.

jak 2009-12-31 13:11

Re: Nokia N900 FM transmitter disabled
 
Is it connected to charger or anything else via USB? In this case, the FM transmitter does not work.

Ads 2009-12-31 13:26

Re: Nokia N900 FM transmitter disabled
 
Quote:

Originally Posted by ossipena (Post 447877)
sounds like a bug or similar.

could you please reboot your device and after that go to terminal and capture dmesg :s output.

for example:


and after that the dmesg.txt can be found in documents -folder.

if you want to grab the file to your pc via usb, i suggest you alter the command a bit:


then the file should be found in the root of n900 drive that appears to computer when plugging the device.

Hi, I've just edited this to attach the dmesg output to the following post as a file instead. Sorry for the mess I put up before.

Ads 2009-12-31 13:31

Re: Nokia N900 FM transmitter disabled
 
1 Attachment(s)
This dmesg output has now been generated without being attached to the charger and restarting.

I have also reset phone to defaults and updated firmware from 2009.41.13 to 2009.42.11 I believe they were. It still acts the same.

I thought I'd edit this post and add a file of the output instead as the code box and multiple posts was messy. Also I don't think my last output was too good - it seemed like a software restart from something to do with the charger plugged in. But anyway, any ideas would be gratefully accepted.

I have noticed the output mentions...
Code:

[    5.909545] i2c_omap i2c_omap.2: controller timed out
Am I just drawn to this because of the i2c part? I don't know if that is related to the transmitter or just something with the processor etc. Anyway, I obviously don't know enough so I'll stop babbling now!

mmlado 2009-12-31 14:40

Re: Nokia N900 FM transmitter disabled
 
1 Attachment(s)
Here is mine.

Attachment 5325

It looks like the beginning is missing. Don't know how to make the buffer bigger. :(

Hope it helps.

giannoug 2010-01-01 18:12

Re: Nokia N900 FM transmitter disabled
 
Mine is also disabled.. I also live and bought this N900 in Greece.. :(

giannoug 2010-01-01 20:43

[Solved] How to enable FM transmitter (?)
 
Click this link for more info.

Quote:

Hello there,
I'm one of those unlucky guys that live in countries where the FM transmitter is disabled.

I know this IS illegal, but I wan't to try it. So, mods, if this is against the rules.. :o

What I have "discovered" so far..
Code:

Nokia-N900-42-11:~# find / -name *fmtx*
/etc/init.d/fmtx
/etc/gconf/gconf.xml.defaults/system/fmtx
/etc/gconf/gconf.xml.defaults/schemas/system/fmtx
/etc/event.d/fmtx
/etc/dbus-1/system.d/fmtxd.conf
/lib/modules/2.6.28-omap1/fmtx-si4713.ko
/sys/module/compat_ioctl32/holders/fmtx_si4713
/sys/module/videodev/holders/fmtx_si4713
/sys/module/fmtx_si4713
/var/lib/dpkg/info/fmtx-middleware.md5sums
/var/lib/dpkg/info/maemo-statusmenu-fmtx.list
/var/lib/dpkg/info/fmtx-middleware.list
/var/lib/dpkg/info/maemo-applet-fmtx.md5sums
/var/lib/dpkg/info/fmtx-middleware.conffiles
/var/lib/dpkg/info/maemo-applet-fmtx.list
/var/lib/dpkg/info/fmtx-middleware.postinst
/var/lib/dpkg/info/maemo-statusmenu-fmtx.md5sums
/var/lib/pulse-nokia/fmtx.parameters
/var/lib/pulse-nokia/ihfandfmtx.parameters
/var/lib/gconf/system/fmtx
/usr/bin/fmtx_client
/usr/lib/hildon-control-panel/libcpfmtx.so
/usr/lib/hildon-desktop/fmtx_status_menu_item.so
/usr/sbin/fmtxd
/usr/share/applications/hildon-control-panel/cpfmtx.desktop
/usr/share/applications/hildon-status-menu/fmtx.desktop
/usr/share/gconf/schemas/fmtx.schemas

I think gconftool -g /system/fmtx/enabled has to be set to "true". I also tried it, but I don't know what type it is.. So, if anyone can help.. :rolleyes:

That's what I tried: gconftool --type string -s /system/fmtx/enabled true

qwerty12 2010-01-01 20:50

Re: How to enable FM transmitter (?)
 
Quote:

Originally Posted by giannoug (Post 449199)
I think gconftool -g /system/fmtx/enabled has to be set to "true". I also tried it, but I don't know what type it is.. So, if anyone can help.. :rolleyes:

That's what I tried: gconftool --type string -g /system/fmtx/enabled true

It's of the bool type, and -g "gets" the key's value; -s sets it. Either way, it won't help: On this N900, where I'm free to use the FM transmitter, it's set to false when it is turned off.

giannoug 2010-01-01 21:15

Re: How to enable FM transmitter (?)
 
Quote:

Originally Posted by qwerty12 (Post 449209)
It's of the bool type, and -g "gets" the key's value; -s sets it. Either way, it won't help: On this N900, where I'm free to use the FM transmitter, it's set to false when it is turned off.

Oops! Typo! Thanks.

Ads 2010-01-02 03:58

Re: How to enable FM transmitter (?)
 
Hi. any luck with this? I have only just found this thread, but I live in the UK with a disabled transmitter - so it might well be legal for me to try things! I've had a dig about some of these files myslf but I don't know enough about this just yet so haven't tried changing anything!

Best of luck to you though.

Ads 2010-01-02 04:15

Re: How to enable FM transmitter (?)
 
Having a further dig about, would I be going too far to suggest that the kernel could have been compiled with the fm transmitter configuration turned off? Would that be part of the firmware we install? I.e. different in each country/region, or would this be something else? For example, I'm in the UK, so am I running an odd bit of software to have mine disabled or could I just be looking at some common garden fault?

Blobster2k 2010-01-02 09:34

Re: How to enable FM transmitter (?)
 
@Ads - where did you get your n900 from?

i brought mine from the NFS on regent st. and the transmitter works perfectly. AFAIK short range fm broadcasts are not illegal hence the low power of the transmitter.

sgbirch 2010-01-02 09:49

Re: How to enable FM transmitter (?)
 
Quote:

Originally Posted by Ads (Post 449518)
Hi. any luck with this? I have only just found this thread, but I live in the UK with a disabled transmitter

I have a UK version of the N900 and its transmitter works fine.

Are you trying the transmitter with the USB cable unplugged? The N900 significantly reduces power when the USB is used, the following link shows how to keep it at full power:

https://bugs.maemo.org/show_bug.cgi?id=6792#c9

noobmonkey 2010-01-02 09:51

Re: How to enable FM transmitter (?)
 
Quote:

Originally Posted by Ads (Post 449532)
Having a further dig about, would I be going too far to suggest that the kernel could have been compiled with the fm transmitter configuration turned off? Would that be part of the firmware we install? I.e. different in each country/region, or would this be something else? For example, I'm in the UK, so am I running an odd bit of software to have mine disabled or could I just be looking at some common garden fault?

Got mine from MPD - in the UK, transmitter works fine.

giannoug 2010-01-02 09:57

Re: How to enable FM transmitter (?)
 
Quote:

Originally Posted by sgbirch (Post 449678)
I have a UK version of the N900 and its transmitter works fine.

Are you trying the transmitter with the USB cable unplugged? The N900 significantly reduces power when the USB is used, the following link shows how to keep it at full power:

https://bugs.maemo.org/show_bug.cgi?id=6792#c9

No. FM transmitter doesn't work at all. When you click the "FM transmitter" button on the Settings panel, a popup shows up with "FM transmitter disabled" and a "OK" button.

My other thought is that "something" is checking the IMEI. The first two digits are a country "code". For example 35 is for Greece, etc.

sgbirch 2010-01-02 10:38

Re: How to enable FM transmitter (?)
 
Quote:

Originally Posted by giannoug (Post 449685)
No. FM transmitter doesn't work at all. When you click the "FM transmitter" button on the Settings panel, a popup shows up with "FM transmitter disabled" and a "OK" button.

Try using the media player to play some audio then click the top of the screen to bring up the application menu. That causes several buttons to open. Click on "FM transmitter" and try enabling it on that menu.

anapospastos 2010-01-02 10:52

Re: How to enable FM transmitter (?)
 
Quote:

Originally Posted by sgbirch (Post 449705)
Try using the media player to play some audio then click the top of the screen to bring up the application menu. That causes several buttons to open. Click on "FM transmitter" and try enabling it on that menu.

No it's not working. I ve got a greek device too. Fm transmitter is disabled by the manufacturer. Anyone to help somehow?

giannoug 2010-01-02 10:55

Re: How to enable FM transmitter (?)
 
Quote:

Originally Posted by sgbirch (Post 449705)
Try using the media player to play some audio then click the top of the screen to bring up the application menu. That causes several buttons to open. Click on "FM transmitter" and try enabling it on that menu.

Yeap, I've tried that. It only shows "Clear current playlist" and "Save playlist" :(

Does anyone know how to change the IMEI? Well.. I'm willing to try it :p

Quote:

Originally Posted by qwerty12 (Post 449717)
What does this program return for you, people with a disabled transmitter?

Well.. I only ran this because you have many posts.. ;)
Code:

Nokia-N900-42-11:~# ./a.out
fcc


qwerty12 2010-01-02 11:03

Re: How to enable FM transmitter (?)
 
Quote:

Originally Posted by giannoug (Post 449719)
Well.. I only ran this because you have many posts.. ;)
Code:

Nokia-N900-42-11:~# ./a.out
fcc


Hehe...

It returns "fcc" for me, too. Which is odd, because I was sure that was how they were disabling it (checking to see the region and then writing it to the sysfs entry); excerpt from the kernel driver:
PHP Code:

+int si4713_set_region_preemphasis(struct si4713_device *sdevu8 preemphasis)
+{
+    
int rval 0;
+
+    switch (
preemphasis) {
+    case 
PREEMPHASIS_USA:
+        
preemphasis FMPE_USA;
+        break;
+    case 
PREEMPHASIS_EU:
+        
preemphasis FMPE_EU;
+        break;
+    case 
PREEMPHASIS_DISABLED:
+        
preemphasis FMPE_DISABLED;
+        break;
+    default:
+        return -
EINVAL;
+    }


And, then, when reading http://en.wikipedia.org/wiki/Pre-emphasis, it all made sense... :o

Best thing to do is attach a ltrace and strace log of fmtxd. Maybe someone can help you.

maxximuscool 2010-01-02 11:23

Re: How to enable FM transmitter (?)
 
I've got the North America N900 and mine is working :D, everything working perfectly. Even my battery last me more than 24hours with my quite heavy usage. About 4days of Idle or very little use. :D

giannoug 2010-01-02 11:51

Re: How to enable FM transmitter (?)
 
More info on this:
When you run
Code:

Nokia-N900-42-11:~# fmtx_client -f88500
returns
Code:

fmtx_client: ERROR: Unable to set frequency (Frequency is not currently allowed)

Ads 2010-01-02 12:24

Re: How to enable FM transmitter (?)
 
Hi, my N900 was bought in the UK. The only difference is that it had faults and has now been replaced. I got it from the UK Nokia online shop. Only my replacement has got the transmitter disabled. Everything is just as described by the previous posts. I:e. just a message saying FM transmitter disabled and no options appering in media player.
I'll try run some of those things mentioned and let you know.
Could my replacement device have been meant for another country? My IMEI no begins with 3569, but my original one with the enabled transmitter did also.

pahas 2010-01-02 18:54

Re: Nokia N900 FM transmitter disabled
 
Well officially for some reason it is disabled in Greece.

More info:

http://europe.nokia.com/support/fm-transmission

qwerty12 2010-01-03 17:13

Re: How to enable FM transmitter (?)
 
Well, I've successfully managed to trick it: http://i.imgur.com/cmbzW.png

(Yes, I know it says it's disabled, but that's the point: This N900 usually has it enabled. ;))

Release coming soon when I've cleaned up my code.

anapospastos 2010-01-03 17:14

Re: How to enable FM transmitter (?)
 
Quote:

Originally Posted by giannoug (Post 449761)
More info on this:
When you run
Code:

Nokia-N900-42-11:~# fmtx_client -f88500
returns
Code:

fmtx_client: ERROR: Unable to set frequency (Frequency is not currently allowed)

When I run
Code:

fmtx_client -f88500
returns

Code:

fmtx_client: ERROR: Unable to set frequency (Frequency is not currently allowed)
Current settings (Frequencies in kHz):
------------------------------------------------
version=1
frequency=0
freq_min=0
freq_max=0
freq_step=100
state=n/a
rds_ps=Nokia
rds_text=


pycage 2010-01-03 17:31

Re: How to enable FM transmitter (?)
 
The transmitter is a V4L2 device at /dev/radio0.
Maybe this will help. I haven't done much with it, though. But I was able to set frequencies the V4L2 way. Then there's a mixer switch for FMTX.

javispedro 2010-01-03 17:41

Re: How to enable FM transmitter (?)
 
You can bypass part of the middleware that way indeed, but I guess it's nicer to be able to use the fmtxd or you lose some of the pulseaudio "goodness".

anapospastos 2010-01-03 17:42

Re: How to enable FM transmitter (?)
 
Quote:

Originally Posted by qwerty12 (Post 451389)
Well, I've successfully managed to trick it: http://i.imgur.com/cmbzW.png

(Yes, I know it says it's disabled, but that's the point: This N900 usually has it enabled. ;))

Release coming soon when I've cleaned up my code.

Though, if u disabled it u can enabled it too right?

Ads 2010-01-04 00:09

Re: How to enable FM transmitter (?)
 
Quote:

Originally Posted by qwerty12 (Post 451389)
Well, I've successfully managed to trick it: http://i.imgur.com/cmbzW.png

(Yes, I know it says it's disabled, but that's the point: This N900 usually has it enabled. ;))

Release coming soon when I've cleaned up my code.

That's great news! Welldone.
In my mind you are now competing with Nokia Care as I'll hopefully hear from them tomorrow - but unless I'm being highly pessimistic, I can see them telling me I need another repair! I hope they can sort something with a quick program or software patch, but I don't know if they're likely to give me anything to sort it.

Oh well, I'll keep you updated, though anything to stop me sending the phone off for another month of waiting would be greatly appreciated!

go1dfish 2010-01-04 04:45

Re: How to enable FM transmitter (?)
 
Quote:

Originally Posted by giannoug (Post 449199)
Hello there,
I'm one of those unlucky guys that live in countries where the FM transmitter is disabled.

I know this IS illegal, but I wan't to try it. So, mods, if this is against the rules.. :o

Just to help your case, this thread should not be deleted.

It may be illegal to have the transmitter on in your home country, but there is definitely use cases (travel to other countries) where enabling FM transmitter on your localised firmware should be clearly within applicable law.

anapospastos 2010-01-04 09:01

Re: How to enable FM transmitter (?)
 
Quote:

Originally Posted by go1dfish (Post 452086)
Just to help your case, this thread should not be deleted.

It may be illegal to have the transmitter on in your home country, but there is definitely use cases (travel to other countries) where enabling FM transmitter on your localised firmware should be clearly within applicable law.

There are many devices in Greece which got fm transmitter and nothing happens with law etc. This thread is important.


All times are GMT. The time now is 18:15.

vBulletin® Version 3.8.8