rvp Turns out I can get output from hdaudioctl
- I had to specify -f /dev/hdaudio1
hdaudioctl -f /dev/hdaudio1 list
codecid 0x02 nid 0x01 vendor 0x10EC product 0x0255 subsystem 0x06681028 device hdafg0
hdaudioctl -f /dev/hdaudio1 show 2 1
nid Data As Seq Device Conn Jack Location Color Misc
=========================================================================
0x12 40300000 0 0 CD None Unknown 0x00 Unknown 0
0x14 90170110 1 0 Speaker Fixed Analog Internal Unknown 1
0x17 411111F0 15 0 Speaker None 1/8" Rear Black 1
0x18 411111F0 15 0 Speaker None 1/8" Rear Black 1
0x19 411111F0 15 0 Speaker None 1/8" Rear Black 1
0x1A 411111F0 15 0 Speaker None 1/8" Rear Black 1
0x1B 02A11030 3 0 Mic In Jack 1/8" Front Black 0
0x1D 40538029 2 9 Digital Out None ATAPI 0x00 Purple 0
0x1E 411111F0 15 0 Speaker None 1/8" Rear Black 1
0x21 02211020 2 0 Headphones Jack 1/8" Front Black 0
This output seems to be identical to the output of alsa-info.sh
I tried:
hduadioctl -f /dev/hdaudio1 get 2 1 > plist.txt
hdaudioctl -f /dev/hdaudio1 set 2 1 plist.txt
and
hdaudioctl -f /dev/hdaudio1 set 2 1
Both has the same dmesg (with the exception of the latter not having a message stating it's a custom configuration).
dmesg | tail -n 13
[ 295.639784] spkr0: detached
[ 295.639784] audio0: detached
[ 295.639784] hdafg0: detached
[ 295.639784] hdafg0 at hdaudio1: Realtek product 0255 (custom configuration)
[ 295.659935] hdafg0: DAC00 2ch: Speaker [Built-In]
[ 295.659935] hdafg0: DAC01 2ch: HP Out [Jack]
[ 295.659935] hdafg0: ADC02 2ch: Mic In [Jack]
[ 295.659935] hdafg0: 2ch/2ch 44100Hz 48000Hz 96000Hz 192000Hz PCM16 PCM20 PCM24 AC3
[ 295.659935] audio0 at hdafg0: playback, capture, full duplex, independent
[ 295.659935] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for playback
[ 295.659935] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for recording
[ 295.659935] spkr0 at audio0: PC Speaker (synthesized)
[ 295.659935] wsbell at spkr0 not configured
Unfortunately none of this fixes the audio artifacts I'm experiencing.
Complete dmesg
output:
https://pastebin.pl/view/raw/eff59612