libftdi Archives

Subject: Re: Time for 0.18?

From: Xiaofan Chen <xiaofanc@xxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Wed, 9 Jun 2010 15:16:25 +0800
On Wed, Jun 9, 2010 at 3:08 PM, Thomas Jarosch
<thomas.jarosch@xxxxxxxxxxxxx> wrote:
>> I would suggest to take the opportunity of this new release to remove
>> Linux-only messages that are nevertheless emitted on all platforms
>> (such as "ftdi_sio" that could be replaced for ex. with "kernel-side
>> driver", or simply "driver")
>
> How about something like this:
> "Error xyz. Make sure a kernel side driver is unloaded."
>
> ?

It is not that right either for Windows. To use libftdi under
Windows, you will need the libusb-win32 device driver
(the filter driver may work as well). To use libftdi-1.0
under Windows, you will need to change the default
FTDI driver to the WinUSB driver. libusb0.sys and
winusb.sys are real kernel driver under Windows.

Maybe something like this:
"Error xyz. Make sure the default FTDI kernel side driver is unloaded."

> The ftdi_sio is not really an issue since we have the
> usb_detach_kernel_driver_np() code...
usb_detach_kernel_driver_np() is only meant for Linux, it is
not for Windows, Mac OS X or BSDs.


-- 
Xiaofan http://mcuee.blogspot.com

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread