Bug 250560 - No sound - TRX40 motherboard Matisse HD Audio Controller
Summary: No sound - TRX40 motherboard Matisse HD Audio Controller
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: usb (show other bugs)
Version: 12.2-RELEASE
Hardware: amd64 Any
: --- Affects Many People
Assignee: freebsd-usb (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-23 14:15 UTC by nickcph
Modified: 2020-10-30 16:20 UTC (History)
1 user (show)

See Also:


Attachments
dmesg.boot (23.04 KB, text/plain)
2020-10-23 14:15 UTC, nickcph
no flags Details
pciconf -lv (22.35 KB, text/plain)
2020-10-23 14:15 UTC, nickcph
no flags Details
devinfo -r (25.51 KB, text/plain)
2020-10-23 14:16 UTC, nickcph
no flags Details
cat /dev/sndstat (269 bytes, text/plain)
2020-10-23 14:16 UTC, nickcph
no flags Details
dmesg.boot 12.2-RELEASE (23.86 KB, text/plain)
2020-10-28 20:04 UTC, nickcph
no flags Details
pciconf -lv 12.2-RELEASE (22.35 KB, text/plain)
2020-10-28 20:05 UTC, nickcph
no flags Details
devinfo -r 12.2-RELEASE (24.65 KB, text/plain)
2020-10-28 20:05 UTC, nickcph
no flags Details
cat /dev/sndstat 12.2-RELEASE (327 bytes, text/plain)
2020-10-28 20:06 UTC, nickcph
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description nickcph 2020-10-23 14:15:09 UTC
Created attachment 219001 [details]
dmesg.boot

Audio controller appears to be USB, detected by FreeBSD 12.1 but doesn't seem to be configured correctly - missing codecs?

Board is an AMD TRX40 - ASUS ROG Zenith II Extreme Alpha (https://www.asus.com/uk/Motherboards/ROG-Zenith-II-Extreme-Alpha/) 

Attached: dmesg.boot, pciconf -lv, devinfo -r, sndstat

hdac1@pci0:36:0:4:	class=0x040300 card=0x874f1043 chip=0x14871022 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    device     = 'Starship/Matisse HD Audio Controller'
    class      = multimedia
    subclass   = HDA
Comment 1 nickcph 2020-10-23 14:15:46 UTC
Created attachment 219002 [details]
pciconf -lv
Comment 2 nickcph 2020-10-23 14:16:07 UTC
Created attachment 219003 [details]
devinfo -r
Comment 3 nickcph 2020-10-23 14:16:30 UTC
Created attachment 219004 [details]
cat /dev/sndstat
Comment 4 nickcph 2020-10-28 20:04:16 UTC
Created attachment 219175 [details]
dmesg.boot 12.2-RELEASE

dmesg.boot after upgrade
Comment 5 nickcph 2020-10-28 20:05:08 UTC
Created attachment 219176 [details]
pciconf -lv 12.2-RELEASE

pciconf after upgrade
Comment 6 nickcph 2020-10-28 20:05:36 UTC
Created attachment 219177 [details]
devinfo -r 12.2-RELEASE

devinfo after upgrade
Comment 7 nickcph 2020-10-28 20:06:10 UTC
Created attachment 219178 [details]
cat /dev/sndstat 12.2-RELEASE

sndstat after upgrade
Comment 8 nickcph 2020-10-28 20:07:16 UTC
Did an upgrade to 12.2-RELEASE today, appears to be two more USB-based audio entries in sndstat, but none of these are working.
Comment 9 Hans Petter Selasky freebsd_committer 2020-10-29 15:30:51 UTC
How did you test the USB audio devices?

--HPS
Comment 10 nickcph 2020-10-29 18:13:28 UTC
(In reply to Hans Petter Selasky from comment #9)

Thanks for the reply. I followed the steps in the Handbook for each USB audio pcm device (4-6):
`sysctl hw.snd.default_unit=x`
`mixer 100:100`
`cat /etc/ntp.conf > /dev/dsp`
Nothing was heard.

To confirm my hardware works and line out wiring is correct, I previously installed Windows 10 on the system and it outputs audio fine.
Comment 11 Hans Petter Selasky freebsd_committer 2020-10-30 08:00:04 UTC
What does plain mixer -f /dev/mixer<N> output for all your DSP devices?

--HPS
Comment 12 nickcph 2020-10-30 14:21:10 UTC
(In reply to Hans Petter Selasky from comment #11)

# mixer -f /dev/mixer0
Mixer vol      is currently set to 100:100
Mixer pcm      is currently set to 100:100
# mixer -f /dev/mixer1
Mixer vol      is currently set to 100:100
Mixer pcm      is currently set to 100:100
# mixer -f /dev/mixer2
Mixer vol      is currently set to 100:100
Mixer pcm      is currently set to 100:100
# mixer -f /dev/mixer3
Mixer vol      is currently set to 100:100
Mixer pcm      is currently set to 100:100
# mixer -f /dev/mixer4
Mixer vol      is currently set to 100:100
Mixer pcm      is currently set to  75:75
Mixer line     is currently set to  75:75
Mixer mic      is currently set to  25:25
# mixer -f /dev/mixer5
mixer vol      is currently set to 100:100
Mixer pcm      is currently set to  75:75
# mixer -f /dev/mixer6
Mixer vol      is currently set to  75:75
Mixer pcm      is currently set to  75:75
Comment 13 Hans Petter Selasky freebsd_committer 2020-10-30 15:32:02 UTC
And are any errors printed in dmesg when you use the USB audio devices for playback?
Comment 14 nickcph 2020-10-30 15:47:10 UTC
(In reply to Hans Petter Selasky from comment #13)

After re-running all the playback tests on each device and checking the dmesg output each time, there are no errors printed (no new lines generated in the dmesg at all).