开云体育

starting direwolf errors


 
Edited

Hi,
I finally figured the issue with the install (updated commands are helpful) but when running direwolf I get the following errors.?
My set up is a baofeng UV5R+, RTL-SDR receiver R820T2, raspberry pi 3B+. Thank you for any help, yes I am new to this. The bold are the red error lines

Dire Wolf version 1.6
Includes optional support for:? cm108-ptt
?
Reading config file sdr.conf
Audio input device for receive: –? (channel 0)
Audio out device for transmit: null? (channel 0)
Found 1 device(s):
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM –
Could not open audio device – for input
No such file or directory
Pointless to continue without audio device.
? 0:? Realtek, RTL2838UHIDIR, SN: 00000001
?
Using device 0: Generic RTL2832U OEM
Detached kernel driver
Found Rafael Micro R820T tuner
Tuner gain set to automatic.
Tuned to 144642000 Hz.
Oversampling input by: 42x.
Oversampling output by: 1x.
Buffer size: 8.13ms
Exact sample rate is: 1008000.009613 Hz
Sampling at 1008000 S/s.
Output at 24000 Hz.
Signal caught, exiting!
?
User cancel, exiting...
Reattached kernel driver
pi@raspberrypi:~ $
?


 

开云体育


Hello Clinton,

I finally figured the issue with the install (updated commands are helpful) but when running direwolf I get the following errors.

For the "original steps" you were following, where did you read those?? Do you have a URL?


My set up is a baofeng UV5R+, RTL-SDR receiver R820T2, raspberry pi 3B+. Thank you for any help, yes I am new to this. The bold are the red error lines

Can you describe your setup?? Since you 're showing two radios here (a Baofeng and a RTL SDR), I hope you have these connected to two different antennas and they are placed far apart.? Unless you're very careful here, you can destroy your SDR if the Baofeng radio transmits into it.


Dire Wolf version 1.6
Includes optional support for:? cm108-ptt
ERROR - Could not open config file sdr.conf
Try using -c command line option for alternate location.

Please show us how you're trying to start Direwolf (the command line) as well as share us any configuration files.? It's clear here that Direwolf cannot find the "sdr.conf" file from the current directory you're in when you try to start Direwolf.


Audio input device for receive: –? (channel 0)
Audio out device for transmit: default? (channel 0)

This looks as if you're trying to take the output from rtl_fm and send it into Direwolf.? That's fine for receive.


ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM –
Could not open audio device – for input
No such file or directory

You might be victim to a classic Microsoft copy and paste issue where Windows will translate a "-" hyphen character into a LONGer unicode character that looks similar but it's NOT.? In the command line start up or in the direwolf.conf file, be sure the input is using a real hyphen character.


Exact sample rate is: 1008000.009613 Hz
r82xx_write: i2c wr failed=-9 reg=12 len=1
r82xx_set_freq: failed=-9

Those errors don't look good though maybe not fatal.? Where did you get this RTL dongle?? Not all are equal and some of these are very poorly made, poorly supported, etc.

--David
KI6ZHD


 

开云体育

Hi,

I’m using the command line from the powerpoint

?

rtl_fm -f 144.39M - | direwolf -c sdr.conf -r 24000 -D 1

For the original steps I was using the powerpoint from direwolf

?

I have the the baofeng and the rtl-sdr connected to 2 different antennas, the radio antenna is in my garage up about 9 feet and the rtl-sdr is in my office up about 4 feet, I will eventually move them but I am trying to get this set up and going first.

?

To set up the rtl-sdr in raspberry pi I put in the following commands from the powerpoint:

?

Open a terminal on your Raspberry PI, and issue the following commands:

sudo apt-get update
sudo apt-get install cmake build-essential libusb-1.0-0-dev
cd ~
git clone git://git.osmocom.org/rtl-sdr.git
cd rtl-sdr
mkdir build
cd build
cmake ../ -DINSTALL_UDEV_RULES=ON -DDETACH_KERNEL_DRIVER=ON
make
sudo make install
sudo ldconfig

?

I think I have another rtl-sdr in my stash, I’ll find it and see if that helps.

?

