Thimo Eichstaedt [Tue, 3 Nov 2009 16:43:43 +0000]
Fix usb index in ftdi_convert_baudrate() for FT2232H/FT4232H chips
Thimo Eichstaedt [Tue, 3 Nov 2009 16:39:21 +0000]
Set initial baudrate on correct interface instead of always the first one (Thimo Eichstaedt)
From libftdi mailinglist mail:
1) in ftdi_usb_open_dev() the baudrate is set to 9600, but that is done
too early (before the interface is set). So the baudrate of the first
interface is always modified, even if you opened a different one.
Uwe Bonnes [Thu, 23 Jul 2009 14:25:27 +0000]
Call usb_set_configuration() on Windows only
Hello,
working with interface 0 of the FT2232(H) on Linux, I get zillions of
kernel-log messages like:
kernel: usb 6-3: usbfs: interface 1 claimed by ftdi_sio while 'a.out' sets config #1
I understand as follows:
ftdi_usb_open_dev()
first detaches the driver for interface 0
Now usb_set_configuration() is called, but interface 1 is still attached to
the kernel driver. This results in above kernel log.
Do we really need to set the configuaration? Does any device have a
alternative configuration at all?
I propose appended patch, tested on Linux with and without ftdi_sio.ko
loaded. No other change seen, beside no more kernel log messages like above.
Bye
--
Uwe Bonnes bon@elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
>From
fcb2609f0dae14c5616c34242177959cf226a5f2 Mon Sep 17 00:00:00 2001
From: Uwe Bonnes <bon@hertz.ikp.physik.tu-darmstadt.de>
Date: Thu, 23 Jul 2009 16:21:08 +0200
Subject: usb_set_configuration() not needed on Linux
Thomas Jarosch [Tue, 3 Nov 2009 16:20:27 +0000]
Add Toolchain-Crossbuild32.cmake for "make dist"
Uwe Bonnes [Tue, 29 Sep 2009 16:57:18 +0000]
Allow to crossbuild 32-bit library on 64-bit machine
Uwe Bonnes [Tue, 29 Sep 2009 16:56:03 +0000]
For Unix 64-bit builds, use LIB_SUFFIX to install to lib64
Clifford Wolf [Thu, 8 Oct 2009 13:32:41 +0000]
don't build --with-async-mode w/ libusb-compat-0.1
Hello,
attached is a little patch that prohibits libftdi from compiling against
libusb-compat-0.1 (the wrapper that provides a libusb-0.1 compatible api
for systems with libusb-1.0) when libftdi is configured with async mode.
unfortunately fixing async mode for libusb-1.0+libusb-compat-0.1 is not
trivial because libusb-1.0 comes with an os abstraction layer that hides
the unix filedescriptor much deeper in internal structures. but failing to
build is imo much better than segfaulting at runtime.
yours,
- clifford
PS: The USB_CLASS_PTP define is not present in any libusb-0.1 release
and has been added to libusb-compat-0.1 only afaics.
Oleg Seiljus [Tue, 3 Nov 2009 16:05:01 +0000]
Functions for read/write of a single eeprom location
Thomas Jarosch [Mon, 27 Jul 2009 20:31:55 +0000]
Updated ChangeLog and AUTHORS
Thomas Jarosch [Mon, 27 Jul 2009 20:25:03 +0000]
Renamed new usb_close_intl() to ftdi_usb_close_internal(). Made function static and added doxygen documentation
Nathan Fraser [Mon, 27 Jul 2009 11:19:11 +0000]
Fix for double-free and segfault after close
In some circumstances it is possible to send an invalid usb_dev
pointer through to libusb after some errors or after an explicit
close request. Result will be segfault or subtle corruption.
This patch replaces all calls to usb_close with an internal wrapper
that sets the usb handle to NULL after the usb_close, and refuses
to call close on a NULL handle. Comments and/or discussion very welcome!
Aurelien Jarno [Fri, 22 May 2009 23:46:58 +0000]
Fix out of tree building
Jim Paris [Fri, 22 May 2009 19:26:39 +0000]
libftdi: Fix doxygen errors
Signed-off-by: Jim Paris <jim@jtan.com>
Jim Paris [Fri, 22 May 2009 18:48:21 +0000]
libftdi: Fix git build problems by using autoreconf
For recent versions of automake, the autotools steps in Makefile.cvs
don't work:
$ make -f Makefile.cvs
aclocal
autoheader
automake
configure.in: required file `./install-sh' not found
configure.in: required file `./mkinstalldirs' not found
configure.in: required file `./missing' not found
configure.in:7: required file `./config.guess' not found
configure.in:7: required file `./config.sub' not found
configure.in:7: required file `./ltmain.sh' not found
examples/Makefile.am: required file `./depcomp' not found
make: *** [all] Error 1
This is because automake no longer calls libtoolize, as described in:
http://www.gnu.org/software/automake/manual/html_node/Error-required-file-ltmain_002esh-not-found.html
The recommended workaround there is to use autoreconf rather than
calling individual autotools programs.
This patch also removes the use of all_includes and all_libraries, as
they are undefined and cause automake errors.
Signed-off-by: Jim Paris <jim@jtan.com>
Thomas Jarosch [Sat, 9 May 2009 06:24:11 +0000]
Fix compile warning on some gcc versions:
/usr/local/libftdi-0.16/include/ftdi.h:270: warning: function
declaration isn't a prototype
Thanks to Arnim Läuger for the report.
Thomas Jarosch [Fri, 8 May 2009 15:30:15 +0000]
Final v0.16 release date
Thomas Jarosch [Wed, 6 May 2009 15:42:24 +0000]
Update README file with latest changes
Alex Harford [Wed, 6 May 2009 15:40:29 +0000]
Allow C/D interfaces to be used on the 4232H, initialize the default interface for 2232H/4232H
Thomas Jarosch [Mon, 4 May 2009 19:09:42 +0000]
Update changelog
Thomas Jarosch [Mon, 4 May 2009 18:51:55 +0000]
Fix result test of example application
Marek Vavrusa [Mon, 4 May 2009 09:54:52 +0000]
Fixed Context::open as get_strings() closes the device before. Thanks to Chris M. Leahy for pointing this out. Tested on our good old example (added open test).
Intra2net: Reverted return code behavior of Context::open() calls
Thomas Jarosch [Mon, 4 May 2009 15:11:28 +0000]
Added some more functions to list API. Fixed return type of size() call and made sure clear() really frees the internal memory of the list. Added doxygen documentation
Marek Vavrusa [Mon, 4 May 2009 09:41:52 +0000]
List having non-virtual destructor fixed (thanks to Thomas Jarosch) Proposed subset of list API. Tested on examples.
Thomas Jarosch [Mon, 27 Apr 2009 20:07:21 +0000]
Increase version and update changelog
Thomas Jarosch [Mon, 27 Apr 2009 20:07:03 +0000]
Distribute all new files
Thomas Jarosch [Mon, 27 Apr 2009 19:59:02 +0000]
Include CMakeLists.txt in distribution
Thomas Jarosch [Mon, 27 Apr 2009 19:54:49 +0000]
cmake: Install python binding
Thomas Jarosch [Tue, 7 Apr 2009 17:30:20 +0000]
cmake support for the new python bindings
Tarek Heiland [Tue, 7 Apr 2009 17:07:56 +0000]
Added python bindings
Thomas Jarosch [Tue, 7 Apr 2009 15:15:33 +0000]
Relicensed C++ wrapper under GPLv2 + linking exception
---------- Forwarded Message ----------
Subject: Re: ftdipp license and mailinglist
Date: Tuesday, 7. April 2009
From: Marek Vavruša <marek@vavrusa.com>
To: Thomas Jarosch <thomas.jarosch@intra2net.com>
Hello Thomas,
...
I have really no problem with switching to GPLv2 + linking exception
for FTDI++ :-)
...
Thomas Jarosch [Tue, 7 Apr 2009 11:23:40 +0000]
Updated ChangeLog, added David Challis to AUTHORS
David Challis [Tue, 7 Apr 2009 11:19:41 +0000]
Added FT2232H and FT4232H support to ftdi_read_data
Thomas Jarosch [Tue, 7 Apr 2009 09:35:09 +0000]
Added detection for FT2232H and FT4232H type chips
Thomas Jarosch [Mon, 6 Apr 2009 12:59:46 +0000]
Added mingw cross compile support to ChangeLog
Uwe Bonnes [Mon, 6 Apr 2009 11:59:35 +0000]
Mingw Cross compiling
Hello,
sleep() and usleep(0 are not available on Win32. Provide workarounds and add
some documentation for crosscompiling. It seems, I didn't send on the first
attempt. This is my first patch with git, so if things need another form,
please let me know.
Changelog:
- Make the exampled compile on Win32
- Some help for crosscompiling with Mingw
Tarek Heiland [Tue, 24 Mar 2009 09:12:22 +0000]
Minor autoconf cleanup
Thomas Jarosch [Tue, 17 Mar 2009 22:11:27 +0000]
Always build doxygen documentation. Stored output in doc/ subdirectory. Only rebuild documentation if really needed
Thomas Jarosch [Tue, 17 Mar 2009 21:12:21 +0000]
Show a good example: Always check the return value of ftdi_init
Thomas Jarosch [Tue, 17 Mar 2009 20:51:37 +0000]
Fix eeprom decoding of BM chip type: The previous code resulted in a temporary 1 byte variable which is too small to hold the values
Thomas Jarosch [Tue, 17 Mar 2009 19:30:53 +0000]
Added PC-Lint 9.00 settings file
Thomas Jarosch [Tue, 17 Mar 2009 19:30:29 +0000]
Handle return value of some functions
Thomas Jarosch [Tue, 17 Mar 2009 19:23:58 +0000]
Fix some theoretical signed/unsigned issues
Thomas Jarosch [Mon, 16 Mar 2009 20:43:29 +0000]
Build and configure libftdi-config script on UNIX platforms
Thomas Jarosch [Mon, 16 Mar 2009 20:35:39 +0000]
Set VERSION and SOVERSION on shared libraries (compatible with versions from the autoconf suite)
Thomas Jarosch [Mon, 16 Mar 2009 20:15:06 +0000]
Build and install static versions of the libraries
Thomas Jarosch [Mon, 16 Mar 2009 20:01:48 +0000]
libftdi++: Adjust library filename to match autoconf suite: libftdipp.so
Thomas Jarosch [Mon, 16 Mar 2009 19:05:22 +0000]
Improve indentation and whitespace cleanup
Reformatted using this astyle options:
/usr/bin/astyle --indent=spaces=4 --indent-switches --brackets=break \
--convert-tabs --one-line=keep-statements --one-line=keep-blocks
Should have done this for a long time...
Thomas Jarosch [Mon, 16 Mar 2009 09:28:07 +0000]
Updated ChangeLog and AUTHORS
Matthias Richter [Mon, 16 Mar 2009 09:27:53 +0000]
Fix ftdi_read_chipid in some cases
Thomas Jarosch [Sat, 14 Mar 2009 21:57:11 +0000]
Fix return value of ftdi_eeprom_decode as noted by Jim Paris, thanks.
Thomas Jarosch [Sat, 14 Mar 2009 21:55:12 +0000]
Updated ChangeLog
Marius Kintel [Mon, 2 Mar 2009 17:37:36 +0000]
Cleanup of decode function
Marius Kintel [Mon, 2 Mar 2009 16:51:11 +0000]
Cleaned up control message defines
Marius Kintel [Mon, 2 Mar 2009 16:36:14 +0000]
Correct writing of EEPROM
Marius Kintel [Thu, 19 Feb 2009 16:33:53 +0000]
Added ftdi_eeprom_decode()
Thomas Jarosch [Sat, 14 Mar 2009 21:24:41 +0000]
Improve source package generator, remove unused "patch" version level
Thomas Jarosch [Sat, 14 Mar 2009 21:09:11 +0000]
Added COPYING-CMAKE-SCRIPTS file
Marius Kintel [Mon, 16 Feb 2009 13:54:34 +0000]
Added FindUSB cmake macro
Thomas Jarosch [Tue, 10 Mar 2009 22:22:17 +0000]
Added Marius Kintel to AUTHORS file, updated ChangeLog
Marius Kintel [Tue, 17 Feb 2009 01:03:50 +0000]
Also install .pc files
Gerd v. Egidy [Sat, 14 Feb 2009 22:48:22 +0000]
remove now-unneeded documentation-header
Matthias Janke [Sun, 8 Feb 2009 11:02:12 +0000]
Fix compilation in -ansi -pendantic mode
Thomas Jarosch [Sat, 7 Feb 2009 17:26:23 +0000]
Added .gitignore file
Thomas Jarosch [Sat, 7 Feb 2009 15:54:47 +0000]
Reconstructed release dates from file dates / freshmeat announcements
Gerd von Egidy [Fri, 6 Feb 2009 09:15:25 +0000]
update the project URL everywhere
Doxygen still to be done
Thomas Jarosch [Fri, 19 Dec 2008 14:05:15 +0000]
Small tweaks to the documentation
Thomas Jarosch [Fri, 19 Dec 2008 13:31:23 +0000]
Fixed header in file templates
Thomas Jarosch [Fri, 19 Dec 2008 13:30:36 +0000]
Updated changelog
Marek Vavruša [Tue, 16 Dec 2008 13:57:44 +0000]
Added cmake rules for pkgconfig files
Marek Vavruša [Wed, 22 Oct 2008 14:04:07 +0000]
Added cmake rules for doxygen documentation
Thomas Jarosch [Wed, 22 Oct 2008 07:50:17 +0000]
Fix dependency in ftdipp for 'make dist' on a clean tree
Thomas Jarosch [Wed, 22 Oct 2008 07:43:56 +0000]
Include cmake rules in 'make dist'
Thomas Jarosch [Tue, 21 Oct 2008 20:58:37 +0000]
Removed examples/memorytest.cpp - it's more like a unit test than a example
Thomas Jarosch [Tue, 21 Oct 2008 20:46:04 +0000]
cmake rules: Fixed project description, adjusted output name of examples/findall*
Marek Vavrusa [Tue, 21 Oct 2008 20:39:15 +0000]
Added cmake rules
Thomas Jarosch [Tue, 21 Oct 2008 20:32:55 +0000]
Added C++ examples to the build process
Marek Vavrusa [Tue, 21 Oct 2008 19:54:42 +0000]
Added C++ wrapper examples
Marek Vavrusa [Tue, 21 Oct 2008 19:53:14 +0000]
Use boost::shared_ptr for reference counted memory handling
Thomas Jarosch [Fri, 17 Oct 2008 12:36:32 +0000]
libftdi: (tomj) increase version, add BOOST_CPPFLAGS/BOOST_LDFLAGS to ftdipp
Thomas Jarosch [Fri, 17 Oct 2008 12:30:15 +0000]
libftdi: (tomj) include C++ wrapper in doxygen
Thomas Jarosch [Fri, 17 Oct 2008 12:17:09 +0000]
libftdi: (tomj) update README a little
Thomas Jarosch [Fri, 17 Oct 2008 12:14:48 +0000]
libftdi: (tomj) optional build of C++ wrapper
Thomas Jarosch [Mon, 13 Oct 2008 16:00:39 +0000]
libftdi: (tomj) reformat according to I2n style, added copyright header and more cosmetic changes
Thomas Jarosch [Mon, 13 Oct 2008 15:47:52 +0000]
libftdi: (tomj) initial submission of C++ wrapper
Thomas Jarosch [Tue, 9 Sep 2008 11:43:18 +0000]
libftdi: (tomj) increase .so library version
Thomas Jarosch [Mon, 8 Sep 2008 16:21:54 +0000]
libftdi: (tomj) updated changelog in README file
Thomas Jarosch [Mon, 8 Sep 2008 16:15:54 +0000]
libftdi: (tomj) increase version
Thomas Jarosch [Mon, 8 Sep 2008 16:14:53 +0000]
libftdi: (tomj) fixed flow control code, fixed wrong array/buffer assignment in find_all.c
Thomas Jarosch [Tue, 12 Aug 2008 08:41:43 +0000]
libftdi: (tomj) ability to set RS232 break type
Thomas Jarosch [Mon, 7 Jul 2008 14:54:51 +0000]
libftdi: (tomj) 64 bit build support in the RPM spec file
Thomas Jarosch [Wed, 25 Jun 2008 08:36:07 +0000]
Give credit for the RPM fix
Thomas Jarosch [Wed, 25 Jun 2008 08:32:54 +0000]
libftdi: (tomj) small fix in the .rpm spec file
Thomas Jarosch [Tue, 24 Jun 2008 08:05:58 +0000]
libftdi: (tomj) grouped flow control and modem status code together
Thomas Jarosch [Fri, 13 Jun 2008 08:50:00 +0000]
Increase version
Thomas Jarosch [Mon, 2 Jun 2008 11:42:48 +0000]
Fix typo
Thomas Jarosch [Mon, 2 Jun 2008 11:41:29 +0000]
libftdi: (tomj) build .spec file via configure. Enable async mode automatically for Intra2net builds. Document detach_errno code.
Gerd von Egidy [Mon, 2 Jun 2008 10:57:20 +0000]
libftdi: (gerd) tolerate EBUSY when setting configuration (EBUSY will be returned for the second interface if the first one is already open)
compile with async mode
Thomas Jarosch [Fri, 2 May 2008 07:46:28 +0000]
Give credit where credit is due
Thomas Jarosch [Fri, 2 May 2008 07:37:45 +0000]
libftdi: (tomj) fixed "libusb-config --cflags" call
Thomas Jarosch [Fri, 25 Apr 2008 09:55:56 +0000]
libftdi: (tomj) always set usb configuration