RTL-SDR wont't work in Pi4

Ask questions about Arch Linux ARM. Please search before making a new topic.

RTL-SDR wont't work in Pi4

Postby rafaelcastellar » Fri Nov 22, 2019 10:24 am

Hi there!

I had a Pi 3B+ with ArchARM running on it, among other stuff, rtl-sdrhttps://wiki.archlinux.org/index.php/RTL-SDR and dump1090 https://aur.archlinux.org/packages/dump1090-fa-git/.

Code: Select all
Linux castberry2 4.19.80-2-ARCH #1 SMP PREEMPT Wed Oct 30 01:09:23 UTC 2019 armv7l GNU/Linux


Then I had installed the very same things in my Pi4, using ArchARM armv7l https://archlinuxarm.org/forum/viewtopic.php?f=65&t=13994

Code: Select all
Linux castberry 4.19.83-1-ARCH #1 SMP PREEMPT Wed Nov 13 02:54:28 UTC 2019 armv7l GNU/Linux


In Pi4 rtl-sdr is not ok. I get this messages when I run the rtl_test:

Code: Select all
$ rtl_test
Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
Detached kernel driver
Found Rafael Micro R820T tuner
Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6
[R82XX] PLL not locked!
Sampling at 2048000 S/s.

Info: This tool will continuously read from the device, and report if
samples get lost. If you observe no further output, everything is fine.

Reading samples in async mode...
Allocating 15 zero-copy buffers
lost at least 22420752 bytes
lost at least 22406737 bytes
lost at least 22456579 bytes
lost at least 22412980 bytes
lost at least 22413938 bytes
lost at least 22405085 bytes
lost at least 22388208 bytes
lost at least 22494127 bytes
lost at least 22438635 bytes
lost at least 22418988 bytes
lost at least 22425132 bytes
lost at least 22433221 bytes
lost at least 22435003 bytes
lost at least 22475017 bytes
^CSignal caught, exiting!

User cancel, exiting...
Samples per million lost (minimum): 589
Reattached kernel driver


I've been reading several related post and they talk about a kernel update which would fix it, but, as I understand, the version they said is already in my system:

https://www.raspberrypi.org/forums/viewtopic.php?t=243982
https://github.com/raspberrypi/linux/issues/3060
https://www.rtl-sdr.com/forum/viewtopic.php?t=4757
[...]

Maybe I misunderstand some instruction, but I don't know how to get it running.

Is there anyone with the same situation? Any ideias of what to do?

Thank you!
rafaelcastellar
 
Posts: 21
Joined: Fri May 12, 2017 12:42 am

Re: RTL-SDR wont't work in Pi4

Postby EmmanuelSN » Mon Nov 25, 2019 9:57 pm

I am having exactly the same problem and have been trying for several days but have not figured out the problem yet. I know the exact same setup will work on a different linux distro by just swapping the SD card with my Raspbian card. So this seems unique to Arch on Pi 4. :cry:
EmmanuelSN
 
Posts: 2
Joined: Mon Nov 25, 2019 9:51 pm

Re: RTL-SDR wont't work in Pi4

Postby rafaelcastellar » Tue Nov 26, 2019 12:46 pm

Hi!

That's what I was afraid of, to have to go back to Raspbian...

I'll wait more....

Tks for sharing
rafaelcastellar
 
Posts: 21
Joined: Fri May 12, 2017 12:42 am

Re: RTL-SDR wont't work in Pi4

Postby rafaelcastellar » Tue Jan 21, 2020 9:55 pm

Any news? I had some updates and none was covering this situation. I was confirmed raspbian is ok, but don't want to go back to it.

Tks
rafaelcastellar
 
Posts: 21
Joined: Fri May 12, 2017 12:42 am

Re: RTL-SDR wont't work in Pi4

Postby EmmanuelSN » Fri Feb 14, 2020 7:26 am

I have not tried again it but I suspect this won't work until Alarm has the master kernel for RPI4
EmmanuelSN
 
Posts: 2
Joined: Mon Nov 25, 2019 9:51 pm


Return to User Questions

Who is online

Users browsing this forum: No registered users and 4 guests