I did paste the command above to start direwolf, I’ll type it in and see if anything changes

?

I did try the command grep “Dire Wolf DEVELOPMENT” src/direwolf.c but that only returned the line

Grep: src/direwolf.c: No such file or directory

?

Thanks again for your help

?

Sent from for Windows

?

From: David Ranch
Sent: Sunday, April 10, 2022 8:34 PM
To: [email protected]
Subject: Re: [direwolf] starting direwolf errors

?


Hello Clinton,


I finally figured the issue with the install (updated commands are helpful) but when running direwolf I get the following errors.


For the "original steps" you were following, where did you read those?? Do you have a URL?



My set up is a baofeng UV5R+, RTL-SDR receiver R820T2, raspberry pi 3B+. Thank you for any help, yes I am new to this. The bold are the red error lines


Can you describe your setup?? Since you 're showing two radios here (a Baofeng and a RTL SDR), I hope you have these connected to two different antennas and they are placed far apart.? Unless you're very careful here, you can destroy your SDR if the Baofeng radio transmits into it.


?

Dire Wolf version 1.6

Includes optional support for:? cm108-ptt

ERROR - Could not open config file sdr.conf

Try using -c command line option for alternate location.


Please show us how you're trying to start Direwolf (the command line) as well as share us any configuration files.? It's clear here that Direwolf cannot find the "sdr.conf" file from the current directory you're in when you try to start Direwolf.



Audio input device for receive: –? (channel 0)

Audio out device for transmit: default? (channel 0)


This looks as if you're trying to take the output from rtl_fm and send it into Direwolf.? That's fine for receive.



ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM –

Could not open audio device – for input

No such file or directory


You might be victim to a classic Microsoft copy and paste issue where Windows will translate a "-" hyphen character into a LONGer unicode character that looks similar but it's NOT.? In the command line start up or in the direwolf.conf file, be sure the input is using a real hyphen character.



Exact sample rate is: 1008000.009613 Hz

r82xx_write: i2c wr failed=-9 reg=12 len=1

r82xx_set_freq: failed=-9


Those errors don't look good though maybe not fatal.? Where did you get this RTL dongle?? Not all are equal and some of these are very poorly made, poorly supported, etc.

--David
KI6ZHD

?


 

开云体育

Hi

I typed it in and I didn’t get as many errors but it freezes up and doesn’t return the command prompt, plus I don’t see it listed on the map

It still cannot open the sdr.conf file, in bold (red)

?

pi@raspberrypi:~/direwolf $ rtl_fm -f 144.39M - | direwolf -c sdr.conf -r 24000 -D 1 -

Dire Wolf version 1.6

Includes optional support for:? cm108-ptt

ERROR - Could not open config file sdr.conf

Try using -c command line option for alternate location.

Audio input device for receive: stdin? (channel 0)

Audio out device for transmit: default? (channel 0)

Found 1 device(s):

Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, E+, 24000 sample rate.

Note: PTT not configured for channel 0. (Ignore this if using VOX.)

Ready to accept AGW client application 0 on port 8000 ...

Ready to accept KISS TCP client application 0 on port 8001 ...

? 0:? Realtek, RTL2838UHIDIR, SN: 00000001

?

Using device 0: Generic RTL2832U OEM

Detached kernel driver

Found Rafael Micro R820T tuner

Tuner gain set to automatic.

Tuned to 144642000 Hz.

Oversampling input by: 42x.

Oversampling output by: 1x.

Buffer size: 8.13ms

Exact sample rate is: 1008000.009613 Hz

Sampling at 1008000 S/s.

Output at 24000 Hz.

?

?

?

Sent from for Windows

?

From: Clinton Hunter via groups.io
Sent: Sunday, April 10, 2022 10:09 PM
To: [email protected]
Subject: Re: [direwolf] starting direwolf errors

?

Hi,

I’m using the command line from the powerpoint

?

rtl_fm -f 144.39M - | direwolf -c sdr.conf -r 24000 -D 1

For the original steps I was using the powerpoint from direwolf

?

I have the the baofeng and the rtl-sdr connected to 2 different antennas, the radio antenna is in my garage up about 9 feet and the rtl-sdr is in my office up about 4 feet, I will eventually move them but I am trying to get this set up and going first.

