[PlanetCCRMA] ffado - jack - ccrma - 1394 diagnostic utility
clifffiedler at comcast.net
clifffiedler at comcast.net
Tue Mar 16 21:47:00 PDT 2010
################################################################################
#
# This utility has helped debug my F-12 ffado jack ccrma firewire configuration.
#
# Save it into a file called fwdiag
#
# It probably ends up in the Downloads or Documents directory.
#
# At a terminal prompt type: mv */fwdiag .
#
# At a terminal prompt type: chmod 755 fwdiag
#
# You can run it by typing: ./fwdiag
#
################################################################################
#
#
#
#
clear
: > fwdiag.out
echo " " >> fwdiag.out
echo "=======================================" >> fwdiag.out
echo "=======================================" >> fwdiag.out
echo "==> <==" >> fwdiag.out
echo "==> fwdiag <==" >> fwdiag.out
echo "==> <==" >> fwdiag.out
echo "==> ffado / jack / ccrma / 1394 <==" >> fwdiag.out
echo "==> diagnostic utility <==" >> fwdiag.out
echo "==> <==" >> fwdiag.out
echo "=======================================" >> fwdiag.out
echo "=======================================" >> fwdiag.out
echo " " >> fwdiag.out
cat fwdiag.out
echo "checking system configuration"
echo " " >> fwdiag.out
echo "=====> uname -a" >> fwdiag.out
uname -a >> fwdiag.out
echo " " >> fwdiag.out
echo "=====> rpm -qa | grep jack" >> fwdiag.out
rpm -qa | grep jack &>> fwdiag.out
echo " " >> fwdiag.out
echo "=====> rpm -qa | grep ffado" >> fwdiag.out
rpm -qa | grep ffado &>> fwdiag.out
echo " " >> fwdiag.out
echo "=====> rpm -qa | grep 1394" >> fwdiag.out
rpm -qa | grep 1394 &>> fwdiag.out
echo " " >> fwdiag.out
echo "=====> rpm -qa | grep libxml" >> fwdiag.out
rpm -qa | grep libxml &>> fwdiag.out
# echo " " >> fwdiag.out
# echo "=====> yum repolist all" >> fwdiag.out
# yum repolist all &>> fwdiag.out
echo " " >> fwdiag.out
echo "=====> yum repolist" >> fwdiag.out
yum repolist &>> fwdiag.out
echo " " >> fwdiag.out
echo "=====> ls -al /usr/lib*/jack/jack_firewire.so" >> fwdiag.out
ls -al /usr/lib*/jack/jack_firewire.so | grep -v total &>> fwdiag.out
echo " " >> fwdiag.out
echo "=====> ls -al /usr/lib*/libffado.so*" >> fwdiag.out
ls -al /usr/lib*/libffado.so* | grep -v total &>> fwdiag.out
echo " " >> fwdiag.out
echo "=====> grep SEL /etc/sysconfig/selinux" >> fwdiag.out
grep '^SEL' /etc/sysconfig/selinux &>> fwdiag.out
echo " " >> fwdiag.out
echo "=====> ls -l /etc/security/limits.d" >> fwdiag.out
ls -l /etc/security/limits.d | grep -v total &>> fwdiag.out
echo " " >> fwdiag.out
echo "=====> tail -4 /etc/security/limits.conf" >> fwdiag.out
tail -4 /etc/security/limits.conf &>> fwdiag.out
echo " " >> fwdiag.out
echo "=====> /etc/rc.d/init.d/rtirq status" >> fwdiag.out
/etc/rc.d/init.d/rtirq status &>> fwdiag.out
echo " " >> fwdiag.out
echo "=====> grep . /sys/bus/ieee1394/devices/fw-host0/*" >> fwdiag.out
grep . /sys/bus/ieee1394/devices/fw-host0/* &>> fwdiag.out
echo " " >> fwdiag.out
echo "=====> ls -al /dev/*1394*" >> fwdiag.out
ls -al /dev/*1394* &>> fwdiag.out
echo " " >> fwdiag.out
echo "=====> dmesg | grep 1394" >> fwdiag.out
dmesg | grep 1394 &>> fwdiag.out
echo " " >> fwdiag.out
echo "=====> lspci | grep 1394" >> fwdiag.out
lspci | grep 1394 &>> fwdiag.out
echo " " >> fwdiag.out
echo "=====> lsmod | grep 1394" >> fwdiag.out
lsmod | grep 1394 &>> fwdiag.out
echo " " >> fwdiag.out
echo "=====> lsmod | grep snd" >> fwdiag.out
lsmod | grep snd &>> fwdiag.out
echo " " >> fwdiag.out
echo "=====> cat /proc/asound/cards" >> fwdiag.out
cat /proc/asound/cards &>> fwdiag.out
echo " " >> fwdiag.out
echo "starting ffado-test"
echo " " >> fwdiag.out
echo "=====> ffado-test Discover" >> fwdiag.out
ffado-test Discover &>> fwdiag.out
echo " " >> fwdiag.out
echo "=====> ffado-test ListDevices" >> fwdiag.out
ffado-test ListDevices &>> fwdiag.out
echo " " >> fwdiag.out
PKG_CONFIG_PATH=/usr/lib:/usr/lib64 ; export PKG_CONFIG_PATH
echo " " >> fwdiag.out
echo "starting ffado-diag"
ffado-diag &>> fwdiag.out
echo " " >> fwdiag.out
echo " " >> fwdiag.out
echo "if jackd works, you can use QjackCtl to stop it"
echo "starting jackd"
echo " " >> fwdiag.out
echo "=====> jackd -v -d firewire -v hw:0" >> fwdiag.out
jackd -v -d firewire -v hw:0 &>> fwdiag.out
echo " " >> fwdiag.out
echo " " >> fwdiag.out
echo " " >> fwdiag.out
# echo "cat ~/.config/rncbc.org/QjackCtl.conf " >> fwdiag.out
# cat ~/.config/rncbc.org/QjackCtl.conf &>> fwdiag.out
echo " " >> fwdiag.out
echo " " >> fwdiag.out
sleep 2
cp fwdiag.out fwdiag.out.`date +%y%m%d%T`
clear
echo " "
echo " "
cat fwdiag.out
echo " "
echo "less fwdiag.out"
echo " "
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ccrma-mail.stanford.edu/pipermail/planetccrma/attachments/20100317/5ab2dbc6/attachment-0001.html
More information about the PlanetCCRMA
mailing list