From: Takashi Iwai Subject: Re: pulseaudio module-udev-detect failure on 2.6.34-rc1 Date: Wed, 31 Mar 2010 11:43:36 +0200 Message-ID: References: <20100331044016.GA17684@localhost> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.suse.de (cantor.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id B71911037F2 for ; Wed, 31 Mar 2010 11:43:36 +0200 (CEST) In-Reply-To: <20100331044016.GA17684@localhost> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Wu Fengguang Cc: alsa-devel@alsa-project.org, Lennart Poettering List-Id: alsa-devel@alsa-project.org 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