LINUX USB boot #22019年01月05日 08時52分

GNURadio はインストール完了した。次に、RTL-SDR の最後のテストで
34番のエラーメッセージが返ってきた。udevルールを修正しろと……。

17. GNURadio installing
18. $ sudo apt install gnuradio
19. $ gnuradio-companion
20. GNURadio 3.7.11 Launch Successfully!

    

21. RTL-SDR installing
22. $ sudo apt-get install git cmake autoconf automake libusb-1*
23. $ mkdir ~/sdr
24. $ cd ~/sdr
25. $ git clone git://git.osmocom.org/rtl-sdr.git
26. $ cd rtl-sdr/
27. $ mkdir build
28. $ cd build
29. $ cmake ../
30. $ make
31. $ sudo make install
32. $ sudo ldconfig
33. $ rtl_test
34. > usb_open error -3
    > Please fix the device permissions, e.g. by installing the udev rules file rtl-sdr.rules
    > Failed to open rtlsdr device.

LINUX USB boot #32019年01月05日 10時07分

35~51番のように cmake し直したら、RTL-SDR を認識した!

    

35. $ cmake ../ -DINSTALL_UDEV_RULES=ON
36. $ make
37. $ sudo make install
38. $ sudo ldconfig
39. $ cd ..
40. $ sudo cp ./rtl-sdr.rules /etc/udev/rules.d
41. $ cd /etc/modprobe.d
42. $ sudo nano no-rtl.conf
43. Type the following 3 lines in the editor
44. > blacklist dvb_usb_rtl28xxu
45. > blacklist rtl2832
46. > blacklist rtl2830
47. [Ctrl+O (not zero)] key -> [Enter] key -> [Ctrl+x] key
48. $ sudo reboot
49. [Ctrl+ALT+T] key -> Terminal
50. $ rtl_test -t
51. RTL-SDR recognized!

LINUX USB boot #42019年01月05日 18時19分

いよいよ、信号の受信実験である。
まず、GQRX をインストールし、1200bps信号をデコードしてみた。

      

      

52. GQRX installing
53. Search in your applications -> GQRX
54. Confirm Applications -> Settings -> Sound device
55. Confirm Device: "Realteck RTL2838UHIDUR"
56. Setting [Input controls]  -> Freq. correction: 62.0 ppm, etc.
57. Setting [Receiver Options] -> Mode: Narrow FM, AGC: Off, etc.
58. Setting [FFT Settings] -> FFT size 32768, Freq zoom 15x, etc.
59. Activate GQRX by clicking on the start button at the top left of display
60. GQRX -> Tools -> "AFSK 1200 Decoder"

LINUX USB boot #52019年01月05日 21時57分

次に、DireWolf をインストール して、9600bps信号をデコードしてみた。
63~65番で、direwolf.conf.gz をコピーし、それを展開・編集する所が味噌。
後は GQRX を起動し、UDP の設定をして 71番の一文をターミナル(端末)から
入力して DireWolf を起動すると、GQRX で受信した9600信号が DireWolf に
流れるようにデコードする。

       

61. DireWolf installing
62. Search in your applications -> DireWolf
63. $ cd Home 
64. $ cp /usr/share/doc/direwolf/examples/direwolf.conf.gz . (Note: last dot)
65. $ gzip -d direwolf.conf.gz
66. Generate direwolf.conf in Home folder
67. In direwolf.conf, edit MYCALL and delete "#" of the top of "MODEM 9600"
68. Press the "..." button at the bottom right in GQRX
69. Confirm UDP host: localhost and UDP port: 7355
70. Press the "UDP" button at the bottom right in GQRX
71. $ direwolf -r 48000 -B 1200 (-B 9600) -t 0 udp:7355
72. Then 1200bps or 9600bps signal streams as "GQRX -> UDP -> Direwolf"