Re: Problems with ASUS Xonar D2X & PulseAudio card detection.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/22/18 6:51 PM, Russell Treleaven wrote:
Cool you have gained some insight.
I would define your sink as hw:D2X,<sink_index> as the card number can change but the name won't.

Ok. Just for the sake of testing, it also didn't add the sink to PA.

make a safety copy of ~/.asoundrc and make the file contain only this line.

defaults.namehint.extended on

Ok. I didn't have that file.

The please post the output of `aplay -L` and `amixer -cD2X contents`.

$ aplay -L
default
    Playback/recording through the PulseAudio sound server
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
sysdefault:CARD=D2X
    Xonar D2X, Multichannel
    Default Audio Device
front:CARD=D2X,DEV=0
    Xonar D2X, Multichannel
    Front speakers
surround21:CARD=D2X,DEV=0
    Xonar D2X, Multichannel
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=D2X,DEV=0
    Xonar D2X, Multichannel
    4.0 Surround output to Front and Rear speakers
surround41:CARD=D2X,DEV=0
    Xonar D2X, Multichannel
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=D2X,DEV=0
    Xonar D2X, Multichannel
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=D2X,DEV=0
    Xonar D2X, Multichannel
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=D2X,DEV=0
    Xonar D2X, Multichannel
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=D2X,DEV=0
    Xonar D2X, Multichannel
    IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=D2X,DEV=0
    Xonar D2X, Multichannel
    Direct sample mixing device
dmix:CARD=D2X,DEV=1
    Xonar D2X, Digital
    Direct sample mixing device
dsnoop:CARD=D2X,DEV=0
    Xonar D2X, Multichannel
    Direct sample snooping device
dsnoop:CARD=D2X,DEV=1
    Xonar D2X, Digital
    Direct sample snooping device
hw:CARD=D2X,DEV=0
    Xonar D2X, Multichannel
    Direct hardware device without any conversions
hw:CARD=D2X,DEV=1
    Xonar D2X, Digital
    Direct hardware device without any conversions
plughw:CARD=D2X,DEV=0
    Xonar D2X, Multichannel
    Hardware device with all software conversions
plughw:CARD=D2X,DEV=1
    Xonar D2X, Digital
    Hardware device with all software conversions
sysdefault:CARD=PCH
    HDA Intel PCH, ALC892 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, HDMI 0
    HDMI Audio Output
dmix:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    Direct sample mixing device
dmix:CARD=PCH,DEV=1
    HDA Intel PCH, ALC892 Digital
    Direct sample mixing device
dmix:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 0
    Direct sample mixing device
dsnoop:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    Direct sample snooping device
dsnoop:CARD=PCH,DEV=1
    HDA Intel PCH, ALC892 Digital
    Direct sample snooping device
dsnoop:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 0
    Direct sample snooping device
hw:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    Direct hardware device without any conversions
hw:CARD=PCH,DEV=1
    HDA Intel PCH, ALC892 Digital
    Direct hardware device without any conversions
hw:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 0
    Direct hardware device without any conversions
plughw:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    Hardware device with all software conversions
plughw:CARD=PCH,DEV=1
    HDA Intel PCH, ALC892 Digital
    Hardware device with all software conversions
plughw:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 0
    Hardware device with all software conversions

$ amixer -cD2X contents
numid=2,iface=MIXER,name='Master Playback Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=1,iface=MIXER,name='Master Playback Volume'
  ; type=INTEGER,access=rw---R--,values=8,min=135,max=255,step=0
  : values=215,215,215,215,215,215,215,215
  | dBscale-min=-60.00dB,step=0.50dB,mute=0
numid=19,iface=MIXER,name='Line Capture Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=21,iface=MIXER,name='CD Capture Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=20,iface=MIXER,name='CD Capture Volume'
  ; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
  : values=23,23
  | dBscale-min=-34.50dB,step=1.50dB,mute=0
numid=18,iface=MIXER,name='Mic Boost (+20dB)'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=17,iface=MIXER,name='Mic Capture Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=16,iface=MIXER,name='Mic Capture Volume'
  ; type=INTEGER,access=rw---R--,values=1,min=0,max=31,step=0
  : values=31
  | dBscale-min=-34.50dB,step=1.50dB,mute=0
numid=23,iface=MIXER,name='Aux Capture Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=22,iface=MIXER,name='Aux Capture Volume'
  ; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
  : values=0,0
  | dBscale-min=-34.50dB,step=1.50dB,mute=0
numid=24,iface=MIXER,name='Analog Loopback Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=10,iface=MIXER,name='IEC958 Loopback Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=11,iface=MIXER,name='IEC958 Validity Check Capture Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=4,iface=MIXER,name='IEC958 Playback Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=12,iface=MIXER,name='Analog Input Monitor Playback Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=13,iface=MIXER,name='Analog Input Monitor Playback Volume'
  ; type=INTEGER,access=rw---R--,values=1,min=0,max=1,step=0
  : values=1
  | dBscale-min=-6.00dB,step=6.00dB,mute=0
numid=25,iface=MIXER,name='DAC Filter Playback Enum'
  ; type=ENUMERATED,access=rw------,values=1,items=2
  ; Item #0 'Sharp Roll-off'
  ; Item #1 'Slow Roll-off'
  : values=0
numid=14,iface=MIXER,name='Digital Input Monitor Playback Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=15,iface=MIXER,name='Digital Input Monitor Playback Volume'
  ; type=INTEGER,access=rw---R--,values=1,min=0,max=1,step=0
  : values=1
  | dBscale-min=-6.00dB,step=6.00dB,mute=0
numid=3,iface=MIXER,name='Stereo Upmixing'
  ; type=ENUMERATED,access=rw------,values=1,items=3
  ; Item #0 'Front'
  ; Item #1 'Front+Surround'
  ; Item #2 'Front+Surround+Back'
  : values=1
numid=9,iface=PCM,name='IEC958 Capture Default',device=1
  ; type=IEC958,access=r-------,values=1
  : values=[AES0=0x00 AES1=0x00 AES2=0x00 AES3=0x00]
numid=8,iface=PCM,name='IEC958 Capture Mask',device=1
  ; type=IEC958,access=r-------,values=1
  : values=[AES0=0xff AES1=0xff AES2=0xff AES3=0xff]
numid=6,iface=PCM,name='IEC958 Playback Con Mask',device=1
  ; type=IEC958,access=r-------,values=1
  : values=[AES0=0x3e AES1=0xff AES2=0x00 AES3=0x00]
numid=5,iface=PCM,name='IEC958 Playback Default',device=1
  ; type=IEC958,access=rw------,values=1
  : values=[AES0=0x04 AES1=0x82 AES2=0x00 AES3=0x00]

You may be able to disable 5.1 and get the analog sink to work.

Only I do want the 5.1 analog output.
_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss




[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux