Ticket #235 (closed defect: worksforme)

Opened 4 years ago

Last modified 3 years ago

module-hal-detect fails to handle 5.1 sound card with default-sample-channels=6

Reported by: atrus Owned by: lennart
Milestone: Component: module-hal-detect
Keywords: Cc:

Description

Setting up a 5.1 usb sound card with pulseaudio. In order to get it to do 5.1, default-sample-channnels is set to 6 in daemon.conf.

Configuring the card with:

load-module module-alsa-sink sink_name=usb_out device=surround51:1 channels=6

Results in a 6channel device visible in paman. However, allowing module-hal-detect to catch the card still produces a 2 channel device in paman, regardless of the default-sample-channels setting.

Attached are logs from pulseaudio -vv under the manual and hal configurations, respectively.

Attachments

pa-manual.txt (8.1 kB) - added by atrus 4 years ago.
pulseaudio --vv under manual configuration
pa-hal.txt (14.4 kB) - added by atrus 4 years ago.
pulseaudio -vv under hal configuration

Change History

Changed 4 years ago by atrus

pulseaudio --vv under manual configuration

Changed 4 years ago by atrus

pulseaudio -vv under hal configuration

Changed 4 years ago by tanuk

  • component changed from daemon to module-hal-detect

Changed 4 years ago by lennart

Due to some reason the ALSA device refused the hw parameters PA wanted to set. I am not sure why. Please use "aplay -v -D surround51:1 /dev/urandom" to find out what the native format of your USB audio device is. Paste the output here.

Changed 4 years ago by lennart

  • status changed from new to assigned

Hmm, is it possible that the order in which sink and source are initialized is relevant to this bug? i.e. HAl seems to initialize the source front:0 first. Which works. And then the sink surround51:0 is initialized, which fails.

However, when you manually configured it you didn't configure a source at all. In which case surround51 did work. Do you have one of those devices which use the same plug for the rear channels and the recording channels?

Changed 3 years ago by lennart

  • status changed from assigned to closed
  • resolution set to worksforme

4 months without reply. Closing.

Note: See TracTickets for help on using tickets.