[Lazarus] libusb access from Lazarus

Henry Vermaak henry.vermaak at gmail.com
Mon Nov 24 10:57:43 CET 2008

2008/11/22 Mark Morgan Lloyd <markMLl.lazarus at telemetry.co.uk>:
> Henry Vermaak wrote:
>> 2008/11/21 Mark Morgan Lloyd <markMLl.lazarus at telemetry.co.uk>:
>>> Mark Morgan Lloyd wrote:
>>>> I notice that http://wiki.lazarus.freepascal.org/Hardware_Access#libusb
>>>> lists three sets of libusb headers from Uwe Zimmermann, Johann Glaser
>>>> and Joe Jared.
>>> This page also mentions that there are specific interface files
>>> available for FTDI devices- does anybody know where they can be found
>>> these days?
>> there is a libftdi (that uses libusb), but it's not really worth
>> depending on, so it's better to read the source (one relatively small
>> c file) and use it directly through libusb.  i had to use a usb snoop
>> program under windows to get things working properly, though.  better
>> to go with a cypress chip, i'd say...
> Thanks Henry, got that. One of the things I'm due to be asked about is
> recoding some RS232 monitoring stuff, and I was wondering whether there
> was any magic I was missing.

the ftdi chip is practically a usb to serial converter, so you can
actually use that.  if you look at their windows dll api, you'll see
that they've got a set of functions that mimic the windows serial
functions.  otherwise there are serial comms units for fpc (but i
haven't used any of them).


More information about the Lazarus mailing list