1.\" 2.\" Copyright (c) 2003 Bernd Walter Computer Technology 3.\" http://www.bwct.de 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright 9.\" notice, this list of conditions and the following disclaimer. 10.\" 2. Redistributions in binary form must reproduce the above copyright 11.\" notice, this list of conditions and the following disclaimer in the 12.\" documentation and/or other materials provided with the distribution. 13.\" 3. Neither the name of the author nor the names of its contributors 14.\" may be used to endorse or promote products derived from this software 15.\" without specific prior written permission 16.\" 17.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 18.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 20.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 22.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27.\" 28.\" $URL: https://devel.bwct.de/svn/projects/usb/fdti232/eeprom/trunk/ftdi-eeprom.8 $ 29.\" $Date: 2003-02-16 05:02:35 +0100 (Sun, 16 Feb 2003) $ 30.\" $Author: ticso $ 31.\" $Rev: 309 $ 32.\" 33.Dd Febuary 11, 2003 34.Dt ftdi-eeprom(8) "" "Manual" 35.Os "BWCT" 36.Sh NAME 37.Nm ftdi-eeprom 38.Nd tool to programm eeprom on FTDI usb devices 39.Sh SYNOPSIS 40.Nm 41.Fl f Ar dev 42.Op Fl a Ar addr 43.Fl w 44.Ar vendor_id 45.Ar product_id 46.Ar release_number 47.Ar bus_powered 48.Ar remote_wakeup 49.Ar current 50.Ar manufacturer_string 51.Ar product_string 52.Ar serial_string 53.Sh DESCRIPTION 54.Nm ftdi-eeprom 55writes the contents of the configuration eeproms for FTDI usb chips. 56.Pp 57The arguments are as follows: 58.Bl -tag -width indent 59.It Fl f Ar dev 60The 61.Fl f 62option sets the name of the device. 63It can be either an usb bus or an ugen device. 64.It Op Fl a Ar addr 65The 66.Fl a 67option sets the USB address in case the named device is a complete bus. 68.It Fl w 69The 70.Fl w 71option enables writing. 72.It Ar vendor_id 73The 74.Ar vendor_id 75argument names the usb vendor id. 76.It Ar product_id 77The 78.Ar product_id 79argument names the usb product id. 80.It Ar release_number 81The 82.Ar release_number 83argument names the usb release number. 84.It Ar bus_powered 85The boolean 86.Ar bus_powered 87argumend says wether the device is bus powered. 88.It Ar remote_wakeup 89The boolean 90.Ar remote_wakeup 91argument says wether the device supports the usb wakeup feature. 92.It Ar current 93The 94.Ar current 95argument says how much current the enabled device will take in mA. 96.It Ar manufacturer_string 97The 98.Ar manufacturer_string 99argument is a string naming the manufacturer. 100.It Ar product_string 101The 102.Ar product_string 103argument is a string naming the product. 104.It Ar serial_string 105The 106.Ar serial_string 107argument is the serial number of the device. 108.El 109.Sh EXAMPLES 110The following example: 111.Dl ftdi-eeprom -f /dev/usb0 -a 5 -w 0x403 0x6001 0x200 1 1 90 'BWCT' 'Serial Interface' 2002112901 112writes the eeprom at device number 5 on usb bus 0. 113The device will be bus powered with 90mA. 114.Pp 115The following example: 116.Dl ftdi-eeprom -f /dev/usb0 -a 6 -w 0x403 0x6001 0x200 0 1 0 'BWCT' 'Serial Interface' 2002112902 117writes the eeprom at device number 6 on usb bus 0. 118The device will be self powered. 119.Sh SEE ALSO 120.Xr usb 4 121.Xr ugen 4 122.Sh AUTHOR 123.An Bernd Walter Aq bernd@bwct.de . 124