|
Packit |
427e91 |
USX2YLOADER - Second Phase Firmware loader for Tascam USX2Y USB soundcards
|
|
Packit |
427e91 |
2003-09-15 Karsten Wiese <annabellesgarden@yahoo.de>
|
|
Packit |
427e91 |
|
|
Packit |
427e91 |
|
|
Packit |
427e91 |
GENERAL
|
|
Packit |
427e91 |
=======
|
|
Packit |
427e91 |
|
|
Packit |
427e91 |
Usx2yloader is a helper program to load the 2nd Phase firmware binaries
|
|
Packit |
427e91 |
onto the Tascam USX2Y USB soundcards.
|
|
Packit |
427e91 |
It has proven to work so far for the US122, US224 and US428.
|
|
Packit |
427e91 |
The snd-usb-usx2y module requires this program.
|
|
Packit |
427e91 |
|
|
Packit |
427e91 |
|
|
Packit |
427e91 |
USX2Y initialisation outlined
|
|
Packit |
427e91 |
=============================
|
|
Packit |
427e91 |
|
|
Packit |
427e91 |
A. Phase 1
|
|
Packit |
427e91 |
A.1. USx2y is plugged to the PC and powered on.
|
|
Packit |
427e91 |
This makes the kernel see a new USB-device with the Vendor/Product
|
|
Packit |
427e91 |
ID 0x1604/0x8000 (US428), 0x1604/0x8004 (US224) or 0x1604/0x8006
|
|
Packit |
427e91 |
(US122).
|
|
Packit |
427e91 |
The kernel reacts by starting the usb-hotplug script.
|
|
Packit |
427e91 |
A.2. The usb-hotplug script starts the executable fxload,
|
|
Packit |
427e91 |
which transfers the EZUSB firmware to the USx2y.
|
|
Packit |
427e91 |
A.3. The USx2y disconnects itself from the USB-Bus and ... (see Phase 2).
|
|
Packit |
427e91 |
|
|
Packit |
427e91 |
B. Phase 2
|
|
Packit |
427e91 |
B.1. The USx2y reintroduces itself as USB-device with the Vendor/Product
|
|
Packit |
427e91 |
ID 0x1604/0x8001 (US428), 0x1604/0x8005 (US224) or 0x1604/0x8007
|
|
Packit |
427e91 |
(US122)
|
|
Packit |
427e91 |
The kernel reacts by loading the module snd-usb-usx2y, if it is not
|
|
Packit |
427e91 |
already loaded.
|
|
Packit |
427e91 |
B.2 The module snd-usb-usx2y "takes" the USx2y as its device and sets up
|
|
Packit |
427e91 |
a "hardware dependent interface".
|
|
Packit |
427e91 |
(The module doesn't create any pcm nor midi devices now.)
|
|
Packit |
427e91 |
B.3 Subsequently the kernel starts the usb-hotplug script, which launches
|
|
Packit |
427e91 |
usx2yloader.
|
|
Packit |
427e91 |
B.4 usx2yloader transfers the 2nd Phase firmware binary to the USx2y by means
|
|
Packit |
427e91 |
of the "hardware dependent interface". When this transfer finishes,
|
|
Packit |
427e91 |
the snd-usb-usx2y module creates the pcm- and midi-devices.
|
|
Packit |
427e91 |
Initialisation is complete.
|
|
Packit |
427e91 |
|
|
Packit |
427e91 |
|
|
Packit |
427e91 |
USAGE
|
|
Packit |
427e91 |
=====
|
|
Packit |
427e91 |
|
|
Packit |
427e91 |
When usx2yloader is invoked without options, it will probe all existing
|
|
Packit |
427e91 |
soundcards until a valid USX2Y-driver is found. If a valid USX2Y-driver is
|
|
Packit |
427e91 |
found, usx2yloader reads the board type from the driver. The corresponding
|
|
Packit |
427e91 |
firmware binaries are then read and transferred to the driver.
|
|
Packit |
427e91 |
Finally, usx2yloader initializes the PCM, MIDI and the mixer devices on the
|
|
Packit |
427e91 |
driver for making the soundcard full functional.
|
|
Packit |
427e91 |
|
|
Packit |
427e91 |
Instead of auto-probing, you can specify the card number or the hwdep
|
|
Packit |
427e91 |
device name or the usb device name via -c, -D or -u options, respectively.
|
|
Packit |
427e91 |
|
|
Packit |
427e91 |
% usx2yloader -c 1
|
|
Packit |
427e91 |
% usx2yloader -D hw:0
|
|
Packit |
427e91 |
% usx2yloader -u /proc/bus/usb/001/003
|
|
Packit |
427e91 |
|
|
Packit |
427e91 |
For loading everything automatically in response to a hotplug event
|
|
Packit |
427e91 |
there are the hotplug script files
|
|
Packit |
427e91 |
- tascam_fw.usermap
|
|
Packit |
427e91 |
- tascam_fw
|
|
Packit |
427e91 |
- tascam_fpga
|
|
Packit |
427e91 |
and the Firmwarefiles.
|
|
Packit |
427e91 |
You also need fxload and hotplug to be installed.
|
|
Packit |
427e91 |
|
|
Packit |
427e91 |
|
|
Packit |
427e91 |
FIRMWAREFILES
|
|
Packit |
427e91 |
=============
|
|
Packit |
427e91 |
|
|
Packit |
427e91 |
The firmware binaries are installed on /usr/share/alsa/firmware/usx2yloader
|
|
Packit |
427e91 |
(or /usr/local/share/alsa/firmware/usx2yloader, depending to the
|
|
Packit |
427e91 |
prefix option of configure). There will be *.conf files, which
|
|
Packit |
427e91 |
define the dsp image files for each different card type.
|
|
Packit |
427e91 |
|
|
Packit |
427e91 |
|
|
Packit |
427e91 |
COPYRIGHT
|
|
Packit |
427e91 |
=========
|
|
Packit |
427e91 |
|
|
Packit |
427e91 |
Copyright (c) 2003 Karsten Wiese <annabellesgarden@yahoo.de>
|
|
Packit |
427e91 |
Distributable under GPL.
|
|
Packit |
427e91 |
|
|
Packit |
427e91 |
The firmware files included in alsa-firmware package are copyright
|
|
Packit |
427e91 |
by Tascam / TEAC Corporation.
|