Slashdot Mirror


What USB Has Replaced (And What it Hasn't) (arstechnica.co.uk)

An anonymous reader writes with a story at Ars Technica about the evolution thus far of USB as an enabling technology: Like all technology, USB has evolved over time. Despite being a 'Universal' Serial Bus, in its 18-or-so years on the market it has spawned multiple versions with different connection speeds and many, many types of cables. A casual search around the shelves by my desk shows that I've got at least 12 varieties, and that's not even counting serial and PS/2 adapters. What have you replaced with USB?

35 of 299 comments (clear)

  1. Not replaced: serial and parallel ports. by Anonymous Coward · · Score: 4, Insightful

    1. Serial ports, because you don't need a complex microcontroller and driver stack just to throw a few bytes between two machines.

    2. Parallel ports, because sometimes you want some basic high/low monitoring on a few lines and you don't want some ridiculous custom peripheral just to do this.

    1. Re:Not replaced: serial and parallel ports. by Opportunist · · Score: 5, Interesting

      Yup, pretty much this.

      It's trivial to implement a serial connection in a microcontroller. All you need is a level shifter like the dime-for-dozen MAX232 and you're set. For USB, this requires a lot more implementation overhead (not to mention getting a genuine UID if you want to ship it), and literally EVERYONE who has ever even dabbled in microcontroller programming knows how to deal with a MAX232. Pushing information down the serial line is like the Hello World of microcontroller tinkering.

      That's why you can still get PCI-E serial controller rather cheaply. And, lo and behold, almost all of them contain some variant of the MAX232.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    2. Re:Not replaced: serial and parallel ports. by Anonymous Coward · · Score: 2, Insightful

      Or, just use an FT232 and connect your UART to an emulated serial port. Having a true hardware serial port is useful at times, but for micro-controllers an FT232 with a USB connection on one end and the uart on the other is usually easier...

    3. Re:Not replaced: serial and parallel ports. by AC-x · · Score: 4, Funny

      My motherboard doesn't even have serial or parallel ports you insensitive clod!
       
      ... I suppose I could use one of these...

    4. Re:Not replaced: serial and parallel ports. by Anonymous Coward · · Score: 2, Informative

      A MAX232 chip converts the +5V/0V of a uart (let's assume we're running at 5V) to the RS232 standard signal (-12V/+12V or thereabouts). In other words, it converts RS232 to TTL and back. A FT232 takes the TTL coming from a UART and presents itself to the system as a virtual USB serial port (it is thus a USB to UART converter).

    5. Re:Not replaced: serial and parallel ports. by dotancohen · · Score: 4, Insightful

      1. Serial ports, because you don't need a complex microcontroller and driver stack just to throw a few bytes between two machines.

      The poster seems to not understand what the words "universal" and "bus" mean in "Universal Serial Bus". He has 12 different varieties of physical connectors, but they all use (different compatible versions of) that same bus protocol, so he can simply use an adapter to interconnect between them. His PS/2 "adapter" is unreliable, does not completely support either the PS/2 or USB protocols, and will not work with many high-draw PS/2 HID devices, such as the PS/2 Model M keyboards (Lexmark, then Unicomp). Rather, there is a 'standard' mapping of PS/2 connectors to USB that most USB controllers support, but that is a USB feature.

      --
      It is dangerous to be right when the government is wrong.
    6. Re:Not replaced: serial and parallel ports. by _merlin · · Score: 4, Informative

      Serial ports are definitely still alive and well as a connection of last resort. All my network switches, rack mount servers etc. have a serial console port to help when you can't use the usual network administration interface. Professional desktops also tend to have serial ports allowing you to do initial setup of one of these devices without the need for a USB to serial adaptor.

      Centronics-style parallel printer ports, on the other hand, really do seem to have disappeared. You'd be hard pressed to find a computer that includes one any more. They were always a bit troublesome, without good two-way speed negotiation, and with generally unreliable daisy-chaining of peripherals. Requiring thick cables and using unbalanced signals also contributed to poor reliability at higher speeds. It was nice for hobby projects to be able to get logic levels straight out of the connector, but they weren't the best interface for anything else.

    7. Re:Not replaced: serial and parallel ports. by SuricouRaven · · Score: 2

      2. Doesn't work any more. Due to changes in how parallel ports are implimented now, you can't do line monitoring or bit-bang the output on all ports. It's one reason a lot of factories with CNC machines keep a few ancient PCs around to operate them.

    8. Re:Not replaced: serial and parallel ports. by ZorinLynx · · Score: 4, Informative

      Centronics parallel ports are something that I do not miss. Even slightly.

      Before the USB era, pretty much every peripheral that needed a faster connection than serial but was too cheap to implement SCSI used a parallel port. Webcams (Connectix QuickCam was a famous one), Zip drives, laplink cables, etc... it was insane. Parallel ports provided no power, so these devices either required a power brick or stole power from the AT/PS2 keyboard interface.

      When it worked, great! When it didn't, good luck getting it working. I always used to pay a little more for SCSI when it was available because it was faster and a million times more reliable.

      Remember the Zip Drive Plus? It was a drive that could either do SCSI or Parallel on the same port. I like to think of it as the height of the clunky, kludge-filled world we had before USB.

      If the personal computer market ever had a "savior", it would be USB. It was truly a dark time before that.

    9. Re:Not replaced: serial and parallel ports. by ShanghaiBill · · Score: 2

      A MAX232 chip converts the +5V/0V of a uart (let's assume we're running at 5V) to the RS232 standard signal (-12V/+12V or thereabouts).

      It is also unnecessary 99.9% of the time. Nearly all RS232 devices and hosts will work just fine with TTL voltages (+5V/GND).

    10. Re:Not replaced: serial and parallel ports. by AaronW · · Score: 2

      Some USB to serial adapters are better than others. I've found that the real FDT-based ones tend to be the best. USB to parallel adapters tend to have problems. For example, I have some label printers and cannot talk to them with the USB to parallel adapters but they work fine with a real parallel adapter or a parallel network print server. They also don't work well for bit banging and have a high latency if they can work at all.

      --
      This post is encrypted twice with ROT-13. Documenting or attempting to crack this encryption is illegal.
    11. Re:Not replaced: serial and parallel ports. by MobileTatsu-NJG · · Score: 2

      And yo mama is SCSI.

      --

      "I like to lick butts!" by MobileTatsu-NJG (#32700246) (Score:5, Informative)

    12. Re:Not replaced: serial and parallel ports. by _merlin · · Score: 2

      Because you want to be able to walk up to the box and get a console without having to fuck around with drivers, functions, endpoints, pipes and the rest of the USB stack. Serial just works - bang bits at the right speed and you're in business. You can build a really simple, dumb serial device that acts as a terminal. USB doesn't have a universal way to talk to devices like that.

    13. Re:Not replaced: serial and parallel ports. by arglebargle_xiv · · Score: 2

      Some USB to serial adapters are better than others. I've found that the real FDT-based ones tend to be the best.

      And Prolific, specifically the infinite variations of the PL2303 and its even more buggy clones, are the worst.

    14. Re:Not replaced: serial and parallel ports. by drinkypoo · · Score: 2

      I wish I could find USB-RS232 adapters that actually output the proper voltages...

      You piqued my curiosity, so I did that with google in three minutes. The device uses the FTDI FT231X USB to serial with the FTDI FT3243S serial level shifter and promises an output swing of maximum +/- 15V, with all I/O protected against ESD. You may paypal the beer money to my email address, above.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  2. Pretty much everything by Todd+Knarr · · Score: 4, Insightful

    USB's been the connector of choice for most of my peripherals. It replaced the floppy drive connector for portable media. It replaced dedicated connectors for keyboards, mice, tablets and the like. My headsets are almost always USB, whether they're wired or wireless. Webcams. The only things I don't use it for are primary networking (hardwired Ethernet there), non-portable mass storage (hard drives and optical drives), and video. Sometimes I still use the PS/2 keyboard connector for non-Windows UEFI systems where a USB keyboard won't get initialized during POST. It's fast enough, there's typically more than enough connectors (especially with a hub for non-latency-sensitive devices), and it's almost universally present and usable.

    1. Re: Pretty much everything by mark-t · · Score: 4, Funny

      I have this terrible feeling that I'm probably going to regret asking this, but why do you need to press 10 keys at once?

    2. Re: Pretty much everything by Maxwell'sSilverLART · · Score: 4, Funny

      I have this terrible feeling that I'm probably going to regret asking this, but why do you need to press 10 keys at once?

      In a word: EMACS.

      --
      Moderate drunk! It's more fun that way!
  3. Surprisingly little by Anonymous Coward · · Score: 2, Informative

    What have you replaced with USB?

    Keyboard and mouse.
    Scanner, though I didn't have a scanner prior to getting USB.
    USB flash drives, though I rarely use those. They mainly replaced floppys or zip disks.

    I went from SCSI to firewire to eSATA. USB for storage has always been considered a fallback.
    Network printers have become so cheap that using one for just two computers is reasonable. At least that was my thinking for getting one at home.

    I use a bunch of USB devices not mentioned here, but they didn't exist prior to the introduction of USB, which mean they never existed in a non-USB version and USB never replaced the interface. It's more like USB greatly expanded the available devices you can connect your computer to. If you asked what I have connected to the computer, which you didn't have prior to getting USB, then the answer would be totally different.

  4. Re:Displays by Noah+Haders · · Score: 4, Informative

    like usb3?

  5. Proprietary charging cables are devil's work by sjbe · · Score: 2

    The only reason this even remotely sounds good is because everybody has forgotten how fast proprietary chargers are.

    As if that even remotely overcomes the deficiencies of proprietary charging cables. The fewer cable types we have to deal with the better. Power and data can and should go over the same cables. USB is imperfect but it's a huge improvement over what we used to do. Proprietary charging cables are wasteful, annoying, redundant, and unnecessary unitaskers. They are thinly veiled attempts at vendor lock in. I don't care how well they might work for the actual act of charging, they fail in every other way.

    Now USB just needs to settle on a single un-keyed connector that can carry enough power to run a laptop and has enough speed to run a display. We're just about there.

  6. I haven't replaced serial ports... by Mirar · · Score: 3, Interesting

    ...I know I haven't managed to replace serial ports. I haven't found any stable RS232 converter on USB...

    Either drivers don't work, or everything I get is badly made (fake?).

    Kind of weird that *serial* ports don't work well on an *universal serial bus*. But ah well.

  7. It replaced freedom by Anonymous Coward · · Score: 3, Interesting

    Before USB, the PC had parallel ports, serial ports, Keyboard and mouse ports, ALL of which were unencumbered by patents and none of which required ID codes that had to be purchased from a monopolistic trade entity for $4000 or more. There was a minimal cost of entry for anybody in a garage who had a clever idea for something to add to a PC and even individuals could quickly hack together an interface to some custom hardware via the parallel port with no need for complex USB code and drivers. If you only plan to make a hundred gadgets, USB is insane. The Price to get a required ID number for your gadget is not reasonable, and if you use a USB-to-Serial chip with somebody else's ID number, you have essentially admitted you could have just used a standard serial port but are putting extra junk in your design because the host PC is missing the old standard serial port.

    Microsoft hated this openness because it meant a huge array of stuff with which they had to avoid breaking compatibility in each new Windows release, so they wanted it all replaced in the PC99 spec with USB. At the time, they pretended no modern computer could run efficiently while connected to such old slow interfaces (something Linux proves is false) and that this was all for the benefit of the users.

    Sadly, most people seem not to realize that many of the things (like mice,keyboards,serial adapters, etc) that use USB do not even need its speed. We would all have been much better served with an open, un-patented, USB-type interface without the MPEG-LA-style USB authority. There's no reason why ID numbers should not be bought as easily as MAC numbers (i.e. if a developer wants a few without going to the responsible authority, he can buy s cheap EEPROM from somebody like Microchip with a unique assigned number already burned-in).

    USB is a very "mixed-bag" - better for live connect/disconnect, power and management on std cables and cons, but soul-sucking rights-hogging and freedom-squelching.

    Personally, I'd like to see the whole industry replace USB with PoE (NOT using the infamous and un-necessary PoE patents). Drop all interfaces on a PC and do EVERYTHING with PoE - Keyboards, mice, printers, scanners, drives, everything. An open UDP-based protocol stack could be used to ID devices and detect when they plug-in. All devices could have standard (royalty-free) assigned device type codes just as we have standard assigned numbers. There's no reason other than control and royalties for why we need an authority selling numbers over a desktop bus.

  8. USB created a whole category of products. by 140Mandak262Jamuna · · Score: 4, Funny

    No one ever figured out the right way to power a little fan attached to the chop sticks to cool your noodles as you pull them from the bowl, till USB came along. And there were some twenty more such crazy things powered by USB.

    --
    sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
  9. Apple Desktop Bus by Dusthead+Jr. · · Score: 2

    I've always been fond of Apple's ADB. It seemed like the closest thing to USB as far as I know of, at least compared to IBM's PS/2. ADB seemed more versatile than PS/2, which was easy to mistake the PS/2 mouse port with the PS/2 keyboard port. The only other versatile port I can think was SCSI with it's ability to chain devices.

    1. Re:Apple Desktop Bus by Etcetera · · Score: 2

      I've always been fond of Apple's ADB. It seemed like the closest thing to USB as far as I know of, at least compared to IBM's PS/2. ADB seemed more versatile than PS/2, which was easy to mistake the PS/2 mouse port with the PS/2 keyboard port. The only other versatile port I can think was SCSI with it's ability to chain devices.

      Yeah, this. Surprised more people haven't mentioned this. ADB was pretty far ahead of its time, considering it debuted with .. what, the Mac SE? Apple IIGS? I forget which of those came out first, but certainly way back in the day.

      More to the point... All this discussion about USB adoption without really mentioning what made it actually take off. The Original iMac. Only someone like Steve Jobs could get the company to agree to drop essentially ALL legacy support at once and force people into this newfangled thing. Apple missed the boat on CD-RW's for a few years, but the iMac really ignited widespread USB adoption on both sides of the divide.

    2. Re:Apple Desktop Bus by BlueUnderwear · · Score: 2

      I disagree. It was a right bloody pain in the arse.

      I think you should report that Mac for aggravated rape (and maybe make yourself some pocket money in the process?).

      My sister got an iMac to go to uni and the sodding thing came with USB only.

      Hey, maybe she should carry that iMac around with her everywhere she goes on campus, and there's her art project for the final year?

      USB sticks didn't exist more or less and besides, USB on PCs was so flakey that had they existed they would have been unusable.

      Well, if I remember correctly, back then those USB sticks were bigger (physically, I mean, not memory-wise), so they were not completely useless...

      The solution of course was to get a USB Floppy drive for exchanging data with people.

      Well, another advantage of the usb sticks. Those never went floppy.

      Oh and the scanner. Oh my god. Ever tried running a scanner on USB1? Now that is a good way to learn patience. Scanning needed to be done, but that thing was so slow. Much.

      You womenfolk are never happy. Often we're to quick for you, and now you complain about slowness...

      The USB port was far slower than the scanner hardware. It would zip along, stop, upload data, zip along etc etc. I swear it took minutes per page, or worse.

      hehe, maybe you should get a USB car instead, with a little bit of luck, it would zip along, stop, produce some petrol, zip along, etc. And then you could sell that petrol to the other people, whose car consumes petrol instead...

      Oh yeah and then there was the sodding puck mouse. Wretched thing. Third party USB mice did exist fortunately, but they weren't all that common, weren't all that reliable and were expensive too, compared to the infinite number of quality PS/2 mice around.

      But that mouse sure would feel nice in your cunt....

      Legacy free is fine, but they were about 5 years too early.

      A, there you go! Complaining again about being too early!

      --
      Say no to software patents.
  10. USB is a support nightmare by fyngyrz · · Score: 4, Interesting

    Unlike ethernet, which is pretty much standard from platform to platform and basically trivial to support, USB code is completely different between linux, OS X, and Windows, and is a mess, API-wise.

    I write software defined radio stuff, and after one incredible nightmare getting a USB SDR to work on all three platforms using conditional compilation (I did succeed), I swore off. No more. If it doesn't have an ethernet interface, or a USB-to-ethernet server app compatible with the standard SDR protocols that makes it appear to me as an ethernet SDR, it's not happening.

    Luckily, some of the best SDR manufacturers out there have done it right. Andrus, AFDRI, and RFSPACE. And there are some servers that have been built to hide the abortion of USB, but so far they are very much platform-specific, for the very reason I described above.

    USB. Ugh.

    --
    I've fallen off your lawn, and I can't get up.
    1. Re:USB is a support nightmare by Anonymous Coward · · Score: 4, Interesting

      All you have to do is create yet another API, and use it to write shims for the other three!

      Seriously, though, the way Windows handles USB is so amazingly stupid. Unplug a mouse from one port and plug in into a different port. I'm not even talking about some special custom type of device that needs proprietary drivers, just a generic HID mouse. It will then spend about 30 seconds "installing" the drivers for that other port. And good luck if you take a hub full of devices and plug that into a different port.

    2. Re: USB is a support nightmare by Redmancometh · · Score: 3, Insightful

      Found the guy who last used or upgraded Windows a decade ago.

    3. Re:USB is a support nightmare by Anonymous Coward · · Score: 2, Informative

      Windows 7 still does it.

    4. Re:USB is a support nightmare by KingMotley · · Score: 4, Interesting

      This doesn't happen if your USB device properly supports USB serial numbers. The problem only exists if windows has to generate a semi-unique serial number for the device because it decided not to implement it.

    5. Re:USB is a support nightmare by LinuxIsGarbage · · Score: 2

      Then there's trying to use USB->RS-232 adapters. Plug it in one port and it's COM1, plug it in another port and it's COM2. Plug it back in the first port and it's COM3. Then you can't re-designate it to COM1 in device manager because it's mysteriously "in use". This is particularly a problem for antique legacy software that only recognize COM1-4, (and suddenly you can't get anything lower than COM12) and generally a pain in the ass because you have to double check the COM port of the adapter before using it in software.

      * The best way to rectify it is under environment variables in system properties, set "devmgr_show_nonpresent_devices=1", then in device manager you can "view- show hidden devices" Delete the multiple copies of your serial port and now you can set a lower COM port.

      While you're at it you can clean out every mouse, keyboard / port combination, and every flash drive / port combination since the beginning of time.

      * This Microsoft KB talks about setting the environment variable in a command prompt which will work one time. Adding it to system properties leaves that option always in Device manager.

    6. Re: USB is a support nightmare by krakelohm · · Score: 2

      Eventually... after he was able to use his keyboard and mouse again.

      --
      You are all a bunch of idots.
  11. Unitasking cables are dumb design by sjbe · · Score: 2

    We no longer need ANY CABLE for data.

    What universe are you living in? I run a company that manufactures wire harnesses. If we didn't need data cables I wouldn't have a job anymore. If you are one of these deluded people who thinks we can do everything through wireless then you couldn't be more wrong. The need for data cables will be around long after you and I are gone. What we don't need is unnecessary, redundant, uni-tasking cables. Single function power cords cannot die soon enough for mobile devices.

    It's only where POWER and DATA go over the same cable that we end up with horrible proprietary crap!

    Come again? USB isn't "horrible proprietary crap" and it has power and data. Basically none of the cables we are talking about are proprietary EXCEPT for stupid vendor supplied power connectors. Perhaps you aren't old enough to remember every frickin' cell phone vendor shipping their own unique power cable. Now you basically have either micro-USB or if you are using Apple, lighting. Prior to USB-C so did every laptop vendor. HUGELY wasteful with no commensurate performance benefit.

    Laptops have had that forever... Their simple barrel connectors can pull 200W+, no trouble at all.

    Who gives a shit? What mobile device are you using that needs to pull 200W? My desktop computer doesn't even use that much power. Single function cables are idiotic, wasteful and unnecessary in the vast majority of cases. Particularly ones that only one vendor uses. The barrel connectors used on many laptops are particularly annoying. Having to carry a special quasi-unique power cord around everywhere is idiotic design.

    And no USB connector will ever be 1/100th as durable as a tough, simple, basic barrel connector.

    Demonstrably not true and completely missing the point. Barrel connectors have their uses but powering a laptop, tablet, cellphone or other mobile device should not be one of them. It is wasteful, unnecessary, and provides no meaningful performance benefit. The ONLY time a unitasking cable should be used with a mobile device is if there is a undeniable performance benefit, it will never be unplugged, and there is no multi-function substitute available.