ppriyank
|
2010-04-04
, 18:09
|
Posts: 133 |
Thanked: 10 times |
Joined on Sep 2009
@ Long Island, NY
|
#51
|
|
2010-04-04
, 18:22
|
Posts: 133 |
Thanked: 10 times |
Joined on Sep 2009
@ Long Island, NY
|
#52
|
|
2010-04-04
, 19:09
|
Posts: 133 |
Thanked: 10 times |
Joined on Sep 2009
@ Long Island, NY
|
#54
|
|
2010-04-04
, 20:48
|
Posts: 739 |
Thanked: 220 times |
Joined on Dec 2009
@ Surrey, UK
|
#55
|
Here is an example of mine:
If you are using simple-fmtx-widget and have set it up to execute fm-boost you can now turn on your fm transmitter and immediately tune it down by just tapping the widget.Code:#!/bin/sh /bin/echo 120 > /sys/class/i2c-adapter/i2c-2/2-0063/power_level /usr/share/lfocus/v4l2-ctl -d /dev/radio0 -f 87.5 exit 0
Have fun!
|
2010-04-04
, 20:49
|
Posts: 133 |
Thanked: 10 times |
Joined on Sep 2009
@ Long Island, NY
|
#56
|
|
2010-04-04
, 21:09
|
|
Posts: 2,041 |
Thanked: 1,066 times |
Joined on Mar 2006
@ Houston
|
#57
|
|
2010-04-04
, 23:15
|
Posts: 203 |
Thanked: 375 times |
Joined on Nov 2009
|
#58
|
I have the transmit widget with the boost. So how do i mod my fm transmitter to frequencies less than 88.1 with a single press of the transmit widget?
Thanks
sudo gainroot
apt-get install nano
nano /sbin/fm-boost
|
2010-04-04
, 23:42
|
|
Posts: 2,869 |
Thanked: 1,784 times |
Joined on Feb 2007
@ Po' Bo'. PA
|
#59
|
Yay! Got it!
According to the drivers documentation found on http://www.mjmwired.net/kernel/Docum...nux/si4713.txt the transmitters lower range is 76 MHz. However, the limit on mine is set to 87.5 MHz. I guess this depends on where you bought the device as 87.5 is also the lower limit here in Germany.
You can check the limits on your device/region by executing
The transmitters properties (such as the current frequency) can be changed using a tool called v4l2-ctl. I have found a binary compiled for the N900 in this thread:Code:cat /sys/class/i2c-adapter/i2c-2/2-0063/region_bottom_frequency
http://talk.maemo.org/showthread.php?t=46427
Go there, download and install the provided package (lfocus).
After installing lfocus you should have the tool v4l2-ctl installed in /usr/share/lfocus/v4l2-ctl.
Now start your FM transmitter. v4l2-ctl will work only while the transmitter is on.
Set the frequency by executing the following command as root:
This will set the frequency to 87.5 MHz. Change the value to your desire within the valid range.Code:/usr/share/lfocus/v4l2-ctl -d /dev/radio0 -f 87.5
PLEASE INFORM YOURSELF ABOUT THE LOCAL REGULATIONS FOR FM TRANSMITTERS AND MAKE SURE THAT YOU DO NOT VIOLATE THEM!!!
Optionally you can change fm-boost to switch frequency every time by adding the above command in the file /sbin/fm-boost. Make sure you insert it after the "#!/bin/sh" and before "exit 0"
Here is an example of mine:
If you are using simple-fmtx-widget and have set it up to execute fm-boost you can now turn on your fm transmitter and immediately tune it down by just tapping the widget.Code:#!/bin/sh /bin/echo 120 > /sys/class/i2c-adapter/i2c-2/2-0063/power_level /usr/share/lfocus/v4l2-ctl -d /dev/radio0 -f 87.5 exit 0
Have fun!
The Following 3 Users Say Thank You to YoDude For This Useful Post: | ||
|
2010-04-04
, 23:46
|
|
Posts: 2,041 |
Thanked: 1,066 times |
Joined on Mar 2006
@ Houston
|
#60
|
it is actually already written in my previous post. if you don't know how to edit a file on the N900 try this:
there are different editors available. I for one prefer "nano". other options are "vi" (a bit more complex) and afaik midnight commander or "mc" for short. The following steps will explain how to edit files using nano.
Get superuser (root) rights. Install rootsh if not done yet, open the terminal and type
Install nanoCode:sudo gainroot
Answer any questions with "y" for yes.Code:apt-get install nano
Next, open the file you want to edit, in this case /sbin/fm-boost
You can now edit the contents of the file. after you are done type ctrl+x to exit the editor. A question will pop up on the bottom asking you if you want to save your changes. Type "y" and press enter and you are done.Code:nano /sbin/fm-boost