maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed) (https://talk.maemo.org/showthread.php?t=60567)

Harick 2010-08-27 23:59

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
i had the same issue trying to edit the file, just replaced it with maximus's, with cp command as root, mv didnt work.

les_garten 2010-08-28 00:05

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Fcron solves the problem with a fcrontab entry

Here's mine:

Nokia-N900:~# fcrontab -l
20:02:31 listing root's fcrontab
!nolog(true)

# Update Locate DB
0 3 * * * /usr/bin/updatedb

# Bluetooth off
0 22 * * * /usr/bin/phone-control --btoff

# Bluetooth ON
30 10 * * * /usr/bin/phone-control --bton

# Cell Off Nightly
0 0 * * * /usr/bin/phone-control --celloff

# Cell On Dailey
0 8 * * * /usr/bin/phone-control --cellon

# Set Region from 2 to 4
@ 120 echo 4 > /sys/class/i2c-adapter/i2c-2/2-0063/region


Thought I would just include the whole crontab for FUN.

This sets it every 120 min. You could do just one at start, or every 30 min for that matter. It isn't much of a draw on energy or resources.

N900@900MHz 2010-08-28 16:13

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
region works very well,until reboot. It changes back to 2. Any idea how to solve this??

maxximuscool 2010-08-29 12:46

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Quote:

Originally Posted by N900@900MHz (Post 800830)
region works very well,until reboot. It changes back to 2. Any idea how to solve this??

Shouldn't change back to 2 though. Hmm.. I see I got that too. I'll got to do more tethering and hope to find a perminant solution for you guys.

jacekowski 2010-08-29 14:56

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
well, region 4 problem was fixed long time ago (http://jacekowski.org/Maemo/FMTXD#comment-16) and i'm quite amazed how people managed to get it to work without changing module/region ( which is impossible )

les_garten 2010-08-29 15:24

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Quote:

Originally Posted by jacekowski (Post 801468)
well, region 4 problem was fixed long time ago (http://jacekowski.org/Maemo/FMTXD#comment-16) and i'm quite amazed how people managed to get it to work without changing module/region ( which is impossible )

So "4" comes from the FMTXD binary?

I'm not clear on this?

I have a crontab setup for it, that won't work?

YoDude 2010-08-29 16:17

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Quote:

Originally Posted by jacekowski (Post 801468)
well, region 4 problem was fixed long time ago (http://jacekowski.org/Maemo/FMTXD#comment-16) and i'm quite amazed how people managed to get it to work without changing module/region ( which is impossible )

As I thought...

BTW; do you happen to know the offset where "Pilot" can be disabled?

maxximuscool 2010-08-29 22:58

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Quote:

Originally Posted by jacekowski (Post 801468)
well, region 4 problem was fixed long time ago (http://jacekowski.org/Maemo/FMTXD#comment-16) and i'm quite amazed how people managed to get it to work without changing module/region ( which is impossible )

Can you suggest a better way to do a perminant hack on this?
This will surely helping people in Asian countries like Japan, and India. I know for sure that Japan using 76Mhz to 90Mhz. I found some things in the configuration files after spent a few hours looking through the core of this.

The regional setting will always changed back to default value "2" when restarted.
So I'm thinking of writting a simple applet script to do do a perminant solution but I'm short in knowledge of making shell batch script.
Also If someone could link me to the resource or share me the source code of the cpu applet then please let me know.

Maxxi

les_garten 2010-08-29 23:01

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Quote:

Originally Posted by maxximuscool (Post 801786)
Can you suggest a better way to do a perminant hack on this?
This will surely helping people in Asian countries like Japan, and India. I know for sure that Japan using 76Mhz to 90Mhz. I found some things in the configuration files after spent a few hours looking through the core of this.

The regional setting will always changed back to default value "2" when restarted.
So I'm thinking of writting a simple applet script to do do a perminant solution but I'm short in knowledge of making shell batch script.
Also If someone could link me to the resource or share me the source code of the cpu applet then please let me know.

Maxxi

Is there something wrong with how I did it above?

maxximuscool 2010-08-29 23:10

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Quote:

Originally Posted by les_garten (Post 801788)
Is there something wrong with how I did it above?

Can you explain more to this Fcon?
Just PM and we can do this over the email instead. Much easier to communicate than spamming the thread :)

I'm interested in getting this FM to be perminantly regional free for everyone.
Since this an opensource then It deserves to be open and anyone can make changes to the device setting.

maxximuscool 2010-08-29 23:17

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Quote:

Originally Posted by jacekowski (Post 801468)
well, region 4 problem was fixed long time ago (http://jacekowski.org/Maemo/FMTXD#comment-16) and i'm quite amazed how people managed to get it to work without changing module/region ( which is impossible )

yes, I'm planing to use your fixed for the last resort. I want to make this hack as noobies friendly as much as possible. By replacing some of the Kernel modules may result in consequences. But for now I have a really good Idea to work around this issue without replacing the fmtx-si4713.ko inside the system directory.

If something gone wrong in there, there will be no turning back therefore best way to avoid replacing any system files as much as possible. An alternative is there for us to do it but I need some help with tutorial on how to create a simple app plugin.

maxxi

TiagoTiago 2010-08-30 01:06

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
so i just download the one from http://maemo.jacekowski.org/binary/fmtx-si4713.ko instead of the one from the first post?

les_garten 2010-08-30 02:34

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Fcron is an implementation of crontab.

It runs "things" on a schedule.

It is most likely in devel repos.

You would need some things to do this, most have it already.

1) Rootsh
2) devel repos enables
3) I would recommend Nano as a text editor installed.
4) Install fcron
5) google fcrontab for info on how to use
6) edit /etc/fcron.conf to change the editor line to be vi or nano when fcrontab -e is evoked, nano would be the easiest. Leafpad may work.
7) Use this line in fcrontab to set the region every 60 min:

