[pulseaudio-discuss] Pulseaudio in general - does it make sense?

Gene Heskett gene.heskett at gmail.com
Sun Jan 3 13:56:34 PST 2010


On Tuesday 22 December 2009, Gene Heskett wrote:
>On Tuesday 22 December 2009, Colin Guthrie wrote:
>>'Twas brillig, and Gene Heskett at 22/12/09 20:49 did gyre and gimble:
>>> On Tuesday 22 December 2009, Arun Raghavan wrote:
>>>> On Tue, 2009-12-22 at 12:47 -0500, Gene Heskett wrote:
>>>> [...]
>>>>
>>>>> Coding is kewl, I do it myself on smaller systems, but  where are the
>>>>> man pages that should allow us to make it Just Work(TM)?
>>>>
>>>> [...]
>>>>
>>>>> I think the majority of us are interested.  And contrary to rumors
>>>>> extant all over the web, the majority of us _can_ read and follow
>>>>> directions. We just don't have a thing to read yet.
>>>>
>>>> [...]
>>>>
>>>> Have you seen this: http://www.pulseaudio.org/wiki/PerfectSetup ?
>>>
>>> Now I have.  And it seems awfully complex for something that should just
>>> work.
>>
>>This is more aimed at distro's to ensure their packages are configured
>>correctly out of the box.
>>
>>This is why a lot of perceive PA problems are really the fault of
>>configuration.
>>
>>> Also printed for reference since I have no sound on the mandriva 2010 64
>>> bit install
>>
>>Have you got a bug number for this... it must have slipped under my
>>radar, sorry :(
>>
>>Obviously I'm running Mandriva and I also use the 64 bit version, so
>>fundamentally there is nothing broken, but there can obviously be
>>numerous places where problems can arise so we should be able to narrow
>>down where the problem is.
>>
>>Col
>
>Well, before I attack the sound, I must have it working well enough for
> email to work, and when I next boot it, I will likely concentrate on that
> before I come crawling back for help with the silent audio.  Once email is
> working, and I have moved my /root/.mozilla here to /me/.mozilla on the
> mandriva install and fixed any perms that discloses, then I'll be ready to
> rumble on this.  Thanks Colin.
>
Ok, on the mdv install now.

a pacmd ls is quite verbose, about 17.5k and attached.  From the looks of it, 
it really should be aware of the Audigy2.

Now, I probably should go start fetchmail so I can get replies.


-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Overdrawn?  But I still have checks left!
-------------- next part --------------
Welcome to PulseAudio! Use "help" for usage information.
>>> Memory blocks currently allocated: 1, size: 63.9 KiB.
Memory blocks allocated during the whole lifetime: 70, size: 2.2 MiB.
Memory blocks imported from other processes: 0, size: 0 B.
Memory blocks exported to other processes: 0, size: 0 B.
Total sample cache size: 0 B.
Default sample spec: s16le 2ch 44100Hz
Default channel map: front-left,front-right
Default sink name: alsa_output.1.analog-stereo
Default source name: alsa_input.1.analog-stereo
Memory blocks of type POOL: 1 allocated/1 accumulated.
Memory blocks of type POOL_EXTERNAL: 0 allocated/0 accumulated.
Memory blocks of type APPENDED: 0 allocated/0 accumulated.
Memory blocks of type USER: 0 allocated/0 accumulated.
Memory blocks of type FIXED: 0 allocated/69 accumulated.
Memory blocks of type IMPORTED: 0 allocated/0 accumulated.
22 module(s) loaded.
    index: 0
	name: <module-device-restore>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Lennart Poettering"
		module.description = "Automatically restore the volume/mute state of devices"
		module.version = "0.9.19-7mdv2010.0"
    index: 1
	name: <module-stream-restore>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Lennart Poettering"
		module.description = "Automatically restore the volume/mute/device state of streams"
		module.version = "0.9.19-7mdv2010.0"
    index: 2
	name: <module-card-restore>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Lennart Poettering"
		module.description = "Automatically restore profile of cards"
		module.version = "0.9.19-7mdv2010.0"
    index: 3
	name: <module-augment-properties>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Lennart Poettering"
		module.description = "Augment the property sets of streams with additional static information"
		module.version = "0.9.19-7mdv2010.0"
    index: 4
	name: <module-alsa-card>
	argument: <device_id="1" name="1" card_name="alsa_card.1" tsched=yes ignore_dB=no card_properties="module-udev-detect.discovered=1">
	used: 0
	load once: no
	properties:
		module.author = "Lennart Poettering"
		module.description = "ALSA Card"
		module.version = "0.9.19-7mdv2010.0"
    index: 5
	name: <module-alsa-card>
	argument: <device_id="0" name="0" card_name="alsa_card.0" tsched=yes ignore_dB=no card_properties="module-udev-detect.discovered=1">
	used: 0
	load once: no
	properties:
		module.author = "Lennart Poettering"
		module.description = "ALSA Card"
		module.version = "0.9.19-7mdv2010.0"
    index: 6
	name: <module-udev-detect>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Lennart Poettering"
		module.description = "Detect available audio hardware and load matching drivers"
		module.version = "0.9.19-7mdv2010.0"
    index: 7
	name: <module-bluetooth-discover>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Joao Paulo Rechi Vita"
		module.description = "Detect available bluetooth audio devices and load bluetooth audio drivers"
		module.version = "0.9.19-7mdv2010.0"
    index: 8
	name: <module-esound-protocol-unix>
	argument: <>
	used: -1
	load once: no
	properties:
		module.author = "Lennart Poettering"
		module.description = "ESOUND protocol (UNIX sockets)"
		module.version = "0.9.19-7mdv2010.0"
    index: 9
	name: <module-native-protocol-unix>
	argument: <>
	used: -1
	load once: no
	properties:
		module.author = "Lennart Poettering"
		module.description = "Native protocol (UNIX sockets)"
		module.version = "0.9.19-7mdv2010.0"
    index: 10
	name: <module-zeroconf-discover>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Lennart Poettering"
		module.description = "mDNS/DNS-SD Service Discovery"
		module.version = "0.9.19-7mdv2010.0"
    index: 11
	name: <module-gconf>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Lennart Poettering"
		module.description = "GConf Adapter"
		module.version = "0.9.19-7mdv2010.0"
    index: 12
	name: <module-default-device-restore>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Lennart Poettering"
		module.description = "Automatically restore the default sink and source"
		module.version = "0.9.19-7mdv2010.0"
    index: 13
	name: <module-rescue-streams>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Lennart Poettering"
		module.description = "When a sink/source is removed, try to move their streams to the default sink/source"
		module.version = "0.9.19-7mdv2010.0"
    index: 14
	name: <module-always-sink>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Colin Guthrie"
		module.description = "Always keeps at least one sink loaded even if it's a null one"
		module.version = "0.9.19-7mdv2010.0"
    index: 15
	name: <module-intended-roles>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Lennart Poettering"
		module.description = "Automatically set device of streams based of intended roles of devices"
		module.version = "0.9.19-7mdv2010.0"
    index: 16
	name: <module-suspend-on-idle>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Lennart Poettering"
		module.description = "When a sink/source is idle for too long, suspend it"
		module.version = "0.9.19-7mdv2010.0"
    index: 17
	name: <module-console-kit>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Lennart Poettering"
		module.description = "Create a client for each ConsoleKit session of this user"
		module.version = "0.9.19-7mdv2010.0"
    index: 18
	name: <module-position-event-sounds>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Lennart Poettering"
		module.description = "Position event sounds between L and R depending on the position on screen of the widget triggering them."
		module.version = "0.9.19-7mdv2010.0"
    index: 19
	name: <module-cork-music-on-phone>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Lennart Poettering"
		module.description = "Mute or cork music while a phone stream exists"
		module.version = "0.9.19-7mdv2010.0"
    index: 20
	name: <module-device-manager>
	argument: <do_routing=1>
	used: -1
	load once: yes
	properties:
		module.author = "Colin Guthrie"
		module.description = "Keep track of devices (and their descriptions) both past and present and prioritise by role"
		module.version = "0.9.19-7mdv2010.0"
    index: 21
	name: <module-cli-protocol-unix>
	argument: <>
	used: -1
	load once: no
	properties:
		module.author = "Lennart Poettering"
		module.description = "Command line interface protocol (UNIX sockets)"
		module.version = "0.9.19-7mdv2010.0"
1 sink(s) available.
  * index: 0
	name: <alsa_output.1.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: 9059
	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 request: 64 KiB
	max rewind: 64 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 .. 371.52 ms
	card: 0 <alsa_card.1>
	module: 4
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ADC Capture/Standard PCM Playback"
		alsa.id = "emu10k1"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "1"
		alsa.card_name = "SB Audigy 2 Value [SB0400]"
		alsa.long_card_name = "SB Audigy 2 Value [SB0400] (rev.0, serial:0x10011102) at 0x9c00, irq 17"
		alsa.driver_name = "snd_emu10k1"
		device.bus_path = "/devices/pci0000:00/0000:00:06.0/0000:01:07.0/sound/card1"
		sysfs.path = "/devices/pci0000:00/0000:00:06.0/0000:01:07.0/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1102"
		device.product.id = "0008"
		hal.udi = "/org/freedesktop/Hal/devices/pci_1102_8_sound_card_1"
		hal.product = "SB Audigy 2 Value [SB0400] (rev.0, serial:0x10011102) Sound Card"
		hal.card_id = "SB Audigy 2 Value [SB0400] (rev.0, serial:0x10011102)"
		device.string = "front:1"
		device.buffering.buffer_size = "65536"
		device.buffering.fragment_size = "65536"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "SB Audigy 2 Value [SB0400] Analog Stereo"
		alsa.mixer_name = "SigmaTel STAC9750,51"
		alsa.components = "AC97a:83847650"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output;output-amplifier-on: Analog Output / Amplifier (priority 10010)
		analog-output;output-amplifier-off: Analog Output / No Amplifier (priority 10000)
		analog-output-headphones;output-amplifier-on: Analog Headphones / Amplifier (priority 9010)
		analog-output-headphones;output-amplifier-off: Analog Headphones / No Amplifier (priority 9000)
	active port: <analog-output;output-amplifier-on>
2 source(s) available.
    index: 0
	name: <alsa_output.1.analog-stereo.monitor>
	driver: <module-alsa-card.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 1050
	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: 64 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 0.50 .. 371.52 ms
	monitor_of: 0
	card: 0 <alsa_card.1>
	module: 4
	properties:
		device.description = "Monitor of SB Audigy 2 Value [SB0400] Analog Stereo"
		device.class = "monitor"
		alsa.card = "1"
		alsa.card_name = "SB Audigy 2 Value [SB0400]"
		alsa.long_card_name = "SB Audigy 2 Value [SB0400] (rev.0, serial:0x10011102) at 0x9c00, irq 17"
		alsa.driver_name = "snd_emu10k1"
		device.bus_path = "/devices/pci0000:00/0000:00:06.0/0000:01:07.0/sound/card1"
		sysfs.path = "/devices/pci0000:00/0000:00:06.0/0000:01:07.0/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1102"
		device.product.id = "0008"
		hal.udi = "/org/freedesktop/Hal/devices/pci_1102_8_sound_card_1"
		hal.product = "SB Audigy 2 Value [SB0400] (rev.0, serial:0x10011102) Sound Card"
		hal.card_id = "SB Audigy 2 Value [SB0400] (rev.0, serial:0x10011102)"
		device.string = "1"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
  * index: 1
	name: <alsa_input.1.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 9059
	volume: 0:  74% 1:  74%
	        0: -8.00 dB 1: -8.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 0.50 .. 371.52 ms
	card: 0 <alsa_card.1>
	module: 4
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ADC Capture/Standard PCM Playback"
		alsa.id = "emu10k1"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "1"
		alsa.card_name = "SB Audigy 2 Value [SB0400]"
		alsa.long_card_name = "SB Audigy 2 Value [SB0400] (rev.0, serial:0x10011102) at 0x9c00, irq 17"
		alsa.driver_name = "snd_emu10k1"
		device.bus_path = "/devices/pci0000:00/0000:00:06.0/0000:01:07.0/sound/card1"
		sysfs.path = "/devices/pci0000:00/0000:00:06.0/0000:01:07.0/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1102"
		device.product.id = "0008"
		hal.udi = "/org/freedesktop/Hal/devices/pci_1102_8_sound_card_1"
		hal.product = "SB Audigy 2 Value [SB0400] (rev.0, serial:0x10011102) Sound Card"
		hal.card_id = "SB Audigy 2 Value [SB0400] (rev.0, serial:0x10011102)"
		device.string = "hw:1"
		device.buffering.buffer_size = "65536"
		device.buffering.fragment_size = "32768"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "SB Audigy 2 Value [SB0400] Analog Stereo"
		alsa.mixer_name = "SigmaTel STAC9750,51"
		alsa.components = "AC97a:83847650"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
2 client(s) logged in.
    index: 0
	driver: <module-console-kit.c>
	owner module: 17
	properties:
		application.name = "ConsoleKit Session /org/freedesktop/ConsoleKit/Session1"
		console-kit.session = "/org/freedesktop/ConsoleKit/Session1"
    index: 3
	driver: <cli.c>
	owner module: 21
	properties:
		application.name = "UNIX socket client"
2 card(s) available.
    index: 0
	name: <alsa_card.1>
	driver: <module-alsa-card.c>
	owner module: 4
	properties:
		alsa.card = "1"
		alsa.card_name = "SB Audigy 2 Value [SB0400]"
		alsa.long_card_name = "SB Audigy 2 Value [SB0400] (rev.0, serial:0x10011102) at 0x9c00, irq 17"
		alsa.driver_name = "snd_emu10k1"
		device.bus_path = "/devices/pci0000:00/0000:00:06.0/0000:01:07.0/sound/card1"
		sysfs.path = "/devices/pci0000:00/0000:00:06.0/0000:01:07.0/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1102"
		device.product.id = "0008"
		hal.udi = "/org/freedesktop/Hal/devices/pci_1102_8_sound_card_1"
		hal.product = "SB Audigy 2 Value [SB0400] (rev.0, serial:0x10011102) Sound Card"
		hal.card_id = "SB Audigy 2 Value [SB0400] (rev.0, serial:0x10011102)"
		device.string = "1"
		device.description = "SB Audigy 2 Value [SB0400]"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		output:analog-mono: Analog Mono Output (priority 100)
		output:analog-mono+input:analog-mono: Analog Mono Duplex (priority 101)
		output:analog-mono+input:analog-stereo: Analog Mono Output + Analog Stereo Input (priority 160)
		output:analog-mono+input:iec958-stereo: Analog Mono Output + Digital Stereo (IEC958) Input (priority 155)
		output:analog-stereo: Analog Stereo Output (priority 6000)
		output:analog-stereo+input:analog-mono: Analog Stereo Output + Analog Mono Input (priority 6001)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060)
		output:analog-surround-40: Analog Surround 4.0 Output (priority 700)
		output:analog-surround-40+input:analog-mono: Analog Surround 4.0 Output + Analog Mono Input (priority 701)
		output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 760)
		output:analog-surround-41: Analog Surround 4.1 Output (priority 800)
		output:analog-surround-41+input:analog-mono: Analog Surround 4.1 Output + Analog Mono Input (priority 801)
		output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (priority 860)
		output:analog-surround-50: Analog Surround 5.0 Output (priority 700)
		output:analog-surround-50+input:analog-mono: Analog Surround 5.0 Output + Analog Mono Input (priority 701)
		output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (priority 760)
		output:analog-surround-51: Analog Surround 5.1 Output (priority 800)
		output:analog-surround-51+input:analog-mono: Analog Surround 5.1 Output + Analog Mono Input (priority 801)
		output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (priority 860)
		output:analog-surround-71: Analog Surround 7.1 Output (priority 700)
		output:analog-surround-71+input:analog-mono: Analog Surround 7.1 Output + Analog Mono Input (priority 701)
		output:analog-surround-71+input:analog-stereo: Analog Surround 7.1 Output + Analog Stereo Input (priority 760)
		output:iec958-stereo: Digital Stereo Duplex (IEC958) (priority 5500)
		output:iec958-stereo+input:analog-mono: Digital Stereo (IEC958) Output + Analog Mono Input (priority 5501)
		output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (priority 5560)
		input:analog-mono: Analog Mono Input (priority 1)
		input:analog-stereo: Analog Stereo Input (priority 60)
		input:iec958-stereo: Digital Stereo (IEC958) Input (priority 55)
		off: Off (priority 0)
	active profile: <output:analog-stereo+input:analog-stereo>
	sinks:
		alsa_output.1.analog-stereo/#0: SB Audigy 2 Value [SB0400] Analog Stereo
	sources:
		alsa_output.1.analog-stereo.monitor/#0: Monitor of SB Audigy 2 Value [SB0400] Analog Stereo
		alsa_input.1.analog-stereo/#1: SB Audigy 2 Value [SB0400] Analog Stereo
    index: 1
	name: <alsa_card.0>
	driver: <module-alsa-card.c>
	owner module: 5
	properties:
		alsa.card = "0"
		alsa.card_name = "HDA ATI HDMI"
		alsa.long_card_name = "HDA ATI HDMI at 0xfddfc000 irq 16"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "/devices/pci0000:00/0000:00:0f.0/0000:03:00.1/sound/card0"
		sysfs.path = "/devices/pci0000:00/0000:00:0f.0/0000:03:00.1/sound/card0"
		device.bus = "pci"
		device.vendor.id = "1002"
		device.product.id = "aa10"
		hal.udi = "/org/freedesktop/Hal/devices/pci_1002_aa10_sound_card_0"
		hal.product = "HDA ATI HDMI Sound Card"
		hal.card_id = "HDA ATI HDMI"
		device.string = "0"
		device.description = "HDA ATI HDMI"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400)
		off: Off (priority 0)
	active profile: <off>
0 sink input(s) available.
0 source outputs(s) available.
0 cache entrie(s) available.
>>> 


More information about the pulseaudio-discuss mailing list