Bitcoin Forum
April 19, 2024, 07:51:36 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: FTDI driver update may brick some miners  (Read 2412 times)
TheRealSteve (OP)
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500

FUN > ROI


View Profile
October 22, 2014, 07:07:57 PM
 #1

As there are still some devices out there that use FTDI chips to perform USB<->UART Serial communication, a small note of warning:

If your miner uses a counterfeit FTDI chip as its front line communication, a recent update to the FTDI drivers supplied through Windows Update may brick your miner for use under Windows.

The details of how to fix it, work around it, identify products that use FTDI chips and whether or not they're counterfeit is beyond the scope of this post.  For further information, please see:

Windows Update pushed FTDI 2.12 drivers on Oct 1, which locks out some counterfeit FT-232RL chips
Arduino.cc: Unable to get FT232R drivers loaded under Windows 7 64bit
Hackaday.com: Watch That Windows Update: FTDI Drivers Are Killing Fake Chips
Slashdot.org: FTDI Reportedly Bricking Devices Using Competitors' Chips.

1713513096
Hero Member
*
Offline Offline

Posts: 1713513096

View Profile Personal Message (Offline)

Ignore
1713513096
Reply with quote  #2

1713513096
Report to moderator
1713513096
Hero Member
*
Offline Offline

Posts: 1713513096

View Profile Personal Message (Offline)

Ignore
1713513096
Reply with quote  #2

1713513096
Report to moderator
"I'm sure that in 20 years there will either be very large transaction volume or no volume." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
dogie
Legendary
*
Offline Offline

Activity: 1666
Merit: 1183


dogiecoin.com


View Profile WWW
October 22, 2014, 07:26:19 PM
 #2

Any idea what types of miners may be susceptible?

TheRealSteve (OP)
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500

FUN > ROI


View Profile
October 22, 2014, 07:49:10 PM
Last edit: October 24, 2014, 01:33:02 PM by TheRealSteve
 #3

Any idea what types of miners may be susceptible?
Unfortunately that is not easy to divine, other than:
It would have to use a direct USB connection - so if it's using a network connection, it is fine.
The interface would have to be a direct USB<->UART interface - so if it's using custom drivers, it should be fine.

That should leave very few miners as it is.

The USB<->UART interface would have to be an FTDI one - so if it's using e.g. SI Labs' CP210x, it should be fine.  Unfortunately that's one of the parts that's not so easy to find out, other than looking at the USB device list or looking at the hardware directly.
Lastly, it would have to be using the FTDI vendor ID and product ID and the FTDI drivers and have a counterfeit FTDI chip.  For the former you could check the USB drivers list, but to figure out if an FTDI chip is a counterfeit one or not.. depends on how good the counterfeit was made Smiley

A google search - https://www.google.com/?#q=site%3Abitcointalk.org%20ftdi - yields some products that are at least associated with FTDI chips by virtue of requiring the drivers.

He deals with lots of stick miners and i would assume this would be mostly that but definitely need more confirmation.
Actually, I don't think any of the StickMiners use an FTDI chip, but I honestly wouldn't know without manually checking.

I do know that the NanoFury ones all use Microchip's MCP2210 ( I think the very earliest prototypes used the FT232 ).
The BlockErupter USB, AntMiner U2, iMiner and Avalon Mono use the Silicon Labs CP2102.
The Bi•Fury uses the NXP (LPC)11U24 (microcontroller with USB support)
The Fury Thumb uses some sort of Atmel microcontroller.
The Avalon Nano probably leverages its NXP (LPC)11U14, though I can't tell if that other chip is actually the comms and not the power management (its proximity to other components leads me to think it's power management).
I never did procure a Hex•Fury, and I can't tell from Dogie's guide picture what chip it uses - but the guide also suggests using the WinUSB drivers (via Zadig) for it, so that should be fine regardless.


The Twin Chip Fury and DualMiners do appear to use FTDI chips.  The Twin Chip Fury probably uses the FT232HL.  The DualMiner uses the FT2232HL and is not susceptible (the driver code specifically applies only to the FT232 line).

kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
October 22, 2014, 08:41:24 PM
 #4

Any idea what types of miners may be susceptible?
Not cgminer.

It doesn't use the FTDI driver for USB devices, we talk directly to USB devices ourselves.

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
Soros Shorts
Donator
Legendary
*
Offline Offline

Activity: 1616
Merit: 1003



View Profile
October 23, 2014, 03:58:30 AM
 #5

Any idea what types of miners may be susceptible?
Not cgminer.

It doesn't use the FTDI driver for USB devices, we talk directly to USB devices ourselves.

I remember that several versions of cgminer became unstable when the switch to libusb was made - zombied devices, etc. I guess in the end it was worth the effort.
wttbs
Legendary
*
Offline Offline

Activity: 2210
Merit: 1109



View Profile
October 23, 2014, 08:45:26 AM
Last edit: October 23, 2014, 09:01:13 AM by wttbs
 #6

If people do have issues regarding the FTDI problem with counterfeit FT232-chips on their miner, this might solve the problem:

https://www.youtube.com/watch?v=SPdSKT6KdF8

There is a tool with which you can program the PID back to 6001. Tool is called FT Prog, downloadable at: http://www.ftdichip.com/Support/Utilities.htm

[thanks to schlumpie @ tweakers.net]
defcon23
Legendary
*
Offline Offline

Activity: 1120
Merit: 1002


View Profile
November 04, 2014, 10:19:23 AM
 #7

As there are still some devices out there that use FTDI chips to perform USB<->UART Serial communication, a small note of warning:

If your miner uses a counterfeit FTDI chip as its front line communication, a recent update to the FTDI drivers supplied through Windows Update may brick your miner for use under Windows.

The details of how to fix it, work around it, identify products that use FTDI chips and whether or not they're counterfeit is beyond the scope of this post.  For further information, please see:

Windows Update pushed FTDI 2.12 drivers on Oct 1, which locks out some counterfeit FT-232RL chips
Arduino.cc: Unable to get FT232R drivers loaded under Windows 7 64bit
Hackaday.com: Watch That Windows Update: FTDI Drivers Are Killing Fake Chips
Slashdot.org: FTDI Reportedly Bricking Devices Using Competitors' Chips.

Thank you for this advice.. Wink
TheRealSteve (OP)
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500

FUN > ROI


View Profile
November 04, 2014, 12:10:01 PM
 #8

Slight follow-up:
FTDI has removed the drivers from Windows Update. If you didn't get hit by it at the time, you shouldn't in the future - although they have hinted at having a future driver update simply not work with the counterfeit chips; which, to me, is a reasonable measure.  Unfortunately they have not issued an apology of any sort whatsoever other than to their customers (not the end-users) who they may have inconvenienced (and of course would most directly impact their bottom line).  But that's a page-long rant for a different forum Smiley

Bitcoin and Scrypt mining are pretty solidly entering the domain of either A. cloud mining (small miners) or B. huge mining farms where the miners are typically controlled over network connections.  However, if there are hardware designers out there that want to make a USB miner (Stick/Cakebox/Desktop) and are considering alternatives to FTDI, there's a thread over at EEVblog that covers some of them along with a few gotchas that might make for a good preliminary foray into the matter:
http://www.eevblog.com/forum/reviews/alternatives-to-ftdi-usb-to-uart-converter/

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!