# Set Region from 2 to 4
@ 60 echo 4 > /sys/class/i2c-adapter/i2c-2/2-0063/region

There is also a fcrontab option to do it at first boot, but I don't remember it. I'm sure somebody will know it.

maxximuscool 2010-08-30 22:32

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Quote:

Originally Posted by les_garten (Post 801889)
Fcron is an implementation of crontab.

It runs "things" on a schedule.

It is most likely in devel repos.

You would need some things to do this, most have it already.

1) Rootsh
2) devel repos enables
3) I would recommend Nano as a text editor installed.
4) Install fcron
5) google fcrontab for info on how to use
6) edit /etc/fcron.conf to change the editor line to be vi or nano when fcrontab -e is evoked, nano would be the easiest. Leafpad may work.
7) Use this line in fcrontab to set the region every 60 min:

# Set Region from 2 to 4
@ 60 echo 4 > /sys/class/i2c-adapter/i2c-2/2-0063/region

There is also a fcrontab option to do it at first boot, but I don't remember it. I'm sure somebody will know it.

I've developed a small applet plugin to accomidate this issue already. It will be available for people to install very soon. Once installed, you don't need to change the region again. It will be done automatically at startup.

Also, I'm not going to add fmtxd into the script yet, so the first hack has to be done before installing this.

hawaii 2010-08-31 01:39

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Why on EARTH would you need a cronjob to do this?

Change it on boot using an /etc/event.d/ script and be done with it. There's no reason you need to constantly echo the value in.

/etc/event.d/region-swap
start on started hildon-desktop
stop on starting shutdown
console none
service

script

echo 4 > /sys/class/i2c-adapter/i2c-2/2-0063/region

end script

And that's it. If you want it controlled by a cronjob, and only run at boot, simply use @reboot.

les_garten 2010-08-31 02:00

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Quote:

Originally Posted by hawaii (Post 802814)
Why on EARTH would you need a cronjob to do this?

Change it on boot using an /etc/event.d/ script and be done with it. There's no reason you need to constantly echo the value in.

/etc/event.d/region-swap
start on started hildon-desktop
stop on starting shutdown
console none
service

script

echo 4 > /sys/class/i2c-adapter/i2c-2/2-0063/region

end script

