News for hackers. Stuff that matters.
Re:A brief history of USB, what it replaced, and what has fa... by Pxtl on Sunday August 17, 2014 @08:26PM (#8190964)
I seriously don't miss midi/game ports and serial and parallel ports. That said, the inability to draw power through a port that is currently hosting peripherals is a huge flaw that's really hindered smartphone docking stations.
Re:A brief history of USB, what it replaced, and what has fa... by to3m on Sunday August 17, 2014 @08:46PM (#8191012)
One nice thing about the PC's parallel port was that it was bidirectional, relatively straightforward to program, could be programmed at a reasonable rate, and supplies/accepts a standard TTL +0V/+5V. This allows interfacing with a reasonable range of devices using a cable that's relatively simple to make up. Doing the same thing over USB is possible, but you need a microcontroller, which means more programming (i.e., more things to go wrong).

But this isn't a common problem. I don't rue the passing of all the nonsense that USB replaced.

Re:A brief history of USB, what it replaced, and what has fa... by joezydeco on Sunday August 17, 2014 @10:43PM (#8191246)
It's kind of boggling to read project blogs from people messing with Arduinos and Raspberry Pis and, after all the unpacking and setup and breadboarding and programming, they can finally light up an LED as their hello world.

When we had basic PCs and parallel port you could literally take a resistor + LED, twist them together, stick it into the parallel port itself and with a line or two of MS-DOS shell script make it light up.

Re:A brief history of USB, what it replaced, and what has fa... by tedunangst on Monday August 18, 2014 @12:10AM (#8191399)
Well, it is for good reason that multi-user operating systems don't permit arbitrary processes to do port IO. That said, if all you want to do is poke the LEDs on an arm board, dd to /dev/mem as root will probably do the trick.
Re:A brief history of USB, what it replaced, and what has fa... by DanBC on Sunday August 17, 2014 @10:46PM (#8191253)
and if you replaced the LED for a speaker, and created a resistor ladder, you could squirt data out the parallel port and get sound.

The NO$GB emulator used this, for example. And even though it was horrible it was authentically horrible.

Re:A brief history of USB, what it replaced, and what has fa... by caf on Sunday August 17, 2014 @11:57PM (#8191373)
Those were actually sold commercially, too - as the "Covox Speech Thing". This meant that home-made parallel port resistor ladder DAC was supported in many games.
Re:A brief history of USB, what it replaced, and what has fa... by ja27 on Sunday August 17, 2014 @10:01PM (#8191164)
It's pretty amazing what we managed to attach to the humble parallel port. My first CD burner was a big parallel port device.
Re:A brief history of USB, what it replaced, and what has fa... by pjmlp on Monday August 18, 2014 @01:24AM (#8191521)
Oh the memories of buffer underruns.

"DON'T touch the computer it's burning a CD!"

Re:A brief history of USB, what it replaced, and what has fa... by astrodust on Monday August 18, 2014 @01:41PM (#8193627)
Don't even walk on the floor near it or you'll shake it and ruin the burn.
Re:A brief history of USB, what it replaced, and what has fa... by MBCook on Sunday August 17, 2014 @09:43PM (#8191121)
The fact that the parallel port was the only high speed bidirectional port also lead to attempts to daisy chain things that usually didn't work past a device or two. So you may have an external drive or a scanner and your printer and if you were lucky you could leave it all plugged together and it would work.

I also remember being short of COM ports between modems, drawing tablets, special game controllers that didn't use the joystick port, etc. Installing a serial card for additional ports was one of my first upgrades.

Re:A brief history of USB, what it replaced, and what has fa... by tlarkworthy on Sunday August 17, 2014 @09:43PM (#8191122)
still, that occasional use case is catered for with a USB breakout board, or a USB to serial. So it's not like we have really lost anything
Re:A brief history of USB, what it replaced, and what has fa... by throwketchup on Monday August 18, 2014 @01:39AM (#8191538)
Except for the "reasonable rate" bit, which (IMHO) also includes "reasonable latency." Real UARTs can be used for, e.g., pulse-per-second inputs from GPS or atomic clocks to discipline an NTP server. That doesn't work for a USB->serial thingy (because the latency is literally three orders of magnitude worse).
Re:A brief history of USB, what it replaced, and what has fa... by MBCook on Sunday August 17, 2014 @10:26PM (#8191214)
It doesn't always work.

I've seen serial devices that are so picky with timing that they'll work with real serial ports but most USB->Serial adapters cause programming to fail.

Re:A brief history of USB, what it replaced, and what has fa... by joezydeco on Sunday August 17, 2014 @10:48PM (#8191256)
And let's not forget the 80% of USB->Serial adapters that are using counterfeit FTDI chips and barely work at all, if you can get an O/S to recognize it.
Re:A brief history of USB, what it replaced, and what has fa... by superuser2 on Monday August 18, 2014 @12:53AM (#8191475)
Is that really the case? You've always been able to simultaneously charge and sync your iDevice with your Mac.
Re:A brief history of USB, what it replaced, and what has fa... by ygra on Monday August 18, 2014 @07:47AM (#8192241)
As far as I know you can get only up to 500 mA if you specifically request it. Ports that support more (e.g. on dedicated chargers) have their data lines shorted and thus you cannot transmit anything.

So you can charge your device, it just takes ages. And might even discharge slowly if you still have the screen on.

Re:A brief history of USB, what it replaced, and what has fa... by gambiting on Monday August 18, 2014 @10:18AM (#8192693)
That's what the spec says, but that's not what most manufacturers are doing. With many motherboards you also get a driver that overrides the hardware limitations and provides up to 2.1Amp to a USB device, regardless of whatever you are communicating with it or not. And only a very very very small number of devices actually requires the data lines to be shortened together - PS Vita will not charge from a charger which does not have these to lines shortened together. Even the dedicated Apple USB charges don't have the data lines shortened together and pretty much everything charges from them(apart from PS Vita), so very few companies keep to the standard here.
Re:A brief history of USB, what it replaced, and what has fa... by LaikaF on Monday August 18, 2014 @09:34AM (#8192515)
They're talking about plugging a keyboard to your phone (or tablet) while charging it.
Re:A brief history of USB, what it replaced, and what has fa... by Pxtl on Monday August 18, 2014 @09:53AM (#8192601)
Notice the dearth of SoundDock-like devices for Android? That's what I'm referring to. Devices where the android phone/tablet device is (a) being charged, but also (b) hosting a speaker (or wired gamepads or whatever).