Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 286810 - media-sound/pulseaudio: enable alsa-sink module when using the linux kernel
Summary: media-sound/pulseaudio: enable alsa-sink module when using the linux kernel
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
Depends on:
Reported: 2009-09-28 17:54 UTC by Fabio Erculiani (RETIRED)
Modified: 2009-09-28 19:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

emerge --info provided (emerge--info.txt,6.18 KB, text/plain)
2009-09-28 19:16 UTC, Fabio Erculiani (RETIRED)
dmesg output (dmesg,27.09 KB, text/plain)
2009-09-28 19:29 UTC, Fabio Erculiani (RETIRED)
/var/log/messages (messages,49.32 KB, text/plain)
2009-09-28 19:30 UTC, Fabio Erculiani (RETIRED)
lspci -vvv output (lspci,4.96 KB, text/plain)
2009-09-28 19:31 UTC, Fabio Erculiani (RETIRED)
lsmod output (lsmod,1.55 KB, text/plain)
2009-09-28 19:32 UTC, Fabio Erculiani (RETIRED)

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Erculiani (RETIRED) gentoo-dev 2009-09-28 17:54:01 UTC
Current in media-sound/pulseaudio ebuilds is shipped with alsa-sink module disabled.
This is causing the inability to play sound from applications using different sound systems (for eg. Audacious2 w/PA and Firefox+Flash w/ALSA).

I don't know what are the implications of enabling this option by default but fact is that without doing this, user is unable to properly enjoy music while watching Youtube vids ;).

The trick would be editing /etc/pulse/ this way:
-#load-module module-alsa-sink
+load-module module-alsa-sink

I would like to collect opinions on the matter. Perhaps the best way would be binding this to USE="alsa".
In Sabayon we have this option enabled by default and is not causing any trouble.

Reproducible: Always
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-09-28 18:54:22 UTC
hal and udev take care of enabling the required modules; if you don't want autodetect you're on your own.
Comment 2 Fabio Erculiani (RETIRED) gentoo-dev 2009-09-28 19:14:07 UTC
Then, doesn't work properly, because here it fails at enabling alsa-sink and thus making ALSA working via PA.

Comment 3 Fabio Erculiani (RETIRED) gentoo-dev 2009-09-28 19:16:47 UTC
Created attachment 205519 [details]
emerge --info provided

let me know if you need anything else to figure out what's wrong.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-09-28 19:17:29 UTC
Or maybe you should learn to file a bug report.

a) *this* issue is INVALID and so it'll have to stay;
b) if you really feel it's not your mistake, open a new bug report *providing information on how to reproduce your problem*; lack thereof will only cause further closed bugs.
Comment 5 Fabio Erculiani (RETIRED) gentoo-dev 2009-09-28 19:19:56 UTC
I asked for what information you need. And no, it's not invalid, sorry.
Providing more logs in a second.
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-09-28 19:23:05 UTC
Comment 7 Fabio Erculiani (RETIRED) gentoo-dev 2009-09-28 19:29:03 UTC
Created attachment 205523 [details]
dmesg output
Comment 8 Fabio Erculiani (RETIRED) gentoo-dev 2009-09-28 19:30:25 UTC
Created attachment 205524 [details]

This actually shows an issue with ALSA and kernel, and reports a "Device or resource busy"
Comment 9 Fabio Erculiani (RETIRED) gentoo-dev 2009-09-28 19:31:24 UTC
Created attachment 205527 [details]
lspci -vvv output
Comment 10 Fabio Erculiani (RETIRED) gentoo-dev 2009-09-28 19:32:11 UTC
Created attachment 205529 [details]
lsmod output
Comment 11 Fabio Erculiani (RETIRED) gentoo-dev 2009-09-28 19:37:57 UTC
Ok, opening a new bug. You don't need to act this way though.