And that's it. If you want it controlled by a cronjob, and only run at boot, simply use @reboot.

Thanx! I knew someone would pipe in about the @reboot option.

n.b. tried the @reboot option and it did not work, BTW.

your startup script did BTW, thanx!

maxximuscool 2010-08-31 05:49

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
can anyone help me packaging my little app?
I tried and got it copmpiled but didn't seems to get the files into the directory.

maxximuscool 2010-09-02 22:53

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
1 Attachment(s)
I've decided to upload my little fix to the "region" changes here.

You can download it from here.

Update: Sorry found a little bug with the previous version. Now all fixed. Please download again and replace the old one with this.

YoDude 2010-09-05 01:24

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Quote:

Originally Posted by maxximuscool (Post 805737)
I've decided to upload my little fix to the "region" changes here.

You can download it from here.rsion. Now all fixed. Please download again and replace the old one with this.

I don't need and can't use lower frequencies so this is way OT...
I read in this thread that you post from NZ.

You OK dude?
>> http://www.youtube.com/watch?v=KFCJL...=youtube_gdata

jukey 2010-09-06 07:18

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
I was able to install your modifications. Now I can activate a frequency like 80.0 Mhz but if I try to disable the fmtx I get the "unable to use fmtx" message. If I switch back to - let's say - 90.0 Mhz I'm able to disable the transmitter again.

So in short terms:
Enabling works fine
Disabling does not work
(both in the GUI)

Best regards Uwe

N900@900MHz 2010-09-06 10:58

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
hello,
idownloaded the 2 files
fmtxd.zip (13.4 KB, 268 views)
FMTX-MaxxiLimit (bug Fixed) .zip (4.2 KB, 8 views)
and installed them.

I don't get the stars in the status menu, i have the 3 files from fmtx-maxxilimit copied in the right directories, and followed the instuctions for terminal. Stil have region problem.
Any ideas?

bocaJ 2010-09-07 06:13

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
I can confirm Jukey and N900@900's problems.

Jukey - as a workaround, you can go into the terminal and

root
killall fmtxd
fmtxd -d

Afterwords, things seem to work OK (i.e., you can start/stop the transmitter on region 4 frequencies). However, this is probably not the best solution if you're trying to get you're non-technically inclined friend in the passenger seat to turn on/off the FM Transmitter.

Any suggestions for getting the default power to 120 would be great!

maxximuscool 2010-09-07 09:58

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
@bocaJ,
Power is already default to 120 with the fmtxd file.

Can you guys please download the example file on the 3rd post on page 1.

Test it out and it does not work then let me know.

N900@900MHz 2010-09-07 10:34

Re: FM-Transmitter fmtxd file modification 76Mhz->107Mhz
 
Quote:

Originally Posted by maxximuscool (Post 790020)
Tutorial for some people who needs help.
http://img839.imageshack.us/img839/842:D7/steps.jpg


@ N900@N900Mhz,
put the file into your:

/usr/lib/hildon-desktop/example.py
/usr/share/applications/hildon-status-menu/example.desktop

Xterminal:
root
killall hildon-status-menu

This help me understanding what going on. Otherwise it's hard to debug. Unless i'm holding the device.

did this,
status menu dissapeard for a sec. or two. further nothing

bocaJ 2010-09-07 15:54

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Quote:

Originally Posted by maxximuscool (Post 809373)
@bocaJ,
Power is already default to 120 with the fmtxd file.

Can you guys please download the example file on the 3rd post on page 1.

Test it out and it does not work then let me know.

Will try the script after work. FYI though, the reason I doubted the power level is that I tuned my desk radio to a local station and set the transmitter to the same frequency. I could only hear the N900 when I literally set it on top of the antenna. Does this seem right?

bocaJ 2010-09-07 20:37

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Update:

I followed your tutorial for <strike>dumb people</strike> people who need help - I now have an "@" symbol in the menu, and when I click on it, I see "Example Message". Now if only I saw the southern cross :D

les_garten 2010-09-07 20:58

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Quote:

Originally Posted by bocaJ (Post 810006)
Update:

