Roland's homepage

My random knot in the Web

Using a USB headset on FreeBSD

date: 2021-09-08
modified: 2021-09-10
reading time: 2 min.
category: freebsd
tags: headset USB

At work I’ve been using several different USB headsets. Let’s see if they work on FreeBSD.

Microsoft LX-6000

Relevant dmesg output after plugging it in:

ugen0.6: <Microsoft Microsoft LifeChat LX-6000> at usbus0
uhid0 on uhub0
uhid0: <Microsoft Microsoft LifeChat LX-6000, class 0/0, rev 2.00/2.12, addr 15> on usbus0
uaudio0 on uhub0
uaudio0: <Microsoft Microsoft LifeChat LX-6000, class 0/0, rev 2.00/2.12, addr 15> on usbus0
uaudio0: Play[0]: 44100 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Record[0]: 44100 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer.
uaudio0: No MIDI sequencer.
pcm3: <USB audio> on uaudio0
uaudio0: HID volume keys found.

Jabra EVOLVE 20 MS

On the back of the volume control unit, it says MODEL: HSC016.

Relevant dmesg output after plugging it in:

ugen0.5: <GN Netcom A/S Jabra EVOLVE 20 MS> at usbus0
uhid0 on uhub0
uhid0: <GN Netcom A/S Jabra EVOLVE 20 MS, class 0/0, rev 2.00/4.01, addr 43> on usbus0
uaudio0 on uhub0
uaudio0: <GN Netcom A/S Jabra EVOLVE 20 MS, class 0/0, rev 2.00/4.01, addr 43> on usbus0
uaudio0: Play[0]: 48000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Play[0]: 44100 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Play[0]: 32000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Play[0]: 16000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Play[0]: 8000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Record[0]: 48000 Hz, 1 ch, 16-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Record[0]: 44100 Hz, 1 ch, 16-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Record[0]: 16000 Hz, 1 ch, 16-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Record[0]: 8000 Hz, 1 ch, 16-bit S-LE PCM format, 2x8ms buffer.
uaudio0: No MIDI sequencer.
pcm3: <USB audio> on uaudio0
uaudio0: HID volume keys found.

For both headsets

Checking installed devices

> cat /dev/sndstat
Installed devices:
pcm0: <Realtek ALC887 (Rear Analog)> (play/rec)
pcm1: <Realtek ALC887 (Front Analog)> (play/rec) default
pcm2: <Realtek ALC887 (Internal Digital)> (play)
pcm3: <USB audio> (play/rec)
No devices installed from userspace.

Switch to the headset.

> sysctl hw.snd.default_unit=3

Switching back.

> sysctl hw.snd.default_unit=1

Audio quality (both listening and recording) is adequate for both.

Recording audio from the headsets

Using ffmpeg.

> ffmpeg -thread_queue_size 1024 -f oss -i /dev/dsp3.0 test.m4a

For comments, please send me an e-mail.


Related articles


←  Buildworld benchmark on my new workstation FreeBSD 13.1 install on a Lenovo IdeaPad 5  →