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 |
|