?

To set up the rtl-sdr in raspberry pi I put in the following commands from the powerpoint:

?

Open a terminal on your Raspberry PI, and issue the following commands:

sudo apt-get update
sudo apt-get install cmake build-essential libusb-1.0-0-dev
cd ~
git clone git://git.osmocom.org/rtl-sdr.git
cd rtl-sdr
mkdir build
cd build
cmake ../ -DINSTALL_UDEV_RULES=ON -DDETACH_KERNEL_DRIVER=ON
make
sudo make install
sudo ldconfig

?

I think I have another rtl-sdr in my stash, I’ll find it and see if that helps.

?

I did paste the command above to start direwolf, I’ll type it in and see if anything changes

?

I did try the command grep “Dire Wolf DEVELOPMENT” src/direwolf.c but that only returned the line

Grep: src/direwolf.c: No such file or directory

?

Thanks again for your help

?

Sent from for Windows

?

From: David Ranch
Sent: Sunday, April 10, 2022 8:34 PM
To: [email protected]
Subject: Re: [direwolf] starting direwolf errors

?


Hello Clinton,

I finally figured the issue with the install (updated commands are helpful) but when running direwolf I get the following errors.


For the "original steps" you were following, where did you read those?? Do you have a URL?


My set up is a baofeng UV5R+, RTL-SDR receiver R820T2, raspberry pi 3B+. Thank you for any help, yes I am new to this. The bold are the red error lines


Can you describe your setup?? Since you 're showing two radios here (a Baofeng and a RTL SDR), I hope you have these connected to two different antennas and they are placed far apart.? Unless you're very careful here, you can destroy your SDR if the Baofeng radio transmits into it.

?

Dire Wolf version 1.6

Includes optional support for:? cm108-ptt

ERROR - Could not open config file sdr.conf

Try using -c command line option for alternate location.


Please show us how you're trying to start Direwolf (the command line) as well as share us any configuration files.? It's clear here that Direwolf cannot find the "sdr.conf" file from the current directory you're in when you try to start Direwolf.


Audio input device for receive: –? (channel 0)

Audio out device for transmit: default? (channel 0)


This looks as if you're trying to take the output from rtl_fm and send it into Direwolf.? That's fine for receive.


ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM –

Could not open audio device – for input

No such file or directory


You might be victim to a classic Microsoft copy and paste issue where Windows will translate a "-" hyphen character into a LONGer unicode character that looks similar but it's NOT.? In the command line start up or in the direwolf.conf file, be sure the input is using a real hyphen character.


Exact sample rate is: 1008000.009613 Hz

r82xx_write: i2c wr failed=-9 reg=12 len=1

r82xx_set_freq: failed=-9


Those errors don't look good though maybe not fatal.? Where did you get this RTL dongle?? Not all are equal and some of these are very poorly made, poorly supported, etc.

--David
KI6ZHD

?

?


 

开云体育

Update:

?

I changed the starting command and it looks like it is almost starting except for 1 error

?

I noticed the rtl_fm:invalid option and changed it back to? -f but then it freezes like before with the same error as below

?

pi@raspberrypi:~/direwolf $? rtl_fm -c 144.39M - | direwolf -c sdr.conf -c 24000 -c 1 -

rtl_fm: invalid option -- 'c'

rtl_fm, a simple narrow band FM demodulator for RTL2832 based DVB-T receivers

?

Use:??? rtl_fm -f freq [-options] [filename]

??????? -f frequency_to_tune_to [Hz]

??????????? use multiple -f for scanning (requires squelch)

??????????? ranges supported, -f 118M:137M:25k

??????? [-M modulation (default: fm)]

??????????? fm, wbfm, raw, am, usb, lsb

??????????? wbfm == -M fm -s 170k -o 4 -A fast -r 32k -l 0 -E deemp

??????????? raw mode outputs 2x16 bit IQ pairs

??????? [-s sample_rate (default: 24k)]

??????? [-d device_index (default: 0)]

??????? [-T enable bias-T on GPIO PIN 0 (works for rtl-sdr.com v3 dongles)]

