Browse Source

initial work to get gnuradio working

audio doesn't work yet, not sure why, but it's somewhat close in that
aplay -l lists the device, but can't get sox or gnuradio to output to
a device..
main
John-Mark Gurney 6 months ago
commit
a72e063fe2
2 changed files with 28 additions and 0 deletions
  1. +18
    -0
      Vagrantfile
  2. +10
    -0
      bootstrap.sh

+ 18
- 0
Vagrantfile View File

@@ -0,0 +1,18 @@
Vagrant.configure("2") do |config|
config.vm.box = "hashicorp/bionic64"
config.ssh.forward_x11 = true

config.vm.provider 'virtualbox' do |v|
#v.customize ["modifyvm", :id, '--audio', 'coreaudio', '--audiocontroller', 'hda']

v.customize ['modifyvm', :id, '--usb', 'on']
v.customize ['modifyvm', :id, '--usbehci', 'on']
v.customize ["usbfilter", "add", "0",
"--target", :id,
"--name", "RTLSDR1",
"--manufacturer", "Realtek",
"--product", "RTL2838UHIDIR"]
end

config.vm.provision :shell, path: "bootstrap.sh"
end

+ 10
- 0
bootstrap.sh View File

@@ -0,0 +1,10 @@
apt-get update
apt-get install -y xauth
apt-get install -y gnuradio
apt-get install -y gr-osmosdr

# audio
#apt-get install -y linux-sound-base alsa-utils
#modprobe snd-hda-intel
#echo "options snd_hda_intel index=0" >> /etc/modprobe.d/alsa-base.conf
#sudo usermod -a -G audio vagrant

Loading…
Cancel
Save