|
|
Using ASIX products under Linux |
|
PRESTO SIGMA UCAB232 Other products Museum Electronic Design Sales & Prices Support About us Contact |
This application note describes how to use ASIX products with USB interface under Linux. The installation procedure described below is targeted and tested for Kubuntu distribution. The actual procedure for other distributions is similar, however, particular steps might slightly differ. Supported ASIX products
Instructions for various ASIX software versions
Procedure for: Step 1: Install libftd2xx and libftchipidInstall libftd2xx and libftchipid by FTDI: Version 1.0.5: libftd2xx1.0.5.tar.gz (TAR.GZ file format, 751 513 B) Version 0.1.0: libftchipid.0.1.0.tar.gz (TAR.GZ file format, 81 596 B) Important note: UP ver. 2.50 (and higher) and JTAG PLAYER ver. 3.0 (and higher) work with the library ver. 0.4.16 (and higher). SIGMA2/SIGMA software need not to be upgraded, it works under 0.4.16 (and higher) library from ver. 1.05.
Step 2: Install lin_ftd2xx
Install lin_ftd2xx by ASIX: Change in comparison with the version 2: Added support for functions necessary for Hi-Speed USB chips by FTDI used in new ASIX' products.
Extract lin_ftd2xx.dll.so to /usr/lib/wine. Step 3: Install (or update) WINEWine is an Open Source implementation of the Windows API on top of X. We recommend to use always the latest Linux kernel version for your distribution. We recommend to use always the latest version of Wine. Please install the Microsoft™ TrueType core fonts to get the correct display appearance. These fonts may be obtained by installing msttcorefonts package from Ubuntu package repository. - - - *) Linux kernels in newer distributions do not include support for special filesystem usbfs typically mounted in /proc/bus/usb which provides user applications with direct access to USB devices via special files. USB devices are still accessible by applications, however, special files are placed in /dev/bus/usb, which is more standard location for device files, and are under control of the udev daemon. The libftd2xx1.0.4 library searches for special USB files in /dev/bus/usb and also in /proc/bus/usb. Further it is necessary to set proper access permissions for special files in /dev/bus/usb. The best way to achieve this is to create suitable rule for udev.
Procedure for: Step 1: Install libftd2xx
Install libftd2xx: Note: Please use version 0.4.13 for the software versions mentioned in the headline. If any newer version of libftd2xx is used with these software versions then various problems can be encountered. If the kernel in your distribution supports usbfs/usbdevfs (see /proc/filesytems), follow the instruction in the included README.dat file. In the other case (which generally concerns newer distributions, including Ubuntu 9.10 onwards) *) please follow these instructions:
Step 2: Install lin_ftd2xx
Install lin_ftd2xx by ASIX: Step 3: Install (or update) WINEWine is an Open Source implementation of the Windows API on top of X, OpenGL, and Unix. We recommend to use always the latest Linux kernel version for your distribution. We recommend to use always the latest version of Wine. Please install the Microsoft™ TrueType core fonts to get the correct display appearance. These fonts may be obtained by installing msttcorefonts package from Ubuntu package repository. *) Linux kernels in newer distributions do not include support for special filesystem usbfs/usbdevfs typically mounted in /proc/bus/usb which provides user applications with direct access to USB devices via special files. USB devices are still accessible by applications, however, special files are placed in /dev/bus/usb, which is more standard location for device files, and are under control of the udev daemon. The libftd2xx0.4.13 library searches for special USB files in /proc/bus/usb but also in /dev/usb (but not in /dev/bus/usb), thus the simplest solution to this problem is to create suitable symbolic link e.g. by placing ln -s bus/usb /dev/usb command into /etc/rc.local. Other possible solutions are described in this Ubuntu forum. In particular, script usbfs_hack is recommended. The script might be placed in /etc/init.d with proper symbolic link in /etc/rc2.d for automatic startup during boot process. This script is more generic and deals with the described problem also for other USB devices and applications (originally targeted for Samsung scanners). Further it is necessary to set proper access permissions for special files in /dev/bus/usb. The best way to achieve this is to create suitable rule for udev. |
| For more information do not hesitate to contact us! |
|
© ASIX s.r.o., 1991 - 2011. All rights reserved. |