??????? [-g tuner_gain (default: automatic)]

??????? [-l squelch_level (default: 0/off)]

??????? [-p ppm_error (default: 0)]

??????? [-E enable_option (default: none)]

??????????? use multiple -E to enable multiple options

??????? ????edge:??? enable lower edge tuning

??????????? dc:????? enable dc blocking filter

??????????? deemp:?? enable de-emphasis filter

??????????? direct:? enable direct sampling 1 (usually I)

??????????? direct2: enable direct sampling 2 (usually Q)

??????? ????offset:? enable offset tuning

??????? filename ('-' means stdout)

??????????? omitting the filename also uses stdout

?

Experimental options:

??????? [-r resample_rate (default: none / same as -s)]

??????? [-t squelch_delay (default: 10)]

??????????? +values will mute/scan, -values will exit

??????? [-F fir_size (default: off)]

??????????? enables low-leakage downsample filter

??????????? size can be 0 or 9.? 0 has bad roll off

??????? [-A std/fast/lut choose atan math (default: std)]

?

Produces signed 16 bit ints, use Sox or aplay to hear them.

??????? rtl_fm ... | play -t raw -r 24k -es -b 16 -c 1 -V1 -

?????????????????? | aplay -r 24k -f S16_LE -t raw -c 1

????????? -M wbfm? | play -r 32k ...

????????? -s 22050 | multimon -t raw /dev/stdin

?

Dire Wolf version 1.6

Includes optional support for:? cm108-ptt

ERROR - Could not open config file 1

Try using -c command line option for alternate location.

Audio input device for receive: stdin? (channel 0)

Audio out device for transmit: default? (channel 0)

Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, E+, 44100 sample rate / 3.

Note: PTT not configured for channel 0. (Ignore this if using VOX.)

Ready to accept KISS TCP client application 0 on port 8001 ...

Ready to accept AGW client application 0 on port 8000 ...

?

End of file on stdin.? Exiting.

?

Sent from for Windows

?

From: Clinton Hunter via groups.io
Sent: Sunday, April 10, 2022 10:27 PM
To: [email protected]
Subject: Re: [direwolf] starting direwolf errors

?

Hi

I typed it in and I didn’t get as many errors but it freezes up and doesn’t return the command prompt, plus I don’t see it listed on the map

It still cannot open the sdr.conf file, in bold (red)

?

pi@raspberrypi:~/direwolf $ rtl_fm -f 144.39M - | direwolf -c sdr.conf -r 24000 -D 1 -

Dire Wolf version 1.6

Includes optional support for:? cm108-ptt

ERROR - Could not open config file sdr.conf

Try using -c command line option for alternate location.

Audio input device for receive: stdin? (channel 0)

Audio out device for transmit: default? (channel 0)

Found 1 device(s):

Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, E+, 24000 sample rate.

Note: PTT not configured for channel 0. (Ignore this if using VOX.)

Ready to accept AGW client application 0 on port 8000 ...

Ready to accept KISS TCP client application 0 on port 8001 ...

? 0:? Realtek, RTL2838UHIDIR, SN: 00000001

?

Using device 0: Generic RTL2832U OEM

Detached kernel driver

Found Rafael Micro R820T tuner

Tuner gain set to automatic.

Tuned to 144642000 Hz.

Oversampling input by: 42x.

Oversampling output by: 1x.

Buffer size: 8.13ms

Exact sample rate is: 1008000.009613 Hz

Sampling at 1008000 S/s.

Output at 24000 Hz.

?

?

?

Sent from for Windows

?

From: Clinton Hunter via groups.io
Sent: Sunday, April 10, 2022 10:09 PM
To: [email protected]
Subject: Re: [direwolf] starting direwolf errors

?

Hi,

I’m using the command line from the powerpoint

?

rtl_fm -f 144.39M - | direwolf -c sdr.conf -r 24000 -D 1

For the original steps I was using the powerpoint from direwolf

?

I have the the baofeng and the rtl-sdr connected to 2 different antennas, the radio antenna is in my garage up about 9 feet and the rtl-sdr is in my office up about 4 feet, I will eventually move them but I am trying to get this set up and going first.

?

To set up the rtl-sdr in raspberry pi I put in the following commands from the powerpoint:

?

Open a terminal on your Raspberry PI, and issue the following commands:

sudo apt-get update
sudo apt-get install cmake build-essential libusb-1.0-0-dev
cd ~
git clone git://git.osmocom.org/rtl-sdr.git
cd rtl-sdr
mkdir build
cd build
cmake ../ -DINSTALL_UDEV_RULES=ON -DDETACH_KERNEL_DRIVER=ON
make
sudo make install
sudo ldconfig

?

I think I have another rtl-sdr in my stash, I’ll find it and see if that helps.

?

I did paste the command above to start direwolf, I’ll type it in and see if anything changes

?

I did try the command grep “Dire Wolf DEVELOPMENT” src/direwolf.c but that only returned the line

Grep: src/direwolf.c: No such file or directory

?

Thanks again for your help

?

Sent from for Windows

?

From: David Ranch
Sent: Sunday, April 10, 2022 8:34 PM
To: [email protected]
Subject: Re: [direwolf] starting direwolf errors

?


Hello Clinton,

I finally figured the issue with the install (updated commands are helpful) but when running direwolf I get the following errors.


For the "original steps" you were following, where did you read those?? Do you have a URL?

My set up is a baofeng UV5R+, RTL-SDR receiver R820T2, raspberry pi 3B+. Thank you for any help, yes I am new to this. The bold are the red error lines


Can you describe your setup?? Since you 're showing two radios here (a Baofeng and a RTL SDR), I hope you have these connected to two different antennas and they are placed far apart.? Unless you're very careful here, you can destroy your SDR if the Baofeng radio transmits into it.

?

Dire Wolf version 1.6

Includes optional support for:? cm108-ptt

ERROR - Could not open config file sdr.conf

Try using -c command line option for alternate location.


Please show us how you're trying to start Direwolf (the command line) as well as share us any configuration files.? It's clear here that Direwolf cannot find the "sdr.conf" file from the current directory you're in when you try to start Direwolf.

Audio input device for receive: –? (channel 0)

Audio out device for transmit: default? (channel 0)


This looks as if you're trying to take the output from rtl_fm and send it into Direwolf.? That's fine for receive.

ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM –

Could not open audio device – for input

No such file or directory


You might be victim to a classic Microsoft copy and paste issue where Windows will translate a "-" hyphen character into a LONGer unicode character that looks similar but it's NOT.? In the command line start up or in the direwolf.conf file, be sure the input is using a real hyphen character.

Exact sample rate is: 1008000.009613 Hz

r82xx_write: i2c wr failed=-9 reg=12 len=1

r82xx_set_freq: failed=-9


Those errors don't look good though maybe not fatal.? Where did you get this RTL dongle?? Not all are equal and some of these are very poorly made, poorly supported, etc.

--David
KI6ZHD

?

?

?


 

开云体育

Hi

I typed it in and I didn’t get as many errors but it freezes up and doesn’t return the command prompt, plus I don’t see it listed on the map

It still cannot open the sdr.conf file, in bold (red)

?

pi@raspberrypi:~/direwolf $ rtl_fm -f 144.39M - | direwolf -c sdr.conf -r 24000 -D 1 -

Dire Wolf version 1.6

Includes optional support for:? cm108-ptt

ERROR - Could not open config file sdr.conf

Try using -c command line option for alternate location.

Audio input device for receive: stdin? (channel 0)

Audio out device for transmit: default? (channel 0)

Found 1 device(s):

Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, E+, 24000 sample rate.

Note: PTT not configured for channel 0. (Ignore this if using VOX.)

Ready to accept AGW client application 0 on port 8000 ...

Ready to accept KISS TCP client application 0 on port 8001 ...

? 0:? Realtek, RTL2838UHIDIR, SN: 00000001

?

Using device 0: Generic RTL2832U OEM

Detached kernel driver

Found Rafael Micro R820T tuner

Tuner gain set to automatic.

Tuned to 144642000 Hz.

Oversampling input by: 42x.

Oversampling output by: 1x.

Buffer size: 8.13ms

Exact sample rate is: 1008000.009613 Hz

