tutorial-packet-on-pi
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tutorial-packet-on-pi [2024/11/17 03:53] – kc2ihx | tutorial-packet-on-pi [2025/01/12 18:56] (current) – kc2ihx | ||
---|---|---|---|
Line 172: | Line 172: | ||
</ | </ | ||
- | When you're done, you should run '' | + | When you're done, or anytime after you install libraries via your package manager (e.g. ``apt install``) |
===== QtTermTCP Desktop/ | ===== QtTermTCP Desktop/ | ||
Line 195: | Line 195: | ||
</ | </ | ||
- | //put rest of audio config info here// | + | Next we'll configure ALSA -- despite the jokes on the Internet, Linux audio isn' |
+ | |||
+ | For example, run '' | ||
+ | < | ||
+ | Burr-Brown from TI USB Audio CODEC at usb-0000: | ||
+ | |||
+ | Playback: | ||
+ | Status: Running | ||
+ | Interface = 1 | ||
+ | Altset = 1 | ||
+ | Packet Size = 192 | ||
+ | Momentary freq = 48000 Hz (0x30.0000) | ||
+ | Interface 1 | ||
+ | Altset 1 | ||
+ | Format: S16_LE | ||
+ | Channels: 2 | ||
+ | Endpoint: 0x02 (2 OUT) (ADAPTIVE) | ||
+ | Rates: 32000, 44100, 48000 | ||
+ | Bits: 16 | ||
+ | Channel map: FL FR | ||
+ | </ | ||
+ | |||
+ | This is how you can set the default index for your USB audio card to force it to a consistent reboot safe value for the ALSA configuration. With only one USB audio device (the rig audio interface) this works well. | ||
+ | |||
+ | Edit ''/ | ||
+ | < | ||
+ | options snd_usb_audio index=3 | ||
+ | </ | ||
+ | |||
+ | Edit your ''/ | ||
+ | < | ||
+ | pcm.scu { | ||
+ | type hw | ||
+ | card 3 | ||
+ | device 0 | ||
+ | rate 44100 | ||
+ | } | ||
+ | </code> | ||
====== rigctld for CAT/CIV ====== | ====== rigctld for CAT/CIV ====== | ||
Line 292: | Line 329: | ||
</ | </ | ||
- | From there we want to grab some unique information to help identify this device as our transceiver and create a '' | + | From there we want to grab some unique information to help identify this device as our transceiver and create a '' |
- | < | + | Add some variation of the following to a file in ''/ |
+ | < | ||
ENV{MAJOR}!="? | ENV{MAJOR}!="? | ||
SUBSYSTEMS==" | SUBSYSTEMS==" | ||
Line 307: | Line 345: | ||
LABEL=" | LABEL=" | ||
</ | </ | ||
+ | |||
+ | After creating the file, run '' | ||
+ | |||
+ | ====== What's Next? ====== | ||
+ | After following this tutorial you should have a ' | ||
+ | |||
+ | From here, you should configure QtTermTCP or another packet client and try connecting to a node! |
tutorial-packet-on-pi.1731815617.txt.gz · Last modified: 2024/11/17 03:53 by kc2ihx