#!/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
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
hwdb.d | Folder | 0755 |
|
|
rules.d | Folder | 0755 |
|
|
accelerometer | File | 60.82 KB | 0755 |
|
ata_id | File | 48.06 KB | 0755 |
|
cdrom_id | File | 56.09 KB | 0755 |
|
collect | File | 31.54 KB | 0755 |
|
kdump-udev-throttler | File | 1.41 KB | 0755 |
|
mtd_probe | File | 10.9 KB | 0755 |
|
phys-port-name-gen | File | 1.18 KB | 0755 |
|
rename_device | File | 15.04 KB | 0755 |
|
scsi_id | File | 56.86 KB | 0755 |
|
tascam_fpga | File | 913 B | 0755 |
|
tascam_fw | File | 1.1 KB | 0755 |
|
udev-kvm-check | File | 15.12 KB | 0755 |
|
v4l_id | File | 23.3 KB | 0755 |
|