Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 254893

Summary: media-sound/alsa-driver-1.0.18a doesn't work with 2.6.28 kernel with oss useflag
Product: Gentoo Linux Reporter: Rafał Mużyło <galtgendo>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED WONTFIX    
Severity: normal CC: ford_prefect
Priority: High Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 350164    
Bug Blocks:    

Description Rafał Mużyło 2009-01-13 22:04:38 UTC
...and at the same time it does.
The problem here lies in in a kernel config symbol.
CONFIG_SOUND_OSS_CORE can't be defined separately
and also without defining CONFIG_SND.
The second would break the ebuild and to get the first,
you'd need to mark one of the oss compatibility options
in menuconfig - that would probably conflict with those
from alsa-driver.
To get around it, I added a small patch to alsa-driver,
defining CONFIG_SOUND_OSS_CORE in configure.in (probably
not really needed) and patched kernel sources:
added 'select SOUND_OSS_CORE' in 'menuconfig SOUND' block
of sound/Kconfig.
Well, it works for me.
Comment 1 Arun Raghavan (RETIRED) gentoo-dev 2009-01-20 18:31:23 UTC
A bump to alsa-driver-1.0.19 does not seem to fix this. Not been able to find the cause (yet).
Comment 2 Arun Raghavan (RETIRED) gentoo-dev 2009-01-21 03:56:41 UTC
One simple but ugly way to work around this is just to select OSS at the top level and select nothing underneath it. This selects CONFIG_SOUND_PRIME which selects CONFIG_SOUND_OSS_CORE and nothing else. This could if conditional on USE=oss in the alsa-driver ebuild.

This can probably be our last resort.
Comment 3 Steve Dibb (RETIRED) gentoo-dev 2010-06-06 01:03:53 UTC
I think this is probably same as bug 320583
Comment 4 Rafał Mużyło 2010-06-06 01:41:41 UTC
Well, no.
Since I filed this bug, I learned the reason
why the things are done that way -
it's to make things like osspd work.

This obviously doesn't help with the proble here. 
Comment 5 Pacho Ramos gentoo-dev 2012-02-09 12:08:33 UTC
Still valid with 1.0.23?
Comment 6 Pacho Ramos gentoo-dev 2012-03-18 12:23:15 UTC
dropped