[pulseaudio-discuss] No sound from second device

Fabio Venturi dalamenona at gmail.com
Sun Feb 17 11:55:08 PST 2013


Greetings to the list,
I've connected a PlayStation to my laptop via the USB dongle
"Hauppauge WinTV-HVR900".
As I plug the dongle i can see that a new sound device is created in /dev/snd

drwxr-xr-x. 2 root root       80 Feb 17 09:36 by-path
crw-rw----+ 1 root audio 116,  6 Feb 17 09:36 controlC0
crw-rw----+ 1 root audio 116,  8 Feb 17 09:36 controlC1    <<------
crw-rw----+ 1 root audio 116,  5 Feb 17 09:36 hwC0D0
crw-rw----+ 1 root audio 116,  4 Feb 17 19:53 pcmC0D0c
crw-rw----+ 1 root audio 116,  3 Feb 17 19:57 pcmC0D0p
crw-rw----+ 1 root audio 116,  2 Feb 17 09:37 pcmC0D1p
crw-rw----+ 1 root audio 116,  7 Feb 17 19:56 pcmC1D0c  <<-----
crw-rw----+ 1 root audio 116,  1 Feb 17 09:36 seq
crw-rw----+ 1 root audio 116, 33 Feb 17 09:36 timer


don't understand why I can't hear sounds from PlayStation.
(Connecting the PS system to the television I can hear the sounds)

With "pacmd  list-sources" i got this output:
Welcome to PulseAudio! Use "help" for usage information.
>>> 3 source(s) available.
    index: 0
	name: <alsa_output.hw_0.monitor>
	driver: <module-alsa-sink.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 1000
	volume: 0: 100% 1: 100%
	        0: 0.00 dB 1: 0.00 dB
	        balance 0.00
	base volume: 100%
	             0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max rewind: 0 KiB
	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 76.00 .. 2000.00 ms
	monitor_of: 0
	module: 4
	properties:
		device.description = "Monitor of Internal Audio"
		device.class = "monitor"
		device.icon_name = "audio-input-microphone"
  * index: 1
	name: <alsa_input.hw_0>
	driver: <module-alsa-source.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9950
	volume: 0: 100% 1: 100%
	        0: 0.00 dB 1: 0.00 dB
	        balance 0.00
	base volume: 100%
	             0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max rewind: 0 KiB
	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 1.00 .. 2000.00 ms
	module: 5
	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 = "0"
		alsa.card_name = "HDA Intel"
		alsa.long_card_name = "HDA Intel at 0xdfffc000 irq 45"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.name = "N10/ICH 7 Family High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "hw:0"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.description = "Internal Audio"
		device.icon_name = "audio-input-microphone-pci"
    index: 2
	name: <alsa_input.pci-0000_00_1d.7-usb-0_4.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_VOLUME_CTRL LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9009
	volume: 0: 100% 1: 100%
	        balance 0.00
	base volume: 100%
	volume steps: 32
	muted: no
	current latency: 0.00 ms
	max rewind: 0 KiB
	sample spec: s16le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 2.00 .. 2000.00 ms
	card: 0 <alsa_card.pci-0000_00_1d.7-usb-0_4>
	module: 6
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "Empia 28xx Capture"
		alsa.id = "Em28xx Audio"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "1"
		alsa.card_name = "Em28xx Audio"
		alsa.long_card_name = "Empia Em28xx Audio"
		device.bus_path = "pci-0000:00:1d.7-usb-0:4"
		sysfs.path = "/devices/pci0000:00/0000:00:1d.7/usb1/1-4/sound/card1"
		device.vendor.name = "Hauppauge"
		device.product.name = "WinTV HVR-900"
		device.string = "hw:1"
		device.buffering.buffer_size = "384000"
		device.buffering.fragment_size = "12000"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "WinTV HVR-900 Analog Stereo"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card"
	ports:
		analog-input-linein: Analog Line-In (priority 8100)
		analog-input-video: Analog Video (priority 7000)
	active port: <analog-input-linein>
>>>




pacmd list-sinks only shows the laptop sound device
Welcome to PulseAudio! Use "help" for usage information.
>>> 1 sink(s) available.
  * index: 0
	name: <alsa_output.hw_0>
	driver: <module-alsa-sink.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9950
	volume: 0: 105% 1: 105%
	        0: 1.26 dB 1: 1.26 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 76.00 .. 2000.00 ms
	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 = "0"
		alsa.card_name = "HDA Intel"
		alsa.long_card_name = "HDA Intel at 0xdfffc000 irq 45"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.name = "N10/ICH 7 Family High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "hw:0"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.description = "Internal Audio"
		device.icon_name = "audio-card-pci"
>>>

pacmd list-card:
Welcome to PulseAudio! Use "help" for usage information.
>>> 2 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_00_1d.7-usb-0_4>
	driver: <module-alsa-card.c>
	owner module: 6
	properties:
		alsa.card = "1"
		alsa.card_name = "Em28xx Audio"
		alsa.long_card_name = "Empia Em28xx Audio"
		device.bus_path = "pci-0000:00:1d.7-usb-0:4"
		sysfs.path = "/devices/pci0000:00/0000:00:1d.7/usb1/1-4/sound/card1"
		device.vendor.name = "Hauppauge"
		device.product.name = "WinTV HVR-900"
		device.string = "1"
		device.description = "WinTV HVR-900"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card"
	profiles:
		input:analog-stereo: Analog Stereo Input (priority 60)
		off: Off (priority 0)
	active profile: <input:analog-stereo>
	sources:
		alsa_input.pci-0000_00_1d.7-usb-0_4.analog-stereo/#2: WinTV HVR-900
Analog Stereo
    index: 1
	name: <alsa_card.pci-0000_00_1b.0>
	driver: <module-alsa-card.c>
	owner module: 25
	properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel"
		alsa.long_card_name = "HDA Intel at 0xdfffc000 irq 45"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.name = "N10/ICH 7 Family High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Internal Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		output:analog-stereo: Analog Stereo Output (priority 6000)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060)
		output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500)
		output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958)
Output + Analog Stereo Input (priority 5560)
		input:analog-stereo: Analog Stereo Input (priority 60)
		off: Off (priority 0)
	active profile: <output:analog-stereo+input:analog-stereo>
>>>

Running the command
parecord -d alsa_input.pci-0000_00_1d.7-usb-0_4.analog-stereo
--file-format=wav > /tmp/test.wav
produces a completely silent WAV file.

I've tried to play around with pavucontrol options with no luck.
I'm using Fedora 17 with PulseAudio 1.1.9-fc17
Hope somebody can help me,
my kindest regards,

-Fabio


More information about the pulseaudio-discuss mailing list