Re: [pulseaudio-discuss] configure a soundcard?
> > > How are the messaging API patches coming along? > > Slowly moving forward. You can follow the process here: > https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/51 Super! Thanks for the link. Good to see progress. -m ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] configure a soundcard?
On Mon, 2020-04-13 at 11:02 -0500, Matt Zagrabelny wrote: > Georg, Tanu, and others, > > On Tue, Apr 30, 2019 at 2:35 PM Georg Chini wrote: > > > On 27.04.19 12:26, Tanu Kaskinen wrote: > > > On Fri, 2019-04-26 at 07:37 -0500, Matt Zagrabelny wrote: > > > > On Fri, Apr 26, 2019 at 4:28 AM Tanu Kaskinen wrote: > > > > > > > > > > > In /usr/share/pulseaudio/alsa-mixer/paths/analog-output- > > > headphones.conf, change these lines: > > > > > > [Jack Front Headphone] > > > required-any = any > > > > > > to > > > > > > [Jack Front Headphone] > > > required-any = any > > > state.plugged = unknown > > > state.unplugged = unknown > > > > > > and similarly in /usr/share/pulseaudio/alsa-mixer/paths/analog-output- > > > lineout.conf change these lines: > > > > > > [Jack Line Out Front] > > > required-any = any > > > > > > to > > > > > > [Jack Line Out Front] > > > required-any = any > > > state.plugged = unknown > > > state.unplugged = unknown > > > > > > These changes will be overwritten whenever your distribution updates > > > pulseaudio (yes, this sucks, hopefully this will be improved some day; > > > I think George Chini already has something prepared related to > > > disabling jack detection). > > > > > Yes, once the messaging API patches are merged, I have at > > least patches that provide the basic infrastructure to disable > > jack detection on the fly. > > > > How are the messaging API patches coming along? Slowly moving forward. You can follow the process here: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/51 > I happened to upgrade this computer the other day and was reminded of this > thread. > > Any PA updates for disabling jack detection on the fly? No. -- Tanu https://www.patreon.com/tanuk https://liberapay.com/tanuk ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] configure a soundcard?
Georg, Tanu, and others, On Tue, Apr 30, 2019 at 2:35 PM Georg Chini wrote: > On 27.04.19 12:26, Tanu Kaskinen wrote: > > On Fri, 2019-04-26 at 07:37 -0500, Matt Zagrabelny wrote: > >> On Fri, Apr 26, 2019 at 4:28 AM Tanu Kaskinen wrote: > >> > >> > > In /usr/share/pulseaudio/alsa-mixer/paths/analog-output- > > headphones.conf, change these lines: > > > > [Jack Front Headphone] > > required-any = any > > > > to > > > > [Jack Front Headphone] > > required-any = any > > state.plugged = unknown > > state.unplugged = unknown > > > > and similarly in /usr/share/pulseaudio/alsa-mixer/paths/analog-output- > > lineout.conf change these lines: > > > > [Jack Line Out Front] > > required-any = any > > > > to > > > > [Jack Line Out Front] > > required-any = any > > state.plugged = unknown > > state.unplugged = unknown > > > > These changes will be overwritten whenever your distribution updates > > pulseaudio (yes, this sucks, hopefully this will be improved some day; > > I think George Chini already has something prepared related to > > disabling jack detection). > > > Yes, once the messaging API patches are merged, I have at > least patches that provide the basic infrastructure to disable > jack detection on the fly. > How are the messaging API patches coming along? I happened to upgrade this computer the other day and was reminded of this thread. Any PA updates for disabling jack detection on the fly? Thanks for your work in PA and help here, too. -m ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] configure a soundcard?
On 27.04.19 12:26, Tanu Kaskinen wrote: On Fri, 2019-04-26 at 07:37 -0500, Matt Zagrabelny wrote: On Fri, Apr 26, 2019 at 4:28 AM Tanu Kaskinen wrote: In /usr/share/pulseaudio/alsa-mixer/paths/analog-output- headphones.conf, change these lines: [Jack Front Headphone] required-any = any to [Jack Front Headphone] required-any = any state.plugged = unknown state.unplugged = unknown and similarly in /usr/share/pulseaudio/alsa-mixer/paths/analog-output- lineout.conf change these lines: [Jack Line Out Front] required-any = any to [Jack Line Out Front] required-any = any state.plugged = unknown state.unplugged = unknown These changes will be overwritten whenever your distribution updates pulseaudio (yes, this sucks, hopefully this will be improved some day; I think George Chini already has something prepared related to disabling jack detection). Yes, once the messaging API patches are merged, I have at least patches that provide the basic infrastructure to disable jack detection on the fly. ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] configure a soundcard?
On Sat, Apr 27, 2019 at 5:27 AM Tanu Kaskinen wrote: > On Fri, 2019-04-26 at 07:37 -0500, Matt Zagrabelny wrote: > > On Fri, Apr 26, 2019 at 4:28 AM Tanu Kaskinen wrote: > > > > > > Card #1 > > > > Name: alsa_card.pci-_00_14.2 > > > > > > ... > > > > > > > Ports: > > > > > > ... > > > > > > > analog-output-lineout: Line Out (priority: 9900, > latency > > > > offset: 0 usec, not available) > > > > 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, > output:analog-surround-71, > > > > output:analog-surround-71+input:analog-stereo > > > > analog-output-headphones: Headphones (priority: 9000, > > > > latency offset: 0 usec, not 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) > (priority: > > > 0, > > > > latency offset: 0 usec) > > > > Part of profile(s): output:iec958-stereo, > > > > output:iec958-stereo+input:analog-stereo > > > > > > Both analog ports are marked as "not available", which means that to > > > PulseAudio looks like nothing is plugged in in either connector. This > > > is the reason why PulseAudio always picks the digital output on boot. > > > Broken jack detection is is a hardware or driver issue, which can be > > > worked around, see below. > > > > > > > Ahhh. Understood. > > > > > > > > > while read -r line; do amixer -c0 cget "$line"; done <<< > $(amixer > > > -c0 > > > > > controls | grep Jack) > > > > > > > > > > > > > numid=1,iface=CARD,name='HDMI/DP,pcm=3 Jack' > > > > ; type=BOOLEAN,access=r---,values=1 > > > > : values=on > > > > numid=7,iface=CARD,name='HDMI/DP,pcm=7 Jack' > > > > ; type=BOOLEAN,access=r---,values=1 > > > > : values=off > > > > > > It seems that I guessed wrong the card number. Card 0 seems to be the > > > HDMI card, while we're interested in the analog sound card, which is > > > alsa card 1. So change the script to this: > > > > > > while read -r line; do amixer -c0 cget "$line"; done <<< $(amixer > -c0 > > > controls | grep Jack) > > > > > > > I'm guessing I should change the above -c0's to -c1's. > > Oops! Yes, that's what I meant. > > > Here is that output: > > > > numid=44,iface=CARD,name='CD Phantom Jack' > > ; type=BOOLEAN,access=r---,values=1 > > : values=on > > numid=49,iface=CARD,name='Front Headphone Jack' > > ; type=BOOLEAN,access=r---,values=1 > > : values=off > > numid=42,iface=CARD,name='Front Mic Jack' > > ; type=BOOLEAN,access=r---,values=1 > > : values=off > > numid=43,iface=CARD,name='Line Jack' > > ; type=BOOLEAN,access=r---,values=1 > > : values=off > > numid=47,iface=CARD,name='Line Out CLFE Jack' > > ; type=BOOLEAN,access=r---,values=1 > > : values=off > > numid=45,iface=CARD,name='Line Out Front Jack' > > ; type=BOOLEAN,access=r---,values=1 > > : values=off > > numid=48,iface=CARD,name='Line Out Side Jack' > > ; type=BOOLEAN,access=r---,values=1 > > : values=off > > numid=46,iface=CARD,name='Line Out Surround Jack' > > ; type=BOOLEAN,access=r---,values=1 > > : values=off > > numid=41,iface=CARD,name='Rear Mic Jack' > > ; type=BOOLEAN,access=r---,values=1 > > : values=off > > numid=50,iface=CARD,name='SPDIF Jack' > > ; type=BOOLEAN,access=r---,values=1 > > : values=off > > Okay, the relevant jacks are "Front Headphone" and "Line Out Front". I > don't know if you're trying to use the headphone or the line out port, > but if you can disable jack detection for both: > Empirical evidence suggests I am using Line Out. Thanks for all the help. It works great! -m ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] configure a soundcard?
On Fri, Apr 26, 2019 at 4:28 AM Tanu Kaskinen wrote: > On Mon, 2019-04-22 at 07:47 -0500, Matt Zagrabelny wrote: > > On Mon, Apr 22, 2019 at 3:06 AM Tanu Kaskinen wrote: > > > > > On Sat, 2019-04-20 at 12:11 -0500, Matt Zagrabelny wrote: > > > > Greetings, > > > > > > > > I'm running Debian Buster and I have a 1/8" audio jack. I need the > sink > > > to > > > > be an analog output to send off to some other device. Things work > great, > > > > except for when the system reboots, it comes up configured as a > digital > > > > soundcard: > > > > > > > > Digital Stereo (IEC958) > > > > > > > > Here is a diff between a "pactl list" when the computer reboots and > when > > > > I've configured it to be an analog sink: > > > > > > > > -Sink #1 > > > > - State: SUSPENDED > > > > - Name: alsa_output.pci-_00_14.2.iec958-stereo > > > > - Description: Built-in Audio Digital Stereo (IEC958) > > > > +Sink #2 > > > > + State: RUNNING > > > > + Name: alsa_output.pci-_00_14.2.analog-stereo > > > > + Description: Built-in Audio Analog Stereo > > > > > > > > What is the best way to have the configuration saved between reboots? > > > > > > > > I can provide further info if needed. > > > > > > > > Thanks for any help! > > > > Hey Tanu! > > > > Thanks for the assistance. Below is the output of what you asked for. > > > > > Card #1 > > Name: alsa_card.pci-_00_14.2 > > ... > > > Ports: > > ... > > > analog-output-lineout: Line Out (priority: 9900, latency > > offset: 0 usec, not available) > > 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, output:analog-surround-71, > > output:analog-surround-71+input:analog-stereo > > analog-output-headphones: Headphones (priority: 9000, > > latency offset: 0 usec, not 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) (priority: > 0, > > latency offset: 0 usec) > > Part of profile(s): output:iec958-stereo, > > output:iec958-stereo+input:analog-stereo > > Both analog ports are marked as "not available", which means that to > PulseAudio looks like nothing is plugged in in either connector. This > is the reason why PulseAudio always picks the digital output on boot. > Broken jack detection is is a hardware or driver issue, which can be > worked around, see below. > Tanu, Should I look to file a bug with the computer manufacturer or the kernel? Thanks, -m ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] configure a soundcard?
On Fri, 2019-04-26 at 07:37 -0500, Matt Zagrabelny wrote: > On Fri, Apr 26, 2019 at 4:28 AM Tanu Kaskinen wrote: > > > > Card #1 > > > Name: alsa_card.pci-_00_14.2 > > > > ... > > > > > Ports: > > > > ... > > > > > analog-output-lineout: Line Out (priority: 9900, latency > > > offset: 0 usec, not available) > > > 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, output:analog-surround-71, > > > output:analog-surround-71+input:analog-stereo > > > analog-output-headphones: Headphones (priority: 9000, > > > latency offset: 0 usec, not 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) (priority: > > 0, > > > latency offset: 0 usec) > > > Part of profile(s): output:iec958-stereo, > > > output:iec958-stereo+input:analog-stereo > > > > Both analog ports are marked as "not available", which means that to > > PulseAudio looks like nothing is plugged in in either connector. This > > is the reason why PulseAudio always picks the digital output on boot. > > Broken jack detection is is a hardware or driver issue, which can be > > worked around, see below. > > > > Ahhh. Understood. > > > > > > while read -r line; do amixer -c0 cget "$line"; done <<< $(amixer > > -c0 > > > > controls | grep Jack) > > > > > > > > > > numid=1,iface=CARD,name='HDMI/DP,pcm=3 Jack' > > > ; type=BOOLEAN,access=r---,values=1 > > > : values=on > > > numid=7,iface=CARD,name='HDMI/DP,pcm=7 Jack' > > > ; type=BOOLEAN,access=r---,values=1 > > > : values=off > > > > It seems that I guessed wrong the card number. Card 0 seems to be the > > HDMI card, while we're interested in the analog sound card, which is > > alsa card 1. So change the script to this: > > > > while read -r line; do amixer -c0 cget "$line"; done <<< $(amixer -c0 > > controls | grep Jack) > > > > I'm guessing I should change the above -c0's to -c1's. Oops! Yes, that's what I meant. > Here is that output: > > numid=44,iface=CARD,name='CD Phantom Jack' > ; type=BOOLEAN,access=r---,values=1 > : values=on > numid=49,iface=CARD,name='Front Headphone Jack' > ; type=BOOLEAN,access=r---,values=1 > : values=off > numid=42,iface=CARD,name='Front Mic Jack' > ; type=BOOLEAN,access=r---,values=1 > : values=off > numid=43,iface=CARD,name='Line Jack' > ; type=BOOLEAN,access=r---,values=1 > : values=off > numid=47,iface=CARD,name='Line Out CLFE Jack' > ; type=BOOLEAN,access=r---,values=1 > : values=off > numid=45,iface=CARD,name='Line Out Front Jack' > ; type=BOOLEAN,access=r---,values=1 > : values=off > numid=48,iface=CARD,name='Line Out Side Jack' > ; type=BOOLEAN,access=r---,values=1 > : values=off > numid=46,iface=CARD,name='Line Out Surround Jack' > ; type=BOOLEAN,access=r---,values=1 > : values=off > numid=41,iface=CARD,name='Rear Mic Jack' > ; type=BOOLEAN,access=r---,values=1 > : values=off > numid=50,iface=CARD,name='SPDIF Jack' > ; type=BOOLEAN,access=r---,values=1 > : values=off Okay, the relevant jacks are "Front Headphone" and "Line Out Front". I don't know if you're trying to use the headphone or the line out port, but if you can disable jack detection for both: In /usr/share/pulseaudio/alsa-mixer/paths/analog-output- headphones.conf, change these lines: [Jack Front Headphone] required-any = any to [Jack Front Headphone] required-any = any state.plugged = unknown state.unplugged = unknown and similarly in /usr/share/pulseaudio/alsa-mixer/paths/analog-output- lineout.conf change these lines: [Jack Line Out Front] required-any = any to [Jack Line Out Front] required-any = any state.plugged = unknown state.unplugged = unknown These changes will be overwritten whenever your distribution updates pulseaudio (yes, this sucks, hopefully this will be improved some day; I think George Chini already has something prepared related to disabling jack detection). -- Tanu https://www.patreon.com/tanuk https://liberapay.com/tanuk ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] configure a soundcard?
On Fri, Apr 26, 2019 at 4:28 AM Tanu Kaskinen wrote: > > > Card #1 > > Name: alsa_card.pci-_00_14.2 > > ... > > > Ports: > > ... > > > analog-output-lineout: Line Out (priority: 9900, latency > > offset: 0 usec, not available) > > 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, output:analog-surround-71, > > output:analog-surround-71+input:analog-stereo > > analog-output-headphones: Headphones (priority: 9000, > > latency offset: 0 usec, not 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) (priority: > 0, > > latency offset: 0 usec) > > Part of profile(s): output:iec958-stereo, > > output:iec958-stereo+input:analog-stereo > > Both analog ports are marked as "not available", which means that to > PulseAudio looks like nothing is plugged in in either connector. This > is the reason why PulseAudio always picks the digital output on boot. > Broken jack detection is is a hardware or driver issue, which can be > worked around, see below. > Ahhh. Understood. > > > while read -r line; do amixer -c0 cget "$line"; done <<< $(amixer > -c0 > > > controls | grep Jack) > > > > > > > numid=1,iface=CARD,name='HDMI/DP,pcm=3 Jack' > > ; type=BOOLEAN,access=r---,values=1 > > : values=on > > numid=7,iface=CARD,name='HDMI/DP,pcm=7 Jack' > > ; type=BOOLEAN,access=r---,values=1 > > : values=off > > It seems that I guessed wrong the card number. Card 0 seems to be the > HDMI card, while we're interested in the analog sound card, which is > alsa card 1. So change the script to this: > > while read -r line; do amixer -c0 cget "$line"; done <<< $(amixer -c0 > controls | grep Jack) > I'm guessing I should change the above -c0's to -c1's. Here is that output: numid=44,iface=CARD,name='CD Phantom Jack' ; type=BOOLEAN,access=r---,values=1 : values=on numid=49,iface=CARD,name='Front Headphone Jack' ; type=BOOLEAN,access=r---,values=1 : values=off numid=42,iface=CARD,name='Front Mic Jack' ; type=BOOLEAN,access=r---,values=1 : values=off numid=43,iface=CARD,name='Line Jack' ; type=BOOLEAN,access=r---,values=1 : values=off numid=47,iface=CARD,name='Line Out CLFE Jack' ; type=BOOLEAN,access=r---,values=1 : values=off numid=45,iface=CARD,name='Line Out Front Jack' ; type=BOOLEAN,access=r---,values=1 : values=off numid=48,iface=CARD,name='Line Out Side Jack' ; type=BOOLEAN,access=r---,values=1 : values=off numid=46,iface=CARD,name='Line Out Surround Jack' ; type=BOOLEAN,access=r---,values=1 : values=off numid=41,iface=CARD,name='Rear Mic Jack' ; type=BOOLEAN,access=r---,values=1 : values=off numid=50,iface=CARD,name='SPDIF Jack' ; type=BOOLEAN,access=r---,values=1 : values=off This information is required for me to give instructions for how to > work around the issue. > Okay. Thanks for all your help! -m ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] configure a soundcard?
On Mon, 2019-04-22 at 07:47 -0500, Matt Zagrabelny wrote: > On Mon, Apr 22, 2019 at 3:06 AM Tanu Kaskinen wrote: > > > On Sat, 2019-04-20 at 12:11 -0500, Matt Zagrabelny wrote: > > > Greetings, > > > > > > I'm running Debian Buster and I have a 1/8" audio jack. I need the sink > > to > > > be an analog output to send off to some other device. Things work great, > > > except for when the system reboots, it comes up configured as a digital > > > soundcard: > > > > > > Digital Stereo (IEC958) > > > > > > Here is a diff between a "pactl list" when the computer reboots and when > > > I've configured it to be an analog sink: > > > > > > -Sink #1 > > > - State: SUSPENDED > > > - Name: alsa_output.pci-_00_14.2.iec958-stereo > > > - Description: Built-in Audio Digital Stereo (IEC958) > > > +Sink #2 > > > + State: RUNNING > > > + Name: alsa_output.pci-_00_14.2.analog-stereo > > > + Description: Built-in Audio Analog Stereo > > > > > > What is the best way to have the configuration saved between reboots? > > > > > > I can provide further info if needed. > > > > > > Thanks for any help! > > Hey Tanu! > > Thanks for the assistance. Below is the output of what you asked for. > Card #1 > Name: alsa_card.pci-_00_14.2 ... > Ports: ... > analog-output-lineout: Line Out (priority: 9900, latency > offset: 0 usec, not available) > 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, output:analog-surround-71, > output:analog-surround-71+input:analog-stereo > analog-output-headphones: Headphones (priority: 9000, > latency offset: 0 usec, not 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) (priority: 0, > latency offset: 0 usec) > Part of profile(s): output:iec958-stereo, > output:iec958-stereo+input:analog-stereo Both analog ports are marked as "not available", which means that to PulseAudio looks like nothing is plugged in in either connector. This is the reason why PulseAudio always picks the digital output on boot. Broken jack detection is is a hardware or driver issue, which can be worked around, see below. > > while read -r line; do amixer -c0 cget "$line"; done <<< $(amixer -c0 > > controls | grep Jack) > > > > numid=1,iface=CARD,name='HDMI/DP,pcm=3 Jack' > ; type=BOOLEAN,access=r---,values=1 > : values=on > numid=7,iface=CARD,name='HDMI/DP,pcm=7 Jack' > ; type=BOOLEAN,access=r---,values=1 > : values=off It seems that I guessed wrong the card number. Card 0 seems to be the HDMI card, while we're interested in the analog sound card, which is alsa card 1. So change the script to this: while read -r line; do amixer -c0 cget "$line"; done <<< $(amixer -c0 controls | grep Jack) This information is required for me to give instructions for how to work around the issue. -- Tanu https://www.patreon.com/tanuk https://liberapay.com/tanuk ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] configure a soundcard?
On Mon, Apr 22, 2019 at 7:47 AM Matt Zagrabelny wrote: > On Mon, Apr 22, 2019 at 3:06 AM Tanu Kaskinen wrote: > >> On Sat, 2019-04-20 at 12:11 -0500, Matt Zagrabelny wrote: >> > Greetings, >> > >> > I'm running Debian Buster and I have a 1/8" audio jack. I need the sink >> to >> > be an analog output to send off to some other device. Things work great, >> > except for when the system reboots, it comes up configured as a digital >> > soundcard: >> > >> > Digital Stereo (IEC958) >> > >> > Here is a diff between a "pactl list" when the computer reboots and when >> > I've configured it to be an analog sink: >> > >> > -Sink #1 >> > - State: SUSPENDED >> > - Name: alsa_output.pci-_00_14.2.iec958-stereo >> > - Description: Built-in Audio Digital Stereo (IEC958) >> > +Sink #2 >> > + State: RUNNING >> > + Name: alsa_output.pci-_00_14.2.analog-stereo >> > + Description: Built-in Audio Analog Stereo >> > >> > What is the best way to have the configuration saved between reboots? >> > >> > I can provide further info if needed. >> > >> > Thanks for any help! >> > > Hey Tanu! > > Thanks for the assistance. Below is the output of what you asked for. > > >> What does "pactl list cards" print, and what does this little script >> print? >> > > Card #0 > Name: alsa_card.pci-_00_01.1 > Driver: module-alsa-card.c > Owner Module: 6 > Properties: > alsa.card = "0" > alsa.card_name = "HDA ATI HDMI" > alsa.long_card_name = "HDA ATI HDMI at 0xc0d4 irq 48" > alsa.driver_name = "snd_hda_intel" > device.bus_path = "pci-:00:01.1" > sysfs.path = "/devices/pci:00/:00:01.1/sound/card0" > device.bus = "pci" > device.vendor.id = "1002" > device.vendor.name = "Advanced Micro Devices, Inc. > [AMD/ATI]" > device.product.id = "9840" > device.product.name = "Kabini HDMI/DP Audio" > device.form_factor = "internal" > device.string = "0" > device.description = "Built-in Audio" > module-udev-detect.discovered = "1" > device.icon_name = "audio-card-pci" > Profiles: > output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: > 1, sources: 0, priority: 5900, available: yes) > output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output > (sinks: 1, sources: 0, priority: 5700, available: no) > output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) > Output (sinks: 1, sources: 0, priority: 600, available: no) > output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI > 2) Output (sinks: 1, sources: 0, priority: 600, available: no) > off: Off (sinks: 0, sources: 0, priority: 0, available: > yes) > Active Profile: output:hdmi-stereo > Ports: > hdmi-output-0: HDMI / DisplayPort (priority: 5900, latency > offset: 0 usec, available) > Properties: > device.icon_name = "video-display" > Part of profile(s): output:hdmi-stereo > hdmi-output-1: HDMI / DisplayPort 2 (priority: 5800, > latency offset: 0 usec, not available) > Properties: > device.icon_name = "video-display" > Part of profile(s): output:hdmi-stereo-extra1, > output:hdmi-surround-extra1, output:hdmi-surround71-extra1 > > Card #1 > Name: alsa_card.pci-_00_14.2 > Driver: module-alsa-card.c > Owner Module: 7 > Properties: > alsa.card = "1" > alsa.card_name = "HD-Audio Generic" > alsa.long_card_name = "HD-Audio Generic at 0xc0d44000 irq > 16" > alsa.driver_name = "snd_hda_intel" > device.bus_path = "pci-:00:14.2" > sysfs.path = "/devices/pci:00/:00:14.2/sound/card1" > device.bus = "pci" > device.vendor.id = "1022" > device.vendor.name = "Advanced Micro Devices, Inc. [AMD]" > device.product.id = "780d" > device.product.name = "FCH Azalia Controller" > device.form_factor = "internal" > device.string = "1" > device.description = "Built-in Audio" > module-udev-detect.discovered = "1" > device.icon_name = "audio-card-pci" > Profiles: > input:analog-stereo: Analog Stereo Input (sinks: 0, > sources: 1, priority: 65, available: no) > output:analog-stereo: Analog Stereo Output (sinks: 1, > sources: 0, priority: 6500, available: no) > output:analog-stereo+input:analog-stereo: Analog Stereo > Duplex (sinks: 1, sources: 1,
Re: [pulseaudio-discuss] configure a soundcard?
On Mon, Apr 22, 2019 at 3:06 AM Tanu Kaskinen wrote: > On Sat, 2019-04-20 at 12:11 -0500, Matt Zagrabelny wrote: > > Greetings, > > > > I'm running Debian Buster and I have a 1/8" audio jack. I need the sink > to > > be an analog output to send off to some other device. Things work great, > > except for when the system reboots, it comes up configured as a digital > > soundcard: > > > > Digital Stereo (IEC958) > > > > Here is a diff between a "pactl list" when the computer reboots and when > > I've configured it to be an analog sink: > > > > -Sink #1 > > - State: SUSPENDED > > - Name: alsa_output.pci-_00_14.2.iec958-stereo > > - Description: Built-in Audio Digital Stereo (IEC958) > > +Sink #2 > > + State: RUNNING > > + Name: alsa_output.pci-_00_14.2.analog-stereo > > + Description: Built-in Audio Analog Stereo > > > > What is the best way to have the configuration saved between reboots? > > > > I can provide further info if needed. > > > > Thanks for any help! > Hey Tanu! Thanks for the assistance. Below is the output of what you asked for. > What does "pactl list cards" print, and what does this little script > print? > Card #0 Name: alsa_card.pci-_00_01.1 Driver: module-alsa-card.c Owner Module: 6 Properties: alsa.card = "0" alsa.card_name = "HDA ATI HDMI" alsa.long_card_name = "HDA ATI HDMI at 0xc0d4 irq 48" alsa.driver_name = "snd_hda_intel" device.bus_path = "pci-:00:01.1" sysfs.path = "/devices/pci:00/:00:01.1/sound/card0" device.bus = "pci" device.vendor.id = "1002" device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]" device.product.id = "9840" device.product.name = "Kabini HDMI/DP Audio" device.form_factor = "internal" device.string = "0" device.description = "Built-in Audio" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" Profiles: output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, available: yes) output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, available: no) output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no) output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no) off: Off (sinks: 0, sources: 0, priority: 0, available: yes) Active Profile: output:hdmi-stereo Ports: hdmi-output-0: HDMI / DisplayPort (priority: 5900, latency offset: 0 usec, available) Properties: device.icon_name = "video-display" Part of profile(s): output:hdmi-stereo hdmi-output-1: HDMI / DisplayPort 2 (priority: 5800, latency offset: 0 usec, not available) Properties: device.icon_name = "video-display" Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-surround-extra1, output:hdmi-surround71-extra1 Card #1 Name: alsa_card.pci-_00_14.2 Driver: module-alsa-card.c Owner Module: 7 Properties: alsa.card = "1" alsa.card_name = "HD-Audio Generic" alsa.long_card_name = "HD-Audio Generic at 0xc0d44000 irq 16" alsa.driver_name = "snd_hda_intel" device.bus_path = "pci-:00:14.2" sysfs.path = "/devices/pci:00/:00:14.2/sound/card1" device.bus = "pci" device.vendor.id = "1022" device.vendor.name = "Advanced Micro Devices, Inc. [AMD]" device.product.id = "780d" device.product.name = "FCH Azalia Controller" device.form_factor = "internal" device.string = "1" device.description = "Built-in Audio" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" Profiles: input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: no) output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6500, available: no) output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: no) output:analog-surround-21: Analog Surround 2.1 Output (sinks: 1, sources: 0, priority: 1300, available: no) output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog
Re: [pulseaudio-discuss] configure a soundcard?
On Sat, 2019-04-20 at 12:11 -0500, Matt Zagrabelny wrote: > Greetings, > > I'm running Debian Buster and I have a 1/8" audio jack. I need the sink to > be an analog output to send off to some other device. Things work great, > except for when the system reboots, it comes up configured as a digital > soundcard: > > Digital Stereo (IEC958) > > Here is a diff between a "pactl list" when the computer reboots and when > I've configured it to be an analog sink: > > -Sink #1 > - State: SUSPENDED > - Name: alsa_output.pci-_00_14.2.iec958-stereo > - Description: Built-in Audio Digital Stereo (IEC958) > +Sink #2 > + State: RUNNING > + Name: alsa_output.pci-_00_14.2.analog-stereo > + Description: Built-in Audio Analog Stereo > > What is the best way to have the configuration saved between reboots? > > I can provide further info if needed. > > Thanks for any help! What does "pactl list cards" print, and what does this little script print? while read -r line; do amixer -c0 cget "$line"; done <<< $(amixer -c0 controls | grep Jack) -- Tanu https://www.patreon.com/tanuk https://liberapay.com/tanuk ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
[pulseaudio-discuss] configure a soundcard?
Greetings, I'm running Debian Buster and I have a 1/8" audio jack. I need the sink to be an analog output to send off to some other device. Things work great, except for when the system reboots, it comes up configured as a digital soundcard: Digital Stereo (IEC958) Here is a diff between a "pactl list" when the computer reboots and when I've configured it to be an analog sink: -Sink #1 - State: SUSPENDED - Name: alsa_output.pci-_00_14.2.iec958-stereo - Description: Built-in Audio Digital Stereo (IEC958) +Sink #2 + State: RUNNING + Name: alsa_output.pci-_00_14.2.analog-stereo + Description: Built-in Audio Analog Stereo What is the best way to have the configuration saved between reboots? I can provide further info if needed. Thanks for any help! -m ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss