BUG-Fix: Do not do ioctls on fd == 0
[usb-driver] / README
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
79.1SP1 and will very probably not work with older impact versions (<9.1).
9Build the library by calling `make'.
11To use this library you have to preload the library before starting impact:
13$ LD_PRELOAD=/path/to/libusb-driver.so impact
15$ export LD_PRELOAD=/path/to/libusb-driver.so (for sh shells)
16$ setenv LD_PRELOAD /path/to/libusb-driver.so (for csh shells)
17$ impact
fdd05738 18
19To use the device as ordinary user, put the following line in a new
20file in /etc/udev/rules.d/ and restart udev:
21ACTION=="add", BUS=="usb", SYSFS{idVendor}=="03fd", MODE="666"
Impressum, Datenschutz