|
2010-04-05
, 00:32
|
Posts: 203 |
Thanked: 375 times |
Joined on Nov 2009
|
#62
|
|
2010-04-08
, 04:00
|
|
Posts: 2,869 |
Thanked: 1,784 times |
Joined on Feb 2007
@ Po' Bo'. PA
|
#63
|
Yay! Got it! ...
<the crowd goes wild>
...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:
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-10
, 22:03
|
Posts: 739 |
Thanked: 220 times |
Joined on Dec 2009
@ Surrey, UK
|
#64
|
|
2010-04-11
, 12:16
|
Posts: 5 |
Thanked: 1 time |
Joined on Jan 2008
|
#65
|
Strange behaviour testing this. I set it to 87.5 which works fine for the most part but sometimes I start picking up a black radio station apparently on that frequency. Now the odd thing is the station is fairly strong on that frequency but if I unplug the N900 charger from the car's cigarette lighter the station disappears.
It seems that the car cigarette charger is affecting the performance of the FM transmitter. Is there a specific type of charger that can be purchased that doesn't produce this sort of scenario?
|
2010-04-12
, 18:27
|
Posts: 3 |
Thanked: 3 times |
Joined on Apr 2010
|
#66
|
[Desktop Entry]
Encoding=UTF-8
Name=Set Frequency
GenericName=Set FM Transmitter signal to 87.5
Exec=osso-xterm "sh /home/user/StartFM.sh"
Icon=fm-boost-64
X-Osso-Type=application/x-executable
X-HildenDesk-ShowInToolbar=false
Terminal=true
Type=Application
StartupNotify=true
/usr/bin/fmtx_client -p 1
/bin/echo 120 > /sys/class/i2c-adapter/i2c-2/2-0063/power_level
/usr/share/lfocus/v4l2-ctl -d /dev/radio0 -f 87.5
The Following 3 Users Say Thank You to R4z8r For This Useful Post: | ||
|
2010-04-13
, 00:55
|
|
Posts: 2,869 |
Thanked: 1,784 times |
Joined on Feb 2007
@ Po' Bo'. PA
|
#67
|
Hey everyone,
first of all thanks for this thread, really helped me out to get normal sound out of my speakers in my car!
Secondly, I've tried to edit the fm-boost file to make it set the frequency to 87.5 automatically, but that didn't work for me. Now I've made 2 files, to start everything automatically;
- setfmfreq.desktop file inside /usr/share/applications/hildon for starting it via one single click. Content of that file is:
- StartFM.sh inside /home/user which contains:
I've created this to make everything set for 87.5( since I'm on the road alot that's the only frequency I can really use ). Now is my problem that I also want to start the mediaplayer and play a song automatically as well. When I try to start the media player via xterminal/script it just never comes up( only comes up when I press on "Mediaplayer" on my desktop or inside my menu for some reason ). Does anyone have experience with this?
|
2010-04-13
, 00:58
|
|
Posts: 2,869 |
Thanked: 1,784 times |
Joined on Feb 2007
@ Po' Bo'. PA
|
#68
|
Mine won't let me be plugged in to the cigarette charger and use the fm transmitter at the same time....it tells me "please remove from charger"...weird
|
2010-04-13
, 07:33
|
Posts: 3 |
Thanked: 3 times |
Joined on Apr 2010
|
#69
|
I have done as I think you meant. I made two files containing the appropriate scripts and then placed them in the directories you specified and have rebooted.
I was expecting to find two FM Boost icons in my application manager. One for "FM Boost" proper and one for your "Set Frequency" or "StartFM".
Am I warm?
I only have the original FM Boost app showing and it behaves as it always did.
I know I'm slow like that so please straighten me out.
|
2010-04-14
, 02:07
|
|
Posts: 2,869 |
Thanked: 1,784 times |
Joined on Feb 2007
@ Po' Bo'. PA
|
#70
|
Yeah, you're warm. The problem of my script is that it cant start mediaplayer automatically, when I try to start it via my script mediaplayer just crashes.
Open the file you want to edit (again, get superuser rights before that if you need to edit system files)