libftdi Archives

Subject: Re: libFTDI works in kernel space?

From: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Cc: Saori MIKI <miki@xxxxxxxxx>
Date: Mon, 24 Mar 2014 09:06:20 +0100
Hello Saori,

On Sunday, 23. March 2014 13:49:09 Saori MIKI wrote:
> I am trying to develop a kernel driver using the USB conversion IC of
> FTDI Inc.(FT232H).
> I want to ask will it can work libFTDI in the kernel space ?

there is already a kernel driver: ftdi_sio.

Before libftdi was started, my first approach was to extend the kernel 
driver with the bitbang mode. The problem here is to properly interface with 
the kernel. If you plan to extend the ioctl() calls of the serial layer,
you have to do this for all the platforms linux currently runs on.

-> The chance to get this upstream without a good reason is pretty low.
   It's way easier to stick to libftdi.

Cheers,
Thomas


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

Current Thread