This is the wiki for products made by Fractal Audio Systems, maintained by members of the community.

Difference between revisions of "USB"

From Fractal Audio Wiki
Jump to navigation Jump to search
m
Line 33: Line 33:
 
* Loading the USB firmware
 
* Loading the USB firmware
 
** Ubuntu 16.04 and above users can use [https://launchpad.net/~albaguirre/+archive/ubuntu/axe-fx2 AlbertA's PPA] and install the axefx2-usb-firmware package
 
** Ubuntu 16.04 and above users can use [https://launchpad.net/~albaguirre/+archive/ubuntu/axe-fx2 AlbertA's PPA] and install the axefx2-usb-firmware package
** For others, there is an install script package that [http://archive.axefx.fr/Drivers is available for download here].
+
** For others, volt created an install script package that [http://archive.axefx.fr/Drivers is available for download here].
 
* Since the Axe-Fx II is an Audio Class 2.0 compliant device no additional drivers are needed. The Linux kernel already supports such devices. However, depending on your kernel version, there can be some issues:
 
* Since the Axe-Fx II is an Audio Class 2.0 compliant device no additional drivers are needed. The Linux kernel already supports such devices. However, depending on your kernel version, there can be some issues:
 
** For systems with a kernel older than 3.10, you will need to patch clock.c in the ALSA's usb-audio kernel module (<linux>/sound/usb/clock.c). See more [http://forum.fractalaudio.com/threads/axe-fx-ii-and-linux-again.79061/ here].
 
** For systems with a kernel older than 3.10, you will need to patch clock.c in the ALSA's usb-audio kernel module (<linux>/sound/usb/clock.c). See more [http://forum.fractalaudio.com/threads/axe-fx-ii-and-linux-again.79061/ here].

Revision as of 17:27, 15 December 2016

Axe-Fx II USB driver for Windows and Mac

  • USB drivers for Mac and Windows are required and available for download here. If the USB driver is not installed, utilities such as Axe-Edit, Fractal-Bot and Cab-Lab won't recognize the Axe-Fx II.
  • When using the USB interface, there's no need for an additional audio interface.
  • An external audio interface will be required when connecting the analog Axe-Fx II outputs to a computer (not using USB).
  • A MIDI interface is not required to connect the Axe-Fx II to a computer. The Axe-Fx II itself operates as an USB-to-MIDI adapter. MIDI interfaces can still be used, and editing through a MIDI interface also is still possible.
  • Cliff: "The driver that we supply for OS-X computers is NOT an audio driver. It is a firmware installer. The Axe-Fx II uses a "soft" USB controller. It gets its code from the host computer. When you turn the Axe-Fx II on it requests firmware from the host. This is superior to a hard-coded controller in that updates merely require a new host image rather than reflashing the controller."

Using the Axe-Fx II as an interface to update the MFC-101 firmware

  • The Axe-Fx II can be used as an USB-to-MIDI interface to update the firmware on the MFC-101, using Fractal-Bot or a MIDI librarian. Walkthrough.
  • Cliff: "The USB Adapter feature was added for simple USB-to-MIDI functionality, specifically firmware updates for the MFC-101. It is a low priority task since audio processing is the Axe-Fx's primary usage. Latency is not guaranteed. It is not intended as anything more than a no-frills, simple MIDI adapter for non-critical tasks." source

USB and CPU usage

  • Creating an USB connection increases CPU utilization. This is by design. If a preset uses much CPU, you may run into CPU overload problems when connecting the Axe-Fx II to a computer through USB. source and source

Axe-Fx II and USB Audio

USB features.png

Axe-Fx II and USB troubleshooting

  • High-pitched noise may be caused by a ground loop.
    • Cliff: "The USB spec calls for grounding the cable at both ends (mistake). This can create an USB ground loop. Make sure everything is plugged into the same outlet strip." source
  • When experiencing problems such as dropped connections or an Axe-Fx II which freezes after connecting USB, always replace the USB cable first. Example
  • Cliff: "An occasional flicker when hooked up to USB is not unusual. This is due to the screen redraw being interrupted by the USB thread." source
  • Handy tip for resolving audio dropouts in your Windows DAW

Axe-Fx II and Linux

  • The Axe-Fx II can work as an audio and MIDI interface just as it does on Windows or OSX, although Linux is not supported officially.
  • Cliff: "...The Axe-Fx II uses a "soft" USB controller. It gets its code from the host computer. When you turn the Axe-Fx II on it requests firmware from the host. This is superior to a hard-coded controller in that updates merely require a new host image rather than reflashing the controller."
    • Before firmware is loaded the device will be reported as a USB device with Vendor ID 2466 and Product ID 0003.
    • After the USB controller gets loaded with its firmware the Axe-Fx II will be recognized as a USB soundcard device with Vendor ID 2466 and Product ID 8003.
    • For a named output when using lsusb, adequate entries for Fractal Audio Systems and the Axe-Fx II need to be added to "usb.ids" (typically under /usr/share/misc/usb.ids). See source
  • Loading the USB firmware
  • Since the Axe-Fx II is an Audio Class 2.0 compliant device no additional drivers are needed. The Linux kernel already supports such devices. However, depending on your kernel version, there can be some issues:
    • For systems with a kernel older than 3.10, you will need to patch clock.c in the ALSA's usb-audio kernel module (<linux>/sound/usb/clock.c). See more here.
    • For systems with a kernel older than 4.10, the ALSA usb-audio driver may cause overflows or underflows at the device since there is no proper sync applied. A patch is available. See more here.
      • Ubuntu 16.04/16.10 users can use AlbertA's PPA and install the snd-usb-audio-dkms package which contains the patched kernel module.
      • To verify check the “USB” bar graph in Utility->Status which displays the amount of data in the USB FIFO buffer. Ideally the bar should be at around 50%. The number of buffer errors that have occurred since the last buffer reset is indicated above the bar graph - this should be zero when the driver is functioning correctly.
  • Threads about using Axe-Fx II with Linux: