Settings for FuncubeDongle Pro Plus on Pi 3

605 views
Skip to first unread message

James Savage

unread,
Nov 24, 2016, 5:51:05 AM11/24/16
to Gqrx SDR

Hi all,
I have followed the advice on http://gqrx.dk/download/gqrx-sdr-for-the-raspberry-pi to set up my Pi3 for gqrx.  Thanks for making it simple.
for the record uname -a  displays Linux raspberrypi7 4.4.21-v7+ #911 SMP Thu Sep 15 14:22:38 BST 2016 armv7l GNU/Linux

The only issue I have had to get this far is that I am having to view the config using X forwarding ( ssh -Y )  because my pi has the official touch screen and the config screen is too tall - The OK button is off screen as shown in the attached photo.
When I run gqrx the terminal output is showing lots of errors that I don't understand but it does seem to be seeing a Funcube Dongle V2 so I have selected this and selected OK using X.

The waterfall displays and I can see sensible looking signals.

Two questions:
1. Is there likely to be any way of reducing the size of the app so that it displays on the official screen? 
2. I can see how to send audio over UDP but am then not sure what to do.  What is the easiest way of listening to the audio from Ubuntu for example?

Many thanks,

James



The terminal is displaying the following at the point where the config dialog is displayed:

~/gqrx-2.6-rpi3-1 $ ./run_gqrx.sh
Starting gqrx...
libEGL warning: DRI2: could not open /dev/dri/card0 (No such file or directory)
Controlport disabled
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.front.0:CARD=0'
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM front
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM surround21
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM surround21
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround40.0:CARD=0'
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM surround40
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM surround41
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM surround50
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM surround51
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround71.0:CARD=0'
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM surround71
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM iec958
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM spdif
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM spdif
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused

ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused

Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
No user supplied config file. Using "default.conf"
gr-osmosdr d2a2582d (0.1.5git) gnuradio 3.7.10.1
built-in source types: file fcd rtl rtl_tcp hackrf rfspace airspy soapy redpitaya
FM demod gain: 1.52789
IQ DCR alpha: 1.04166e-05
PortAudio V19-devel (built Feb 21 2014 06:46:01) (version 1899)
Number of audio devices: 6
  0:  bcm2835 ALSA: - (hw:0,0)  I:0  O:2
  1:  bcm2835 ALSA: IEC958/HDMI (hw:0,1)  I:0  O:2
  2:  FUNcube Dongle V2.0: USB Audio (hw:1,0)  I:2  O:0
  3:  sysdefault  I:0  O:128
  4:  dmix  I:0  O:2
  5:  default  I:0  O:2
Using default audio device
Using audio backend: N/A
BookmarksFile is /home/pi/.config/gqrx/bookmarks.csv
getDeviceList : Available input devices:
    0 : "FUNcube Dongle V2.0"
    1 : "RFSPACE SDR-IQ Receiver"
    2 : "RFSPACE SDR-IP Receiver"
    3 : "RFSPACE NetSDR Receiver"
    4 : "RFSPACE Cloud-IQ Receiver"
    5 : "RTL-SDR Spectrum Server"
    6 : "Red Pitaya Transceiver Server"
    7 : "Complex Sampled (IQ) File"
Loading configuration from: "default.conf"
Configuration file: "/home/pi/.config/gqrx/default.conf"
gr-osmosdr d2a2582d (0.1.5git) gnuradio 3.7.10.1
built-in source types: file fcd rtl rtl_tcp hackrf rfspace airspy soapy redpitaya
Using FUNcube Dongle V2.0 (hw:1)
INFO: Audio source arch: alsa
Opened: hw:1
Dongle sucessfully initialized
Result of Action :+++++
FCDAPP 20.03
 Lna gain enabled
 Mixer gain enabled
If gain set to: 15
IQ DCR samp_rate: 192000
IQ DCR alpha: 5.20831e-06
Changing NB_RX quad rate: 96000 -> 192000
New antenna selected: "RX"
********************
Gain name: "LNA"
      min: 0
      max: 1
     step: 1
Gain name: "MIX"
      min: 0
      max: 1
     step: 1
Gain name: "BB"
      min: 0
      max: 59
     step: 1
********************
No change in output device:
  old:
  new:
IQ DCR samp_rate: 192000
IQ DCR alpha: 5.20831e-06
Requested sample rate: 192000
Actual sample rate   : "192000.000000"
New FFT rate: 25 Hz
Requested bandwidth: 0 Hz
Actual bandwidth   : 0 Hz
setFreqCorr : 0 ppm
New LNB LO: 0 Hz
Set Frequency to: 1.445e+08 Hz, corrected to: 144500000 Hz
If gain set to: 15
 Lna gain enabled
 Mixer gain enabled
If gain set to: 15
 Lna gain enabled
 Mixer gain enabled
New mode index: 0
Filter preset for mode 0 LO: 0 HI: 0
setFftRate to "25 fps"
New FFT rate: 25 Hz
New FFT rate: 25 Hz
setFftSize to "8192"
New FFT rate: 25 Hz
Set Frequency to: 1.4236e+07 Hz, corrected to: 14236000 Hz
Configure I/O devices.
PortAudio V19-devel (built Feb 21 2014 06:46:01) (version 1899)
Number of audio devices: 6
  0:  bcm2835 ALSA: - (hw:0,0)  I:0  O:2
  1:  bcm2835 ALSA: IEC958/HDMI (hw:0,1)  I:0  O:2
  2:  FUNcube Dongle V2.0: USB Audio (hw:1,0)  I:2  O:0
  3:  sysdefault  I:0  O:128
  4:  dmix  I:0  O:2
  5:  default  I:0  O:2
