LiteSpeed Linux server2.poyrazhosting.com 3.10.0-962.3.2.lve1.5.77.el7.x86_64 #1 SMP Mon Dec 12 07:06:14 EST 2022 x86_64 safemode : OFF MySQL: OFF | Perl: OFF | cURL: ON | WGet: OFF > / lib / udev / | Server Ip : 104.21.78.54 |
Filename | /lib/udev/tascam_fw |
Size | 1.1 kb |
Permission | rwxr-xr-x |
Owner | |
Create time | 08-Dec-2022 22:35 |
Last modified | 05-Nov-2016 18:34 |
Last accessed | 05-Nov-2016 18:34 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
#!/bin/sh
# load the firmware into Tascam USB devices
prefix=/usr
exec_prefix=/usr
FIRMWARE=
FIRMWAREDIR=/usr/share/alsa/firmware/usx2yloader
FLAGS=
LOADER=/sbin/fxload
LOADERFIRMWARE=$FIRMWAREDIR/tascam_loader.ihx
case $PRODUCT in
1604/8000/*)
FIRMWARE=$FIRMWAREDIR/us428fw.ihx
;;
1604/8004/*)
FIRMWARE=$FIRMWAREDIR/us224fw.ihx
;;
1604/8006/*)
FIRMWARE=$FIRMWAREDIR/us122fw.ihx
;;
*)
if [ -x /usr/bin/logger ]; then
/usr/bin/logger -t $0 "unknown product $PRODUCT"
fi
exit 1
esac
# missing loader firmware?
if [ ! -r $LOADERFIRMWARE ]; then
if [ -x /usr/bin/logger ]; then
/usr/bin/logger -t $0 "missing $LOADERFIRMWARE ??"
fi
exit 1
fi
# missing firmware?
if [ ! -r $FIRMWARE ]; then
if [ -x /usr/bin/logger ]; then
/usr/bin/logger -t $0 "missing $FIRMWARE for $PRODUCT ??"
fi
exit 1
fi
# missing loader?
if [ ! -x $LOADER ]; then
if [ -x /usr/bin/logger ]; then
/usr/bin/logger -t $0 "missing $LOADER ??"
fi
exit 1
fi
if [ -x /usr/bin/logger ]; then
/usr/bin/logger -t $0 "load $FIRMWARE for $PRODUCT to $DEVNAME"
fi
$LOADER $FLAGS -s $LOADERFIRMWARE -I $FIRMWARE -D $DEVNAME
exit 0
# load the firmware into Tascam USB devices
prefix=/usr
exec_prefix=/usr
FIRMWARE=
FIRMWAREDIR=/usr/share/alsa/firmware/usx2yloader
FLAGS=
LOADER=/sbin/fxload
LOADERFIRMWARE=$FIRMWAREDIR/tascam_loader.ihx
case $PRODUCT in
1604/8000/*)
FIRMWARE=$FIRMWAREDIR/us428fw.ihx
;;
1604/8004/*)
FIRMWARE=$FIRMWAREDIR/us224fw.ihx
;;
1604/8006/*)
FIRMWARE=$FIRMWAREDIR/us122fw.ihx
;;
*)
if [ -x /usr/bin/logger ]; then
/usr/bin/logger -t $0 "unknown product $PRODUCT"
fi
exit 1
esac
# missing loader firmware?
if [ ! -r $LOADERFIRMWARE ]; then
if [ -x /usr/bin/logger ]; then
/usr/bin/logger -t $0 "missing $LOADERFIRMWARE ??"
fi
exit 1
fi
# missing firmware?
if [ ! -r $FIRMWARE ]; then
if [ -x /usr/bin/logger ]; then
/usr/bin/logger -t $0 "missing $FIRMWARE for $PRODUCT ??"
fi
exit 1
fi
# missing loader?
if [ ! -x $LOADER ]; then
if [ -x /usr/bin/logger ]; then
/usr/bin/logger -t $0 "missing $LOADER ??"
fi
exit 1
fi
if [ -x /usr/bin/logger ]; then
/usr/bin/logger -t $0 "load $FIRMWARE for $PRODUCT to $DEVNAME"
fi
$LOADER $FLAGS -s $LOADERFIRMWARE -I $FIRMWARE -D $DEVNAME
exit 0