maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   N900 Radio Transmitter: ways to amplify the radio signal (https://talk.maemo.org/showthread.php?t=38582)

DaveQB 2010-01-03 14:26

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.

YoDude 2010-01-03 14:43

Re: N900 Radio Transmitter: ways to amplify the radio signal
 
Quote:

Originally Posted by DaveQB (Post 451167)
Yep my idea works. I'll post a how-to tomorrow. Really need sleep now.

Looking forward to it mate... Thanks!

javispedro 2010-01-03 17:37

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...

twaelti 2010-01-03 18:41

Re: N900 Radio Transmitter: ways to amplify the radio signal
 
Quote:

Originally Posted by optimaxxx (Post 449540)
have people covered the fact that the transmitter's digital?

It isn't digital. It's a classic analog FM transmitter, but includes RDS (Radio Data System) information. Your old car's radio doesn't have RDS, the new one has.

Arif 2010-01-03 20:36

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. :)

YoDude 2010-01-03 21:02

Re: N900 Radio Transmitter: ways to amplify the radio signal
 
Quote:

Originally Posted by twaelti (Post 451498)
It isn't digital. It's a classic analog FM transmitter, but includes RDS (Radio Data System) information. Your old car's radio doesn't have RDS, the new one has.

Yup... The next thing to find is where the RDS info is stored so it can be personalized or even hacked to contain dynamic info passed from the media player or other apps.. :)

xmob 2010-01-03 21:27

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).

qwerty12 2010-01-03 21:35

Re: N900 Radio Transmitter: ways to amplify the radio signal
 
Quote:

Originally Posted by YoDude (Post 451639)
Yup... The next thing to find is where the RDS info is stored so it can be personalized or even hacked to contain dynamic info passed from the media player or other apps.. :)

http://maemo.org/packages/view/fmrdsnotify/

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.

YoDude 2010-01-03 22:30

Re: N900 Radio Transmitter: ways to amplify the radio signal
 
Quote:

Originally Posted by qwerty12 (Post 451667)
http://maemo.org/packages/view/fmrdsnotify/

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.

Well there ya go, thanks.

Do you have any input on a means to change the transmitter output from the desktop.

DaveQB 2010-01-03 23:19

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
/bin/echo 118 > /sys/class/i2c-adapter/i2c-2/2-0063/power_level
exit 0

Then type:
Code:

chmod 755 /usr/local/bin/118
3. Add file:
/usr/share/applications/hildon/118.desktop
With contents:

Code:

[Desktop Entry]
Version=0.1
Type=Application
Name=118
Exec= /usr/bin/sudo /usr/local/bin/118
Icon=
X-Windows-Icon=
X-HildonDesk-ShowInToolbar=false
X-Osso-Type=application/x-executable

And now you have an app called 118 that does what you want.
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.


All times are GMT. The time now is 00:42.

vBulletin® Version 3.8.8