Slashdot Mirror


FTDI Driver Breaks Hardware Again (eevblog.com)

janoc writes: It seems that the infamous FTDI driver that got famous by intentionally bricking counterfeit chips [NOTE: that driver was later removed] has got a new update that injects garbage data ('NON GENUINE DEVICE FOUND!') into the serial data. This was apparently going on for a while, but only now is the driver being pushed as an automatic update through Windows Update, thus many more people stand to be affected by this.

Let's hope that nobody dies in an industrial accident when a tech connects their cheap USB-to-serial cable to a piece of machinery and the controller misinterprets the garbage data.

27 of 268 comments (clear)

  1. First PoNON GENUINE DEVICE FOUND by Anonymous Coward · · Score: 5, Funny

    ...

  2. Keeping me happy for disabling auto-updates by blind+biker · · Score: 3, Insightful

    I think I'll keep my Windows computers with updates disabled, as all the updates have been detrimental to the user, lately.
    Checking the eevblog thread, though it seems it affects Windows 10, which I also elected not to touch.

    --
    "The agriculture ministry is not in charge of Gundam" - Japanese ministry official.
    1. Re:Keeping me happy for disabling auto-updates by ArmoredDragon · · Score: 4, Informative

      I don't know why this is happening to USB to Serial drivers, of all things, because even worse shit happens with Prolific chipsets. Prolific did a hardware refresh and then instantly obsoleted all of the previous generation chips. Otherwise not a problem, except if you use Windows 8 or newer then the fucking driver they issue causes a code 10 hardware. If you use an older on 8 or newer then they work fine, but stupid Windows Update keeps replacing it with the bad driver unless you use a bit of ini file hackery.

      What makes this worse than the FTDI situation is that Prolific is doing it to their own hardware to force you to buy a new one.

    2. Re:Keeping me happy for disabling auto-updates by ArmoredDragon · · Score: 5, Informative

      So, your problem may well be that you have a counterfeit "Prolific" chip that Prolific's driver no longer plays nice with.

      No, that's not the problem at all. You can read yourself from Prolific's website:

      http://www.prolific.com.tw/US/...

      Note on that page how they no longer support "EOL chipsets" even though they work fine in windows 8 and 10 if you simply use an older driver that doesn't care about what OS version you have. If you use a newer one though, the driver throws a code 10 error so it won't work, unless of course, it detects a non-EOL chipset.

  3. Supply chains by Anonymous Coward · · Score: 5, Insightful

    Thanks to the reality of supply chains, companies intending to buy the real deal can accidentally buy the knockoffs. Anyone willing to do this(or their previous actions, like bricking devices) is someone I intend to never purchase from, real deal or not.

    There are now plenty of competitors to FTDI. Don't buy FTDI- even if you think you're buying the real deal, reality can intervene.

    1. Re:Supply chains by willaien · · Score: 5, Informative

      MCP2221, CH340G, etc. Just see:

      http://www.eevblog.com/forum/r...

    2. Re:Supply chains by willaien · · Score: 4, Insightful

      And why is this the end-user's fault, again? Why do they feel that they need to cause it to malfunction or (in the case of a year ago), brick the device with an official driver from microsoft that gets pushed on the end user without them asking for it (or agreeing to their onerous T&C)?

      Why punish the end user who doesn't even know what FTDI is or what a USB chipset even does for buying a product?

    3. Re:Supply chains by Anonymous Coward · · Score: 5, Interesting

      But you sure as fuck won't be sure you're getting ACTUAL FTDI components. FTDI WILL NOT GUARANTEE that a chip is real unless it is purchased directly from them. This includes chips purchased THROUGH THEIR DISTRIBUTORS.

      They can't police their own fucking distributors, dude. Get a fucking grip.

    4. Re: Supply chains by guruevi · · Score: 4, Interesting

      The problem I've found with a LOT of USB things even the FTDI ones is that they're only putting out a stepped up 12V or even just 5V while classically the serial port was a bit above 12V.

      Although the spec allows for +3V/-3V at the lowest end, most stuff just won't work well. Also the stepped up voltages seem to have a lot of noise and variation, again something the spec allows but "back in the day" few allowed for those.

      Also, the USB data bus frequency leaks noise into the serial bus portion, sometimes visibly on a scope or definitely noticeable on a spectrum analyzer. The problem probably being poor design and shielding on modern computers. I've also had some issues with ground loops but that is only in very specific circumstances.

      For critical applications, I've found the Ethernet serial servers are more reliable. Even running commands through an Arduino will do better in a pinch. But those cheap USB adapters are good enough for setting up a switch or uploading a firmware when the device is out of order anyway but are not intended to be permanently attached.

      --
      Custom electronics and digital signage for your business: www.evcircuits.com
  4. Microsoft's responsibility and WHQL by Anonymous Coward · · Score: 4, Interesting

    What is Microsoft's responsibility here?

    They are pushing out drivers that bricks hardware through their Windows Update service?

    How the hell did this pass their WHQL?

    1. Re: Microsoft's responsibility and WHQL by ZorinLynx · · Score: 5, Insightful

      Yep, Microsoft should revoke WHQL on future driver versions and refuse to certify FTDI drivers in the future.

      This is a blatant violation of trust; end users have no way to know if the FTDI chips in their devices are genuine.

    2. Re:Microsoft's responsibility and WHQL by fuzzyfuzzyfungus · · Score: 3, Insightful

      What I'd be curious to know is how FTDI managed to pull this again. I would have imagined that Microsoft would have been less than pleased with them after their last attempt and either watching them more carefully or only letting them back with some sort of stern warning. One would certainly think that it would hurt FTDI more than it hurts Microsoft if FTDI chips become 'those ones you have to manually download drivers for'.

    3. Re: Microsoft's responsibility and WHQL by Opportunist · · Score: 3, Insightful

      Why do you expect this of all the things in Windows 10 to be in the interest of the end user? Why should this be the odd man out?

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    4. Re:Microsoft's responsibility and WHQL by FatdogHaiku · · Score: 5, Insightful

      I would imagine Windows Hardware Quality Labs tests the drivers against the hardware they are made to support. Requiring anyone to test real drivers against fake hardware would be a Gordian knot as new knockoff distributors appear and then fade away when someone starts trying to find them. I'm sure the same factory would produce the same knockoff and a "new" distributor would get it into the supply chains.

      All that being said, I learned long ago not to let Windows update my hardware drivers, any hardware drivers. I just fixed one the other day where suddenly a favorite resolution on an LCD TV was missing. It took a bit to figure out the latest graphics driver (Intel via Windows update) installed a management program limiting display resolutions. Removed that program (and hid the update) and everything was back to normal.

      Of course, in this case it would not matter where you got the update, if your device is counterfeit it gets tagged.

      --
      You have the right to remain sentient. If you give up the right to remain sentient, you will be elected to public office
    5. Re:Microsoft's responsibility and WHQL by OzPeter · · Score: 4, Insightful

      If Whipslash is reading this - one thing that would be a REALLY interesting addition to Slashdot would be to go find someone from the company to speak to these issues, if possible. Something of an immediate Q&A to either clear up the news or confirm that the situation is as crummy as it appears.

      I don't think that /. will every be able to work like that. Compare /. with Ars. Ars actually employs genuine technical minded journalists and produce long form stories of their own. When appropriate they do reach out to all parties to get comment from both sides. /. on th either hand is really just a news aggregator with a fancy commenting system. If anything it should be up to the producers of the original story to looking for comment.

      --
      I am Slashdot. Are you Slashdot as well?
    6. Re: Microsoft's responsibility and WHQL by Anonymous Coward · · Score: 5, Interesting

      Yep, Microsoft should revoke WHQL on future driver versions and refuse to certify FTDI drivers in the future.

      This is a blatant violation of trust; end users have no way to know if the FTDI chips in their devices are genuine.

      This would be how I'd handle it.
      1) After you login you see a message from windows. Automatic update of FTDI serial driver has failed. FTDI serial driver reports non genuine hardware. Warning the use of counterfeit hardware may cause system instability or other undesirable behaviour. Wouuld you like to disable the previous driver, or continue using it and mark it as non upgradeable? A non upgradeable driver may have bugs and other issues that could, in time, expose your system to threats. Long term use is not recommended.

  5. Re:Pure crap by Darlok · · Score: 4, Insightful

    Not necessarily true. Low-level technology like this is frequently the source of "cascading failure" that can endanger people or property.

    For instance, we have many USB-to-Serial devices installed in chains that capture weight readings from industrial scales. If this suddenly and inobtrusively starts causing that measurement data to be misaligned in the output, those weight readings could be transmitted to shippers who may or may not re-weigh the product based on our volume. In the worst case scenario, something like this could be done as the last check-weight for loading an aircraft -- a weight-critical application where getting it wrong can cause a tail-strike on takeoff.

    Screwing with low-level data INTENTIONALLY is never a good thing. End users have no way of ever knowing that it's happening. Pushing it by Windows Update, where no devs are involved to catch the error, is a recipe for potential disaster somewhere.

    This IS Pure Crap... on the part of FTDI.

    --
    Notice: Your mouse has been moved. Windows will now restart so this change can take effect.
  6. here's the safe driver for these chips by raymorris · · Score: 4, Informative

    Here's the safe driver, in the form of source code so you could check it yourself if you want to.

    http://lxr.free-electrons.com/...

    This driver does require a non-crap operating system, of course. Linux, FreeBSD, OpenBSD, etc probably OSX will work too.

  7. Re:FTDI Serial Driver? by drinkypoo · · Score: 4, Informative

    Why would a vendor of a basic USB-Serial port converter bother writing a driver?

    Because the FTDI chip actually works. It's one of the very few USB to Serial chips that has proper timing and signals to make it work with marginal, antiquated hardware. A lot of people trying to use old automotive scan interfaces and the like which interface with serial have serious problems when using other chips.

    I have literally never had a USB device outside of HID or mass storage which didn't need its own special snowflake driver, even though USB has driver profiles for several types of device.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  8. Going after the wrong people by wisewellies · · Score: 4, Insightful

    Why can't FTDI realise that this kind of behaviour is only going to hurt innocent end users, rather than the people responsible for peddling counterfeit devices? I've bought hundreds of these devices in the past from reputable suppliers, and in precisely zero cases can I determine whether the chipset is genuine or not before purchase. If I can't tell what I'm buying, then why am I being punished when I've bought in good faith? Why can't FTDI instead use existing mechanisms and laws to find the people responsible?

    Of course Linux drivers for these devices work every time, counterfeit or not. Perhaps a different approach might be for someone to take the Linux code and create a decent open-source Windows driver to replace the buggy (i.e. injecting unwanted serial data) FTDI code?

  9. At this point, I think I'd avoid FTDI hardware... by stazeii · · Score: 5, Interesting

    Son of a.... I spent, literally, 4 hours yesterday trying to troubleshoot a 3d Printer (Tinyboy 3D), with it not working. MProg from FTDI said the chip was fine (right vendor and product ID), but it just wouldn't work. I tried every driver I could find. Finally, I uninstalled the driver, disabled wifi, plugged it in, waited for Windows 7 to install the version it knew (2.4 something), used Mprog 3.5 to reprogram the chip as legit (as per: https://www.youtube.com/watch?...), unplugged, replugged (at which point windows reinstalled it again, with 2.4), and suddenly it started working! I can confirm this "Non Genuine" serial data, since I opened up the Arduino IDE and saw that on the serial console. You know, I sympathize with FTDI. They're having their tech ripped off. But, it's inappropriate to punish end users who don't have any say. Sure, we could not buy stuff that uses counterfeit chips, but many sellers aren't even going to know. FTDI should be pursuing the counterfeiters in China, and using what legal system China has to stop it. Either that, or create a version of the chip that has such a low price point, they put the cloners out of business by providing legit-working-alternatives for a price point. So annoying that I've lost time because FTDI does this crap, and apparently Microsoft is okay with it (I don't see how this should have passed WHQL).

  10. Re:At this point, I think I'd avoid FTDI hardware. by JustNiz · · Score: 3, Insightful

    Wait, you're actually surprised that Microsoft is okay with screwing users over something they already paid for?

  11. CH340 works just FINE! by MindPrison · · Score: 3, Interesting

    I'm a big consumer of the Arduino clones (and FYI - Arduinos are FREE to clone for everyone, it's a part of the concept).

    The chip has now been replaced with the CH340 - which even though it lacks some of the FTDI features, is a bang up chip that gets the job done - even at really high Serial speeds, I've yet to see one of them fail on me (I use Linux, where CH340 runs right out of the box, windows needs a driver).

    I've not even heard of the FTDI before all of this came up.

    --
    What this world is coming to - is for you and me to decide.
  12. FTD Driver? by PPH · · Score: 3, Funny

    Those damned florists and their delivery vans!

    --
    Have gnu, will travel.
  13. FTDI is malware by stooo · · Score: 5, Informative

    FTDI is malware.

    Use Linux.
    use MCP2221.

    --
    aaaaaaa
  14. Re:Patent? by RealGene · · Score: 3, Informative

    'Compatible' chips that report FTDI's USB Vendor ID (VID) and Product ID (PID). That way, they don't have to actually write their own driver and get it approved by MS.
    So, when Windows interrogates the device, it appears to be FTDI, so Windows loads the FTDI driver.
    That driver makes an undocumented call that only genuine FTDI chips will respond to correctly, so the driver can tell whether a knockoff part is attached.
    Other legit serial chip makers use their own PID/VID, so it's not an issue with TI, Silabs, etc., only with 'Best Lucky Interface Ltd' parts.

    --
    Mission: To provide products that consume time and energy as entertainingly as permitted by the laws of thermodynamics.
  15. I don't blame FTDI, fake chips hurt them by AaronW · · Score: 4, Informative

    One problem these counterfeit chips pose is that all the sudden companies like FTDI end up with a lot of support costs for people who bought shoddy products with the fake chips, which often don't work nearly as well as the real thing. This is a way for FTDI to crack down on the counterfeit chips. While it sucks for the consumers that end up with the fake chips, it will also help put a stop to the counterfeit chips since any product that uses them will not work.

    At my company we make a number of development boards using the quad FTDI chips for the serial interface. We use them because in addition to RS232 they also can talk I2C and JTAG, among other things. I can reliably run the FTDI chips at 10Mbps. I've used other USB to serial devices in the past but I've had lots of problems with them. Some cables I bought, for example, will just suddenly stop working and I have to periodically reset the baud rates.

    Why should FTDI have to bear the burden and support costs of counterfeit chips? If somebody else slaps the FTDI manufacturer ID and product ID onto their USB device then they deserve whatever happens. Why should FTDI have to spend resources supporting fake chips? By doing what they are doing, it will drive the fake chips out of the system and prevent future ones.

    I work for a chip manufacturer and while there's a very low risk that someone will make fake chips like ours (very complex network processors), we have had to add features to our chips so that our end customers can prevent counterfeit equipment which just copies their software. We have some large customers who have been battling Chinese made counterfeit equipment.

    --
    This post is encrypted twice with ROT-13. Documenting or attempting to crack this encryption is illegal.