Skip to content

Instantly share code, notes, and snippets.

@ScottJWalter
Last active May 7, 2024 08:47
Show Gist options
  • Save ScottJWalter/3ec644d2eb180d145db2b42c6ad13b53 to your computer and use it in GitHub Desktop.
Save ScottJWalter/3ec644d2eb180d145db2b42c6ad13b53 to your computer and use it in GitHub Desktop.
Jabra 410/510 on Picroft (Mycroft on Raspberry Pi)
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"
}
}
@ScottJWalter
Copy link
Author

ScottJWalter commented Feb 19, 2018

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 the default. Then it worked, so here it is.

Configuration

  • Raspberry Pi 3
  • Picroft image 0.9.1
  • Jabra 410 Speaker/Mic
  • Ethernet (still having issues getting wifi to work on picroft ... but that's a different gist)

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment