News for hackers. Stuff that matters.
Re:Have FTDI kicked-off round 2 of the clone wars? by mkj on Monday February 01, 2016 @08:32AM (#11011583)
Why do people need a FTDI driver, it appears that Windows has a USB Serial Class driver? https://msdn.microsoft.com/en-us/library/windows/hardware/dn...

At least on recent OSX the OS CDC one seems more robust than the FTDI provided one if you pull a cable while it's running. (I assume it's a genuine chip, who knows!)

Re:Have FTDI kicked-off round 2 of the clone wars? by cnvogel on Monday February 01, 2016 @08:50AM (#11011681)
People need a FTDI driver because the UARTs by FTDI aren't "class compliant". Just as most other interface chips aren't "class compliant".

Here are all the drivers for "proprietary" USB UARTs that are currently supported by Linux: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux....

Here's the class compliant "Abstract Control Model driver for USB modems and ISDN adapters": https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux....

Re:Have FTDI kicked-off round 2 of the clone wars? by creshal on Monday February 01, 2016 @08:55AM (#11011713)
One gem in the driver heap is Linux' FTDI driver: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux....
Re:Have FTDI kicked-off round 2 of the clone wars? by theGimp on Monday February 01, 2016 @09:57AM (#11012027)
Hah. Wonderful.

  /*
   * Certain versions of the official Windows FTDI driver reprogrammed
   * counterfeit FTDI devices to PID 0. Support these devices anyway.
   */
  #define FTDI_BRICK_PID		0x0000
Re:Have FTDI kicked-off round 2 of the clone wars? by CountSessine on Monday February 01, 2016 @10:48AM (#11012391)
I seem to recall that the reason was that Windows XP had a very badly broken CDC class driver so everyone (FTDI and Prolific own this market) ignored CDC and made their interfaces vendor specific.

Here's the old knowledge base article for the fix that eventually patched usbser.sys:

https://support.microsoft.com/en-ca/kb/943198

Re:Have FTDI kicked-off round 2 of the clone wars? by creshal on Monday February 01, 2016 @08:50AM (#11011680)
Windows 10 automatically installs FTDI's driver without asking the user, or giving the user the option to opt-out, or a way to downgrade to a working version of the driver.

The best Windows ever keeps getting better; or something.

Re:Have FTDI kicked-off round 2 of the clone wars? by drzaiusapelord on Monday February 01, 2016 @10:14AM (#11012137)
Those FTDI chips and clones only work with that driver. They aren't class compliant. What should Windows do here when a device gives the FTDI USB ID? Seems like its doing what it should.
Re:Have FTDI kicked-off round 2 of the clone wars? by Nullabillity on Monday February 01, 2016 @10:42AM (#11012337)
Use the old driver? At least give the user the option to keep using the old driver?
Re:Have FTDI kicked-off round 2 of the clone wars? by drzaiusapelord on Monday February 01, 2016 @10:46AM (#11012376)
Windows has driver roll-back built-in.

Also, businesses typically use WSUS, where you need to intentionally whitelist driver updates.

If you have a CNC machine set to get all Windows Update from MS without oversight and testing, well, you're doing it wrong. I suspect a lot of "GUISE MY CLIENTS ALL HAVE DOWNED MACHINES THIS MORNING" is straight-up bullshit. In my experience, CNC machines are sacred cows and never, ever updated, let alone ever get driver updates. Hell, it isn't even patch Tuesday.

This does punish the hobbyist who just bought some toy and WU grabbed the latest driver. The world's manufacturing isn't going down this morning. Lets stop being naive.

Re:Have FTDI kicked-off round 2 of the clone wars? by nitrogen on Monday February 01, 2016 @12:01PM (#11013045)
Any time you use words "typically" and "doing it wrong", you can assume that thousands of people are typically doing it wrong.

Also, it's a little late for driver rollback if your hardware is already bricked.

Re:Have FTDI kicked-off round 2 of the clone wars? by parfe on Monday February 01, 2016 @11:45AM (#11012892)
Had to resort to the FTDI supplied driver on OSX because the OSX bundled FTDI driver caused the entire usb subsystem to die.

I reproduced the issue by connecting two FTDI serial ports, opened each /dev/cu.usbserial* device node with a screen session, and piped War and Peace.txt through at 115200 baud. Closing the screen session on the read end would cause ALL usb devices connected to the Mac to cease functioning.

Re:Have FTDI kicked-off round 2 of the clone wars? by daphreak on Monday February 01, 2016 @09:02AM (#11011751)
You can get better performance using the proprietary driver because you get access to all the device parameters. Depending on your application this can be critical.