Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15570 - Request ability to ignore/detect alsa-driver package for alsa-in-kernel (i.e. 2.5.xx)
Summary: Request ability to ignore/detect alsa-driver package for alsa-in-kernel (i.e....
Status: RESOLVED DUPLICATE of bug 14907
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-12 09:48 UTC by Blu3
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Blu3 2003-02-12 09:48:55 UTC
I have ALSA compiled into my kernel (2.5.60) which is version .9

It works pretty good.  However I have a lot of packages that require alsa-driver
dependancy.  Unfortunately this package is far from compiling.  Perhaps a means
of detecting whether there is already an alsa driver installed and the package
could be skipped over.

i.e.:

# grep "^ *116 *alsa" /proc/devices 
116 alsa

.. and if there is a positive result (grep -c "^ *116 *alsa" /proc/devices) then
the ebuild can explain that there is an alsa driver in the kernel right now and
ask the user if he wants to continue or skip.  I don't yet have a reliable way
of determining if the alsa driver came from a gentoo package or was compiled
into the kernel.

I'd like to find a way to figure this out instead of adding another USE variable
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-02-12 10:07:50 UTC
provocative
Comment 2 Arcady Genkin (RETIRED) gentoo-dev 2003-02-12 14:40:18 UTC
Checking for loaded ALSA drivers at the package compilation time is not a very good solution.

Maybe the packages that require alas-driver should be changed to require alsa-lib?

Or maybe the 2.5 kernels should provide virtual/alsa and the packages depend on that virtual package?

Myself I don't run development kernels.  Brandon, what's your take?
Comment 3 Chris Smith 2003-03-07 20:01:27 UTC
The problem is, that alsa-lib fails to compile because alsa-driver is not installed (alsa-lib will 
fail at configure). 
Comment 4 Blu3 2003-03-07 21:32:24 UTC
# emerge -s alsa-lib alsa-driver
Searching...   
[ Results for search key : alsa-lib ]
[ Applications found : 1 ]
 
*  media-libs/alsa-lib
      Latest version available: 0.9.0_rc8-r2
      Latest version installed: 0.9.0_rc7
      Size of downloaded files: 477 kB
      Homepage:    http://www.alsa-project.org/
      Description: Advanced Linux Sound Architecture Library

Searching...   
[ Results for search key : alsa-driver ]
[ Applications found : 1 ]
 
*  media-sound/alsa-driver
      Latest version available: 0.9.0_rc8-r1
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 1,587 kB
      Homepage:    http://www.alsa-project.org/
      Description: Advanced Linux Sound Architecture kernel modules



I have 2.5.x kernel ALSA support.  Works just dandy.  Hmm, new version.  *updates alsa-lib*  (side comment, why hasn't alsa-lib been updated from my daily emerge -u world?)

# emerge alsa-lib
[...]

emerged just fine too :)

alsa-lib doesn't require alsa-driver package



Comment 5 Arcady Genkin (RETIRED) gentoo-dev 2003-03-16 18:08:37 UTC

*** This bug has been marked as a duplicate of 14907 ***