I followed your tutorial for <strike>dumb people</strike> people who need help - I now have an "@" symbol in the menu, and when I click on it, I see "Example Message". Now if only I saw the southern cross :D

Click it twice and you see the rings around Uranus...

Does that help?

yorg 2010-09-07 21:49

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
I love you guys :)

sla_erick 2010-09-13 04:35

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Is the information from the first post updated as of 09/12/10?do the attachtments are working and fixed? sorry for my bad english :p

Arrancamos 2010-09-13 04:40

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
all this is too unclear and complicated.sry

bocaJ 2010-09-13 07:05

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
I'm sorry, let me clarify:

I still do NOT see the southern stars, and at each reset, the region changes back to 2. I also may be having some trouble getting the power boost working, so I would like input from others (see my last post)

@Maxximuscool - thank you very much for all your work to date on this issue. I'm still hoping these bugs can be overcome, if you need me to do any more trouble shooting let me know.

sponka 2010-09-13 11:44

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
I don't see stars either, have no idea about region, but it's working -- have clear sound which was impossible to achieve before hack.

Thanks!

onasre 2010-09-13 18:29

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
thank you , i done it but iwill have to try it tomorrow my brother borrowed my carfor awhile :)

D4rKlar 2010-09-14 11:25

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Firstly many thanks to maxxi, jacekowski and querty (for the status menu applet), this is awesome! :D

Couple of things, I also am not seeing stars in the status menu although everything seems to work fine and the result of

cat /sys/class/i2c-adapter/i2c-2/2-0063/power_level

is 120.

Secondly, is there a reason why the Simple FMTX widget wont work with this? I'm holding off re-installing it in case there are issues,

Kind Regards,
D4rKlar

maxximuscool 2010-09-14 12:02

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Quote:

Originally Posted by D4rKlar (Post 815692)
Firstly many thanks to maxxi, jacekowski and querty (for the status menu applet), this is awesome! :D

Couple of things, I also am not seeing stars in the status menu although everything seems to work fine and the result of

cat /sys/class/i2c-adapter/i2c-2/2-0063/power_level

is 120.

Secondly, is there a reason why the Simple FMTX widget wont work with this? I'm holding off re-installing it in case there are issues,

Kind Regards,
D4rKlar

I don't know why your device doesn't show the stars. May be some packages dependencies are missing for python.

But I'll post a work around toward this issue tomorrow. If python won't work on your device then Shell script will :)

Yes simple FMTX widget works but you'll running into cpu hogging after 24hours of putting it on your home screen. It will lead to lagginess and freezes. The problem is not from the hack. It's how the N900 handle the hildon-desktop. It's a bug.

So unless you want to keep rebooting your device every day. I'll keep this update tomorrow.

D4rKlar 2010-09-14 12:28

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Thanks for your swift reply mate! :)

The widget was useful, but not necessary now with Querty12's status applet so no worries on that one, I'd rather save my battery/avoid re-boots I reckon!

RE the stars again not really an issue as all frequencies are available and I can start/stop transmission with absolutely no problem, as it all works the way I see it is if it isn't broken there's no need to fix it!

Just thought I'd let you and others know that in some cases the stars won't appear but everything will work fine ;)

Again many thanks for all your hard work,

Kind Regards,
D4rKlar

WhiteWolf 2010-09-23 15:30

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
And you can unlock the application in order to receive FM radio from 76 MHz?

D4rKlar 2010-09-23 16:17

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
http://i56.tinypic.com/2qlaakj.png

http://i54.tinypic.com/2n14yh4.png

I will say that the car stereo only goes down to 87.5 so for day to day use that's as low as I've tried.

Kind Regards,
D4rKlar

WhiteWolf 2010-09-23 17:02

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
I mention this because in my area the frequencies are saturated.

We tried to communicate from one car to another and would be easier if we could use frequencies below 87 MHz.

We use multi-band receivers and spectrum width to receive.

Marlon 2010-09-23 17:39

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Just got round to installing, works great. Now on 87.5 which is unused and thus clear.

Thanks


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

vBulletin® Version 3.8.8