[alsa-devel] USB sound card fails to resume from hibernation due to duplicate filename card1/WARNING: sysfs_add_ons, emits symbols

Avuton Olrich avuton at gmail.com
Thu Mar 20 15:47:33 CET 2008


On Thu, Mar 20, 2008 at 4:39 AM, Takashi Iwai <tiwai at suse.de> wrote:
> At Wed, 19 Mar 2008 23:39:28 -0700,
>
> Avuton Olrich wrote:
>  >
>  > After suspending, the usbdisk sound card alsa driver breaks and does
>  > not play any further. I believe this is might be due to the trace
>  > below from the dmesg.
>  >
>  > This definitely begins to occur between v2.6.23 and v2.6.23-rc2. I

BTW- honest mistake, it was v2.6.24-rc2.

>  > couldn't bisect it down to a single commit.
>  >
>  > This fails with with all kernels up to at least today's git.
>
>  Could you try my git tree and check whether the same problem happens?
>         git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable-2.6.git

Yes, it now works, but now something is causing Pulseaudio to crash. I
believe it's due to the fact that the alsa output name is changing now
after hibernate.

When the computer initally starts the ALSA device name for this usbdisk is:
usb_device_d8c_c_noserial_if0_sound_card_0_alsa_playback_0

Then it turns into this after hibernation:
usb_device_ffffffff_ffffffff_noserial_0_sound_card_0_alsa_playback_0
-- 
avuton
--
 Anyone who quotes me in their sig is an idiot. -- Rusty Russell.


More information about the Alsa-devel mailing list