saveConfig
New LNB LO: 0 Hz
saveSettings *** FIXME_ SQL on/off
New FFT rate: 25 Hz
Loading configuration from: "/home/pi/.config/gqrx/default.conf"
Configuration file: "/home/pi/.config/gqrx/default.conf"
No change in input device:
  old: fcd=0
  new: fcd=0
New antenna selected: ""
New antenna selected: "RX"
********************
Gain name: "LNA"
      min: 0
      max: 1
     step: 1
Gain name: "MIX"
      min: 0
      max: 1
     step: 1
Gain name: "BB"
      min: 0
      max: 59
     step: 1
********************
No change in output device:
  old:
  new:
IQ DCR samp_rate: 192000
IQ DCR alpha: 5.20831e-06
Requested sample rate: 192000
Actual sample rate   : "192000.000000"
New FFT rate: 25 Hz
Requested bandwidth: 0 Hz
Actual bandwidth   : 0 Hz
setFreqCorr : 0 ppm
New LNB LO: 0 Hz
If gain set to: 15
 Lna gain enabled
 Mixer gain enabled
If gain set to: 15
 Lna gain enabled
 Mixer gain enabled
New mode index: 0
Filter preset for mode 0 LO: 0 HI: 0
setFftRate to "25 fps"
New FFT rate: 25 Hz
New FFT rate: 25 Hz
setFftSize to "8192"
New FFT rate: 25 Hz
saveSettings *** FIXME_ SQL on/off
New FFT rate: 25 Hz

Robin Gape

unread,
Nov 24, 2016, 8:06:33 AM11/24/16
to gq...@googlegroups.com

James,

iff you have a mouse and keyboard attached, as well as the touch screen, then the Alt-F7 combination is your friend. The cursor changes to a hand, and the active window may then be moved up, down or sideways. (Had to use that on an original Asus eeePC, many moons ago! (You can also do the same with a right click on the window title bar.) That said, one is not sure how to do this if only the touch screen is in use. Are you using a keyboard, hopefully with a touchpad built in?

The smallest screen on current release GQRX 2.6 is 856×627 pixels. If your screen is this one https://www.raspberrypi.org/products/raspberry-pi-touch-display/, then you've only got 800×480, just like my Asus eeePC! By inspection, the screen depth is really set by the UI elements on the RHS (right hand side) of the screen. The good news is that the config window is 446 pixels tall, so very susceptible to the Alt-F7 approach. Unless you really fancy re-writing serious amounts of code, a mouse & KB would seem a very attractive approach!

Also, the task bar on top of the screenshot is 36 pixels tall. One can do two things:

a) configure the task bar to auto-hide, thereby gaining 36 pixels of screen height

b) reduce the height of the task bar (many, but not all, icons are scalable, and even bit maps will generally be adjusted)—with smaller icons, it won't look quite as cluttered!

HTH, 73,

Robin, G8DQX

PS: For the UDP audio, this is probably helpful: http://gqrx.dk/doc/streaming-audio-over-udp

PPS: There seems to be a 1024×600 touchscreen on the market. Almost there!
And there's also a 1280×800 touchscreen, for instance at https://www.amazon.co.uk/Resolution-Raspberry-Keyboard-Accessories-Beaglebone/dp/B012R2N5SC?th=1 (select IPS+holder).

And finally, the audio should be coming out of the audio jack on the Pi, try headphones.

On 24/11/16 10:51, James Savage wrote:

<<pics deleted>>

--
You received this message because you are subscribed to the Google Groups "Gqrx SDR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gqrx+uns...@googlegroups.com.
To post to this group, send email to gq...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gqrx/c755c13d-e895-4faf-a70e-aaa2590465fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alexandru Csete

unread,
Nov 24, 2016, 3:28:30 PM11/24/16
to gq...@googlegroups.com
Hi James and Robin,

I can shrink the main window down to 862x400 pixels by rearranging the
dock widgets and hiding the main toolbar but the device I/O config is
fixed. I may change it for the next release.

If you have a keyboard and mouse attached you can drag the window with
the mouse while holding the ALT key.

I think we have to accept the fact that gqrx was designed to be a
desktop application and no "fine tuning" of the UI will make it a good
touch screen application. It would make much more sense to design a
secondary user interface that could be used on touch screens. I may
try a temporary workaround with a new sidebar containing only the most
essential controls.

Regarding the error messages you see during startup, they come from
the linux audio system and are harmless in this case.

Alex
> https://groups.google.com/d/msgid/gqrx/8331df69-0544-da02-b4bc-0969147cc56f%40googlemail.com.

James Savage

unread,
Nov 24, 2016, 8:23:57 PM11/24/16
to Gqrx SDR
Alex, thanks for considering this.  Given the number of Pis out there I suspect this would be worthwhile. In the meantime I now have local audio working well whilst viewing screen over X but I haven't managed to get the remote UDP audio working as yet.
James
Reply all
Reply to author
Forward
0 new messages