From aed36bb341eaa4344cb548a6e78c5ac94b03a6cd Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Thu, 27 Nov 2008 15:11:07 +0100 Subject: [PATCH 01/16] Let usb-driver work with a no-module kernel by Gyorgy 'nog' Jeney --- usb-driver.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/usb-driver.c b/usb-driver.c index e2f275f..264366b 100644 --- a/usb-driver.c +++ b/usb-driver.c @@ -559,6 +559,12 @@ FILE *fopen(const char *path, const char *mode) { if (!strcmp(path, "/proc/modules")) { DPRINTF("opening /proc/modules\n"); + if (!ret && errno == ENOENT) { + /* Hmm.. there appears to be no /proc/modules file + * fake it then */ + ret = (*func)("/dev/null", mode); + DPRINTF("No /proc/modules -- faking\n"); + } #ifdef NO_WINDRVR modulesfp = ret; modules_read = 0; -- 2.39.2 From 06f5f9d0373c1578065956072625e2398a88b29a Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Sun, 31 May 2009 18:22:41 +0200 Subject: [PATCH 02/16] ISE 11.1 notes --- index.html | 35 +++++++++++++++++++++++------------ 1 file changed, 23 insertions(+), 12 deletions(-) diff --git a/index.html b/index.html index d005e9b..4a4369c 100644 --- a/index.html +++ b/index.html @@ -30,18 +30,28 @@ The library is called libusb-driver as it was developed to support the USB cable, but later extended to also support parallel cables.

-

News (2008-03-26): Xilinx has released their own drivers based on libusb with ISE Design Suite 10.1. - To use them, you need to set the environment-variable XIL_IMPACT_USE_LIBUSB to 1 - before running the tools. The driver on this page no longer needs to be preloaded if you only used - it to access USB cables. Parallel port support still seems to rely on windrvr, which can be - emulated by libusb-driver.

-

Using 32-bit ISE 10.1 on a 64-bit platform: When using the 32-bit JTAG tools from ISE Design - Suite 10.1 on a 64-bit machine, the tools will not connect to the cable but output the following - error: Cable operation is not supported when running the 32-bit version of the application on a - 64-bit platform. - To fix this, run the tools with linux32 or preload the newest 32-bit version of - libusb-driver. This will lead the tools to believe that they are running on a 32-bit - platform and allows them to connect to the cable. +

News +

Supported Cables

The following cables are reported to work with this driver: @@ -67,6 +77,7 @@

Supported Software

The following software is reported to work with this driver: