Switch SoundCards on DigiPi

61 views
Skip to first unread message

Sanjeev Taran

unread,
Jul 29, 2026, 11:27:53 AMJul 29
to DigiPi
Hello,
I have a digipi configured with a digirig. What is the best way to change config files if I am going to switch the sound card to a master communications DRA45. I need to do this because of some cables that I already have. Thanks.
-Sanjeev

Craig

unread,
Jul 29, 2026, 12:01:14 PMJul 29
to Sanjeev Taran, DigiPi
Hi Sanjeev,

DigiPi will always use the first available soundcard.

"cat /proc/asound/cards" to see the list - ideally there is only one

There's no configuration change required to switch audio devices.


best,
-craig
KM6LYW

Sanjeev Taran

unread,
Jul 29, 2026, 12:48:02 PMJul 29
to DigiPi

Hi Craig,


DRA45 needs PTT CM108 to be set in direwolf.conf but seems it is not doing that.



clip from direwolf.tnc.conf


#PTT GPIOD gpiochip0 12

#PTT RIG RIGNUMBER DEVICEFILE

PTT /dev/ttyUSB0 RTS

#PTT /dev/DEVICEFILE DTR

#PTT CM108 DEVICEFILE


output of /proc/sound/cards and my DRA is being recognized.

cat /proc/asound/cards

 0 [Device         ]: USB-Audio - USB PnP Sound Device

                      C-Media Electronics Inc. USB PnP Sound Device at usb-0000:01:00.0-1.2, full spe

Craig

unread,
Jul 29, 2026, 1:57:40 PMJul 29
to Sanjeev Taran, DigiPi
Right, the audio device will automatically be supported, but you'll
need to re-initialize to use the new PTT method on the CM108.

You can edit localize.env and change 

     NEWRIGNUMBER=CM108

Then ptt will work on the master's device in all aprs/packet modes.

Your clip from direwolf.tnc.conf should show ALL of the PTT lines
commented out - that file should not be edited directly as it's
used as a template.

cool,
-craig
KM6LYW
--
You received this message because you are subscribed to the Google Groups "DigiPi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to digipi+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/digipi/ccad5b44-91ea-4093-b605-f3e359d1a226n%40googlegroups.com.

Sanjeev Taran

unread,
Jul 29, 2026, 4:22:08 PMJul 29
to Craig, DigiPi
Hi Craig, Dra45 uses hidraw0 and not usb. Do I also change the newdevicefile to devhidraw0 instead of ttyUSB0. I see a device called /dev//hidraw0 on my file system. Please advise. Thanks. 
Sent from my iPhone

On Jul 29, 2026, at 10:57 AM, Craig <km6...@gmail.com> wrote:

 Right, the audio device will automatically be supported, but you'll

Craig

unread,
Jul 29, 2026, 4:57:05 PMJul 29
to Sanjeev Taran, DigiPi
Yes, you're right, hidraw0, from /var/www/html/setup.php when you select an aioc-like device,


   switch ($riginterface) {
      case "aioc":
         $rignumber = "CM108";
         $devicefile = "hidraw0";
         $baudrate  = "115200";

loch.ness.mustang

unread,
Aug 7, 2026, 11:41:47 AM (11 days ago) Aug 7
to DigiPi
Would this also mean AIOC is the preferred setting for experimenting with a DigiRig Lite?

Craig

unread,
Aug 7, 2026, 11:56:21 AM (11 days ago) Aug 7
to loch.ness.mustang, DigiPi
If you talk to the DigiRig guys, they'll say the DigiRig "lite" isn't supported
on Raspberry Pi's.. something about power issues.  Looking at the spec,
it looks like it uses gpio3 on the cm108 audio chip for ptt, so the specs
below should work in theory.

-craig
KM6LYW
Reply all
Reply to author
Forward
0 new messages