Bug 196597

Summary: ALC1220 has missing mixer controls and inputs on Asus ROG Strix B350F Gaming motherboard
Product: Drivers Reporter: keantoken (keantoken)
Component: Sound(ALSA)Assignee: Jaroslav Kysela (perex)
Status: NEW ---    
Severity: normal    
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 4.13-rc3 Subsystem:
Regression: No Bisected commit-id:
Attachments: Output of alsa-info

Description keantoken 2017-08-06 03:28:02 UTC
Created attachment 257829 [details]
Output of alsa-info

Front panel mic works badly, optical output works. I haven't tested analog output.

The mic boost is the only control that works for the mic gain, which results in noisy recording. There is lots of ultrasonic noise.

Alsa-info attached.
Comment 1 keantoken 2017-08-06 04:09:47 UTC
Rear mic input does not work.
Comment 2 keantoken 2017-08-06 04:58:12 UTC
Another problem is that audio can play at the wrong samplerate. It's a weird test case but I have a 352KHz file that is playing at 192KHz for some reason:

$ cat /proc/asound/card1/pcm0p/sub0/*
access: MMAP_INTERLEAVED
format: S32_LE
subformat: STD
channels: 2
rate: 192000 (192000/1)
period_size: 1200
buffer_size: 4800
card: 1
device: 0
subdevice: 0
stream: PLAYBACK
id: ALC1220 Analog
name: ALC1220 Analog
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 0
64
32768
state: RUNNING
owner_pid   : 6424
trigger_time: 11743.242554902
tstamp      : 0.000000000
delay       : 3208
avail       : 1592
avail_max   : 2552
-----
hw_ptr      : 33203192
appl_ptr    : 33206400
tstamp_mode: NONE
period_step: 1
avail_min: 1200
start_threshold: 1
stop_threshold: 4800
silence_threshold: 0
silence_size: 0
boundary: 5404319552844595200
Comment 3 keantoken 2017-08-06 05:10:17 UTC
I suspect there is a configuration bug but deleting .asoundrc doesn't help. Is there no longer any way to purge ALSA?

$ aplay /media/keantoken/old-home/keantoken/Music/Sound_Test/2L/2L-071_stereo-DXD_01_01.wav
ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
aplay: main:788: audio open error: No such file or directory