Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 71230
Collapse All | Expand All

(-)alsasound (-1 / +1 lines)
Lines 50-56 Link Here
50
50
51
load_modules() {
51
load_modules() {
52
	# List of drivers for each card.
52
	# List of drivers for each card.
53
	DRIVERS="$(modprobe -c | grep -E "^[[:space:]]*alias[[:space:]]+snd-card-[[:digit:]]" | awk '{print $3}')"
53
	DRIVERS="$(modprobe -c | grep -E "^[[:space:]]*alias[[:space:]]+snd-card-[[:digit:]]" | awk '{print $2}')"
54
54
55
	# Fall back on the automated aliases if we don't have ALSA configured properly...
55
	# Fall back on the automated aliases if we don't have ALSA configured properly...
56
	if [ -z "${DRIVERS}" ] && ! ([ -d /proc/asound ] && [ -z "$(grep ' no soundcards ' /proc/asound/cards)" ]); then
56
	if [ -z "${DRIVERS}" ] && ! ([ -d /proc/asound ] && [ -z "$(grep ' no soundcards ' /proc/asound/cards)" ]); then

Return to bug 71230