[pulseaudio-discuss] Card sometimes doesn't create sinks/sources

Colin Guthrie gmane at colin.guthr.ie
Sun Nov 7 12:51:24 PST 2010


[Resend: Didn't get through moderation last time... 2nd time lucky]

Hi,

This is a strange one that I've seen happen very occasionally, but
cannot nail down or reliably reproduce.

I've got a set of USB speakers and when coming back from suspend with
them plugged in (they were not plugged in prior to suspending but have
been previously with the same instance of PA).

The card is recognised and appears under "Configuration" tab or pacmd
list-cards. It shows it's profiles correctly and selects the one I want,
but it does not load the sinks and sources (in this case, just sinks).

Unplugging and replugging doesn't help. Changing profile doesn't help.

Everything looks correct, but the sinks just don't appear.

Restart PA daemon and all is well - the sinks appear as expected.

I've attached the log output, but the only strange thing in there to me
is the "events suppressed" message. Sadly it's not clear exactly which
event is suppressed when it prints that message which really doesn't
help debugging... someone should really fix that with the log
suppression technique currently in use!


Col


pacmd list-cards output below

    index: 4
	name:
<alsa_card.usb-YAMAHA_YAMAHA_YST-M45D_USB_Speaker_Ser_00_em-00-default>
	driver: <module-alsa-card.c>
	owner module: 30
	properties:
		alsa.card = "1"
		alsa.card_name = "YAMAHA YST-M45D USB Speaker"
		alsa.long_card_name = "YAMAHA YAMAHA YST-M45D USB Speaker   at
usb-0000:00:1d.7-7.1, full speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:1d.7-usb-0:7.1:1.0"
		sysfs.path =
"/devices/pci0000:00/0000:00:1d.7/usb5/5-7/5-7.1/5-7.1:1.0/sound/card1"
		udev.id = "usb-YAMAHA_YAMAHA_YST-M45D_USB_Speaker_Ser_00_em-00-default"
		device.bus = "usb"
		device.vendor.id = "0499"
		device.vendor.name = "Yamaha Corp."
		device.product.id = "3003"
		device.product.name = "YST-M45D USB Speaker"
		device.serial = "YAMAHA_YAMAHA_YST-M45D_USB_Speaker_Ser_00_em"
		device.form_factor = "speaker"
		device.string = "1"
		device.description = "YST-M45D USB Speaker"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-speakers-usb"
	profiles:
		output:analog-mono: Analog Mono Output (priority 100)
		output:analog-stereo: Analog Stereo Output (priority 6000)
		off: Off (priority 0)
	active profile: <output:analog-stereo>


-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mageia Contributor [http://www.mageia.org/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pa-card-no-sinks.txt
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20101107/39f76d0d/attachment.txt>


More information about the pulseaudio-discuss mailing list