![]() |
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 |
All times are GMT. The time now is 15:42. |
vBulletin® Version 3.8.8