At Wed, 31 Mar 2010 12:40:16 +0800, Wu Fengguang wrote:
Greetings,
Pulseaudio can no longer detect sound cards on kernel 2.6.34-rc1. Note that 2.6.33 is OK.
I noticed that the related sysfs directories/files changed. Note that the card0/ directory is gone in new kernel:
2.6.33 wfg@hp ~% ll /sys/class/sound total 0 lrwxrwxrwx 1 root root 0 2010-03-31 12:23 timer -> ../../devices/virtual/sound/timer lrwxrwxrwx 1 root root 0 2010-03-31 12:23 pcmC0D1p -> ../../devices/pci0000:00/0000:00:1b.0/sound/card0/pcmC0D1p lrwxrwxrwx 1 root root 0 2010-03-31 12:23 pcmC0D0p -> ../../devices/pci0000:00/0000:00:1b.0/sound/card0/pcmC0D0p lrwxrwxrwx 1 root root 0 2010-03-31 12:23 pcmC0D0c -> ../../devices/pci0000:00/0000:00:1b.0/sound/card0/pcmC0D0c lrwxrwxrwx 1 root root 0 2010-03-31 12:23 mixer5 -> ../../devices/platform/thinkpad_acpi/sound/card5/mixer5 lrwxrwxrwx 1 root root 0 2010-03-31 12:23 mixer -> ../../devices/pci0000:00/0000:00:1b.0/sound/card0/mixer lrwxrwxrwx 1 root root 0 2010-03-31 12:23 hwC0D0 -> ../../devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0 lrwxrwxrwx 1 root root 0 2010-03-31 12:23 dsp -> ../../devices/pci0000:00/0000:00:1b.0/sound/card0/dsp lrwxrwxrwx 1 root root 0 2010-03-31 12:23 controlC5 -> ../../devices/platform/thinkpad_acpi/sound/card5/controlC5 lrwxrwxrwx 1 root root 0 2010-03-31 12:23 controlC0 -> ../../devices/pci0000:00/0000:00:1b.0/sound/card0/controlC0 lrwxrwxrwx 1 root root 0 2010-03-31 12:23 card5 -> ../../devices/platform/thinkpad_acpi/sound/card5 lrwxrwxrwx 1 root root 0 2010-03-31 12:23 card0 -> ../../devices/pci0000:00/0000:00:1b.0/sound/card0 lrwxrwxrwx 1 root root 0 2010-03-31 12:23 audio -> ../../devices/pci0000:00/0000:00:1b.0/sound/card0/audio lrwxrwxrwx 1 root root 0 2010-03-31 12:23 adsp -> ../../devices/pci0000:00/0000:00:1b.0/sound/card0/adsp
2.6.34-rc1 wfg@hp ~% ll /sys/class/sound total 0 drwxr-xr-x 3 root root 0 2010-03-31 19:27 timer drwxr-xr-x 3 root root 0 2010-03-31 19:27 pcmC0D7p drwxr-xr-x 3 root root 0 2010-03-31 19:27 pcmC0D3p drwxr-xr-x 3 root root 0 2010-03-31 19:27 pcmC0D0p drwxr-xr-x 3 root root 0 2010-03-31 19:27 pcmC0D0c drwxr-xr-x 3 root root 0 2010-03-31 19:27 hwC0D3 drwxr-xr-x 3 root root 0 2010-03-31 19:27 hwC0D0 drwxr-xr-x 3 root root 0 2010-03-31 19:27 controlC0
Any ideas?
I don't see this problem on 2.6.34-rc3. Did you change CONFIG_SYSFS_DEPRECATED* kconfig between 2.6.33 and 34?
Takashi