Lines 238-243
withdmesg() {
Link Here
|
238 |
echo "" >> $FILE |
238 |
echo "" >> $FILE |
239 |
} |
239 |
} |
240 |
|
240 |
|
|
|
241 |
withpackages() { |
242 |
local RPM="$(which rpmquery 2>/dev/null | sed 's|^[^/]*||' 2>/dev/null)" |
243 |
local DPKG="$(which dpkg 2>/dev/null | sed 's|^[^/]*||' 2>/dev/null)" |
244 |
[ -n "$RPM$DPKG" ] || return |
245 |
local PATTERN='(alsa-(lib|oss|plugins|tools|(topology|ucm)-conf|utils)|libalsa|tinycompress)' |
246 |
{ |
247 |
echo "!!Packages installed" |
248 |
echo "!!--------------------" |
249 |
echo "" |
250 |
{ |
251 |
if [ -x "$RPM" ]; then "$RPM" -a; fi |
252 |
if [ -x "$DPKG" ]; then "$DPKG" -l; fi |
253 |
} | grep -E "$PATTERN" |
254 |
echo "" |
255 |
} >> "$FILE" |
256 |
} |
257 |
|
241 |
withall() { |
258 |
withall() { |
242 |
withdevices |
259 |
withdevices |
243 |
withconfigs |
260 |
withconfigs |
Lines 247-252
withall() {
Link Here
|
247 |
withmodules |
264 |
withmodules |
248 |
withsysfs |
265 |
withsysfs |
249 |
withdmesg |
266 |
withdmesg |
|
|
267 |
withpackages |
250 |
WITHALL="no" |
268 |
WITHALL="no" |
251 |
} |
269 |
} |
252 |
|
270 |
|
Lines 357-362
information about your ALSA installation and sound related hardware.
Link Here
|
357 |
aplay |
375 |
aplay |
358 |
amixer |
376 |
amixer |
359 |
alsactl |
377 |
alsactl |
|
|
378 |
rpm, dpkg |
360 |
/proc/asound/ |
379 |
/proc/asound/ |
361 |
/sys/class/sound/ |
380 |
/sys/class/sound/ |
362 |
~/.asoundrc (etc.) |
381 |
~/.asoundrc (etc.) |
Lines 699-704
if [ -n "$1" ]; then
Link Here
|
699 |
withconfigs |
718 |
withconfigs |
700 |
WITHALL="no" |
719 |
WITHALL="no" |
701 |
;; |
720 |
;; |
|
|
721 |
--with-packages) |
722 |
withpackages |
723 |
WITHALL="no" |
724 |
;; |
702 |
--stdout) |
725 |
--stdout) |
703 |
UPLOAD="no" |
726 |
UPLOAD="no" |
704 |
if [ -z "$WITHALL" ]; then |
727 |
if [ -z "$WITHALL" ]; then |
Lines 730-735
if [ -n "$1" ]; then
Link Here
|
730 |
echo " /etc/asound.conf if they exist)" |
753 |
echo " /etc/asound.conf if they exist)" |
731 |
echo " --with-devices (shows the device nodes in /dev/snd/)" |
754 |
echo " --with-devices (shows the device nodes in /dev/snd/)" |
732 |
echo " --with-dmesg (shows the ALSA/HDA kernel messages)" |
755 |
echo " --with-dmesg (shows the ALSA/HDA kernel messages)" |
|
|
756 |
echo " --with-packages (includes known packages installed)" |
733 |
echo "" |
757 |
echo "" |
734 |
echo " --output FILE (specify the file to output for no-upload mode)" |
758 |
echo " --output FILE (specify the file to output for no-upload mode)" |
735 |
echo " --update (check server for script updates)" |
759 |
echo " --update (check server for script updates)" |
736 |
- |
|
|