Sampling at 1008000 S/s.

Output at 24000 Hz.

?

?

?

Sent from for Windows

?

From: Clinton Hunter via groups.io
Sent: Sunday, April 10, 2022 10:09 PM
To: [email protected]
Subject: Re: [direwolf] starting direwolf errors

?

Hi,

I’m using the command line from the powerpoint

?

rtl_fm -f 144.39M - | direwolf -c sdr.conf -r 24000 -D 1

For the original steps I was using the powerpoint from direwolf

?

I have the the baofeng and the rtl-sdr connected to 2 different antennas, the radio antenna is in my garage up about 9 feet and the rtl-sdr is in my office up about 4 feet, I will eventually move them but I am trying to get this set up and going first.

?

To set up the rtl-sdr in raspberry pi I put in the following commands from the powerpoint:

?

Open a terminal on your Raspberry PI, and issue the following commands:

sudo apt-get update
sudo apt-get install cmake build-essential libusb-1.0-0-dev
cd ~
git clone git://git.osmocom.org/rtl-sdr.git
cd rtl-sdr
mkdir build
cd build
cmake ../ -DINSTALL_UDEV_RULES=ON -DDETACH_KERNEL_DRIVER=ON
make
sudo make install
sudo ldconfig

?

I think I have another rtl-sdr in my stash, I’ll find it and see if that helps.

?

I did paste the command above to start direwolf, I’ll type it in and see if anything changes

?

I did try the command grep “Dire Wolf DEVELOPMENT” src/direwolf.c but that only returned the line

Grep: src/direwolf.c: No such file or directory

?

Thanks again for your help

?

Sent from for Windows

?

From: David Ranch
Sent: Sunday, April 10, 2022 8:34 PM
To: [email protected]
Subject: Re: [direwolf] starting direwolf errors

?


Hello Clinton,

I finally figured the issue with the install (updated commands are helpful) but when running direwolf I get the following errors.


For the "original steps" you were following, where did you read those?? Do you have a URL?


My set up is a baofeng UV5R+, RTL-SDR receiver R820T2, raspberry pi 3B+. Thank you for any help, yes I am new to this. The bold are the red error lines


Can you describe your setup?? Since you 're showing two radios here (a Baofeng and a RTL SDR), I hope you have these connected to two different antennas and they are placed far apart.? Unless you're very careful here, you can destroy your SDR if the Baofeng radio transmits into it.

?

Dire Wolf version 1.6

Includes optional support for:? cm108-ptt

ERROR - Could not open config file sdr.conf

Try using -c command line option for alternate location.


Please show us how you're trying to start Direwolf (the command line) as well as share us any configuration files.? It's clear here that Direwolf cannot find the "sdr.conf" file from the current directory you're in when you try to start Direwolf.


Audio input device for receive: –? (channel 0)

Audio out device for transmit: default? (channel 0)


This looks as if you're trying to take the output from rtl_fm and send it into Direwolf.? That's fine for receive.


ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM –

Could not open audio device – for input

No such file or directory


You might be victim to a classic Microsoft copy and paste issue where Windows will translate a "-" hyphen character into a LONGer unicode character that looks similar but it's NOT.? In the command line start up or in the direwolf.conf file, be sure the input is using a real hyphen character.


Exact sample rate is: 1008000.009613 Hz

r82xx_write: i2c wr failed=-9 reg=12 len=1

r82xx_set_freq: failed=-9


Those errors don't look good though maybe not fatal.? Where did you get this RTL dongle?? Not all are equal and some of these are very poorly made, poorly supported, etc.

--David
KI6ZHD

?

?


 

Thank you to all the quick responses, I finally was able to get it working, I was an idiot and needed to plug a usb soundcard instead of running it to the one on the pi, duh.?
Thanks again everyone!!
KM6KHT
73


 

开云体育


Hey Clinton,

I’m using the command line from the powerpoint

?

rtl_fm -f 144.39M - | direwolf -c sdr.conf -r 24000 -D 1


What power point are you talking about?? Can you give a URL here?? As you can see, the "-" next to the 144.390M is shorter than the one after the "-D 1".? It's that second one that's breaking things for you.


I have the the baofeng and the rtl-sdr connected to 2 different antennas, the radio antenna is in my garage up about 9 feet and the rtl-sdr is in my office up about 4 feet, I will eventually move them but I am trying to get this set up and going first.

What is your higher priority?? Sending or Receiving??? Whichever it is, use antenna that is up 9ft with the priority radio as the height will make a big difference.? I would recommend to connect the SDR to the garage antenna so you get it away from hearing all the other electrical noise in your office.



sudo apt-get install cmake build-essential libusb-1.0-0-dev

cd ~
git clone git://git.osmocom.org/rtl-sdr.git
cd rtl-sdr
mkdir build
cd build
cmake ../ -DINSTALL_UDEV_RULES=ON -DDETACH_KERNEL_DRIVER=ON
make
sudo make install
sudo ldconfig


I don't know why whatever PPT you're following here is recommending to build from scratch.? That will get you the newest code (a good thing) but it might not be well tested with your Rasberry Pi's OS and it's other packages.? Unless you know you need some specific bleeding edge code or feature, I don't recommend to go this route unless required.


I think I have another rtl-sdr in my stash, I’ll find it and see if that helps.


Ok


I did try the command grep “Dire Wolf DEVELOPMENT” src/direwolf.c but that only returned the line

Grep: src/direwolf.c: No such file or directory


That was for the other person on the email list who is running on Windows.? Since you're not seemingly building Direwolf from source code, you won't need to do this.


-- [ next email ]--


>I typed it in and I didn’t get as many errors but it freezes up and doesn’t return the command prompt, plus I don’t see it listed on the map


What map are you talking about?? Are you talking about something like ?


>It still cannot open the sdr.conf file, in bold (red)

>pi@raspberrypi:~/direwolf $ rtl_fm -f 144.39M - | direwolf -c sdr.conf -r 24000 -D 1 -


I see you're logged in as the "pi" user and you're in the "direwolf" directory.? At the command line, if you run "ls -la", do you see a sdr.conf file?? I bet you don't.? This PPT you're following should have told you to make a copy.? Assuming your Direwolf was installed from a packet, this should work fine:

?? cp /usr/share/doc/direwolf/conf/sdr.conf ~pi/direwolf


At that point, you'll need to edit this sdr.conf file to fit your needs.? Please read the Direwolf User Guide to learn how:


??


I also recommend to read the "Raspberry-Pi-SDR-IGate.pdf" doc as I think this is what you're aiming for.



>Audio input device for receive: stdin? (channel 0)

>Audio out device for transmit: default? (channel 0)


That first line looks much better now
That second line says you're routing the output audio to "default".. aka PulseAudio.? That's ok but you will need to configure that sdr.conf file to point to the sound device that it's output is connected to the Baofeng radio.




>Found 1 device(s):

>Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, E+, 24000 sample rate.


That looks good



>Note: PTT not configured for channel 0. (Ignore this if using VOX.)


How are you going to key up the Baofeng HT??? YOu will need to configure that in the sdr.conf file and have the required cable or radio interface device (Signalink, etc) to make the radio key up.



>? 0:? Realtek, RTL2838UHIDIR, SN: 00000001

>Using device 0: Generic RTL2832U OEM

>Detached kernel driver

>Found Rafael Micro R820T tuner

>Tuner gain set to automatic.

>Tuned to 144642000 Hz.

>Oversampling input by: 42x.

>Oversampling output by: 1x.

>Buffer size: 8.13ms

>Exact sample rate is: 1008000.009613 Hz

>Sampling at 1008000 S/s.

>Output at 24000 Hz.


That all looks ok.? Have you tried testing the rtl_fm program by listening to it's output??? Try something like this but change the frequency for a STRONG Broadcast FM radio station (this assumes you have ALSA play installed):


??? rtl_fm -f 97.7M -W - | aplay -r 16k -f S16_LE -t raw -c 2 -D default


if you cannot hear your chosen radio station very clearly, you need to improve your antenna situation, your SDR's gain settings, and your computer setup first.? Only once the SDR is working with strong signals should you try APRS frequencies which will be much weaker.



--David
KI6ZHD