Last active
May 7, 2024 08:47
-
-
Save ScottJWalter/3ec644d2eb180d145db2b42c6ad13b53 to your computer and use it in GitHub Desktop.
Jabra 410/510 on Picroft (Mycroft on Raspberry Pi)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pcm.jabra { | |
type hw | |
card 1 | |
device 0 | |
rate 48000 | |
} | |
pcm.!sysdefault { | |
type asym | |
playback.pcm { | |
type plug | |
slave.pcm "jabra" | |
} | |
capture.pcm { | |
type plug | |
slave.pcm "hw:1,0" | |
} | |
} | |
pcm.!default { | |
type asym | |
playback.pcm { | |
type plug | |
slave.pcm "jabra" | |
} | |
capture.pcm { | |
type plug | |
slave.pcm "hw:1,0" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Background
I've been trying to get the Jabra 410 speaker/mic work on a Raspberry Pi, with inconsistent results. After spending a great deal of time trying different "fixes" (from all over the web), only to have them work once, then not at all, or just not at all, I finally found a suggestion on the JarbasAI issue discussion that I was able to make work repeatably on the Raspberry Pi ... until I tried to install Mycroft on the Pi (picroft). While speaker playback worked, the mic wouldn't pick up, until I altered the file to also specify the
sysdefault
device, not just thedefault
. Then it worked, so here it is.Configuration
Installation
Place this code in
/home/pi/.asoundrc
. If the file already exists, rename the current one and replace it with this code (don't add it to an existing configuration unless you know what you're doing).Caveats
I haven't tested further to see if I only have to define
sysdefault
. I may try that later, but I've spent a weekend working on this and a virtualbox image of the same thing, so I'm taking a break.