Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 376117 - dev-embedded/ftdi_eeprom: Enhance ftdi_eeprom to cope with newer chips
Summary: dev-embedded/ftdi_eeprom: Enhance ftdi_eeprom to cope with newer chips
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Embedded Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-23 15:47 UTC by Robert Pearce
Modified: 2011-08-20 19:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to allow VID/PID change on FT4232 (ftdi_multiple_ids.patch,783 bytes, patch)
2011-07-23 15:50 UTC, Robert Pearce
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Pearce 2011-07-23 15:47:44 UTC
I offer a patch to ftdi_eeprom (at the stable version) to allow it to re-program FT4232H devices to a new PID. When connecting, it looks for the specified VID/PID (i.e. the new one) and the original FT default 0403/6001. FT4232 devices default to either 0403/6010 or 0403/6011 so this patch tries those values too before giving up.

Reproducible: Always

Steps to Reproduce:
1. Try to use ftdi_eeprom to reprogram an FT4232 from default to a custom VID/PID

Actual Results:  
It fails to find the chip

Expected Results:  
It finds and reprograms the chip

The patch is equally valid for the "unstable" 0.3 version, except that the directory paths have changed.
Comment 1 Robert Pearce 2011-07-23 15:50:01 UTC
Created attachment 280747 [details, diff]
Patch to allow VID/PID change on FT4232

Applies to dev-embedded/ftdi-eeprom-0.2
Would need path change (ftdi_eeprom --> src) for dev-embedded/ftdi-eeprom-0.3
Comment 2 SpanKY gentoo-dev 2011-08-07 21:07:54 UTC
have you sent this upstream ?
Comment 3 Robert Pearce 2011-08-16 09:22:13 UTC
(In reply to comment #2)
> have you sent this upstream ?

Yes, but they're working mostly on a new major version and don't seem to be doing much maintenance on 0.x
Comment 4 SpanKY gentoo-dev 2011-08-17 02:51:35 UTC
but said functionality has been integrated into the newer tree ?
Comment 5 Robert Pearce 2011-08-17 07:01:58 UTC
The new tree should achieve the same result by slightly different means. However, the tool may be merged into the libftdi repository (or possibly replaced) at the next or subsequent release.
Comment 6 SpanKY gentoo-dev 2011-08-20 19:40:12 UTC
thanks ... ive added this to 0.3-r1