Re: [Ftdi-usb-sio-devel] (no subject)
Brought to you by:
bryder
From: Ian A. <ab...@me...> - 2002-10-15 16:04:28
|
On Monday 14 October 2002 12:39, Gilles GRENIER wrote: > is it possible to set the latency timer different to 16ms (for > FT232BM device with the actual (kernel 2.4.20) driver)? best regards > Gilles GRENIER No, the current driver doesn't support this yet, mainly because the FT232BM hasn't been around very long! I'm not sure where such a mechanism would fit into the driver - Perhaps the Hayes ESP ioctls, TIOCGHAYESESP and TIOCSHAYESESP could be borrowed so that setserial's 'rx_timeout' parameter could be used to set the latency, but this would be a bit of a kludge. The legitimate values for the 'rx_timeout' parameter (0 to 255) do correspond quite nicely with the latency times that the FT232BM can be set to though (1 to 255 ms)! Another possibility may be to make the latency depend on the baud rate in some way, though that would be odd for the FT245BM USB FIFO device, as it doesn't really have a baud rate. -- -=( Ian Abbott @ MEV Ltd. E-mail: <ab...@me...> )=- -=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=- |