Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171009 - alsa-utils-1.0.14_rc2-r2 - could not detect custom ALSA settings
Summary: alsa-utils-1.0.14_rc2-r2 - could not detect custom ALSA settings
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-03-15 09:14 UTC by konsti
Modified: 2007-03-15 15:19 UTC (History)
2 users (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 konsti 2007-03-15 09:14:29 UTC
alsa-utils worked for ages, this particular version messes up sound card order:

root@anita:/etc/modules.d/ > /etc/init.d/alsasound restart
 * Caching service dependencies ...                                                                             [ ok ]
 * Service alsasound starting
 Could not detect custom ALSA settings.  Loading all detected alsa drivers.
XXX write TLV...
 * Service alsasound started

The "Could not ..." line was never seen by me before.
/etc/modules.d/alsa still looks like this way:

alias char-major-116 snd
alias char-major-14 soundcore

alias snd-card-0 snd-ice1724
alias snd-card-1 snd-ens1371
alias snd-card-2 snd-hda-intel
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1
alias sound-slot-2 snd-card-2

alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-1 snd-seq-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-8 snd-seq-oss
alias sound-service-1-12 snd-pcm-oss
alias sound-service-2-0 snd-mixer-oss
alias sound-service-2-1 snd-seq-oss
alias sound-service-2-3 snd-pcm-oss
alias sound-service-2-8 snd-seq-oss
alias sound-service-2-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

options snd cards_limit=2
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-03-15 09:32:43 UTC
Eh, the init script is not responsible for you sound cards order; if you need a particular order, you should do this:

alias snd-card-0 snd-ice1724 index=0
alias snd-card-1 snd-ens1371 index=1
alias snd-card-2 snd-hda-intel index=2

The message you've posted comes from rewriting this:

if [[ -z "${DRIVERS}" && ! ( -d /proc/asound && -z "$(grep ' no soundcards ' /proc/asound/cards)" ) ]] ; then

into 

if [ -z "${DRIVERS}" ] && \
( [ ! -r /proc/asound/cards ] || grep -q ' no soundcards ' /proc/asound/cards 2>/dev/null ) ; then
Comment 2 Roy Marples (RETIRED) gentoo-dev 2007-03-15 11:33:56 UTC
Meh, my bad for not testing that.
Fixed in -r3.
Comment 3 konsti 2007-03-15 11:39:58 UTC
If the line comes from rewriting stuff not having something todo than this is a funny coincidence. However I never used the index=x lines ever before. I added them and did update-modules and depmod but restarting /etc/init.d/alsasound has the wrong soundcard order since I updated this package.
Comment 4 konsti 2007-03-15 15:19:18 UTC
All right. -r3 removes the "config not found..." line and restores my old soundcard order.

Many thanks!