.\" .\" Copyright (c) 2003 Bernd Walter Computer Technology .\" http://www.bwct.de .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: .\" 1. Redistributions of source code must retain the above copyright .\" notice, this list of conditions and the following disclaimer. .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. .\" 3. Neither the name of the author nor the names of its contributors .\" may be used to endorse or promote products derived from this software .\" without specific prior written permission .\" .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" .\" $URL: https://devel.bwct.de/svn/projects/usb/fdti232/eeprom/trunk/ftdi-eeprom.8 $ .\" $Date: 2003-02-16 05:02:35 +0100 (Sun, 16 Feb 2003) $ .\" $Author: ticso $ .\" $Rev: 309 $ .\" .Dd Febuary 11, 2003 .Dt ftdi-eeprom(8) "" "Manual" .Os "BWCT" .Sh NAME .Nm ftdi-eeprom .Nd tool to programm eeprom on FTDI usb devices .Sh SYNOPSIS .Nm .Fl f Ar dev .Op Fl a Ar addr .Fl w .Ar vendor_id .Ar product_id .Ar release_number .Ar bus_powered .Ar remote_wakeup .Ar current .Ar manufacturer_string .Ar product_string .Ar serial_string .Sh DESCRIPTION .Nm ftdi-eeprom writes the contents of the configuration eeproms for FTDI usb chips. .Pp The arguments are as follows: .Bl -tag -width indent .It Fl f Ar dev The .Fl f option sets the name of the device. It can be either an usb bus or an ugen device. .It Op Fl a Ar addr The .Fl a option sets the USB address in case the named device is a complete bus. .It Fl w The .Fl w option enables writing. .It Ar vendor_id The .Ar vendor_id argument names the usb vendor id. .It Ar product_id The .Ar product_id argument names the usb product id. .It Ar release_number The .Ar release_number argument names the usb release number. .It Ar bus_powered The boolean .Ar bus_powered argumend says wether the device is bus powered. .It Ar remote_wakeup The boolean .Ar remote_wakeup argument says wether the device supports the usb wakeup feature. .It Ar current The .Ar current argument says how much current the enabled device will take in mA. .It Ar manufacturer_string The .Ar manufacturer_string argument is a string naming the manufacturer. .It Ar product_string The .Ar product_string argument is a string naming the product. .It Ar serial_string The .Ar serial_string argument is the serial number of the device. .El .Sh EXAMPLES The following example: .Dl ftdi-eeprom -f /dev/usb0 -a 5 -w 0x403 0x6001 0x200 1 1 90 'BWCT' 'Serial Interface' 2002112901 writes the eeprom at device number 5 on usb bus 0. The device will be bus powered with 90mA. .Pp The following example: .Dl ftdi-eeprom -f /dev/usb0 -a 6 -w 0x403 0x6001 0x200 0 1 0 'BWCT' 'Serial Interface' 2002112902 writes the eeprom at device number 6 on usb bus 0. The device will be self powered. .Sh SEE ALSO .Xr usb 4 .Xr ugen 4 .Sh AUTHOR .An Bernd Walter Aq bernd@bwct.de .