Re: [pulseaudio-tickets] [PulseAudio] #139: HAL module only adds the first ALSA device of each card
#139: HAL module only adds the first ALSA device of each card +--- Reporter: juergbi| Owner: lennart Type: enhancement| Status: closed Priority: normal | Milestone: 0.9.15 Component: module-alsa-* |Severity: normal Resolution: fixed |Keywords: +--- Changes (by lennart): * status: reopened = closed * resolution: = fixed * milestone: = 0.9.15 Comment: PA in git is now able to automatically detect different possible profiles (i.e. Stereo Analog vs. Stereo IEC958 vs. Analog 5.1 and so on) to access ALSA devices and allows hot switching between. -- Ticket URL: http://pulseaudio.org/ticket/139#comment:18 PulseAudio http://pulseaudio.org/ The PulseAudio Sound Server ___ pulseaudio-tickets mailing list pulseaudio-tickets@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-tickets
Re: [pulseaudio-tickets] [PulseAudio] #139: HAL module only adds the first ALSA device of each card
#139: HAL module only adds the first ALSA device of each card +--- Reporter: juergbi| Owner: lennart Type: enhancement| Status: reopened Priority: normal | Milestone: Component: module-alsa-* |Severity: normal Resolution: |Keywords: +--- Comment (by markfal): Thanks for the quick reply. I suspected that there might have been some issue having to do with how alsa presents sound card info But anyway, is there any hope that this issue will be resolved anytime in the next few years? -- Ticket URL: http://www.pulseaudio.org/ticket/139#comment:17 PulseAudio http://pulseaudio.org/ The PulseAudio Sound Server ___ pulseaudio-tickets mailing list pulseaudio-tickets@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-tickets
Re: [pulseaudio-tickets] [PulseAudio] #139: HAL module only adds the first ALSA device of each card
#139: HAL module only adds the first ALSA device of each card +--- Reporter: juergbi| Owner: lennart Type: enhancement| Status: reopened Priority: normal | Milestone: Component: module-alsa-* |Severity: normal Resolution: |Keywords: +--- Comment (by markfal): It seems to me that lack of detection of more than the 0 device of any card is becoming a critical need for pulseaudio's future success. The forums are full of people complaining that they have no way to control their digital outputs. Another point to be made in this argument, the new video cards that support HDMI output have their sound device detected as device 2 and so are completely ignored by hal/pulseaudio. I really think that hal/pavucontrol should present all the devices detected and let the user have control over them rather than detect only device 0 and leave the user with no control over anything that is not device 0. Adding the combine function into the pavucontrol gui would fix a lot of these issues. So would a AC3 passthrough checkbox. I can understand the concern of lennart: This patch is not right. On some sound cards surround sound is implemented via a 4 stereo subdevices which are then combined into a single 7.1 device. Thus it generally doesn't make sense to open subdevices directly, because only ALSA itself knows what those subdevices are about. The proper way to open a device for digital out is using the spdif: ALSA device string, not directly opening subdevices which will only work on very few devices. But it does not make any sense to just ignore the issue. ALSA has that information, it is a failure of hal-detect to get it and pass it on to pavucontrol so it can be presented to the user that is the real issue here. I have 5 output devices I would like to use but only 2 are available in pavucontrol and only one falls into the concerns that lennart expresses. When I try to add them manually as all I get is errors and the pa daemon refuses to start. So, as a result, I have only control over 2 speakers and my headphones working on separate sound cards and no way to control the sound on the other speakers and the sound to my TVs. Pulse Audio makes it very easy to control sound over a network, but impossible to control sound around my living room. -- Ticket URL: http://www.pulseaudio.org/ticket/139#comment:15 PulseAudio http://pulseaudio.org/ The PulseAudio Sound Server ___ pulseaudio-tickets mailing list pulseaudio-tickets@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-tickets
Re: [pulseaudio-tickets] [PulseAudio] #139: HAL module only adds the first ALSA device of each card
#139: HAL module only adds the first ALSA device of each card +--- Reporter: juergbi| Owner: lennart Type: enhancement| Status: reopened Priority: normal | Milestone: Component: module-alsa-* |Severity: normal Resolution: |Keywords: +--- Comment (by lennart): Replying to [comment:15 markfal]: But it does not make any sense to just ignore the issue. ALSA has that information, it is a failure of hal-detect to get it and pass it on to pavucontrol so it can be presented to the user that is the real issue here. ALSA does not export this information right now. There is the the naming hinting code, but it is incomplete, usually wrong and does not include information which devices are exclusive to each other and which are not. Currently there is no better way figure out the available device than trying to open them. I have 5 output devices I would like to use but only 2 are available in pavucontrol and only one falls into the concerns that lennart expresses. When I try to add them manually as all I get is errors and the pa daemon refuses to start. So, as a result, I have only control over 2 speakers and my headphones working on separate sound cards and no way to control the sound on the other speakers and the sound to my TVs. If ALSA allows concurrent access to those devices you want to access concurrently, then PA will allow you to use them that way. If you say you get errors than this is either a sign that in fact those devices are not usable independantly -- or that your configuration is broken. Pulse Audio makes it very easy to control sound over a network, but impossible to control sound around my living room. It's not exactly PulseAudio's fault. We build on top of ALSA, and ALSA is lacking in this area and needs to be fixed first. Rest assure that this general issue is not ignored. However, the problem is much harder to fix than most people might assume. -- Ticket URL: http://www.pulseaudio.org/ticket/139#comment:16 PulseAudio http://pulseaudio.org/ The PulseAudio Sound Server ___ pulseaudio-tickets mailing list pulseaudio-tickets@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-tickets
Re: [pulseaudio-tickets] [PulseAudio] #139: HAL module only adds the first ALSA device of each card
#139: HAL module only adds the first ALSA device of each card +--- Reporter: juergbi| Owner: lennart Type: enhancement| Status: reopened Priority: normal | Milestone: Component: module-hal-detect |Severity: normal Resolution: |Keywords: +--- Changes (by lennart): * type: defect = enhancement -- Ticket URL: http://pulseaudio.org/ticket/139#comment:12 PulseAudio http://pulseaudio.org/ The PulseAudio Sound Server ___ pulseaudio-tickets mailing list pulseaudio-tickets@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-tickets
Re: [pulseaudio-tickets] [PulseAudio] #139: HAL module only adds the first ALSA device of each card
#139: HAL module only adds the first ALSA device of each card +--- Reporter: juergbi| Owner: lennart Type: enhancement| Status: reopened Priority: normal | Milestone: Component: module-alsa-* |Severity: normal Resolution: |Keywords: +--- Changes (by lennart): * component: module-hal-detect = module-alsa-* -- Ticket URL: http://pulseaudio.org/ticket/139#comment:13 PulseAudio http://pulseaudio.org/ The PulseAudio Sound Server ___ pulseaudio-tickets mailing list pulseaudio-tickets@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-tickets
Re: [pulseaudio-tickets] [PulseAudio] #139: HAL module only adds the first ALSA device of each card
#139: HAL module only adds the first ALSA device of each card +--- Reporter: juergbi| Owner: lennart Type: defect | Status: reopened Priority: normal | Milestone: Component: module-hal-detect |Severity: normal Resolution: |Keywords: +--- Comment (by albuntu): I have a soundblaster audigy 2 zs card (5.1 sound-system). PulseAudio automatically detects only the Output-Device ALSA PCM on front:0 (ADC Capture/Standard PCM Playback) via DMA. This is wrong because I only hear the 2 front speakers. All other speakers (rear, center, lfe) are dead. PulseAudio should detect the Output-Device ALSA PCM on hw:0,0 (ADC Capture/Standard PCM Playback) via DMA. In this case all speakers are working well! Is this a bug or what will happen to this in future? -- Ticket URL: http://www.pulseaudio.org/ticket/139#comment:9 PulseAudio http://pulseaudio.org/ The PulseAudio Sound Server ___ pulseaudio-tickets mailing list pulseaudio-tickets@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-tickets
Re: [pulseaudio-tickets] [PulseAudio] #139: HAL module only adds the first ALSA device of each card
#139: HAL module only adds the first ALSA device of each card +--- Reporter: juergbi| Owner: lennart Type: defect | Status: reopened Priority: normal | Milestone: Component: module-hal-detect |Severity: normal Resolution: |Keywords: +--- Comment (by coling): Replying to [comment:9 albuntu]: I have a soundblaster audigy 2 zs card (5.1 sound-system). PulseAudio automatically detects only the Output-Device ALSA PCM on front:0 (ADC Capture/Standard PCM Playback) via DMA. This is wrong because I only hear the 2 front speakers. All other speakers (rear, center, lfe) are dead. PulseAudio should detect the Output-Device ALSA PCM on hw:0,0 (ADC Capture/Standard PCM Playback) via DMA. In this case all speakers are working well! Is this a bug or what will happen to this in future? Try setting default-sample-channels = 6 in your /etc/pulse/daemon.conf file. -- Ticket URL: http://www.pulseaudio.org/ticket/139#comment:10 PulseAudio http://pulseaudio.org/ The PulseAudio Sound Server ___ pulseaudio-tickets mailing list pulseaudio-tickets@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-tickets
Re: [pulseaudio-tickets] [PulseAudio] #139: HAL module only adds the first ALSA device of each card
#139: HAL module only adds the first ALSA device of each card +--- Reporter: juergbi| Owner: lennart Type: defect | Status: reopened Priority: normal | Milestone: Component: module-hal-detect |Severity: normal Resolution: |Keywords: +--- Comment (by lennart): Ther correct way to fix this issue to real SPDIF support to PA. -- Ticket URL: http://pulseaudio.org/ticket/139#comment:8 PulseAudio http://pulseaudio.org/ The PulseAudio Sound Server ___ pulseaudio-tickets mailing list pulseaudio-tickets@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-tickets
Re: [pulseaudio-tickets] [PulseAudio] #139: HAL module only adds the first ALSA device of each card
#139: HAL module only adds the first ALSA device of each card +--- Reporter: juergbi| Owner: lennart Type: defect | Status: reopened Priority: normal | Milestone: Component: module-hal-detect |Severity: normal Resolution: |Keywords: +--- Comment (by FireRabbit): Hi hackeron, I added the following line to {{{/etc/pulse/default.pa}}}: {{{ load-module module-alsa-sink device=hw:0,1 }}} The first number is the card and the second number is the device, so in your case 0,1 is also correct. As you probably saw, lennart mentioned that this is not the correct way to do this, however he has not yet provided an alternative. Hope this helps. -- Ticket URL: http://pulseaudio.org/ticket/139#comment:6 PulseAudio http://pulseaudio.org/ The PulseAudio Sound Server ___ pulseaudio-tickets mailing list pulseaudio-tickets@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-tickets