[pulseaudio-discuss] Missing channels on usb audio device

Robert M. Albrecht linux at romal.de
Sat Jun 23 23:42:24 PDT 2012


Hi,

yes. I have four speaker connected, so I use

mplayer -channels 4 -ao alsa:device=hw=2.0 "AC3_test_the_Wall.vob"

But this works fine.

[romal at chessur Videos]$ pacmd list-sinks
Welcome to PulseAudio! Use "help" for usage information.
 >>> 2 sink(s) available.
   * index: 0
	name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
FLAT_VOLUME DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9959
	volume: 0:  67% 1:  67%
	        0: -10,60 dB 1: -10,60 dB
	        balance 0,00
	base volume: 100%
	             0,00 dB
	volume steps: 65537
	muted: no
	current latency: 0,00 ms
	max request: 0 KiB
	max rewind: 0 KiB
	monitor source: 0
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0,00 ms; range is 0,50 .. 2000,00 ms
	card: 0 <alsa_card.pci-0000_00_1b.0>
	module: 4
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "STAC92xx Analog"
		alsa.id = "STAC92xx Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "1"
		alsa.card_name = "HDA Intel"
		alsa.long_card_name = "HDA Intel at 0xf6960000 irq 44"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.name = "5 Series/3400 Series Chipset High Definition Audio"
		device.form_factor = "internal"
		device.string = "front:1"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Internes Audio Analog Stereo"
		alsa.mixer_name = "Intel IbexPeak HDMI"
		alsa.components = "HDA:111d76d5,1028040b,00100104 
HDA:80862804,80860101,00100000"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output: Analoge Ausgabe (priority 9900)
		analog-output-headphones: Analoge Kopfhörer (priority 9000)
	active port: <analog-output>
     index: 1
	name: 
<alsa_output.usb-TerraTec_DMX_6Fire_USB_000000000008B2B5-00-DMX6FireUSB.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9049
	volume: 0:  82% 1:  82%
	        balance 0,00
	base volume: 100%
	volume steps: 181
	muted: no
	current latency: 0,00 ms
	max request: 0 KiB
	max rewind: 0 KiB
	monitor source: 3
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0,00 ms; range is 0,50 .. 2000,00 ms
	card: 2 
<alsa_card.usb-TerraTec_DMX_6Fire_USB_000000000008B2B5-00-DMX6FireUSB>
	module: 22
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "DMX 6Fire USB Analog"
		alsa.id = "6fire Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "2"
		alsa.card_name = "TerraTec DMX6FireUSB"
		alsa.long_card_name = "TerraTec DMX6FireUSB at 1:19"
		alsa.driver_name = "snd_usb_6fire"
		device.bus_path = "pci-0000:00:1a.0-usb-0:1.1.2:1.0"
		sysfs.path = 
"/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1.2/1-1.1.2:1.0/sound/card2"
		udev.id = "usb-TerraTec_DMX_6Fire_USB_000000000008B2B5-00-DMX6FireUSB"
		device.bus = "usb"
		device.vendor.id = "0ccd"
		device.vendor.name = "TerraTec Electronic GmbH"
		device.product.id = "0080"
		device.product.name = "DMX 6Fire USB"
		device.serial = "TerraTec_DMX_6Fire_USB_000000000008B2B5"
		device.string = "hw:2"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "DMX 6Fire USB Analog Stereo"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
 >>> [romal at chessur Videos]$

[romal at chessur Videos]$ amixer -c 2
Simple mixer control 'Master',0
   Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
   Playback channels: Mono
   Limits: Playback 0 - 180
   Mono: Playback 148 [82%] [on]
Simple mixer control 'Line/Phono',0
   Capabilities: cenum
   Items: 'Line' 'Phono'
   Item0: 'Line'
Simple mixer control 'Analog',0
   Capabilities: cvolume penum
   Capture channels: Front Left - Front Right
   Limits: Capture 0 - 30
   Front Left: Capture 15 [50%] [0.00dB]
   Front Right: Capture 15 [50%] [0.00dB]
Simple mixer control 'Analog',1
   Capabilities: pvolume pswitch penum
   Playback channels: Front Left - Front Right
   Limits: Playback 0 - 180
   Mono:
   Front Left: Playback 172 [96%] [-4.00dB] [on]
   Front Right: Playback 172 [96%] [-4.00dB] [on]
Simple mixer control 'Analog',2
   Capabilities: pvolume pswitch penum
   Playback channels: Front Left - Front Right
   Limits: Playback 0 - 180
   Mono:
   Front Left: Playback 171 [95%] [-4.50dB] [on]
   Front Right: Playback 171 [95%] [-4.50dB] [on]
Simple mixer control 'Analog',3
   Capabilities: pvolume pswitch penum
   Playback channels: Front Left - Front Right
   Limits: Playback 0 - 180
   Mono:
   Front Left: Playback 171 [95%] [-4.50dB] [on]
   Front Right: Playback 171 [95%] [-4.50dB] [on]
Simple mixer control 'Digital Thru',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Simple mixer control 'Opt/Coax',0
   Capabilities: cenum
   Items: 'Optical' 'Coax'
   Item0: 'Optical'
[romal at chessur Videos]$

[romal at chessur Videos]$ pactl info
Server String: 
/home/romal/.pulse/50fe62ed8ef0b6bffd5c650f00000009-runtime/native
Library Protocol Version: 23
Server Protocol Version: 23
Is Local: yes
Client Index: 9
Tile Size: 65472
User Name: romal
Host Name: chessur.vorlon.lan
Server Name: pulseaudio
Server Version: 1.1
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: 
alsa_output.usb-TerraTec_DMX_6Fire_USB_000000000008B2B5-00-DMX6FireUSB.analog-stereo
Default Source: alsa_input.pci-0000_00_1b.0.analog-stereo
Cookie: 2736:260a
[romal at chessur Videos]$

cu romal

Am 18.04.2012 15:45, schrieb Roman Beslik:
> Hi. Can you play 5.1 sound via ALSA, i.e. with "mplayer -channels 6 -ao
> alsa:device=hw=1.0"? Also, share output of "pacmd list-sinks."
>
> On 16.04.12 19:40, Robert M. Albrecht wrote:
>> Hi,
>>
>> I'm trying to install the Terratec 6Fire USB audio device. It's an
>> external audio device with several analog in & output channels.
>>
>> The alsa-driver is running and I can play analog stereo music or movies
>> on pulseaudio based players.
>>
>> I can output digital sound (ac3 or dts) on spdif via optical with vlc
>> and mplayer.
>>
>> But I can't output analog multichannel sound from flac files or movies.
>> Although alsamixer can access all 6 analog output channels, pulseaudio
>> does not see them.
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
>




More information about the pulseaudio-discuss mailing list