<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/ftdi-usb-sio/patches/" rel="alternate"/><link href="https://sourceforge.net/p/ftdi-usb-sio/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/ftdi-usb-sio/patches/</id><updated>2005-12-07T12:36:08Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>Support for PP7000 retail ticker printer</title><link href="https://sourceforge.net/p/ftdi-usb-sio/patches/6/" rel="alternate"/><published>2005-12-07T12:36:08Z</published><updated>2005-12-07T12:36:08Z</updated><author><name>Pavel Fedin</name><uri>https://sourceforge.net/u/userid-811665/</uri></author><id>https://sourceforge.net5d9373396edcb166f4c303c1e9688e58db1782d8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This little patch adds support for PP-7000II retail&lt;br /&gt;
printer by Posiflex inc (http://www.posiflex.com). This&lt;br /&gt;
printer uses FT232BM bridge but with custon VID and PID.&lt;br /&gt;
The patch is written for 2.6.11.1 kernel but is&lt;br /&gt;
extremely easy to adapt to any other one.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Avoid losing bytes at tty-ldisc</title><link href="https://sourceforge.net/p/ftdi-usb-sio/patches/5/" rel="alternate"/><published>2005-05-17T15:43:08Z</published><updated>2005-05-17T15:43:08Z</updated><author><name>Daniel Smertnig</name><uri>https://sourceforge.net/u/dansme/</uri></author><id>https://sourceforge.net897813a4d3a563e7e97186d8db160d75899b6abe</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;During a project in which I was using a FTDI 232BM to&lt;br /&gt;
transmit data at relative high speeds (625kBit/s), I&lt;br /&gt;
noticed a problem where data was lost even if flow&lt;br /&gt;
control was enabled: The FTDI-Driver receives 512 Bytes&lt;br /&gt;
of data over USB at a time, which consists of 8 64-Byte&lt;br /&gt;
packets. Subtracting the 2 bytes of status information&lt;br /&gt;
included in each packet this gives 496 "real" data&lt;br /&gt;
bytes per read.&lt;/p&gt;
&lt;p&gt;This data is passed (indirectly, via the flip buffers)&lt;br /&gt;
to the tty line discipline which takes care of&lt;br /&gt;
throttling when there the free buffer space reaches&lt;br /&gt;
TTY_THRESHOLD_THROTTLE (128). Because the FTDI driver&lt;br /&gt;
processes up to 496 bytes at a time, throttling won't&lt;br /&gt;
happen in time and the line discipline will discard the&lt;br /&gt;
remaining bytes.&lt;/p&gt;
&lt;p&gt;To avoid this the patch passes data in 62-byte blocks&lt;br /&gt;
to the tty layer and checks the available space in the&lt;br /&gt;
ldisc-buffers. If there isn't enough free space,&lt;br /&gt;
processing the rest of the data is delayed using a&lt;br /&gt;
workqueue.&lt;/p&gt;
&lt;p&gt;Note: The original problem should be easily&lt;br /&gt;
reproducible with a userspace program which does slow &amp;amp;&lt;br /&gt;
small reads.&lt;/p&gt;
&lt;p&gt;Note2: I don't have a lot of experience with&lt;br /&gt;
kernel-level stuff, I hope this is the right way to fix&lt;br /&gt;
it ;)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Make ftdi_sio-1.3.4 work on 2.4.19 kernel</title><link href="https://sourceforge.net/p/ftdi-usb-sio/patches/4/" rel="alternate"/><published>2003-10-15T14:36:57Z</published><updated>2003-10-15T14:36:57Z</updated><author><name>Ian Abbott</name><uri>https://sourceforge.net/u/ijabbott/</uri></author><id>https://sourceforge.net1a00e0ab38a2d14029af3240dcb395cb4270bd55</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This patch to the ftdi_sio-1.3.4 sources allows them to be used with &lt;br /&gt;
a 2.4.19 kernel. &lt;/p&gt;
&lt;p&gt;To use: &lt;/p&gt;
&lt;p&gt;1. Grab the ftdi_sio-1.3.4 sources from patch item 824033 (or by &lt;br /&gt;
copying ftdi_sio.c and ftdi_sio.h from a 2.4.22 kernel). &lt;/p&gt;
&lt;p&gt;2. Apply the patch ftdi_sio-1.3.4-2.4.19.patch to the ftdi_sio-1.3.4 &lt;br /&gt;
sources. &lt;/p&gt;
&lt;p&gt;3. Assuming you have a 2.4.19 kernel source directory configured &lt;br /&gt;
to match the kernel you want to use, copy the patched ftdi_sio.c &lt;br /&gt;
and ftdi_sio.h files into this kernel source tree (in directory &lt;br /&gt;
drivers/usb/serial). You may wish to back up the old versions first. &lt;/p&gt;
&lt;p&gt;4. Go to the root of the kernel source tree, rebuild the modules &lt;br /&gt;
('make modules') and install them ('make modules_install'). &lt;/p&gt;
&lt;p&gt;5. Run 'depmod -a' and 'rmmod ftdi_sio' for good luck, and plug in &lt;br /&gt;
your USB serial device.  If the USB hotplug mechanism doesn't load &lt;br /&gt;
the module, run 'modprobe ftdi_sio'. &lt;/p&gt;
&lt;p&gt;6. Run 'dmesg' to check that the FTDI driver reports itself as &lt;br /&gt;
version 1.3.4. &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>ftdi_sio-1.3.4</title><link href="https://sourceforge.net/p/ftdi-usb-sio/patches/3/" rel="alternate"/><published>2003-10-15T11:05:17Z</published><updated>2003-10-15T11:05:17Z</updated><author><name>Ian Abbott</name><uri>https://sourceforge.net/u/ijabbott/</uri></author><id>https://sourceforge.net301494798ad06a3e9564f2c7ff3221a32761c4cb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The ftdi_sio-1.3.3 sources in the download section of the &lt;br /&gt;
SourceForge pages are a little out of date now. &lt;/p&gt;
&lt;p&gt;The version of the driver in the 2.4.22 kernel announces itself as &lt;br /&gt;
version 1.3.4, so let that be the official 1.3.4 version. &lt;/p&gt;
&lt;p&gt;The attached ftdi_sio-1.3.4.tar.gz file contains the same versions of &lt;br /&gt;
the files as the 2.4.22 kernel. &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Unofficial combined patches from 1.3.3 (1.3.4-pre-ia2)</title><link href="https://sourceforge.net/p/ftdi-usb-sio/patches/2/" rel="alternate"/><published>2003-06-22T16:28:26Z</published><updated>2003-06-22T16:28:26Z</updated><author><name>Ian Abbott</name><uri>https://sourceforge.net/u/ijabbott/</uri></author><id>https://sourceforge.netb164172521bee891b0a6ea52b51f2598106a8e7a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Since the last version of my combined patch against v1.3.3 on &lt;br /&gt;
2003-06-13 (ftdi_sio-1.3.4-pre-ia1), the following changes have &lt;br /&gt;
been made: &lt;/p&gt;
&lt;p&gt;- copied &amp;amp;quot;USB relais&amp;amp;quot; PID over from the version of ftdi_sio in the &lt;br /&gt;
2.5.x kernel; &lt;br /&gt;
- moved the bulk read transfer buffer reallocation out of the open &lt;br /&gt;
function and into the startup function; &lt;br /&gt;
- freed the old write urb and bulk write transfer buffer in the startup &lt;br /&gt;
function; &lt;br /&gt;
- halted write urb pool allocation as soon as soon as one urb &lt;br /&gt;
allocation fails, and modified loops that search the write urb pool to &lt;br /&gt;
take account of this; &lt;br /&gt;
- moved PKTSZ and BUFSZ macros; &lt;br /&gt;
- one or two minor whitespace and comment fixes; &lt;br /&gt;
- added Erik Nygren's fixed baud rate changes for USB-UIRT and &lt;br /&gt;
Tira-1. &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Unofficial combined patches from 1.3.3 (1.3.4-pre-ia1)</title><link href="https://sourceforge.net/p/ftdi-usb-sio/patches/1/" rel="alternate"/><published>2003-06-16T10:03:27Z</published><updated>2003-06-16T10:03:27Z</updated><author><name>Ian Abbott</name><uri>https://sourceforge.net/u/ijabbott/</uri></author><id>https://sourceforge.net7fa87bb8a1977bdf95b74e0ee038c9d9080399b0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Bill, &lt;/p&gt;
&lt;p&gt;Here's a combined patch against v1.3.3 for your consideration.  I've &lt;br /&gt;
used a temporary version number, which would of course be &lt;br /&gt;
changed for an official release.  I don't want to step on your toes! &lt;/p&gt;
&lt;p&gt;This patch includes the following: &lt;/p&gt;
&lt;p&gt;- my spinlock fixes; &lt;br /&gt;
- some VID/PIDs for SeaLINK+ adapters (provided by Tuan Hoang, &lt;br /&gt;
but I removed some that don't appear to exist); &lt;br /&gt;
- PID for Home Electronics Tira-1 (provided by Chris Horn); &lt;br /&gt;
- David Norwood's patch for USB-UIRT support; &lt;br /&gt;
- some whitespace fixes by me - hence the slight bloatiness of the &lt;br /&gt;
patch. &lt;/p&gt;&lt;/div&gt;</summary></entry></feed>