Bug 254465 - [sound] No sound with Schiit Audio Modi 3+ USB dac
Summary: [sound] No sound with Schiit Audio Modi 3+ USB dac
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: usb (show other bugs)
Version: 13.0-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-usb (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-21 16:15 UTC by Samir Noir
Modified: 2021-03-21 21:09 UTC (History)
1 user (show)

See Also:


Attachments
usbconfig (1.04 KB, text/plain)
2021-03-21 16:15 UTC, Samir Noir
no flags Details
sysctl hw.snd (779 bytes, text/plain)
2021-03-21 16:16 UTC, Samir Noir
no flags Details
sysctl dev.pcm.2 (490 bytes, text/plain)
2021-03-21 16:17 UTC, Samir Noir
no flags Details
cat /dev/sndstat (188 bytes, text/plain)
2021-03-21 16:17 UTC, Samir Noir
no flags Details
dmesg after device plugged (702 bytes, text/plain)
2021-03-21 16:18 UTC, Samir Noir
no flags Details
dmesg when playback (with debug) (7.21 KB, text/plain)
2021-03-21 16:19 UTC, Samir Noir
no flags Details
usbconfig dump all desc (7.29 KB, text/plain)
2021-03-21 16:22 UTC, Samir Noir
no flags Details
dmesg with uaudio debug level at 17 (95.89 KB, text/plain)
2021-03-21 21:05 UTC, Samir Noir
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samir Noir 2021-03-21 16:15:17 UTC
Created attachment 223480 [details]
usbconfig

The USB connected Modi 3+ (from Schiit Audio) does not deliver sound (playback).
This was tested by playing an audio file with mpv, and streaming from Firefox (with oss backend), under FreeBSD 12.2-RELEASE and also after upgrading to 13.0-RC3

The dac looks correctly detected by the system, and with some debug (hw.snd.verbose=4 + hw.usb.uaudio.debug=15) data seems transferred to the device.

Attached: usbconfig, hw.snd sysctl, dev.pcm.2 sysctl, cat /dev/sndstat and dmesg
Comment 1 Samir Noir 2021-03-21 16:16:05 UTC
Created attachment 223481 [details]
sysctl hw.snd
Comment 2 Samir Noir 2021-03-21 16:17:02 UTC
Created attachment 223482 [details]
sysctl dev.pcm.2
Comment 3 Samir Noir 2021-03-21 16:17:38 UTC
Created attachment 223483 [details]
cat /dev/sndstat
Comment 4 Samir Noir 2021-03-21 16:18:27 UTC
Created attachment 223484 [details]
dmesg after device plugged
Comment 5 Samir Noir 2021-03-21 16:19:09 UTC
Created attachment 223485 [details]
dmesg when playback (with debug)
Comment 6 Samir Noir 2021-03-21 16:22:44 UTC
Created attachment 223486 [details]
usbconfig dump all desc
Comment 7 Hans Petter Selasky freebsd_committer freebsd_triage 2021-03-21 20:05:24 UTC
Hi,

Can you set:

hw.usb.uaudio.debug=17

Then plug the device and capture all prints in dmesg?

I'm not sure if this device will work with FreeBSD. I tried to search for "linux patchwork USB audio schiit" and got various interesting hits.

Does the device have any switches to enable USB audio legacy mode?

--HPS
Comment 8 Samir Noir 2021-03-21 21:04:45 UTC
Hi,

I put the new dmesg in attachment.

There is no switches on the device. For my information, legacy mode is USB audio class 1.0 ?
Comment 9 Samir Noir 2021-03-21 21:05:38 UTC
Created attachment 223493 [details]
dmesg with uaudio debug level at 17
Comment 10 Samir Noir 2021-03-21 21:09:54 UTC
To be more precise, there is one switch on the device (to choose the input between USB and others), but that all.