maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   FM Transmitter Mod (https://talk.maemo.org/showthread.php?t=46953)

weißelstone 2010-07-21 13:49

Re: FM Transmitter Mod
 
Anyone read the linux documentation about the fm transmitter chip?
There is also an example code to check frequencies for noise, shouldn't it be possible to use it to write a small daemon that checks the current frequency and if it gets noise there scans for a new one?
http://www.mjmwired.net/kernel/Docum...nux/si4713.txt
This is the code
Code:

int main (int argc, char *argv[])
{
        struct si4713_rnl rnl;
        int fd = open("/dev/radio0", O_RDWR);
        int rval;

        if (argc < 2)
                return -EINVAL;

        if (fd < 0)
                return fd;

        sscanf(argv[1], "%d", &rnl.frequency);

        rval = ioctl(fd, SI4713_IOC_MEASURE_RNL, &rnl);
        if (rval < 0)
                return rval;

        printf("received noise level: %d\n", rnl.rnl);

        close(fd);
}


cardiff-blues 2010-07-21 13:55

Re: FM Transmitter Mod
 
It would be fantastic if someone was working on something like this.......would it not?

rotoflex 2010-07-22 14:41

Re: FM Transmitter Mod
 
Quote:

if it gets noise there scans for a new one?
That's an excellent idea.

It might also have a choice to scan the FM band for the most unpopulated frequency, so you could find the best frequency for your location.

mangal_sk8erboy 2010-07-22 14:53

Re: FM Transmitter Mod
 
is there a way you can get EVEN numbers though?like 88.2 or 92.0 etc?

troff76 2010-08-16 09:46

Re: FM Transmitter Mod
 
Quote:

Originally Posted by salah99 (Post 698934)
can you guys create a small application for normal users?? :D

please? anyone?

maxximuscool 2010-08-16 10:03

Re: FM Transmitter Mod
 
Quote:

Originally Posted by mangal_sk8erboy (Post 760892)
is there a way you can get EVEN numbers though?like 88.2 or 92.0 etc?

me second that. Where and how to get it in Even number? and how the hell do i make the transmitter volume louder? it is so bloody quiet.

maxximuscool 2010-08-16 21:38

Re: FM Transmitter Mod
 
Hello!! Is this a dead END?

Deafboy 2010-08-17 12:17

Re: FM Transmitter Mod
 
It should be easy to make a simple GUI for set of command above. (Using Illumination)
I will look at it in a few days. (Just after I check my car radio frequency range :P)

edit_______________________

Damn, my car radio is out of game, but my old aiva hi-fi should support this frequency :P


All times are GMT. The time now is 12:51.

vBulletin® Version 3.8.8