Ticket #235 (closed defect: worksforme)

Opened 7 months ago

Last modified 3 weeks ago

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

Reported by: atrus Assigned to: lennart
Priority: normal Milestone:
Component: module-hal-detect Severity: normal
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 on 02/05/08 22:52:04.
pulseaudio --vv under manual configuration
pa-hal.txt (14.4 kB) - added by atrus on 02/05/08 22:52:24.
pulseaudio -vv under hal configuration

Change History

02/05/08 22:52:04 changed by atrus

  • attachment pa-manual.txt added.

pulseaudio --vv under manual configuration

02/05/08 22:52:24 changed by atrus

  • attachment pa-hal.txt added.

pulseaudio -vv under hal configuration

02/05/08 23:23:34 changed by tanuk

  • component changed from daemon to module-hal-detect.

02/15/08 12:30:21 changed 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.

03/28/08 18:19:44 changed 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?

08/15/08 14:59:34 changed by lennart

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

4 months without reply. Closing.