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

(-)/etc/init.d/alsasound (-2 / +8 lines)
Lines 45-52 Link Here
45
		DMOD="$(echo "${DRIVER}" | sed -e 's/-/_/g')"
45
		DMOD="$(echo "${DRIVER}" | sed -e 's/-/_/g')"
46
		if ! grep -q "^${DMOD} " /proc/modules ; then
46
		if ! grep -q "^${DMOD} " /proc/modules ; then
47
			ebegin "Loading: ${DRIVER}"
47
			ebegin "Loading: ${DRIVER}"
48
			modprobe ${DRIVER}
48
			modprobe ${DRIVER} ; local E=$? 
49
			eend $?
49
			if ! (( E )) ; then
50
				if modprobe -c | grep -q "^alias ${DRIVER} snd-usb-audio$" ; then
51
					# Wait for slow USB audio devices to initialize
52
					sleep 1
53
				fi
54
			fi
55
			eend $E
50
		fi
56
		fi
51
	done
57
	done
52
58

Return to bug 222393