FTDI USB-Serial driver is constantly writing an error message to console.

Issue:

FTDI USB-Serial driver is constantly writing message to console:

write request of 0 bytes

Cause:
The FTDI driver code uses the "err" function which will write the message to standard out.

Solution:

FTDI source developer recommends that the "err" function be changed to the "dbg" function.
Edit the ftdi_sio.c file (found in /usr/src/[kernel version]/drivers/usb/serial) and modify the following line:

err("write request of 0 bytes");
to
dbg("write request of 0 bytes");

Note: Bill Ryder - bryder@sgi.com - wrote the FTDI_SIO implementation and may modify the driver in a future kernel release.


Article ID:
519
Published:
1/10/2005 8:51:02 AM
Last Modified:
1/10/2005 8:53:40 AM
Issue Type:
FAQ