-   Debian (
-   -   Squeeze + Pulseaudio + Alsa and USB Midi device causes Pulseaudio crash (

mad4linux 01-24-2011 09:48 AM

Squeeze + Pulseaudio + Alsa and USB Midi device causes Pulseaudio crash

I've got a rather special problem with my sound setup in Squeeze. At the moment i'm totally stuck and i'm looking for some good hints what i could do to better understand the problem i'm having.

I've got a fully updated squeeze with all pulseaudio, alsa and jack config files beeing the defualt. I purged all packages today and reinstalled them.
The problem is, that my pulseaudio server crashes always after ten minutes of playing sound with any application.

I've got an internal sound card playing my sound and a external usb midi interface attached (Midisport 2x2).

The crash seems alsa and midisport related. Because every time when the crash happens, i'm getting the following message in my syslog:


pulseaudio[6370]: module.c: Failed to load  module "module-alsa-card" (argument: "device_id="1" name="usb-0763_1002-00-M2x2" card_name="alsa_card.usb-0763_1002-00-M2x2" tsched=yes ignore_dB=no card_properties="module-udev-detect.discovered=1""): initialization failed.
My /var/log/messages says at the same time:

pulseaudio[6370]: pid.c: Stale PID file, overwriting.
Next line in syslog is:

pulseaudio[6376]: pid.c: Daemon already running.
And the connection of my application to pulseaudio is gone. If i restart the application, everything works fine for another 10 minutes.

Any idea, why pulseaudio wants to load that module, although, i'm not using it?

What to do to get the module loaded correctly or not loaded at all?

The funny thing is, that pulseaudio wants to load my midi device although i'm not using it at that particular moment! The midi interface just works fine, if i use it with rosegarden, and no crashes there.

BTW: I've got the midisport-firmware installed

mad4linux 01-26-2011 03:57 AM

The solution to this was just too easy.
After reading the pulseaudio website again, i've found out, that pulse audio is running in system mode on Squeeze (correct me if i'm wrong).
Because i've updated my machine from etch to squeeze, my user was a member of the the audio group.
Now, with pulseaudio, only pulse should be a member of the audio group, if pulseaudio is running in system mode.
So i just deleted my user from the audio group in /etc/group and everything works fine now!

All times are GMT -5. The time now is 02:17 PM.