Asus Sonar SE has no working FrontHeader Out/In but working in alsa
Summary
Asus Sonar SE FrontHeader is not working. Plug detection does change setup correctly but no audio. Using speaker-test/arecord the front panel can be used. With pulse however the ports are not wired correctly.
Even through the card is a PCIe card it has a PCIe to USB-bridge on the card - thus detected as a USB device.
environment
pulseaudio 14.2
Following the relevant information excluding the AMD HDMI soundcard@GPU.
Sink #2
State: SUSPENDED
Name: alsa_output.usb-ASUSTeK_Xonar_SoundCard-00.analog-stereo
Description: Xonar SoundCard Analog Stereo
Driver: module-alsa-card.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 7
Mute: no
Volume: front-left: 65971 / 101% / 0.17 dB, front-right: 65971 / 101% / 0.17 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor Source: alsa_output.usb-ASUSTeK_Xonar_SoundCard-00.analog-stereo.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
Properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "USB Audio"
alsa.id = "USB Audio"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "1"
alsa.card_name = "Xonar SoundCard"
alsa.long_card_name = "ASUSTeK Xonar SoundCard at usb-0000:12:00.0-1, high speed"
alsa.driver_name = "snd_usb_audio"
device.bus_path = "pci-0000:12:00.0-usb-0:1:1.0"
sysfs.path = "/devices/pci0000:10/0000:10:01.3/0000:12:00.0/usb3/3-1/3-1:1.0/sound/card1"
udev.id = "usb-ASUSTeK_Xonar_SoundCard-00"
device.bus = "usb"
device.vendor.id = "0b05"
device.vendor.name = "ASUSTek Computer, Inc."
device.product.id = "189d"
device.product.name = "Xonar SoundCard"
device.serial = "ASUSTeK_Xonar_SoundCard"
device.string = "front:1"
device.buffering.buffer_size = "352800"
device.buffering.fragment_size = "176400"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "Xonar SoundCard Analog Stereo"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-usb"
Ports:
analog-output-speaker: Speakers (type: Speaker, priority: 10000, available)
analog-output-headphones: Headphones (type: Headphones, priority: 9900, available)
Active Port: analog-output-headphones
Formats:
pcm
Source #1
State: SUSPENDED
Name: alsa_input.usb-ASUSTeK_Xonar_SoundCard-00.analog-stereo
Description: Xonar SoundCard Analog Stereo
Driver: module-alsa-card.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 7
Mute: no
Volume: front-left: 65533 / 100% / -0.00 dB, front-right: 65533 / 100% / -0.00 dB
balance 0.00
Base Volume: 20724 / 32% / -30.00 dB
Monitor of Sink: n/a
Latency: 0 usec, configured 0 usec
Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
Properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "USB Audio"
alsa.id = "USB Audio"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "1"
alsa.card_name = "Xonar SoundCard"
alsa.long_card_name = "ASUSTeK Xonar SoundCard at usb-0000:12:00.0-1, high speed"
alsa.driver_name = "snd_usb_audio"
device.bus_path = "pci-0000:12:00.0-usb-0:1:1.0"
sysfs.path = "/devices/pci0000:10/0000:10:01.3/0000:12:00.0/usb3/3-1/3-1:1.0/sound/card1"
udev.id = "usb-ASUSTeK_Xonar_SoundCard-00"
device.bus = "usb"
device.vendor.id = "0b05"
device.vendor.name = "ASUSTek Computer, Inc."
device.product.id = "189d"
device.product.name = "Xonar SoundCard"
device.serial = "ASUSTeK_Xonar_SoundCard"
device.string = "front:1"
device.buffering.buffer_size = "352800"
device.buffering.fragment_size = "176400"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "Xonar SoundCard Analog Stereo"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-usb"
Ports:
analog-input-mic: Microphone (type: Mic, priority: 8700, available)
analog-input-linein: Line In (type: Line, priority: 8100, available)
Active Port: analog-input-mic
Formats:
pcm
Source #3
State: SUSPENDED
Name: alsa_output.usb-ASUSTeK_Xonar_SoundCard-00.analog-stereo.monitor
Description: Monitor of Xonar SoundCard Analog Stereo
Driver: module-alsa-card.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 7
Mute: no
Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor of Sink: alsa_output.usb-ASUSTeK_Xonar_SoundCard-00.analog-stereo
Latency: 0 usec, configured 0 usec
Flags: DECIBEL_VOLUME LATENCY
Properties:
device.description = "Monitor of Xonar SoundCard Analog Stereo"
device.class = "monitor"
alsa.card = "1"
alsa.card_name = "Xonar SoundCard"
alsa.long_card_name = "ASUSTeK Xonar SoundCard at usb-0000:12:00.0-1, high speed"
alsa.driver_name = "snd_usb_audio"
device.bus_path = "pci-0000:12:00.0-usb-0:1:1.0"
sysfs.path = "/devices/pci0000:10/0000:10:01.3/0000:12:00.0/usb3/3-1/3-1:1.0/sound/card1"
udev.id = "usb-ASUSTeK_Xonar_SoundCard-00"
device.bus = "usb"
device.vendor.id = "0b05"
device.vendor.name = "ASUSTek Computer, Inc."
device.product.id = "189d"
device.product.name = "Xonar SoundCard"
device.serial = "ASUSTeK_Xonar_SoundCard"
device.string = "1"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-usb"
Formats:
pcm
Card #0
Name: alsa_card.usb-ASUSTeK_Xonar_SoundCard-00
Driver: module-alsa-card.c
Owner Module: 7
Properties:
alsa.card = "1"
alsa.card_name = "Xonar SoundCard"
alsa.long_card_name = "ASUSTeK Xonar SoundCard at usb-0000:12:00.0-1, high speed"
alsa.driver_name = "snd_usb_audio"
device.bus_path = "pci-0000:12:00.0-usb-0:1:1.0"
sysfs.path = "/devices/pci0000:10/0000:10:01.3/0000:12:00.0/usb3/3-1/3-1:1.0/sound/card1"
udev.id = "usb-ASUSTeK_Xonar_SoundCard-00"
device.bus = "usb"
device.vendor.id = "0b05"
device.vendor.name = "ASUSTek Computer, Inc."
device.product.id = "189d"
device.product.name = "Xonar SoundCard"
device.serial = "ASUSTeK_Xonar_SoundCard"
device.string = "1"
device.description = "Xonar SoundCard"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-usb"
Profiles:
input:analog-stereo: Analog Stereo-Eingabe (sinks: 0, sources: 1, priority: 32833, available: yes)
output:analog-stereo: Analog Stereo-Ausgabe (sinks: 1, sources: 0, priority: 39268, available: yes)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 39333, available: yes)
output:analog-surround-21: Analog Surround 2.1-Ausgabe (sinks: 1, sources: 0, priority: 34068, available: yes)
output:analog-surround-21+input:analog-stereo: Analog Surround 2.1-Ausgabe + Analog Stereo-Eingabe (sinks: 1, sources: 1, priority: 34133, available: yes)
output:analog-surround-40: Analog Surround 4.0-Ausgabe (sinks: 1, sources: 0, priority: 33968, available: yes)
output:analog-surround-40+input:analog-stereo: Analog Surround 4.0-Ausgabe + Analog Stereo-Eingabe (sinks: 1, sources: 1, priority: 34033, available: yes)
output:analog-surround-41: Analog Surround 4.1-Ausgabe (sinks: 1, sources: 0, priority: 34068, available: yes)
output:analog-surround-41+input:analog-stereo: Analog Surround 4.1-Ausgabe + Analog Stereo-Eingabe (sinks: 1, sources: 1, priority: 34133, available: yes)
output:analog-surround-50: Analog Surround 5.0-Ausgabe (sinks: 1, sources: 0, priority: 33968, available: yes)
output:analog-surround-50+input:analog-stereo: Analog Surround 5.0-Ausgabe + Analog Stereo-Eingabe (sinks: 1, sources: 1, priority: 34033, available: yes)
output:analog-surround-51: Analog Surround 5.1-Ausgabe (sinks: 1, sources: 0, priority: 34068, available: yes)
output:analog-surround-51+input:analog-stereo: Analog Surround 5.1-Ausgabe + Analog Stereo-Eingabe (sinks: 1, sources: 1, priority: 34133, available: yes)
output:iec958-stereo: Digital Stereo (IEC958)-Ausgabe (sinks: 1, sources: 0, priority: 38268, available: yes)
output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958)-Ausgabe + Analog Stereo-Eingabe (sinks: 1, sources: 1, priority: 38333, available: yes)
off: Aus (sinks: 0, sources: 0, priority: 0, available: yes)
Active Profile: output:analog-stereo+input:analog-stereo
Ports:
analog-input-mic: Microphone (type: Mic, priority: 8700, latency offset: 0 usec, available)
Properties:
device.icon_name = "audio-input-microphone"
Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:an
alog-stereo, output:analog-surround-51+input:analog-stereo, output:iec958-stereo+input:analog-stereo
analog-input-linein: Line In (type: Line, priority: 8100, latency offset: 0 usec, available)
Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:an
alog-stereo, output:analog-surround-51+input:analog-stereo, output:iec958-stereo+input:analog-stereo
analog-output-speaker: Speakers (type: Speaker, priority: 10000, latency offset: 0 usec, available)
Properties:
device.icon_name = "audio-speakers"
Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21, output:analog-surround-21+input:analog-stereo, output:analog-surround-40, output:analog-surround-40+input:analog-stereo, output:analog-surround-41,
output:analog-surround-41+input:analog-stereo, output:analog-surround-50, output:analog-surround-50+input:analog-stereo, output:analog-surround-51, output:analog-surround-51+input:analog-stereo
analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, available)
Properties:
device.icon_name = "audio-headphones"
Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
iec958-stereo-output: Digital Output (S/PDIF) (type: SPDIF, priority: 0, latency offset: 0 usec, availability unknown)
Part of profile(s): output:iec958-stereo, output:iec958-stereo+input:analog-stereo
aplay -L excluding AMD HDMI stuff
hw:CARD=SoundCard,DEV=0
Xonar SoundCard, USB Audio
Direct hardware device without any conversions
hw:CARD=SoundCard,DEV=1
Xonar SoundCard, USB Audio #1
Direct hardware device without any conversions
hw:CARD=SoundCard,DEV=2
Xonar SoundCard, USB Audio #2
Direct hardware device without any conversions
hw:CARD=SoundCard,DEV=3
Xonar SoundCard, USB Audio #3
Direct hardware device without any conversions
plughw:CARD=SoundCard,DEV=0
Xonar SoundCard, USB Audio
Hardware device with all software conversions
plughw:CARD=SoundCard,DEV=1
Xonar SoundCard, USB Audio #1
Hardware device with all software conversions
plughw:CARD=SoundCard,DEV=2
Xonar SoundCard, USB Audio #2
Hardware device with all software conversions
plughw:CARD=SoundCard,DEV=3
Xonar SoundCard, USB Audio #3
Hardware device with all software conversions
sysdefault:CARD=SoundCard
Xonar SoundCard, USB Audio
Default Audio Device
front:CARD=SoundCard,DEV=0
Xonar SoundCard, USB Audio
Front output / input
surround21:CARD=SoundCard,DEV=0
Xonar SoundCard, USB Audio
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=SoundCard,DEV=0
Xonar SoundCard, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=SoundCard,DEV=0
Xonar SoundCard, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=SoundCard,DEV=0
Xonar SoundCard, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=SoundCard,DEV=0
Xonar SoundCard, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=SoundCard,DEV=0
Xonar SoundCard, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=SoundCard,DEV=0
Xonar SoundCard, USB Audio
IEC958 (S/PDIF) Digital Audio Output
iec958:CARD=SoundCard,DEV=1
Xonar SoundCard, USB Audio #1
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=SoundCard,DEV=0
Xonar SoundCard, USB Audio
Direct sample mixing device
dmix:CARD=SoundCard,DEV=1
Xonar SoundCard, USB Audio #1
Direct sample mixing device
dmix:CARD=SoundCard,DEV=2
Xonar SoundCard, USB Audio #2
Direct sample mixing device
dmix:CARD=SoundCard,DEV=3
Xonar SoundCard, USB Audio #3
Direct sample mixing device
usbstream:CARD=SoundCard
Xonar SoundCard
USB Stream Output
the Speaker Out on the back of the PCIe card is working with:
speaker-test -c2 -D "hw:CARD=SoundCard,DEV=0"
the Headphone out on the back of the PCIe card is working with:
speaker-test -c2 -D "hw:CARD=SoundCard,DEV=1"
DEV2 and DEV3 seems to be optical digital out. But I have no device to verify this.
same is true for Line in (PCIe) and Mic In (Front Header)
arecord -D "hw:CARD=SoundCard,DEV=0" -f cd foo.wav
arecord -D "hw:CARD=SoundCard,DEV=1" -f cd foo.wav
plug detection is working for
node hw:1, #16 (0,0,0,Headphone - Output Jack,0) VALUE
node hw:1, #31 (0,0,0,Mic - Input Jack,1) VALUE
and is for the headphone also detected by pulse and does change the profile from Speakers <-> Headphone but the Mic-Inc not. All other have no detection - also with the ASUS driver under Windows. So likely to have no hardware support for this.
If the profile is switched between speaker and headphone always card Line out is used. Also the wrong Volume control is adjusted. The volume control always changed the volume for the Line OUT (). The correct volume control for headphone is "PCM 1" in alsamixer.
Steps to reproduce
Have a Headphone connected to the Front Header (which is connected to the PCIe card)
Use Stereo Duplex or Stereo Out
Port to Headphone
What is the current bug behavior?
no audio on headphones
What is the expected correct behavior?
audio on headphones