![]() |
Re: N900 Radio Transmitter: ways to amplify the radio signal
Yep my idea works. I'll post a how-to tomorrow. Really need sleep now.
|
Re: N900 Radio Transmitter: ways to amplify the radio signal
Quote:
|
Re: N900 Radio Transmitter: ways to amplify the radio signal
The best way to amplify the radio signal is (other than using headphones or even the USB cable) playing with "external" cables. Just wrapping a VGA cable does a lot here, but still, your mileage may vary...
|
Re: N900 Radio Transmitter: ways to amplify the radio signal
Quote:
|
Re: N900 Radio Transmitter: ways to amplify the radio signal
It'd be nice if the FM transmitter strenght could be displayed/adjusted by the FM transmitter widget. :)
|
Re: N900 Radio Transmitter: ways to amplify the radio signal
Quote:
|
Re: N900 Radio Transmitter: ways to amplify the radio signal
I initially thought the same regarding the RDS. However, the PS field is only 8 characters and very few receivers support the RT field (64 characters).
It may be possible to do some clever scrolling in the 8 character PS field, but the RDS data rate is very slow (1187.5 bps). |
Re: N900 Radio Transmitter: ways to amplify the radio signal
Quote:
But it's no big secret; fmtxd provides a D-Bus interface for doing so; the above utilises it. There's also the preinstalled fmtx_client accessible from the X Terminal which also lets you set it, using that interface. fmtxd does nothing special to set it, it just writes to a file in /sys. |
Re: N900 Radio Transmitter: ways to amplify the radio signal
Quote:
Do you have any input on a means to change the transmitter output from the desktop. |
Re: N900 Radio Transmitter: ways to amplify the radio signal
Oh good one.
Well what I did was 3 things: 1. Become root, run visudo. In that text file [be careful] add line: user ALL = NOPASSWD: /usr/local/bin/118 ie type O user ALL = NOPASSWD: /usr/local/bin/118 [ESC] :x 2. Make a file "/usr/local/bin/118" with contents: Code:
#!/bin/sh Code:
chmod 755 /usr/local/bin/118 /usr/share/applications/hildon/118.desktop With contents: Code:
[Desktop Entry] I am not an expert on hildon *.desktop files and running this command waits for some sort of X feedback, so you need to multi-task out and it disappears. Please someone tidy up that part of it. |
Re: N900 Radio Transmitter: ways to amplify the radio signal
Quote:
I have put those two files you create in that in a tarball you get download onto the N900 directly. So run this as root: Code:
wget http://www.dward.us/software/118.tar Code:
mv 118 /usr/local/bin/ |
Re: N900 Radio Transmitter: ways to amplify the radio signal
I was trying to get the exact same thing running and it's great that someone got it working! =)
Anyway, I hit a bump trying to follow your steps: Nokia-N900-42-11:~# visudo visudo: no editor found (editor path = /bin/vi) Any clue? I'm using an ssh connection and logged in as root. |
Re: N900 Radio Transmitter: ways to amplify the radio signal
Quote:
Just link it to vim, you do have vim installed? Code:
ln -s /usr/bin/vim /bin/vi |
Re: N900 Radio Transmitter: ways to amplify the radio signal
Quote:
|
Re: N900 Radio Transmitter: ways to amplify the radio signal
Nice. Works like a charm. I renamed it though to RadioHACK =)
|
Re: N900 Radio Transmitter: ways to amplify the radio signal
Quote:
Now to make the GUI side effect much better. I am installed the Maemo 5 SDK, so maybe I will make this a whole lot better and add a dialog box to say the command was successful. |
Re: N900 Radio Transmitter: ways to amplify the radio signal
Haha nice. Don't forget to add the permission setting steps to your guide with the tar ball!
chmod 755 /usr/local/bin/118 ;) |
Re: N900 Radio Transmitter: ways to amplify the radio signal
Quote:
|
Re: N900 Radio Transmitter: ways to amplify the radio signal
I wrote to Pekka Ronkko, author of the simple-fmtx widget, to enclose the hack in the next version of his package. Best solution imho.
|
Re: N900 Radio Transmitter: ways to amplify the radio signal
Wrote the following quick & dirty script to use with desktop-cmd-exec
Create a file with the following code to /usr/local/bin/toggleradio.sh Code:
#!/bin/bash add Code:
user ALL = NOPASSWD: /usr/local/bin/toggleradio.sh This will enable the rf transmitter if it's disabled and raise the power and disabled it if it's enabled. Configure desktop-cmd-exec to run it on click. The command line to insert to desktop-cmd-exec is 'sudo /usr/local/bin/toggleradio.sh' Note, needs bash which you can get by Code:
apt-get install bash Made a new version of the script that's not dependent on bash & has some optional parameters to set the xmit power / freq Code:
#!/bin/sh |
Re: N900 Radio Transmitter: ways to amplify the radio signal
Quote:
Also by roo do you mean root? I'm a complete novice by the way, sorry if this is all a bit obvious |
Re: N900 Radio Transmitter: ways to amplify the radio signal
root yes.
wget is not installed by default. You can get it by running 'apt-get install wget' (as root) |
Re: N900 Radio Transmitter: ways to amplify the radio signal
Quote:
|
Re: N900 Radio Transmitter: ways to amplify the radio signal
hi, i have had success using echo in the terminal.
following the instructions from daveqb for a desktop shortcut for it has not worked...i have a desktop shortcut, however it is not making any changes. I may have done something wrong, wanted to let you know though just in case! |
Re: N900 Radio Transmitter: ways to amplify the radio signal
Quote:
|
Re: N900 Radio Transmitter: ways to amplify the radio signal
nice one!
it seems that frequency setting is disabled on my phone I get: "fmtx_client: ERROR: Unable to set frequency (Frequency is not currently allowed)" or am I doing something wrong? |
Re: N900 Radio Transmitter: ways to amplify the radio signal
Quote:
|
Re: N900 Radio Transmitter: ways to amplify the radio signal
Messed around with the scripts a little and came up with some stuff that doesn't require any outside apps etc to work.
Edit a file called /opt/bin/boostfm.sh Code:
!/bin/sh Code:
user ALL = NOPASSWD: /opt/bin/boostfm.sh Code:
[Desktop Entry] |
Re: N900 Radio Transmitter: ways to amplify the radio signal
|
Re: N900 Radio Transmitter: ways to amplify the radio signal
Sorry if this is asked before, I did some searching, but could not find it. Seems there are some experts on this thread..
Is there a way to use bluetooth for my Parrot carkit and use the FM tramsmitter as well? I find the N900 'seas' the Parrot as 'an earphone' and I get the music through bluetooth.. The volume is very low and I can't adjust it on Parrot or caraudio or N900! So I would like having a carkit and fm tfransmitter for my music. Thx! |
Re: N900 Radio Transmitter: ways to amplify the radio signal
Quote:
So i just replaced the Exec-Line to "Exec= /usr/bin/sudo /usr/local/bin/boostfm.sh" The only problem is that it starts a window with nothing in it and just the name BoostFM. If i switch to the Desktop it is gone and worked. Don't know how to fix this problem. greetings Christopher |
Re: N900 Radio Transmitter: ways to amplify the radio signal
Quote:
|
Re: N900 Radio Transmitter: ways to amplify the radio signal
Something broke!
I followed the instructions and everything went well... icon is present and when pushed window opens and closes. Tested it on the radio and it rocks! I came back in to write this post and went to terminal to see what level it reports and couldn't gain root. :eek: xTerm reports: sudoers file: syntax error, line 75 <<< sudo: parse error in etc/sudoers near line 75 Now Applications Manager reports "operation failed" and shows no catalogues installed. Media player does not show any songs and will not close. :eek::eek: I would hate to reflash. Is there anything I can try? Quote:
|
Re: N900 Radio Transmitter: ways to amplify the radio signal
You could try ssh as root locally on the N900 or from something else, and fixing the /etc/sudoers file, assuming you have the ssh server running.
|
Re: N900 Radio Transmitter: ways to amplify the radio signal
Quote:
For future reference: Use visudo instead of editing sudoers directly. visudo tells you if a line will **** up the entire sudo system when exiting the editor. |
Re: N900 Radio Transmitter: ways to amplify the radio signal
Quote:
EXACTLY!! I was going to write that as I was reading through the last few [new] pages as alot of people are suggesting editing the file directly. But now someone has made a good example of themselves for the benefit of the community. Thanks YoDude ;) |
Re: N900 Radio Transmitter: ways to amplify the radio signal
Quote:
|
Re: N900 Radio Transmitter: ways to amplify the radio signal
I suspect people cut and paste the line and ended up with a blank line in their sudoers file. Sorry but the code tags seem to add a blank line wether I want it or not.
Agree with visudo comment. I actually used that myself guess I should have specified that. This is why I suck at writing docs |
Re: N900 Radio Transmitter: ways to amplify the radio signal
Quote:
I finally learned this: :D I also learned that I made quite a few changes since I backed up last... ..and, if you package this up in a deb they will write songs about you. :) It works and it adds so much value to the N900. The FM transmitter will now act as most expect it to and not the way it was shipped. Cheers. As a bonus, if my Chinook & Diablo re-flashing history is a guide, this means a new firmware image will be available within the next two or three days :rolleyes: Kind of like washing your car will make it rain. :D |
Re: N900 Radio Transmitter: ways to amplify the radio signal
Quote:
But it might be fast enough to show "RINGING" when there's an incoming call and "YOUR MOM" when it's someone special :-) |
All times are GMT. The time now is 02:15. |
vBulletin® Version 3.8.8