Skip to contentSkip to conversation

pulseaudio module-udev-detect failure on 2.6.34-rc1

DISCUSSION Wu Fengguang 2 participants 3 messages Mar 31, 2010

lore
Share & tools
lore
#0 lore raw

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?

Thanks,
Fengguang

#1 lore raw

At Wed, 31 Mar 2010 12:40:16 +0800,

Quoted 39 lines · Wu Fengguang

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

Quoted 1 line

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

#2 lore raw

Takashi-san,

Quoted 2 lines

I don't see this problem on 2.6.34-rc3.
Did you change CONFIG_SYSFS_DEPRECATED* kconfig between 2.6.33 and 34?

Ah yes! Good catch!

CONFIG_SYSFS_DEPRECATED=y
CONFIG_SYSFS_DEPRECATED_V2=y

I was hoping to run the kernel on RHEL 5.4 ..

Thanks,
Fengguang