]> git.zerfleddert.de Git - usb-driver/blame - README
handle other TRANSFER commands not used by USB ;-)
[usb-driver] / README
CommitLineData
113af964 1This library emulates Jungo Windrvr USB functions in userspace which are
2required by XILINX impact to access the Platform cable USB. With this library
3it is possible to access the cable without loading a proprietary kernel module
4which breaks with every new kernel release. It uses the USB functions provided
5by the libusb userspace library instead and should work on every kernel version
6which is supported by libusb. It was written against impact from ISE Webpack
0b50c513 79.1SP1 and tested with the following software:
8
9 * ISE Webpack 9.1SP2
10 * ISE Webpack 9.1SP1
11 * ISE Webpack 8.1SP3
12 * ChipScope 9.1.02i
113af964 13
14Build the library by calling `make'.
15
16To use this library you have to preload the library before starting impact:
17
18$ LD_PRELOAD=/path/to/libusb-driver.so impact
19or
20$ export LD_PRELOAD=/path/to/libusb-driver.so (for sh shells)
21$ setenv LD_PRELOAD /path/to/libusb-driver.so (for csh shells)
22$ impact
fdd05738 23
24To use the device as ordinary user, put the following line in a new
25file in /etc/udev/rules.d/ and restart udev:
26ACTION=="add", BUS=="usb", SYSFS{idVendor}=="03fd", MODE="666"
979132fe 27
28
29If your cable does not have the ID 03fd:0008 in the output of lsusb,
30the initial firmware has not been loaded (loading it changes the
31product-ID from another value to 8). To load the firmware follow
32these steps:
33
c2e95a30 341. If you have no /etc/udev/rules.d/xusbdfwu.rules file, copy it from
35 /path/to/ISE/bin/lin/xusbdfwu.rules to /etc/udev/rules.d/xusbdfwu.rules
979132fe 36
372. Install the package containing /sbin/fxload from your linux distribution.
38 It is usually called "fxload"
39
403. copy the file /path/to/ISE/bin/lin/xusbdfwu.hex to /usr/share/xusbdfwu.hex
41
424. restart udev and re-plug the cable
Impressum, Datenschutz