Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[R82XX] PLL not locked! #14

Open
ghost opened this issue Aug 25, 2015 · 3 comments
Open

[R82XX] PLL not locked! #14

ghost opened this issue Aug 25, 2015 · 3 comments

Comments

@ghost
Copy link

ghost commented Aug 25, 2015

Hi!
I compiled rtlsdr-airband on my Raspberry Pi Version 1, and when I run it I got the following error :

pi@EBLG1 ~/RTLSDR-Airband $ sudo ./rtl_airband_vfp --quiet
Reading config.
1 device(s) found.
Allocating memory
Starting devices
Connecting to 192.168.1.7:8000/118925.mp3...
Connected to 192.168.1.7:8000/118925.mp3
Connecting to 192.168.1.7:8000/119100.mp3...
Connected to 192.168.1.7:8000/119100.mp3
Connecting to 192.168.1.7:8000/119500.mp3...
Could not connect to 192.168.1.7:8000/119500.mp3
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
Device 0 started.
Can't open device file: char_dev
Try creating a device file with: sudo mknod char_dev c 100 0

Of course char_dev exists since I created it as mentionned in the documentation.
I googled about the "PLL not locked" and it seems that my dongle fails to lock the range of frequency chosen.

Here is my config.txt

pi@EBLG1 ~/RTLSDR-Airband $ cat config.txt
1
0 3 280 120100000 -8000
192.168.1.7 8000 118925.mp3 118925000 source somepassword
192.168.1.7 8000 119100.mp3 119100000 source somepassword
192.168.1.7 8000 119500.mp3 119500000 source somepassword

Do you have an idea what's going on or a good advise to solve this problem ?

Best regards

@szpajder
Copy link

Please do the following:

sudo apt-get install strace

Then go to your RTLSDR-Airband directory and:

sudo strace -eopen -o strace.txt ./rtl_airband_vfp --quiet

When the program fails, you should have a file named strace.txt in the currrent directory. Please post the output of the following command:

sudo grep char_dev strace.txt

@ghost
Copy link
Author

ghost commented Aug 25, 2015

Here is the output requested :

pi@EBLG1 ~/RTLSDR-Airband $ sudo grep char_dev strace.txt
open("char_dev", O_RDONLY) = -1 ENXIO (No such device or address)

Regards

@szpajder
Copy link

Thanks. According to this thread: https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=117547 major number of the VideoCore device has been changed from 100 to 249 in kernel version 4.1, so if you have upgraded your system recently, this might be your case. Please re-create char_dev with major number 249.

PLL not locked message is not very important. If your dongle works with other rtl-sdr applications, then rtl_airband should work as well.

Note the Could not connect to 192.168.1.7:8000/119500.mp3 message. Icecast daemon has a default limit of two simultaneous sources, so if you want three channels, you have to edit /etc/icecast/icecast.xml file and increase <sources> parameter in <limits> section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant