Slashdot Mirror


Will the Serial Console Ever Die?

simpz writes "Will the serial port as a console connection ever be displaced — especially for devices such as switches, routers, SAN boxes, etc.? In one sense it's a simple connection. But it is the only current port that, in order to use, you need to know about wiring / baud rates / parity, etc. It has non-standard pinouts. And it is becoming too slow to upload firmware to dead devices, as the firmware updates get larger. Also, the serial port is rapidly disappearing from new laptops — which is where you often really need it, in data centers. Centronics, PS/2, and current loop are mostly defunct. Is there any sign on the horizon of a USB console connection?"

460 comments

  1. You can buy a serial-to-usb converter for $15 by tomhudson · · Score: 4, Informative

    I use one just fine with an old WACOM 12" tablet under linux, so while the port may be dead, we can still use serial software and hardware. There's no reason you can't use two $15 converters plus a null modem to run that old DOS-based serial telecom program (ah, telix ... thanks for the memories).

    1. Re:You can buy a serial-to-usb converter for $15 by Anonymous Coward · · Score: 5, Informative

      Also there are single chip rs232 to USB solutions available for a few dollars. They are used in lots of things these days. They are great for when the device your making only needs a simple serial port connection to a pc or other device. Arduino uses one on their boards. I cant really think of any other examples at the moment. But I dont see serial console dying anytime soon, its still really useful to have around.

    2. Re:You can buy a serial-to-usb converter for $15 by transporter_ii · · Score: 4, Informative

      I would like to point out that, while converters work just fine for almost everything, they do not work for everything. I've personally ran into equipment that would not read with a serial to USB converter. I've worked a little in SCADA, and you just about had to special order a laptop with a real serial port on it, or you just couldn't read all the equipment in the field.

      But if you know what you are wanting to use with a converter works, then they usually work just fine.

      --
      Doctors destroy health, lawyers destroy justice, universities destroy knowledge, religion destroys spirituality
    3. Re:You can buy a serial-to-usb converter for $15 by tomhudson · · Score: 3, Interesting

      It depends on the serial-to-usb converter chip used. Some don't do a good job of replicating all the characteristics of the port. Best advice is try different types until you find one that works. The newer ones do a good job - the older ones were really hit-and-miss (mostly miss) affairs.

    4. Re:You can buy a serial-to-usb converter for $15 by russotto · · Score: 5, Informative

      It depends on the serial-to-usb converter chip used. Some don't do a good job of replicating all the characteristics of the port. Best advice is try different types until you find one that works.

      The biggest problem I've found even with the good ones is timing sensitive stuff. In some OSs (Linux included), when a synchronous write to a serial port concluded, pretty much all but the last character was already out on the line. With a USB serial port, the data is probably buffered on the device; it will go out many milliseconds later (because serial is slow). So if you've built timeouts into your code, they're all wrong now.

    5. Re:You can buy a serial-to-usb converter for $15 by Anonymous Coward · · Score: 0

      The Sheeva Plug dev kit uses one

    6. Re:You can buy a serial-to-usb converter for $15 by Anonymous Coward · · Score: 0

      A lot of GPS devices use these as well (I've got a DG-100).

    7. Re:You can buy a serial-to-usb converter for $15 by Zerth · · Score: 2, Interesting

      Yarg, I've got some industrial machinery that uses serial and I've yet to find a converter that has timing exactly like a real serial port. Know any with very exact timing(not bloody likely with USB)?

      Fortunately, most of our newer machinery runs on straight cat5.

    8. Re:You can buy a serial-to-usb converter for $15 by ScrewMaster · · Score: 2, Interesting

      Yarg, I've got some industrial machinery that uses serial and I've yet to find a converter that has timing exactly like a real serial port. Know any with very exact timing(not bloody likely with USB)?

      Fortunately, most of our newer machinery runs on straight cat5.

      I'd guess you're running Modbus, or something similar.

      --
      The higher the technology, the sharper that two-edged sword.
    9. Re:You can buy a serial-to-usb converter for $15 by RightwingNutjob · · Score: 1

      A microcontroller intermediary would probably be the best way to go: PC -> usb ->usb2serial -> microcontroller -> serial -> machinery A bunch of PICs come with two built-in UARTs, and can be coded to do exact timing on the side where it matters.

    10. Re:You can buy a serial-to-usb converter for $15 by popeye44 · · Score: 3, Interesting

      I work in an environment where we use Serial connections on Sprinkler controllers to Intersection battery backup and even traffic counters. We have multiple devices in which the usb to serial does not work. "multiple brands" Fortunately since most of our guys doing this type of work are outside daily in all weather. We started buying toughbooks around 6 years ago. As they are mil-spec they require that port. Imagine my surprise when I got a newer model HP 6730b and it had a serial port but no hdmi/displayport etc? It's the first serial on a brand name corporate laptop I've seen in a long while."However we are limited to which mfg's we can buy from most of the time" Serial needs to go. It's the fault of the obscure hardware mfg's that keep it around. Instead of designing something around USB.

      --
      Inane Comments are Generously Disregarded
    11. Re:You can buy a serial-to-usb converter for $15 by Camel+Pilot · · Score: 4, Informative

      Right you are.... especially things like port powered 232 to 485 converter. Spent a half a day trying to get one to work until I measured the voltage on the handshake lines it was using for power - 3.5 volts which was a 1/10 volt lower than required by the converter.

    12. Re:You can buy a serial-to-usb converter for $15 by fm6 · · Score: 1

      Where? Mine cost $35. Had to have one, because my laptop has no serial ports, and I was writing administrative manuals for Sun servers. The fact that I needed a serial port despite the extremely sophisticated alternatives to a serial console on Sun servers should tell you something.

      I remember Telix. Excellent piece of software. Fast, good scripting language, excellent built-in file transfer implementations, nice plugin architecture (though the builtin features pretty much made it it superfluous). My biggest disappointment was that it didn't get ported to Windows until way too late. And there still isn't a Windows serial terminal program that's half as good.

      Amusing discovery running Telix under Windows 3.0. When I first tried it, it was slow as hell. Increasing the DOS box priority didn't help. Then it occurred to me that the whole program must be written around a serial port polling loop. Querying hardware status too often in a 386 virtual machine was bound to slow the program down. So I lowered the priority, and Telix started running as fast as before.

    13. Re:You can buy a serial-to-usb converter for $15 by Sponge+Bath · · Score: 5, Informative

      That is defective design. Receive sensitivity for RS-232 is +/-3V so the signal is within spec. There are plenty of RS232 and RS485 devices that work off 3.3V using integrated charge pumps, and this device requires 3.6?. Double fail! I bet you were pissed off when you figured this out ;-)

    14. Re:You can buy a serial-to-usb converter for $15 by GNUALMAFUERTE · · Score: 4, Interesting

      The main issue is delay. USB is a complex standard, it requires more processing power on both sides to run, and it's not truly great for realtime applications.

      Certain simple electronic devices are just meant to be serial. Most PICs have built-in RS232/RS485 support while only few have USB support (and the very few are way more expensive.

      I was wondering the same thing the other day. Actually, the only thing that is dying is parallel output.

      Think about it:

      LPT got replaced by USB
      PCI (Which is parallel) got replaced by PCI express (serial)
      IDE/PATA got replaced by SATA
      Parallel SCSI got replaced by Serial SCSI

      But regarding serial devices, wether it's USB or the simpler and slower RS232, they are here to stay. They are cheaper, simpler to implement, and more effective. Computers will have UART chips as long as 3D routers, PIC recorders, home-made electronics, and other similar devices have RS232 ports.

      I believe we'll see RS232 for at least another decade.

      --
      WTF am I doing replying to an AC at 5 A.M on a Friday night?
    15. Re:You can buy a serial-to-usb converter for $15 by GNUALMAFUERTE · · Score: 1

      Precisely. Real time apps like 3D routers still require something like RS232. Until we get a replacement with such RT capabilities, RS232 will be around. The deal i, there's no need for a replacement, 'cause for such real time apps, RS232 i more than enough, and well known/documented. And cheap.

      --
      WTF am I doing replying to an AC at 5 A.M on a Friday night?
    16. Re:You can buy a serial-to-usb converter for $15 by tomhudson · · Score: 1

      Same place I buy 8' usb cables for $2. accesselectronique.com - they're about 2 kilometers from where I live. $15 for a 5-port switch (not a hub - a real switch). Case fans for a buck - or less when they're on special.

    17. Re:You can buy a serial-to-usb converter for $15 by Blademan007 · · Score: 1

      They don't work with Cisco CSS load balancers. They need a real serial port, not USB-serial.

    18. Re:You can buy a serial-to-usb converter for $15 by 42forty-two42 · · Score: 1

      If you can find an ExpressCard-to-serial interface that doesn't cheat by using the USB bus on the port, the timing issues ought to be surmountable.

    19. Re:You can buy a serial-to-usb converter for $15 by Anonymous Coward · · Score: 0
      There are many unusual hurdles in my experience.

      The drivers are, in my experience, extremely low quality, and throw bluescreens from the USB/serial port on an otherwise well behaved machine.

      Keyspan devices also have no package/drivers for Ubuntu last I checked, with Google reporting on needing to recompile the kernel or some such things.

    20. Re:You can buy a serial-to-usb converter for $15 by Forge · · Score: 2, Funny

      According to some otherwise good SciFi (Stargate comes to mind) even alien devices use Serial.

      --
      --= Isn't it surprising how badly I spell ?
    21. Re:You can buy a serial-to-usb converter for $15 by jhol13 · · Score: 1

      Some "serial" devices use DTR (etc.) pins for communicating. USB adapters do have difficulties with those.

    22. Re:You can buy a serial-to-usb converter for $15 by Mr.+Freeman · · Score: 1

      If you have to try multiple devices which are pretty much identical then it's not really a solution, is it? I've run into the same problems where a serial to usb converter didn't work. I tried cheap ones and I tried expensive ones that some friends happened to have. Neither worked. Serial to usb converters are a poor solution.

      --
      -1 disagree is not a modifier for a reason. -1 troll, flaimbait, redundant, overrated are NOT acceptable substitutes.
    23. Re:You can buy a serial-to-usb converter for $15 by tzot · · Score: 1

      And there still isn't a Windows serial terminal program that's half as good.

      Oh, come on. Putty using RS232 is at least *half* as good.

      --
      I speak England very best
    24. Re:You can buy a serial-to-usb converter for $15 by fm6 · · Score: 1

      The domain you just provided belongs to a squatter. Nice that you live near a place with such bargains, but please note that $15 is a pretty standard price for a x5 switch. Switches have gotten so cheap, it's a wonder anybody bothers to manufacture hubs.

    25. Re:You can buy a serial-to-usb converter for $15 by mysidia · · Score: 1

      That's great, until you need to get a decent baud rate out of the port such as 76800 115200 or 230400 with proper behavior against finicky devices.

      Or to be able to send a proper BREAK signal over your 'USB serial port' to get the router into rommon mode for password recovery.

      Then suddenly (maybe) you find the $15 adapter isn't that good, and you need a feature that requires the $45 adapter that's hard-to-find .

    26. Re:You can buy a serial-to-usb converter for $15 by lukas84 · · Score: 1

      Yes. I've been running Windows 7 on my laptop since August (MS Partner), and i've had my first Bluescreen last week because of a Serial-to-USB Adapter. Shit sucks.

    27. Re:You can buy a serial-to-usb converter for $15 by micheas · · Score: 1

      I am pretty sure tomhudson wanted to link to accesselectronique.ca.

    28. Re:You can buy a serial-to-usb converter for $15 by IntlHarvester · · Score: 1

      I'm not as optimistic as you. RS232 will be around forever, but I'd bet the server/router/switch stuff standardizes on USB within 5 years.

      --
      Business. Numbers. Money. People. Computer World.
    29. Re:You can buy a serial-to-usb converter for $15 by BrokenHalo · · Score: 1

      I bought a serial-to-usb converter for a couple of bucks from a mob in China via fleabay in the hope that it would work. I didn't really expect it to, however, and as it turns out, that was just as well. :-{

    30. Re:You can buy a serial-to-usb converter for $15 by mangu · · Score: 1

      Some "serial" devices use DTR (etc.) pins for communicating. USB adapters do have difficulties with those.

      Especially if the device is powered by the serial port. The DTR, CTS, and RTS pins were often used to supply a few milliamps which were enough to power things like a serial port mouse, but sometimes the USB adapters cannot put out the needed current into the auxiliary pins.

    31. Re:You can buy a serial-to-usb converter for $15 by buchner.johannes · · Score: 1

      usb converters won't make the serial line faster ...

      --
      NB: The message above might reflect my opinion right now, but not necessarily tomorrow or next year.
    32. Re:You can buy a serial-to-usb converter for $15 by Anonymous Coward · · Score: 0

      You are assuming 3.3V Serial, serial ports were original 12V then 5V (hence the 3.6-4v requirement), then 3.3.

      The reason for the issues is much like PCI v2.3 (Original, not Express): It got rid of the legacy support that all devices really should have since there's no guarantee that those old devices aren't going to need to be accessed.

    33. Re:You can buy a serial-to-usb converter for $15 by mandel · · Score: 1

      DH485 on Allen Bradley equipment is impossible over a USB/Serial converter. So they made a special USB protocol adapter instead (some time after real serial ports became hard to find on laptops!)

    34. Re:You can buy a serial-to-usb converter for $15 by Hal_Porter · · Score: 2, Informative

      They can a bit - most of them suppport higher baud rates like 230, 460 or even 920 kbaud instead of 115. If you're flashing something from a PC that makes a difference.

      --
      echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
    35. Re:You can buy a serial-to-usb converter for $15 by Anonymous Coward · · Score: 0

      USB is a lot more sensitive to EMC. In some industrial environments USB does simply not work. A real fail is some new inverters with their programming / monitor interface changed from RS232 to USB. Start it up and try monitor it - even with beads it might be messy.

    36. Re:You can buy a serial-to-usb converter for $15 by Gordonjcp · · Score: 1

      ...just about had to special order a laptop with a real serial port on it, or you just couldn't read all the equipment in the field.

      The problem is that it's very hard to generate the right voltages for the serial port from the 5V 500mA USB port supply. If you got something like an FTDI chip and hung a couple of *proper* RS232 drivers off it running from a decent power supply, then you'd have a better chance of getting it to work. It would be bulkier, but still cheaper than ordering a special laptop.

    37. Re:You can buy a serial-to-usb converter for $15 by Anonymous Coward · · Score: 0

      another example would be connecting a PC or TiVo to a DirecTV receiver.. such as the H23-600. The H23 has a USB port, but from all I've read you need to use a Serial -> USB cable to plug into and control the H23 from your PC or TiVo as the H23 still uses RS232 as the control interface.

    38. Re:You can buy a serial-to-usb converter for $15 by dumb_jedi · · Score: 3, Informative

      Well, as a Electrial Engineer who designs equipment that have a serial console, I think I give you several reasons that the serial console will be round for some years yet.

      First, legacy. Most professional routers have come with a serial management console since ever. So anyone who's been trained to manage these devices use serial consoles for that. Of course, by being an IP equipment, you can manage them by accessing the same console using telnet, and you can upgrade their firmware using that console too. A USB to serial converter is a basic tool for anyone managing these type of routers

      Second, design. In a microcontroller, one of the simplest devices you can use is the serial port. A lot of bootloaders for embedded devices (U-Boot, Redboot, CFE) usually start with a banner on the serial console even before configuring the RAM controller on the CPU, so you know your board is running and you can output valuable error messages very early on the boot processes. Other devices, even a true USB console, need much more complex drivers that are loaded later on the boot process or need more configuration options than a simple "115,8n1" somewhere on the manual.

      Most domestic routers don't have a serial port. Well, they have, but you can't access them unless you open the case, the bottom line is that domestic users aren't even aware their wifi router have a serial port, much less that they have to use it. How often you need to unbrick your wifi router if you don't load custom firmware on it ? My guess is never.
      Third is that it doesn't make a difference, as others have pointed out, if the equipment uses a USB to serial conververter, as the serial device will usually be limited to 115 kbps, even if your serial interface can transmit up to 12 mbps. Only CPUs with USB devices on them will benefit from a faster interface. The iMX line of processors from Freescale is one of them.

    39. Re:You can buy a serial-to-usb converter for $15 by tomhudson · · Score: 1
      Sorry, I'm dealing with a bogus DMCA notice:
      1. stupid idiot thinks that my web site is in the US when it clearly states that it's hosted in Canada
      2. the idiot wants me to take it down because I'm doing an article or two on a bogus "medical condition" that they claim to have that doesn't exist.
      3. there's more ... later
    40. Re:You can buy a serial-to-usb converter for $15 by drinkypoo · · Score: 1

      The problem is that it's very hard to generate the right voltages for the serial port from the 5V 500mA USB port supply.

      That probably isn't the problem. The problem is probably that they're bit-banging off the control lines on the serial port, and the timing tends to get boned by the software driver for talking to the USB serial interface. So getting an FTDI chip and a MAX232 and an external power supply would probably only solve the problem if the chip you chose came with a better driver.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    41. Re:You can buy a serial-to-usb converter for $15 by Hatta · · Score: 1

      You could say the same about the actual serial ports on some motherboards. I have a hard time transferring files to my Apple IIgs over the serial port on my tower at any decent rate. With my old thinkpad, I can crank up the baud with no problem. Same cable, same software, same hardware on the receiving end. Only thing I can figure is that they half-assed the serial port on my mobo since no one really uses them anymore.

      --
      Give me Classic Slashdot or give me death!
    42. Re:You can buy a serial-to-usb converter for $15 by inicom · · Score: 1

      Well said. RS232 is an important, effective, and reliable system for interconnects. Proven, time-tested, yada yada yada. Yes, sometimes theres confusion over baud rate,, word and bits, and parity, but those are minor compared to the pain in the ass that is USB with drivers, conflicts, length, etc. The biggest problem with RS232 is the confusion over DCE and DTE so one always has to have null modem adapters handy.

      At least you youngsters don't have to deal with 25-pin RS232 or secondary channel communications. Hell, it's rare to see even hardware flow control anymore of either type, or bizarre comm settings like 7E2. Pretty much everyone defaults to 8N1, 9600, and no flow control with the option to up the speed in the device config.

      --
      -a.e.mossberg
    43. Re:You can buy a serial-to-usb converter for $15 by effigiate · · Score: 1

      I've found the same thing when working with items that interface to a SCADA system. I've had really good luck with SIIG devices, I'd suggest you give one of their products a try.

    44. Re:You can buy a serial-to-usb converter for $15 by wheeda · · Score: 1

      I'm doing my part. Future products at my company won't have serial ports. While my embedded counter part and I've been working on the board, I've had to solder a lot of db9's onto my board, but there is no production connector. I took a survey of our machines in engineering, only one out of 3 had a serial cable attached. I'm sure it is much worse in the field. I refused my coworker's request to put a production db9 on the board, now all that debug info goes over usb. This is way better

    45. Re:You can buy a serial-to-usb converter for $15 by Fr33thot · · Score: 1

      Sure but the question is more about when routers, switches and so on will be converted to USB.

    46. Re:You can buy a serial-to-usb converter for $15 by gravyface · · Score: 1

      Yup, and this is why I still have (and use) an old Dell Inspiron 2500 with a serial port (running Debian Etch with FluxBox).

      --
      body massage!
    47. Re:You can buy a serial-to-usb converter for $15 by Goldsmith · · Score: 1

      It's fine to say "there are plenty of devices that work off 3.3V," the real problem comes when you have specific systems that require more voltage than that.

      For example, I run a research lab that uses some gas flow controllers using RS485, which will not work with such low voltages. Is it bad design? Yeah, I would never buying anything from the company that made them, but I inherited this system. Building a new system will cost at least $5000 just for hardware, and would not do anything to improve my lab's capabilities. I can't justify spending that simply so that I don't have to deal with serial ports. They do, after all, work.

    48. Re:You can buy a serial-to-usb converter for $15 by Dun+Malg · · Score: 1

      It's the fault of the obscure hardware mfg's that keep it around. Instead of designing something around USB.

      Anyone who's ever done any work with microcontrollers knows why they still use serial in these devices. It's not a "fault" at all, it's simply a matter of complexity. I can bang out a crude serial interface in forty lines of C using two IC pins. Going USB would require either (a) writing a USB compliant interface and client driver for whatever computers might plug in, or (b) putting the same damn USB->serial chip you find in cheap adapter cables in the device and using their driver. Solution (a) requires a significant investment in time and materials (more code = more RAM = more $), and solution (b) will have the exact same timing problems as a separate USB->serial cable will.

      --
      If a job's not worth doing, it's not worth doing right.
    49. Re:You can buy a serial-to-usb converter for $15 by Dun+Malg · · Score: 1

      You really think they'll switch to a connection standard that will require a separate client-side driver for each OS?

      --
      If a job's not worth doing, it's not worth doing right.
    50. Re:You can buy a serial-to-usb converter for $15 by IntlHarvester · · Score: 1

      And serial ports don't have a separate driver for each OS? :)

      [I recall reading that Windows 95 supported more than 100 different variants of the PC serial chip, and I imagine Linux also has lots of workarounds for various semi-broken hardware.]

      I also don't see them switching so much as adding a USB port due to users complaints that their netbook/phone/whatever doesn't have a serial port.

      --
      Business. Numbers. Money. People. Computer World.
    51. Re:You can buy a serial-to-usb converter for $15 by dargaud · · Score: 1

      I'd guess you're running Modbus, or something similar.

      Argh! Who the fucking fuck invented this fucking protocol ?!? All the drawbacks of serial with all the drawbacks of binary closed protocols. I'm in the middle of implementing a simple driver for a modbus thermal probe... in the time it takes me to write 5 drivers for other protocols. To read a simple temperature, the manual is something like 75 pages. WTFF ?!?

      --
      Non-Linux Penguins ?
    52. Re:You can buy a serial-to-usb converter for $15 by petermgreen · · Score: 1

      If you actually design your system to use serial properly the timing stuff with USB-serial chips shouldn't be a problem. It's devices that try to cheat and do weird shit with the handshake lines that cause problems.

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
    53. Re:You can buy a serial-to-usb converter for $15 by petermgreen · · Score: 1

      What I suspect a lot of them will just do is stick a USB-serial chip in the device.

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
    54. Re:You can buy a serial-to-usb converter for $15 by dwywit · · Score: 1

      Not to mention synchronous protocols - anyone remember v25bis?

      --
      They sentenced me to twenty years of boredom
    55. Re:You can buy a serial-to-usb converter for $15 by yuhong · · Score: 1

      And serial ports don't have a separate driver for each OS? :)

      But it is only for each UART. One UART driver will work with any serial device attached to it and programs that interface with that device. And beside the USB-serial converters, the 16550 UART with 16 byte buffered FIFO has been standard on PCs for 15+ years now (the first computer to use it was I think the PS/2 in 1987).

    56. Re:You can buy a serial-to-usb converter for $15 by Jack+Greenbaum · · Score: 1
      Even with "real serial ports", which USB-to-serial devices are, you often need a "breakout box" to get a piece of equipment to talk to you. There's the whole DTE/DCE thing that may require you to reverse TX and RX (e.g. null modem). Then one side might want DTS/CTS pulled active, while the other doesn't care. Then even when you get them to talk you might have no flow control and loose characters.

      Come to think of it USB ports that adequately present themselves as a CDC ACM device might just be a better idea.

    57. Re:You can buy a serial-to-usb converter for $15 by RockDoctor · · Score: 1

      I'm not as optimistic as you. RS232 will be around forever, but I'd bet the server/router/switch stuff standardizes on USB within 5 years.

      Which would imply to me that the typical SlashDot IT worker will still be needing to deal with serial ports for 15 or 20 years yet. People working with lab equipment for a generation after that.

      --
      Birds are not dinosaur descendants;birds are dinosaurs, for all useful meanings of "birds", "are" and "dinosaurs"
    58. Re:You can buy a serial-to-usb converter for $15 by RockDoctor · · Score: 1

      According to some otherwise good SciFi (Stargate comes to mind)

      Never seen an episode, or even more than about 5 minutes of an episode, so I can't comment.

      even alien devices use Serial.

      Why do you think that SETI programmes are looking for serial communications? And just what are Star Trek's "hailing frequencies" (answers in Hertz, please)?

      --
      Birds are not dinosaur descendants;birds are dinosaurs, for all useful meanings of "birds", "are" and "dinosaurs"
    59. Re:You can buy a serial-to-usb converter for $15 by robot256 · · Score: 1

      It is true that there are issues caused when USB->serial converters buffer data. The buffer timeout (latency) is a big issue for real-time systems. On many converters, you can reduce the buffer timeout by changing a kernel setting. We did that on a PC-based robot using an FTDI converter chip under Debian. Dropped the latency from like 50ms to 1ms or something like that.

    60. Re:You can buy a serial-to-usb converter for $15 by Anonymous Coward · · Score: 0

      byterunner.com... they've always worked for me where standard over-the-counter models failed.

    61. Re:You can buy a serial-to-usb converter for $15 by uncledrax · · Score: 1

      We have some, and they work, but if you're a network jock and you have to carry Yet-another-cable-and-dongle in your bag, and something you have to setup each time you touch a kit in person, it gets to be a bit of a pain.

      The last laptops I ordered my group for work I got primarly because they were lightweight, long batt, and had a serial port.

      Unfortunately I don't see the serial port disappearing anytime soon, as there is way to much kit installed out there that requires it for in-person management. What's neat is on the Cisco network modules has a USB-format looking console cable (top most interface port on the pic) (yes, it plugs into a serial port).. the Serial Port may never die, but I'd be OK with making the format a bit more compact.

      --
      ----- The internet has given everyone the ability to have their voice heard equally as loud.. even if they shouldn't be
    62. Re:You can buy a serial-to-usb converter for $15 by denobug · · Score: 1

      especially things like port powered 232 to 485 converter

      This is why I never use port powered RS232 to 485 converter. It must be externally powered, bit-wise conversion (there were some ASCII only converter out there a few years ago, and they are CHEAP). Furthermore I don't buy RS-485 port in DB-9 form and always choose the terminal block connection for RS-485 so it is easier to install for my techs - if it doesn't work, swap the wires and check it again.

      Sure it makes the whole thing a bit more pricy but it works perfectly well under most conditions. Also I find out the PCMCIA or Express card Serial port expander works real well with the DOS based programs (some programs you just can't get rid of them), where USB-based converters will not work at all, unless you have a seperate VMWare Setup for DOS to emulate the serial port.

    63. Re:You can buy a serial-to-usb converter for $15 by denobug · · Score: 1

      Are you frustrating with Modbus or are you frustrated with USB-Serial protocol? Modbus (not Modbus TCP) is probably one of the simplist, best understood protocol that is being used in the industry. In fact a lot of operating companies convert and aggregate data in Modbus protocol before brining them into their centralized control system (SCADA or DCS). You most likely only need to implement a certain subset of Modbus protocol for the thermal probe and it will work just fine.

      But all practicality prupose, why are you making a Modbus thermal probe? You probably saved a lot of cost in design time just get an off-the-shelf serial or ethernet based remote IO module that has either RTD or thermocouple inputs on it. Unless you are actually making a product to sell I don't see it as cost effective measure to design it yourself. They are so cheap nowadays.

    64. Re:You can buy a serial-to-usb converter for $15 by dargaud · · Score: 1

      But all practicality prupose, why are you making a Modbus thermal probe?

      We are not. We made everything else (and that's a LOT of distributed dedicated hardware, FPGAs, digital and analog I/Os, etc), but one paper pusher decided it would be cost efficient to purchase a modbus thermal probe to add to the design. Except there's nowhere that this thing can fit in the software architecture. At best it'll be an ugly kludge.

      --
      Non-Linux Penguins ?
  2. It should have been phased out... by joocemann · · Score: 1

    ... about a decade ago.

    1. Re:It should have been phased out... by yuhong · · Score: 1, Funny

      And Apple did with the iMac in 1998. I wonder what was Steve Jobs' reaction when he was told that the Xserve is going to have a serial port, considered "legacy" by Apple since the iMac in 1998.

    2. Re:It should have been phased out... by Anonymous Coward · · Score: 5, Interesting

      Screw that. I do programming for embedded systems and serial is absolutely essential. Even the simplest bootloader supports standard serial. Hell, you can write an implementation of rs232 in an fpga in about 20 minutes. Its ubiquitous because requires no real software to make it work...and when you have barely any software working on a system, that uart can be the difference between hours and weeks of debugging.

    3. Re:It should have been phased out... by X0563511 · · Score: 2, Interesting

      My phone (Palm Pre) can even pull bootloader code over USB, so even if the boot flash gets hosed, it can recover via USB.

      Serial shouldn't be needed outside of microprocessor development these days... that it is is sad.

      Sure, a board may cost $0.50 more to manufacture... yea, stop penny-fraction-pinching you bastards!

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    4. Re:It should have been phased out... by Jhon · · Score: 4, Informative

      I can't speak to switch access, but the serial port is paramount in the medical instrumentation field. Virtually all interfaces are serial. Need to hook up a CBC machine? Cobas? Vitek? Serial!

      Most machine shops -- their equipment is serial. Sending cut information to the lathe? Serial.

    5. Re:It should have been phased out... by Anonymous Coward · · Score: 0

      And Apple did with the iMac in 1998. I wonder what was Steve Jobs' reaction when he was told that the Xserve is going to have a serial port, considered "legacy" by Apple since the iMac in 1998.

      Parallel ports and floppy drives were deprecated ages ago, but it hasn't made much difference on useless inclusion. I still see those on motherboards less than 2 years old and pretty new PC's; the motherboard controllers still support FD's. You cant just up and buy parallel printers for home at the town store, but the support is still there. Hardware is dropped randomly based on space saving decisions, more than actual deprecation or need to be standard compliant. Home PC's these days have 4 to 6 USB ports, but the wider serial ports were never more than 2.
      I think that Vista did one good thing in requiring a PC hardware refresh on the OEM side of the industry, even if it didn't kill those obsolete standards.
      It bothers me more how some software support is killed (can't boot to real-mode DOS since Win2k, go fullscreen DOS since Vista, can't play with free QBASIC.exe since probably Win98.) Anyway, I don't have recent examples.

    6. Re:It should have been phased out... by Idiomatick · · Score: 1

      USB would work.

    7. Re:It should have been phased out... by Miamicanes · · Score: 3, Insightful

      ^^^ Amen. For anyone into embedded electronics (including robots), real honest-to-god non-USB-bridged serial ports are pretty much the only port left on a modern PC (or at least a decent thirdparty motherboard in the form of an IDC header) that neither Windows nor Java can fuck up.

    8. Re:It should have been phased out... by morgan_greywolf · · Score: 1

      The reason you still see FDD controllers, serial ports, parallel ports, etc., on modern PC motherboards (even many laptops have the hardware although they don't have the external port itself) is that these things are all integrated into the chipsets these days. The extra bits of hardware to support this stuff on the motherboard costs pennies so there's literally no reason not to include it.

      As far as QBASIC, there's a community project to revive it called qb64. Duelling snakes, here I come!

    9. Re:It should have been phased out... by Cryptnotic · · Score: 1

      For the motherboard controllers, they keep the same controller chip. Removing the support from the chip would require designing, verifying, validating, debugging new silicon which has no value. To save cost, they'll remove the connectors and change the BIOS so that the devices don't show up.

      Higher end motherboards and workstation class PC's seem to support more legacy hardware interfaces than mainstream ones. My Dell Precision Workstation (2 dual core xeon's) has 2 serial ports, a parallel port, PS/2 mouse and keyboard, something like 8 USB 2.0's and Firewire 800.

      For software, there are better alternatives:

      Real-mode DOS or Full-screen DOS: FreeDOS or MS-DOS in a VirtualPC. Or DOSBox is great for a lot of stuff.
      Qbasic: Visual Studio Express Edition

      --
      My other first post is car post.
    10. Re:It should have been phased out... by mirix · · Score: 1

      USB is a shade more of a pain in the ass to implement vs. a UART, and a lot of embedded stuff doesn't have a ton of resources to spare.

      --
      Sent from my PDP-11
    11. Re:It should have been phased out... by Anonymous Coward · · Score: 0

      And what protocol do you think they used when they were debugging your FANCY usb bootloader??

    12. Re:It should have been phased out... by Bester · · Score: 4, Informative

      Funny, I just walked around my ICU and everything is connected via ethernet. Monitors (philips), ventilators (dragers) and of course the computers (windows). Even the dialysis (prismaflex) machines hook via ethernet.

      The ultrasound has an ethernet cable attached as do the image intensifiers. The biochem lab also works over TCP.

      Certainly nothing major in the hospital that I work in uses serial connections.

      Maybe the older equipment used to use serial but given the amount of data shuttled around I don't think it would be feasible so use serial. Of course I can only draw experience from where I work, other hospitals may be different.

      Charles

    13. Re:It should have been phased out... by Anonymous Coward · · Score: 3, Informative

      I've been developing for the Atmel ATSAM3U chip, which uses the ARM Cortex-M3 core. Its development board has serial ports, but I can reprogram the chip entirely, from full eraase, with just the built-in USB port.

      When erased, the chip boots off an internal ROM. That ROM, if yo have a 12 MHz crystal hooked up, will activate the USB 2.0 Device port and make it look like a serial dongle. You talk to the thing via /dev/ttyUSB0 and download the program top flash through it. As a final step, you run a couple commands on it to switch the booting over to Flash. And you're done. If you want to erase the chip, there's an ERASE pin you pull down for 200 ms or so, and it's erased.

      The dev board adds another twist to it. It has an onboard NAND Flash chip, which uses the built-in ECC unit on the SAM3U. If the development board is running the demo code, then that NAND Flash will show up as a USB thumb drive when you plug the board into your computer. So you can read and write the NAND Flash from your computer as if the ARM wasn't there. The board ships with its source code, binaries, and data sheets on that NAND Flash, just to prove its point.

      This is where the future is going. RS-232/422/485 will become more and more niche oriented. Industrial apps that need more than 15 foot cables will still use serial ports.

      But I doubt it'll always be a requirement for embedded work, I've found that using an FT232 USB-to-serial chip is the way to go in my embedded designs. It pretty much replaces the RS-232 transceiver chip, and doesn't need charge pump capacitors or funny voltages. You never need a null-modem adapter or gender changer. You never have to wonder what baud rate/parity/whatever is needed; just set that in the FT232's EEPROM. The chip hooks directly to TTL serial port pins that all microprocessors use. You can even choose if you want handshaking or not, and the FT232 can even drive activity LEDs for you. A USB Mini-B or Micro-B connector is far easier to find a home for than a DB-9. What's not to like?

      I've been using serial ports for 25 years. I will NOT miss them.

    14. Re:It should have been phased out... by Darinbob · · Score: 4, Insightful

      Serial is essential! It's cheap, simple, lots of hardware support it, and there's minimal firmware support needed for it. If you've got 8K RAM and runs at 1MHz, you don't want to waste it on a bloated USB driver. Serial port works from an interrupt context, so you'll be able to use it many times where USB can not work (say your OS is busted and you need to debug it).

      Serial port isn't used because we're Luddites, but because it works.

      Now if things had standardized on external I2C or SPI ports, that could work. But USB is just bloatware in comparison.

    15. Re:It should have been phased out... by Smirker · · Score: 2, Interesting

      This is especially true in low-frequency micros. Not only does USB require complicated software both on the chip and on the pc (not to mention the licensing issues), it uses a lot of cycles just processing the stream. With UART any jack-ass with a C compiler can write the next killer text-based rpg in no time.

      Also to note, you can do cool things with serial. e.g. A BlueSMiRF device can sit on the outside of your serial device (just connect TX/RX and give it power), and it instantly transforms it to a Bluetooth signal. You can then read and write to serial via any computer with Bluetooth (pretty neat). Should mention this does break poorly-written timing sensitive serial applications like some bootloaders. But there you have it.

    16. Re:It should have been phased out... by Smirker · · Score: 1

      Except for the occasional Windows reboot because the serial port is locked after your app crashed.

    17. Re:It should have been phased out... by Smirker · · Score: 1

      If you can get USB working at 1MHz I'll give you a medal.

    18. Re:It should have been phased out... by Anonymous Coward · · Score: 0

      Thanks. I read my two child posts but still doubt the redesign costs are the whole problem. I can see re-integration of technologies to slightly newer chipsets is easy if nothing really changes.

      BUT, with popular new tech introduced, there's plenty of redesigning going on. And with those, I do see stuff like... ISA having gone away, normal PCI being almost dead on cheap motherboards, replaced by PCI express; AGP having lived a very short life and NOT being left behind. We'll have USB 3.0 soon, and Wifi has been added to desktop designs. An integrator's job for motherboard's ever changing motherboard releases is to figure out how to group the ever-miniaturizing, changing, do-it all monster chips some chinese company is offering for very cheap prices.

      They won't be breaking the old designs, but strangely, it is the oldest tech (see my GP and your post) has a harder time leaving. Newer tech? USB 1.0 is near impossible to find out there, in just 15 years. Someone had to actually re-engineer that change to 2.0 and again to 2.1. In the 15 years (er, more like 30 years) 3.5" FDDs could have been removed completely to invest those pennies elsewhere, if you account for how good that sounds to the bean counters. After all, the same pennies can sell more of whatever pretty, newer tech their competitors haven't started bundling yet. Ugh. The worst part is that here I was making a case for phasing in new tech right now, when I'm such a software / hardware luddite.

      Thanks for the QB link! Snake and Gorrilla were fun.

    19. Re:It should have been phased out... by colonelquesadilla · · Score: 1

      FTDI chips are great, but they are pretty expensive. Honestly, you can buy AVRs with onboard USB for less than an FTDI chip, so I kind of wonder about the future of them.

      --
      It's either false dichotomies, or the terrorists win, you decide.
    20. Re:It should have been phased out... by IntlHarvester · · Score: 1

      MS-DOS ruled the world for 15 years, so what you see is that the PC legacy application stuff that banged on the hardware is hanging around, but the later stuff was abstracted well enough that it could be obsoleted quickly. If even 1% of Intel's customer base is embedded or legacy OS it makes sense for them to keep the support around.

      The other factor is that Windows XP/Server 2003 still requires a floppy disk for some installation scenarios, and those are both still in wide use.

      --
      Business. Numbers. Money. People. Computer World.
    21. Re:It should have been phased out... by scdeimos · · Score: 1

      There's not as much redesigning going on as you'd like to think. A lot of times these chips are just design blocks thrown together for a silicon order (think Lego). It's only newer technologies (like adding SATA 6G, for example) that have any real design work involved to make them into a new block.

    22. Re:It should have been phased out... by precariousgray · · Score: 2, Funny

      Penny-fraction-pinching? Sir, that figure you've mentioned is fifty pennies! Why, with those, I could buy...

      ...

      ...those are FIFTY WHOLE PENNIES, SIR, AND I INTEND TO KEEP THEM!

      --
      not much, just being forced to manually insert line breaks into my comment
    23. Re:It should have been phased out... by Sique · · Score: 2, Informative

      It is most often sufficient to delete the Serial Port in the Device Manager and then run a scan for new hardware.

      --
      .sig: Sique *sigh*
    24. Re:It should have been phased out... by Anonymous Coward · · Score: 1, Interesting

      I don't know about that. To 2015 EE graduates, this Serial to IDC Header Slot Plate Adapter might look like something dug out from an iron age excavation site, or at least like something that one might attach to dad's ancient computer box from 2003 in order to give it even more ancient functionality.

      In short: we need better USB adapters. And any software that doesn't work with a really good USB adapter will have to be rewritten. I wonder what we will do when USB finally gets phased out...

    25. Re:It should have been phased out... by beh · · Score: 1

      Hmm -- phased out, but what for?

      I can see the different pin-outs and baud rates being an issue - though, this could at least be 'fixed' going forward - hardly anyone nowadays uses 7bit + parity + 2 stop bits or similar setups - devices requiring these have been pretty much phased out; the parity bits and low baud rates still being a remnant of the days of 'longer' distance communication over the wires. For now, we can probably do to just limit the access to the higher baud rates and (basic) 8N1 with hardware handshake as opposed to XON/XOFF.

      The argument of longer times for updating firmware via serial I would consider only partially valid, as you can update most devices through 'other' means as well, and the serial update is only there for absolute emergencies.

      As for switching to USB - nice idea, but how long is USB going to last? I would rather suggest we keep 'backward' old serial for emergency consoles, so we can retain the option of dropping lower speeds on USB in future upgrades - otherwise, you would again lose access to your error console if your version of USB (say, 1.1) will no longer be supported by most newer chipsets. As USB is still being worked on, do not use it for such 'emergency' access issues.

    26. Re:It should have been phased out... by Anonymous Coward · · Score: 0

      Would grandma know how to do that?

    27. Re:It should have been phased out... by Lennie · · Score: 3, Insightful

      I don't no if you actually checked, but a RJ45 could also be serial. A lot of Cisco equipment for example has a RJ45-connector for speaking serial.

      --
      New things are always on the horizon
    28. Re:It should have been phased out... by Anonymous Coward · · Score: 1, Interesting

      Are you sure the Palm Pre is running true USB in bootloader mode? Often in bootloader mode, phones will enumerate a USB-to-serial connection (similar to FTDI). Next time you're in bootloader mode check to see what driver is loaded for your phone, and I bet you $100 it's a serial to usb driver.

    29. Re:It should have been phased out... by kitgerrits · · Score: 2, Interesting

      Probably SPI, ISP or JTAG, of which only ISP is a RS-232 Serial Port and provides the fewest options.
      (no PC stepping, no memory access , no register access, no offline programming)

      --
      "I was in love with a beautiful blonde once, dear. She drove me to drink. It's the one thing I am indebted to her for."
    30. Re:It should have been phased out... by Anonymous Coward · · Score: 2, Funny

      Would grandma be using a serial port in the first place?

      Jackass.

    31. Re:It should have been phased out... by Yvan256 · · Score: 2, Insightful

      FTDI chips have very reliable and freely available drivers for their ICS for Windows, Mac OS X and Linux. Their ICs are so easy to use that you don't even have to think about them, the work is already done on both the PC side and the uC side. You code as if both sides were using an actual serial connection, the FTDI chip does all the USB-serial work. They're really plug'n play.

    32. Re:It should have been phased out... by Hatta · · Score: 1

      Yep, we just replaced a serial terminal for the scintillation counter in our lab. The backlight had gone out. I scrounged around for an old CRT terminal, plugged it in and away we went.

      Couple days later the service technician came by, and installed a new serial terminal with a separate monitor. Took him 2 separate mornings to get the thing configured. What do we see on bootup? A windows logo. All that overhead for a simple serial terminal. It's ridiculous.

      --
      Give me Classic Slashdot or give me death!
    33. Re:It should have been phased out... by iguana · · Score: 1

      USB is an astonishing pain in the @$$ compared to the simple TX/RX/GND of US232.

      You have control interface, bulk in/out, a complete PHY with all its weirdness (DMA IO maybe?) and required code.

      New boards with flaky USB have crashed my systems more time than I can count. I have to reboot USB hubs on a regular basis.

      RS232 I've never had any trouble.

    34. Re:It should have been phased out... by ciggieposeur · · Score: 1

      hardly anyone nowadays uses 7bit + parity + 2 stop bits or similar setups - devices requiring these have been pretty much phased out

      I had brand-new scientific instruments in 2005 that used those types of setups: 7E1 and 8N2. Tiny market, but they are still there.

    35. Re:It should have been phased out... by Dun+Malg · · Score: 2, Insightful

      Heh. Indeed. If grandma is standing in the MDF room cursing at a Cisco router with a laptop balanced on the back of a chair, she probably knows how to disable/enable a serial port in Device Manager

      --
      If a job's not worth doing, it's not worth doing right.
    36. Re:It should have been phased out... by Dun+Malg · · Score: 1

      Certainly nothing major in the hospital that I work in uses serial connections.

      We're not talking about what the knowlessman users work with on these machines, we're talking about what service technicians use. When the controller for (device X) goes feet up and you call the tech, I guarantee he's not going to be diagnosing through the ethernet jack. He's going to pull a service panel off, and plug in a serial cable.

      --
      If a job's not worth doing, it's not worth doing right.
    37. Re:It should have been phased out... by Anonymous Coward · · Score: 0

      I don't no

      Better phase that out, around here we've all upgraded to I don't know

    38. Re:It should have been phased out... by Miamicanes · · Score: 1

      > I don't know about that. To 2015 EE graduates, this Serial to IDC Header Slot Plate Adapter [buy.com]
      > might look like something dug out from an iron age excavation site,

      I seriously doubt it, if only because the class of 2015's EE graduates are currently in high school, almost without exception into electronics and robots, and have all been dealing with serial ports since middle school. Now, change the target demographic to 2015 business school graduates (most of whom probably use their phones more than they use their computers, and very, VERY few of whom are likely to count "embedded electronics and robots" as hobbies), and you might have a point. If you really want to split hairs, I'd venture a guess that most of the 2015 EE grads vaguely remember when Windows 95 was new (even if they didn't grasp its significance until 5-10 years later). Remember, these are EE grads we're talking about... kids who've almost universally lived and breathed electronics and computers since basically middle school, if not earlier.

    39. Re:It should have been phased out... by DigiShaman · · Score: 1

      Yup, I've seen CAT5 (RJ45) pinned out for serial many times. UPS monitoring and thermal receipt printers come to mind. The latter caused me much confusion until I noticed the RJ45 to Serial adapter.

      --
      Life is not for the lazy.
    40. Re:It should have been phased out... by Lennie · · Score: 1

      Sorry, english is not my first language. People make mistakes, thank you for pointing that out.

      --
      New things are always on the horizon
    41. Re:It should have been phased out... by Jhon · · Score: 1

      As many users point out, a number of those rj-45 runs you are seeing might just be serial -- with the notable exception being the ultrasound box. It's not a tool to provide diagnosis -- but a tool to allow an MD to provide a diagnosis. It's sending a huge amount of data in the form of a pic to the patient file. Can't do that via serial.

      Check out your Hx's lab. Check out their CBC machine, their blood chem, micro, etc... bet ALL of them are serial. And they all provide the actual DX back to the LIS/HIS (Lab or Hospital Information System) and many with auto verification. Tiny tiny text records -- shooting for hundreds of feet back to some serial concentrator/server (maybe Xyplex, maybe digiboard) then slurped up in to the LIS/HIS.

      Why not USB? Distance mostly. And see below for tcp.

      Why not TCP/IP? Because pretty much every LIS/HIS out there currently supports serial for their instrumentation interfaces (why reprogram at a huge expense to both self and client?) FDA re-approval costs. And simply -- it just "works".

      I've seen HINTS of hl7 being used for some new instrumentation -- but I've yet to see or touch anything that utilizes it... And with hl7, you can shoot it across pretty much anything.

      And there are gizmos that change serial to TCP -- then change back to serial at the other end (a la Xyplex). I personally hate those (too many things go can go wrong and they are a pain to troubleshoot). They also have a tendency to freak out and loose all their settings. I had to write a script that runs weekly that logs in to all our Xyplex servers, dumps all the port settings to a log file, then logs out cleanly. Saved our butts a few times. When a hospital tosses something at you STAT, they do NOT expect the test to be shipped out to another location with the result to come back tomorrow or so. They expect 15-60 mins (depending on the test).

    42. Re:It should have been phased out... by X0563511 · · Score: 1

      Serial, like I said, of not the various other protocols kitgerrits says parallel to me here. Did you even read my whole post? No, you didn't. Shut the fuck up.

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
  3. Serial Ports.. by lionchild · · Score: 1

    What do you mean 'serial ports are rapidly disappearing..' They're all but gone, aren't they?! :-/

    --
    Awk! Pieces of eight. Pieces of eight. Pieces of seven... ERROR: General Protection Fault. [Paroty Error.]
    1. Re:Serial Ports.. by unr3a1 · · Score: 4, Informative

      He means on desktops, laptops, servers, and shit like that. Other than cisco routers and switches, you can't really fine hardware that has a serial port on it. But all routers and switches are still manufactured with serial...

    2. Re:Serial Ports.. by Anonymous Coward · · Score: 2, Informative

      "Other than cisco routers and switches, you can't really fine hardware that has a serial port on it."

      Every piece of DC-worthy gear I've touched has had serial.

      Of course, most stuff either comes with serial *and* ethernet, or allows one to hop in via serial and set up a web-based interface, but serial is always there.

    3. Re:Serial Ports.. by interiot · · Score: 3, Informative

      When it comes to managing important network switches, no, they aren't gone.

      When an important switch fails for some reason, how do you contact it to see if it's recoverable remotely? (i.e. when your network admin has to manage switches that are located at remote satellite offices)

      Out-of-band management addresses this limitation by employing a management channel that is physically isolated from the data channel.

    4. Re:Serial Ports.. by unr3a1 · · Score: 0

      Then you are looking at old catalogs my friend.... no, serial is not included on every piece of hardware.

    5. Re:Serial Ports.. by deniable · · Score: 1

      "the serial port is rapidly disappearing from new laptops" in full, and yes, they've been gone from most laptops for years now. We have to salvage old gear if we need to talk to a serial port. USB -> Serial mostly works, but not always.

    6. Re:Serial Ports.. by Ethanol-fueled · · Score: 1
      My last two gigs involved test and repair of very "modern" devices which still used serial ports for communication and firmware uploads. The whole fixed width scrolling terminal thing to check values and send commands to the device. Only recently did one of them update the GUI to a fixed(updating) number of fields instead of outputting the raw data line-by line(which, of course, is more useful when looking for intermittent problems).

      And it is becoming too slow to upload firmware to dead devices, as the firmware updates get larger.

      Bah, that's only for the loser end-users who can't void the warranties opening the box. Technicians get to use PICkits and PM3's. Much quicker, man.

    7. Re:Serial Ports.. by zappepcs · · Score: 3, Interesting

      An awesome point that can't be overstated. Well, probably not anyway. There are modems, converters, terminal servers and several other ways to use a serial port on important hardware. Out of band management is one of the best reasons for ever using it. The dial up modem as fall back to access servers has not been replaced yet. I imagine that there are a few reading these posts that know serial backup saved their bacon more than once.

    8. Re:Serial Ports.. by Anonymous Coward · · Score: 0

      Wow really? Try every single RGB/DVI video router, everything by Ashly, every server built, every IR device, everything from Extron ...

    9. Re:Serial Ports.. by danbeck · · Score: 1

      Outside of desktops and laptops, serial ports are *every where*. Why did you sit down and type out a comment about something you no absolutely *nothing* about?

    10. Re:Serial Ports.. by shrtcircuit · · Score: 2, Interesting

      We have about 20,000 servers, plus switches, routers, firewalls, and a whole pile of other gear that all has serial access through out of band management systems; ALL of them have serial ports natively. Why? It's simple (it is NOT non-standard, RS-232 is quite established), basic management often doesn't require anything more, and when the system goes completely tits-up it often gives a method of recovery not otherwise available without having to physically be in front of it (hard to do with equipment around the world).

      Just because you can't type http://accessmyshit does not mean it isn't still very useful in the real world, particularly at large scale enterprise-grade data centers.

    11. Re:Serial Ports.. by darkpixel2k · · Score: 5, Informative

      Then you are looking at old catalogs my friend.... no, serial is not included on every piece of hardware.

      No, that little RJ45-looking jack labeled 'Console' on most newer Cisco and HP gear is actually for a serial to RJ45 cable...

      --
      There's no place like ::1 (I've completed my transition to IPv6)
    12. Re:Serial Ports.. by danbeck · · Score: 1

      You are dead wrong. List this "hardware" you keep talking about that does not include a serial port?

      My list that includes serial ports is:
      Switches
      Routers
      Network Devices
      Servers (at least, the ones worth buying...)
      Remote Access Devices
      Remote Power Controls / PDUs
      Concentrators
      and on and on...

      Even major firewall vendors who require a windows installation to run the management software have a serial port on the box for emergencies.

    13. Re:Serial Ports.. by Darkness404 · · Score: 1

      Not for home users. Lets see, I have a cheap-as-free router with no serial port, a modem with no serial port, a laptop with no serial port, etc. About the -only- thing that I somewhat use a serial port for is when I want to sync my ~10 palm device.

      --
      Taxation is legalized theft, no more, no less.
    14. Re:Serial Ports.. by Anonymous Coward · · Score: 5, Insightful

      Other than cisco routers and switches

      Are you serious? The only examples anyone on Slashdot can find seem to be routers and switches? The reasons RS232 isn't going away is because an awful lot of industrial automation equipment (large and small-scale) still uses it. Why? Because a) all of the existing industrial automation equipment uses it, so new equipment is designed to be compatible with existing interface and control systems, b) it has proven itself to be incredibly reliable over the years, c) it's cheap (in terms of money, but also in terms of the amount of supporting hardware required). Also, while it may not be fast enough to transfer huge firmware images or run high-bandwidth stuff like video over, it's fast enough for what it's used for. If a firmware update takes 5min to do on a $100,000 piece of factory equipment, so what? The company probably spent a month planning for the upgrade, and will spend a week testing it after the update to make sure it still meets performance and safety requirements before re-deploying it anyways. There are billions of dollars invested in RS-232 by some highly conservative companies that don't change things on a whim, when a complication arising from an unnecessary change could cause 5-figure-per-minute damages or loss of life.

      Why is RS-232 still around? Because it ain't broke, and it don't need fixin'!

    15. Re:Serial Ports.. by kimvette · · Score: 1

      Right. Routers, switches, but elsewhere you will find them on every point of sale system, cctv equipment (so CCTV can capture POS data), GPS, and medical equipment. Implementing and debugging systems integrating with those devices with a USB-Serial converter doesn't always work so well. And, as others have mentioned, USB-Serial converters often don't work with RS485 (and RS422) converters.

      I'd rather not see serial die, actually; unlike USB, serial Just Works(tm); even the lowliest of the lowest operating system kernels, DOS, works with serial ports out of the box without any additional software. It's really hard to fudge up serial connections (once it's up and running). Keeping the KISS principle, why replace serial with USB for very low-bandwidth but mission-critical items? If anything, replace serial with RS485 or RS422 (which is basically serial with support for multiple devices, over longer distances).

      By the way, you'll find "console" ports on enterprise-level server PCs, practically every proprietary *nix box in existence, and practically every smart switch. Why? It's a way to give administrators the ability to take control of a system back even if it's been rooted and the password changed. It's a way for a dumb terminal to be set up to monitor a system's status. It's a simple way for logging/reporting printers to be hung off of a machine. It enables remote terminals to navigate even bootstrap/POST sequences in the event that a reboot is required and a system doesn't come up properly. There are probably a gazillion different current uses for RS-232, and you shouldn't say "RS232 needs to die!" just because you never encounter a use for it.

      And, unfortunately, it's such short-sighted thinking that complicates the lives of those of us who have to debug serial devices out in the field; with laptops with serial ports being nearly nonexistent, and with serial devices not working properly with USB->serial converters (well, it's the converter not functioning properly, not the device), it becomes very difficult to isolate the cause of communications issues (i.e., is this appliance really sending the data? That the USB->serial converter doesn't receive it doesn't mean it's not being sent).

      --
      The Christian Right is Neither (Christian nor right). See: Matthew 23, Matthew 25, Ezekiel 16:48-50
    16. Re:Serial Ports.. by kimvette · · Score: 1

      Right, and now because of consumers and PHBs saying "why do I need this old port on my laptop" it is becoming very difficult to find a decent laptop with a serial port for less than $3K, and they're usually just the workstation-class notebooks; not lightweight models. Fine, I prefer the portable workstations, but sometimes it'd nice to be able to bring a nice compact lightweight netbook-size device on a job instead of a 7 to 9 lbs oversized behemoth.

      --
      The Christian Right is Neither (Christian nor right). See: Matthew 23, Matthew 25, Ezekiel 16:48-50
    17. Re:Serial Ports.. by Anonymous Coward · · Score: 0

      right.. cheap consumer crap doesn't provide out of band management capabilities. the point being that while your devices don't have serial, they also don't have anything taking the place of what a serial port does on more serious hardware.

      if you don't use things that provide the functions that a serial port is used to provide... don't be surprised they have no serial. my toaster doesn't have a serial port, nor does my couch. big deal.

    18. Re:Serial Ports.. by Anonymous Coward · · Score: 0

      No, not really. I did have a situation where we were supposed to have modem backup, which failed because someone in the server room disconnected it. Yup, talked to the guy that disconnected it "I wondered what that phone line was for". Un freaking believable. Well, at least we knew who to blame.

    19. Re:Serial Ports.. by zappepcs · · Score: 1

      That just goes to show that no backup system is 'fool' proof. sighs

    20. Re:Serial Ports.. by Anonymous Coward · · Score: 0

      Plug the console cable of the dead device into an aux port of a nearby Cisco router/firewall/vpn device?

      A little different situation but at our offices, we have separate rj45 jacks and cat5 runs as "ties" from the MDF to every IDF in the building. At the IDF end, it is plugged into the switches console port (mostly older 4500's but others are there as well). Someone in the MDF can take a console cable plugged into a laptop or a nearby Cisco device aux port and plug it into that IDF's jack and can get a serial connection to that switch directly from the MDF. I thought this tie jack thing was an industry standard concept that everyone used? I don't know the spec for max distance but I've used it reliably on a cat5 run to an IDF that was over 450 ft in length.

    21. Re:Serial Ports.. by yuhong · · Score: 1

      now because of consumers and PHBs saying "why do I need this old port on my laptop"

      Also because they take space too.

    22. Re:Serial Ports.. by spydabyte · · Score: 1

      I think his question is "why won't they die" USB should be replacing it by now... which I completely agree on. Sure it's an extra $0.50 in hardware costs, but if you're (Cisco, TI, Altera, etc...) a little implementation complexity for the sake of use simplicity would make my life a whole lot easier.

    23. Re:Serial Ports.. by CAIMLAS · · Score: 1

      I bought a handful of motherboards for new workstations at work. I just picked up the cheapest thing I could find which supported i5s and didn't have too many negative reviews on NewEgg.

      It's got two exposed headers with pins for serial on the motherboard. (It's also got a floppy connector, but no PATA.) I was quite surprised by this, as the board is (otherwise) very "plane jane".

      --
      ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
    24. Re:Serial Ports.. by mysidia · · Score: 1

      That's because it's a cheap-as-free consumer level device. Oh, and your modem might actually have a serial debug port, but not for your use, it can be hidden from you (hidden by covering it, making it have a different format logic levels, etc. In some cases, you have to literally open the shell on your modem, pull the board out, and solder or attach a header onto certain points, to get access to the serial port

      And consumers have no use for those RS232 ports anyways -- it either works out of the box, or they send it back, generally.

      Out of band management is pointless in a consumer's environment, they always have physical access to the device, so there's a cheap alternative, a "reset to factory" button to just wipe memory clean, if that doesn't work, it's cheap, go buy another.

      By the same token, most cheap-as-free switches consumers buy for their networks aren't manageable at all, or only BUI, no CLI.

      In datacenters, serial ports are basically a must for this gear. For providing out of band management, and troubleshooting issues when the inband network is experiencing an issue. In some security sensitive environments, serial port is the only management that is kept enabled.

      In a pinch, a desktop or laptop might be used to plugin to these things... but usually a Serial Conentrator (also known as a Serial Console server or Serial console switch) is used.

      Which is basically a device with 48 RJ-45 jacks on it, and each one is a serial port, that gets patched in via Cat5 cabling to the devices being managed out of band.

      And probably is accessible over both IP and dial-in from some modems.

      User connects to the device, and from there, the authorized user can access the serial port tied to any server or network device via reverse telnet.

    25. Re:Serial Ports.. by Prune · · Score: 1

      That's a ludicrous statement. 1. Network gear--for example, even though on the Cisco side the console port looks like a network port, it's not and it connects to a special serial cable. 2. An enormous number of embedded controllers in industrial machines such as CNC etc. are serial. 3. Medical electronic equipment--the vast majority is serial.

      --
      "Politicians and diapers must be changed often, and for the same reason."
    26. Re:Serial Ports.. by savuporo · · Score: 1

      Yes, Slashdot crowd is clueless about real-world HW and software. So what else is new ?

      --
      http://validator.w3.org/check?uri=http%3A%2F%2Fwww.slashdot.org Errors found while checking this document as HTML5!
    27. Re:Serial Ports.. by Anne+Thwacks · · Score: 1
      Other than cisco routers and switches, you can't really fine hardware that has a serial port on it.

      A quick visit to any factory where they actually make stuff will reveal that, in the real world (ie outside of IT), product life cycle is nearer to 7 years, and the development of the production environment and design is another three. This means that a lot of current production equipment is over 10 years old. Loads of it depends on serial ports because they require very few transistors compared to USB, and when USB has gone, whatever replaces it will have adaptors to serial available for it.

      Plenty of wireless test sets, oscilloscopes, signal generators, and other test equipment costing $20,000 each use RS232, and no one will want the learning curve of replacing them while they are still in use - which is even more expensive than the equipment.

      If the signals need to be delivered in real-time, however slowly, RS232 will beat USB every time, because the propagation delay is known and repeatable.

      A UART needs one hundredth the number of transistors of USB, and proportionately less testing. For low production run devices, and high volume devices that is important.

      --
      Sent from my ASR33 using ASCII
    28. Re:Serial Ports.. by lordlod · · Score: 1

      quot

    29. Re:Serial Ports.. by Comen · · Score: 1

      Looking at old catalogs? haha this is a great example of someone that needs to be marked down because they spoke when they obviously have no real world knowledge of routers of switches and serial ports.
      Any high end manufacture of routers and switches or anything similar (Cisco, Juniper, Foundry etc...) has a serial port on it. do not let the RJ45 port marked console fool you.
      You got to serial in to any of these devices to setup the basic IP information before you can telnet to the thing, and in most cases of a failure, you will need that serial port.

    30. Re:Serial Ports.. by drinkypoo · · Score: 1

      Other than cisco routers and switches, you can't really fine hardware that has a serial port on it.

      This is so fantastically untrue it made me snicker out loud. The vast majority of PC clone motherboards have RS232 headers on the PC board, and the manufacturer actually offers the port in an optional cable kit. Most servers larger than blade servers (1U on up) have a teeny tiny header for the same purpose. The only place they're really missing from is laptops.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    31. Re:Serial Ports.. by Anonymous Coward · · Score: 0

      He means on desktops, laptops, servers, and shit like that. Other than cisco routers and switches, you can't really fine hardware that has a serial port on it. But all routers and switches are still manufactured with serial...

      Most old school Unix hardware (Sun, IBM POWER, HP-UX) still has has serial ports (in addition to network-based LOM). Many tape libraries do as well.

      Personally I find them more handy for many things than the Intel-based LOM stuff for simple things (i.e., basically anything that doesn't involve mounting "virtual media"). Of course it also helps that Unix systems can be admined without a GUI.

      It's also handy in that you don't need to take up more network ports. You can wire all of them to a terminal server and then only connect that to the network, so you're not taking up one more network port per machine just for the LOM interface (though modern systems can have the LOM piggy back off the main NIC, you're losing redundancy).

    32. Re:Serial Ports.. by Junta · · Score: 2, Informative

      Look carefully. Sure, most don't use DE9 as it is a huge connector, but they will have the pins required for RS-232 signalling. A popular choice is RJ-45 (with frustratingly varying pinouts, requiring multiple RJ45 to DB9 conversion cables for a heterogeneous environment). Some use a mechanically mini-usb port that is actually RS-232 (Nortel comes to mind). I've even seen some equipment that did RS-232 signalling over 3.5 MM jack. I've also seen a number of wacky one-off form factors, whatever they can do to save real-estate and at least get transmit, receive, and ground lines out (5 pins if hardware flow control is desired).

      --
      XML is like violence. If it doesn't solve the problem, use more.
    33. Re:Serial Ports.. by Thumper_SVX · · Score: 1

      Besides which, have you tried programming for USB in an environment where you need a real-time operating system? Even Linux running as an RTOS is a pain with USB.

    34. Re:Serial Ports.. by Anonymous Coward · · Score: 0

      Right. I work at a small company that make networking equipment and we use an extra pair on a 100Mbit port for a console port.

    35. Re:Serial Ports.. by dargaud · · Score: 1

      Are you serious? The only examples anyone on Slashdot can find seem to be routers and switches? The reasons RS232 isn't going away is because an awful lot of industrial automation equipment (large and small-scale) still uses it.

      Yup. I'll give some examples of serial hardware I had to interface with in the last few months which may be a tad unfamiliar to most slashdotters: power supplies, high voltage power supplies, pressure gauges, ultra-vacuum pressure gauges, thermal probes, microcontrollers, GPSs, radiometers, bolometers, 3G cards...

      --
      Non-Linux Penguins ?
    36. Re:Serial Ports.. by mjwalshe · · Score: 1

      and all those cute baby blue cables you get when you buy cisco gear

    37. Re:Serial Ports.. by mjwalshe · · Score: 1

      and not forgetting out of band management on the Aux port

    38. Re:Serial Ports.. by darkpixel2k · · Score: 2, Funny

      and all those cute baby blue cables you get when you buy cisco gear

      Ugh. Thank God a recent HP Procurve purchase got me a pair of tactical black cables...

      --
      There's no place like ::1 (I've completed my transition to IPv6)
  4. RE: Will the Serial Console Ever Die? by unr3a1 · · Score: 1

    I would think so... It's a good question to ask. Same way with IDE ports on motherboards... I mean does ANYONE ever use a floppy disk anymore?

  5. Web Interface by DarkTitan_X · · Score: 2, Informative

    Most of the newer switches, routers, multiplexers and any other device with a serial port for a terminal interface I've had the pleasure of configuring had a web interface. I'd say that's the direction manufacturers are headed and is the next logical step.

    --
    ~Mike (Titan_X)
    1. Re:Web Interface by hedwards · · Score: 2, Insightful

      I might be missing something, but that's not an adequate substitution. The point of a serial console is for when something goes wrong and for some reason the configuration is broken. In situations like that a web interface doesn't do you a damned bit of good because you can't access the box directly via the internet. Watchdog hardware or remote reboot hardware can get the box back up, but without a good serial console you're not likely to be able to fix the problem without being there.

      With a serial console you can have one box hooked up to quite a few other ones to deal with that problem indirectly. It's not ever going to be phased out in the manner you're suggesting, it will however at some point be replaced with something that works in a similar fashion. But the real question is how long until the bios and early functions of the computer be access via some other sort of connection.

    2. Re:Web Interface by jonwil · · Score: 3, Informative

      As someone who has worked with Cisco routers running IOS, I can tell you that there are plenty of situations where a console cable (which plugs into a serial port) is essential.

    3. Re:Web Interface by deniable · · Score: 1

      Web interfaces are all well and good unless you're having to configure IP on the device. Fallback to DHCP is good, unless you have a device that somebody's configured wrong and needs to be corrected.

    4. Re:Web Interface by Idiomatick · · Score: 2, Insightful

      Directly link through a cat5 port?

    5. Re:Web Interface by Anonymous Coward · · Score: 0

      Most of the newer switches, routers, multiplexers and any other device with a serial port for a terminal interface I've had the pleasure of configuring had a web interface.

      I doubt very much you'll find any network engineers that have had 'pleasure' in using a web interface to configure enterprise grade networking equipment. There is few things more tedious and inefficient than trying to configure a switch - and I mean properly, not just configuring a management IP and plugging things in - via a web interface compared to command line.

    6. Re:Web Interface by Anonymous Coward · · Score: 3, Insightful

      You might want to understand the amount of things that have to be running correctly to even have a working TCPIP stack to make it unpractical as a debugging tool.
      For a serial port, you could be talking to it in less than 10 line of non-interrupt C code in a pre-boot environment if you have to.

    7. Re:Web Interface by aXis100 · · Score: 1

      RJ45 is ony a connector, not am protocol. Even ethernet is not a protocol, it's a MAC scheme.

      You still need a TCP/IP stack to communicate, and that takes up alot more code space and CPU on the device.

    8. Re:Web Interface by BitZtream · · Score: 2, Insightful

      You should also point out that no serious network administrator has a web server enabled on his/her routers and switches.

      That crap is fine at your home where it doesn't really matter if something gets exploited, but no self respecting router/switch flunky on the planet leaves the web server running longer than it takes to get a console hooked up, login, enable, and turn off the damn webserver.

      Then you go setup the device if you don't have a auto-config system setup.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    9. Re:Web Interface by evilviper · · Score: 1

      Even ethernet is not a protocol, it's a MAC scheme.
      You still need a TCP/IP stack to communicate

      Those of us who have performed communications between two Ethernet-connected devices (at layer-2) without the use of higher level protocols (like IP), will be quite surprised to hear that...

      The manufacturers of those ATA-Over-Ethernet devices will be aghast as well when you tell them their products can't work...

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    10. Re:Web Interface by nhytefall · · Score: 1

      Never worked on one, have you?

      If you did, then you would know that directly linking through Cat5 doesn't work. The serial cable that Cisco ships with their gear may have an RJ45 end on it, but it ain't anywhere near Cat5.

      Not too mention that whole cable-terminates-in-a-serial-end thing. But hey, I guess you you are smarter than the engineers that say "ship this cable with our gear".

      --
      0100010001101001011001 0100100000011010010110 1110001000000110000100 1000000110011001101001 0111001001100101
    11. Re:Web Interface by Bert64 · · Score: 1

      I think his point was that you still need code to drive your ethernet card, and you need to implement some kind of protocol over it even if not tcp/ip..
      And if you use a nonstandard protocol (ie not telnet over tcp) then you will also need to implement a client for it.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    12. Re:Web Interface by Anonymous Coward · · Score: 0

      Some gear is starting to provide options like the newer Cisco routers that have both serial and USB consoles. The serial is still key for the terminal servers deployed in today's networks for OOB access. Dial into the terminal server via OOB modem (connected to the AUX port) and session in through the serial ports. However, USB access provides a nice option when you're trying to configure with a modern laptop with no serial port.

      Data sheet

    13. Re:Web Interface by evilviper · · Score: 1

      TCP/IP takes up "a lot of code space and CPU on the device."
      Many other simple protocols do not. I think it's safe to say he does in fact believe TCP/IP is required...

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  6. Simplicity by ak_hepcat · · Score: 4, Insightful

    It calls out to you.

    The great thing about a serial console is that it doesn't take long to figure it out. And you only need 3 wires to get there.
    Another nice thing about it is that it's point-to-point, so you don't have to worry about your signals getting lost.

    Heck, you can create a serial interface from discrete components if you're really into fun.

    So use your serial console for what it's intended to be used for: emergencies and initial configurations.

    --
    Support FSF: Stop thinking with your wallet, and think with your imagination. (cc/non-commercial)
    1. Re:Simplicity by pspahn · · Score: 1

      Heck, you can create a serial interface from discrete components if you're really into fun.

      Sounds pretty fun to me.

      --
      Someone flopped a steamer in the gene pool.
    2. Re:Simplicity by SysDaemon · · Score: 5, Funny

      Spitting Image thought it was fun. http://www.youtube.com/watch?v=CDlj0jBtYmQ - back in '85

    3. Re:Simplicity by darronb · · Score: 5, Informative

      Simplicity really is the key.

      Just a few days ago I hacked together a 9600 baud serial output in like an hour to help me debug an embedded microcontroller design using only a single IO pin and a crude spin-delay based bit-bang function. It worked great, and I found the trouble.

      There's no way you could add something like USB nearly as easily. FTDI makes some great chips / cables, but at the microcontroller it's still TTL-level serial IO.

      Plenty of microcontrollers have lots of extra serial IO ports. Many are adding USB ports as well, but it takes an absolutely stupid amount of firmware to make USB work.

      There are several microcontrollers I can do USB for, since I've done it before. However, it takes weeks of work to implement USB the first time on any new microcontroller. It's usually really prone to bugs, too. USB is just too complex for the simple dumb pipes that most embedded developers need. On top of that... most of the time the micro vendor's USB firmware examples just barely work, and aren't designed very well so they're very hard to modularize and include in another design.

    4. Re:Simplicity by glyn.phillips · · Score: 2, Insightful

      Another feature is software simplicity. This may not be an issue for the laptop, but it is an issue for the embedded system. Or it can be during development.

      USB is a complex protocol which requires a fair amount of code and data structures to support. A serial port on the other hand requires less than a page of code (in it's most simple form). The result is that when a system crashes, a serial port has a much better chance of being operational than a USB interface. Many systems with serial ports are designed so that a break signal on the line will interrupt the processor from whatever it's doing and send it directly to the debugger. When you can examine the entrails it is much easier to divine the cause.

      Of course it is possible to design a bit of hardware which looks like a USB serial port adapter to a laptop and a serial port to the embedded system. Even better would be a new USB interface which gives full access to system memory and processor state.

    5. Re:Simplicity by EdIII · · Score: 1

      Okay....

      You make some really good points. Problem is that manufacturers on the 'other end' don't give a shit. It's not economically viable to create a netbook/tablet/laptop just for IT either. Sure, there are some pretty high end pieces of equipment, but they are *expensive*. I could be running around with a multi-thousand dollar Fluke to troubleshoot networking problems, but I don't because of the cost.

      Most of our equipment is off the shelf components and even double duty on our personal equipment.

      This is a question that applied to me very recently too. Only way we could get back into a managed switch was the serial port, and although we had a few cables lying around, we are all unpleasantly surprised to find we had no functioning equipment with a serial port at all.

      We had to order a Serial to USB device by Trendnet from Amazon and wait a few days. Now we have a couple in our bags.

      You have made some great points about the simplicity and reliability of the connection itself. Only problem is that for the most part it only exists on *one* side, not both.

      It is not suited to other purposes either, so it makes it very hard to justify its inclusion on consumer equipment... so... more crap I got to take around in the bag?

    6. Re:Simplicity by tconnors · · Score: 1, Insightful

      The great thing about a serial console is that it doesn't take long to figure it out. And you only need 3 wires to get there.
      Another nice thing about it is that it's point-to-point, so you don't have to worry about your signals getting lost.

      Heck, you can create a serial interface from discrete components if you're really into fun.

      Wow. Miss the point completely. In the datacentre, trying to configure my SAN, I don't give a flying rats about whether my cable only needs 3 conductors and I can build a device using only discrete components. I'm not building devices and the cable came in the box with the device. I want to plug my special magical cable somewhere into a special magical and standard port somewhere on my laptop (ie, not a serial port), and have it talk to a special magical port somewhere on my device. I'd rather it be error detected and corrected just so that when partitioning my device, it didn't interpret "create new partition" as "wipe all partitions".

      I strongly suspect a pl2302 or similar usb-serial chip that has linux drivers only costs a few cents, and the USB communications are error corrected (and the signal lines from the converter chip to the internals are all done within the metal enclosure of the device I'm configuring, so should be fairly resistant to errors). So if these devices were built included as standard instead, I'd have a much better chance of getting my data onto the device error free for some time in to the future until USB has been superseded. I've got devices at work that were advertised as containing "USB interface", which instead came with USB serial converters. They work fine. Just add udev rules to match the device and create a symlink somewhere in /dev, then configure minicom to talk to that location.

      Of course, I'd be equally happy with ethernet (unencrypted telnet talking on some random private IP would be fine, this port need not be plugged into the network) - I'd configure my laptop to send all private subnet ranges to the ethernet port that was plugged directly into my device (if the laptop needed network access, have a second port or wireless).

    7. Re:Simplicity by Eskarel · · Score: 2, Insightful

      The problem is though that it's only simple if you have an actual serial port on both ends.

      The serial port is all but gone on laptops and not exactly common on desktops or workstations. That isn't going to change any more than lpt ports are destined for a comeback.

      Yes adaptors exist but the drivers for them aren't by any means standard and I know that most of them don't work under windows in 64 bit. Add to that the fact that putting an incredibly complex software driver(which is what it is) to implement a "simple" interface is not exactly good design and you start to see a big problem.

      To be honest the reason serial still exists is that it's cheap but it can't stay.

    8. Re:Simplicity by Darinbob · · Score: 1

      Actually, I've seen a variety of equipment with USB ports for access that really turns out to be a USB->serial FTDI chip.

    9. Re:Simplicity by Anonymous Coward · · Score: 0

      pretty cute, the only problem I I see is the Lead they keep showing has a Centronics Connector on it. Which to me says it's a Parallel Cable Lead.

    10. Re:Simplicity by geminidomino · · Score: 1

      The great thing about a serial console is that it doesn't take long to figure it out. And you only need 3 wires to get there.
      Another nice thing about it is that it's point-to-point, so you don't have to worry about your signals getting lost.

      Heck, you can create a serial interface from discrete components if you're really into fun.

      Wow. Miss the point completely. In the datacentre, trying to configure my SAN, I don't give a flying rats about whether my cable only needs 3 conductors and I can build a device using only discrete components. I'm not building devices and the cable came in the box with the device. I want to plug my special magical cable somewhere into a special magical and standard port somewhere on my laptop (ie, not a serial port), and have it talk to a special magical port somewhere on my device. I'd rather it be error detected and corrected just so that when partitioning my device, it didn't interpret "create new partition" as "wipe all partitions".

      Honestly, I think it's you that missed the point. When you're in the data center at 2AM and your "magic cable" suddenly isn't so magic anymore, being able to hash up a new one on your own is a pretty nice skill to have.

    11. Re:Simplicity by Dice · · Score: 1

      Speaking as someone who spends a lot of time in data centers: A serial adapter is pretty much mandatory. Why don't you have one? Worst case scenario you can buy a USB one and keep it in your laptop bag. Best case scenario you should have an entire serial console server and just plug your device into that. Serial is the lowest common denominator: works on servers, switches, firewalls, load balancers, PDUs, and damn near everything else. Serial is awesome.

    12. Re:Simplicity by darronb · · Score: 1

      Yeah. This is a really easy way to go. The -really- annoying thing is when they don't bother to change the USB product ID.

      It sucks when you have three devices that all show up as the same vendor/product combination.

    13. Re:Simplicity by adolf · · Score: 1

      This is late enough that you'll probably never see it, but:

      There are PCI and PCI Express RS-232 interface cards, which seem to work fine. There are also PCMCIA cards, which also work fine; all of these are "real hardware," and should provide all of the features and bugs of an old 16550-based card in an ISA slot.

      Omitted from the above list are ExpressCard RS-232 cards, because of the availability of USB in the ExpressCard slot alongside the PCI Express bus that it provides -- it's not clear, to me, if commonly-available adapters are running on the PCI Express bus or the USB bus. But since hanging them on the USB bus is likely cheaper due to parts availability, I'm not holding my breath on these things being any better than an external USB adapter.

    14. Re:Simplicity by Eskarel · · Score: 1

      Personally I don't use em, our networks guy who is a friend of mine does however, I'll let him know such things exist.

      None of this really changes the fact that for all intents and purposes, RS-232 is a dying standard. Simple it may be, elegant it may be, but in the war for board space on smaller and smaller laptops it's lost the battle. There are certainly things to lament about that, but it's largely a realty. Since laptops are the primary candidates for connecting with this kind of interface(if you're going to drag a desktop machine into a tiny switch cupboard to repair a malfunctioning switch you may as well take the switch back to your desktop.)

      That essentially leaves us with a couple of different options, buy adapters for laptops, put adapters in devices or come up with another way.

      I'm fairly certain it wouldn't be all that hard to implement USB as a replacement standard(it's the most logical choice), a specialized host controller to connect to a simple easy to maintain driver on the laptop(which would eventually become standard just like RS-232) wouldn't really be that difficult to stick in ROM or in some sort of boot loader separate from the main OS shouldn't be that hard to do.

      I'm not a hardware guy, but it doesn't seem like an insurmountable problem, and it's definitely the kind of problem where making it yours instead of your customers is going to give you a competitive advantage.

    15. Re:Simplicity by yurtinus · · Score: 1

      The point is that you put the complexity on your debugging and development system. Your run-time target can use the simple serial interface. For home and general purpose computing (servers, systems, anything application-related)-- yes Serial is fading and probably will disappear. For controls, embedded, and real time applications, I don't see it going anywhere.

      --
      +1 Disagree
    16. Re:Simplicity by yurtinus · · Score: 1

      Who missed the point? He mentioned nothing of datacenters and configuring SANs... There are plenty of applications where that simplicity is preferred and even necessary. In his case (and mine), we *are* building devices and the cables to interface with them. It's a tool for a job, nobody is dumb enough to try using a single tool for every job.

      --
      +1 Disagree
    17. Re:Simplicity by denobug · · Score: 1

      I'm fairly certain it wouldn't be all that hard to implement USB as a replacement standard(it's the most logical choice), a specialized host controller to connect to a simple easy to maintain driver on the laptop(which would eventually become standard just like RS-232) wouldn't really be that difficult to stick in ROM or in some sort of boot loader separate from the main OS shouldn't be that hard to do.

      The challenge is that every vendor comes up with their own implementations of USB and they are not compatible with each other. The USB implementation of Allen-Bradley (sorry I'm in control systems) are not the same as the other vendors, such as schneider, or even Cisco on the other spectrum of seperate industries. You simply can do too much with USB. Honestly we simply need to take a deep breath, swallow our pride in our skills, and just come up with an honest-to-God, so-simple-even-a-good-tech-can-understand protocols for the USB-based terminal communications (and allow bolt-on protocols like Modbus, DH-485,etc, etc.).

      I have been looking around for viable options for the past 5+ years and honestly there are simply no good solutions emerging yet. If there was one we would have jump on it as soon as possible and make our vendor to put it in (at least strongly suggesting them to implement it in the next version of hardware design).

    18. Re:Simplicity by Eskarel · · Score: 1

      I never said they've solved this problem. Thus far they seem to be working very very hard not to solve it. I only said that it had to be solved and that it shouldn't be difficult to solve.

  7. The serial connection by dyfet · · Score: 1, Interesting

    First there are plenty of USB-serial converters, so the lack of old-school DB9 serial ports on laptops is entirely a non-issue.

    Also, some devices I see are already offering serial console access over USB, basically simulating I imagine what a USB-serial converter looks like, so if you plug into the device, you get USB-serial console access without the need of converting to serial and then having a serial cable. Also, USB carried serial consoles can operate at higher speeds than traditional rs232 cabling allowed, which should address firmware updates, as well as offering other means, such as USB access to real or simulated filesystems over the same USB port as a multi-device hub.

    So the short answer, I see, is that the serial console is not "going away", but rather is slowly migrating to USB.

    1. Re:The serial connection by acoustix · · Score: 1

      First there are plenty of USB-serial converters, so the lack of old-school DB9 serial ports on laptops is entirely a non-issue..

      While this is true, I have yet to find a USB-serial converter that passes the Esc key command. This is an extremely important feature, especially if you ever need to break into a switch or router to recover an account password.

      --
      "A plan fiendishly clever in its intricacies"- Homer Simpson
    2. Re:The serial connection by X0563511 · · Score: 1

      Ahahahahaha!

      USB-Serial is just about useless for _many_ things. It works for consumer shit, but you tend to have problems when you work away from consumer level cruft. The best part is there's no easy way to know if it works or not. Some times it sorta-works. Other times it just plain doesn't.

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    3. Re:The serial connection by Anonymous Coward · · Score: 0

      That's nothing to do with the USB-serial adapter, and probably nothing to do with the device driver.

      It's almost certainly because your terminal emulator is a piece of crap.

    4. Re:The serial connection by RasputinAXP · · Score: 1

      Agreed. Clearly someone's not using SecureCRT.

    5. Re:The serial connection by Anonymous Coward · · Score: 1, Informative

      You mean DE9. DB9 would be a shell the size of a 25-pin serial connector (that's the "B" size) but with only 9 pins fitted.

    6. Re:The serial connection by Megane · · Score: 1

      I believe you are referring to break. Esc is just a character (0x1B). Break is holding the signal beyond the length of a character, making a special sort of overrun/framing error. Some USB-serial adapters can not send a break signal. And break is the signal you need to interrupt the boot process on Cisco or Sun gear.

      Also, your problem could be related to the driver or terminal program that are using.

      Or you could just get a Keyspan adapter. They not only work right, but they've even kept up-to-date driver support (at least on OS X) for "legacy" adapters that that they don't sell anymore.

      --
      #naabhaprzrag, #sverubfr-000, #agi-fcbafberq, negvpyr[pynff*=' negvpyr-ary-'] { qvfcynl: abar !vzcbegnag; }
    7. Re:The serial connection by marcansoft · · Score: 1

      USB-Serial (using decent chips) works great for actual serial port use. The stuff that doesn't work tends to be that which depends on precise serial timing to work (ew) uses the control pins to transfer data or bitbang (eew). I've never seen a proper USB to serial adapter fail when used to talk to an actual serial device (crappy chinese adapters need not apply - those can be horrid).

    8. Re:The serial connection by Bert64 · · Score: 1

      I have found usb to serial adapters that were unable to send BREAK signals correctly (needed to escape to the prom on servers, and to access recovery modes on some cisco devices)...
      As terminal emulator i was using Minicom, which most certainly can send break signals when using a hardware serial port.
      I've also encountered some devices which work well on Linux, but have various broken functionality (like break signals) on windows or mac (typically the linux drivers are open source and get fixed, while windows/mac has crufty closed source drivers created by the manufacturer)..

      Another example, is the FTDI drivers... If you disconnect an FTDI serial device from a mac while you have the port in use, using their official drivers, you get a kernel panic. Linux handles this situation fine.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
  8. Serial replacement for consoles: Serial-over-USB by davidgay · · Score: 0
    A lot less annoying than serial, rather strangely.

    David Gay

  9. It just works by mtmra70 · · Score: 5, Insightful

    I upload firmware and program various devices at work via USB or TCP/IP - and it is great because the connections are fast. However, when something goes very wrong with the devices, the RS232 port always works. Also, being able to get serial data just by listening to a couple pins is far easier than trying to deal with USB connections/drivers you have no clue about.

    When it comes down to it, serial works, its easy and it's a life saver.

    1. Re:It just works by emt377 · · Score: 2, Interesting

      A lot of boards these days are populated with FTDI FT232 chips or comparable. http://www.ftdichip.com/Products/FT232BM.htm Usually using a separate 'console' USB port separate from the host/device ports provided in addition. Pretty much every desktop system comes with FT232 drivers, so all that's needed is a cable, or possibly an INF file or similar if they use a nonstandard MID/PID. Eventually we'll probably see these on-chip on SoC devices that already have USB support. But RS232E is quite practical and easy to troubleshoot, and I don't know any embedded engineer or board designer who doesn't know how to wire that up. I agree TFTP and flashing from a USB stick is nice, but a console is great to figure out why that might be failing, to see kernel panics, etc. Of course, a JTAG adapter and debugger that can talk to it is a huge time saver when it comes to actually fixing boot loader, flashing, or kernel bugs...

    2. Re:It just works by 0100010001010011 · · Score: 3, Insightful

      My SheevaPlug has a mini-USB connector on it. It's near impossible to brick. I even did a dd /dev/zero to the entire flash memory and was still able to get to the JTAG interface with a USB cable to my MacBookPro.

      "Serial" shouldn't go away, but the massive plug should.

    3. Re:It just works by Dun+Malg · · Score: 1

      ...and when you plug the USB cable in, which serial->USB converter chipset driver does it load?

      --
      If a job's not worth doing, it's not worth doing right.
    4. Re:It just works by joshio · · Score: 1

      "Serial" shouldn't go away, but the massive plug should.

      100% agree with this. There is no reason (none that is obvious to me, anyways) why the existing DB-9 connector can't go bye-bye. Many manufacturers have been using RJ-45 serial connectors for a long time. Our APC PDUs use what appears to be a RJ-11 (or perhaps RJ-12) port for their Serial console. One or the other of these formats would be much more convenient to have on a laptop in my opinion. I can't remember the last time I used the modem in my laptop, it'd be nice for it to be multipurpose so I don't have to mess with a stupid barely working (if I'm lucky) USB Serial adapter.

  10. New Cisco devices are going to USB console by ErikTheRed · · Score: 1

    The latest-generation Cisco devices are switching to USB for console communications. So it's starting to happen...

    --

    Help save the critically endangered Blue Iguana
    1. Re:New Cisco devices are going to USB console by Anonymous Coward · · Score: 1, Informative

      The cisco usb is actually just a usb to serial converter into the serial port of their chip. So, it really only solves the configuration and cabling part of the problem. You're still limited to serial baud rates.

    2. Re:New Cisco devices are going to USB console by BitZtream · · Score: 1

      Yep, and when you plug that USB cable into your computer ... it detects as a generic USB to serial converter, and you use a standard comm program to talk to it.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
  11. Re: Will the Serial Console Ever Die? by Anonymous Coward · · Score: 0

    Floppy isn't IDE. Also, even now a lot of optical drives out there still use IDE.

  12. Only one use left by mcpherrinm · · Score: 0

    Consumers have long since stopped using serial cables in favour of USB. The only real place that they still exist is to get a serial console on servers in a datacenter. The OP suggests that it might be replaced by USB here too, but this is where I disagree. For that sort of task, network-based services are becoming more common. Ethernet is cheap and easy to deploy, and not that difficult to implement in hardware. Though there'd be nothing to stop a server manufacturer from just building a serial-to-usb converter into their hardware so you get the traditional serial interfaces but using USB. The serial cable isn't dead yet.

    1. Re:Only one use left by hedwards · · Score: 2, Insightful

      Have you any idea how insecure it is to access the bios via ethernet? It's hard enough keeping things secured when a box is internet connected, but allowing people to set the bios options and early boot process stuff via ethernet is absolutely insane and an incredibly warm invitation to crackers. And if it doesn't allow you to do that then it's more or less useless as a replacement for a serial console anyways.

    2. Re:Only one use left by darronb · · Score: 2, Interesting

      Well, I disagree about that being the only place. Serial ports are absolutely huge in the embedded world. A large number of consumer devices also use serial internally, and maybe convert to USB right at the edge of the box.

      Networking brings up an interesting point. I actually prefer to add Ethernet to an embedded design over USB. It's actually easier, if you can believe that bull****. It's also massively more flexible and quite a bit faster.

      Many TCP/IP stacks can be ported to a new platform by simply implementing a read, a write, and a status function to talk to your specific MAC.

      USB is usually a horrible kludge taking some vendor's usb-to-serial or mass-storage example code and hacking the crap out of it until it works. The USB module registers are so different from vendor to vendor, etc.

      At the PC level, it's different. There are some standards there. Even there, it usually takes custom device driver work to get a new device working... something that Microsoft should be totally ashamed about. They really should have provided something like libusb on Linux.

      To summarize, USB is a horrible horrible bus for the thousands of smaller embeddded shops out there. It requires dealing with incredibly poor quality vendor example code, and worst of all you have to find someone who can write you a Windows device driver. Well... unless you're lucky enough to know how to do that yourself. I can, but it's such a pain in the ass that I'd much rather use Ethernet... which doesn't require a stupid driver on every OS you want to use it with.

    3. Re:Only one use left by amorsen · · Score: 1, Funny

      Those crossover ethernet cables are way less secure than serial cables! Like, as soon as you plug one end into your laptop and the other end into the server, the server is going to get 7 different trojans! In the BIOS!

      Right.

      --
      Finally! A year of moderation! Ready for 2019?
    4. Re:Only one use left by Anonymous Coward · · Score: 0

      Exposing a serial port to the consumer in this day and age is ridiculous. It is trivial to add an FTDI chip (or similar part) to convert a UART into a fully functional USB device and only adds a dollar or two to the BOM cost.

      But frankly, writing embedded code for USB isn't actually that hard if you understand the protocol involved and have a relatively decent chip with good support. Writing an entire USB stack isn't even that complicated if there is little support. The only reason you find ethernet easier is because the TCP/IP stack is already written for you. If you had to write your own you would be singing a very different tune.

      The higher level device classes like mass storage will obviously be more difficult to write due to the added complexity of what they are trying to accomplish. Just try exposing a complete filesystem over a serial port, it would be much more difficult than doing it over USB.

      I agree that writing a proper USB driver in windows would be nearly impossible (except for those few windows experts) but you don't have to do that anymore. Libusb is available for Windows and Microsoft provides WinUSB which generally does the same thing (it's just slightly more difficult to use).

      To summarize, there is a reason why every modern computer ships with many USB ports and few, if any serial ports. USB is vastly superior to RS-232 in both speed and convenience. There is no excuse to design a device with a serial port when a small chip can simply convert it to a USB device. With the ubiquity of USB it's probably time for you to get with the times an learn how to use it. After you do so once you'll find how easy it actually is.

  13. No. by Dr.+Evil · · Score: 5, Funny

    It will never die. It will be around forever. Technicians, thousands of years from now will have to interface with wireless psychic rs232 adapters so as to configure their Cisco hyperdrives.

    1. Re:No. by Anonymous Coward · · Score: 0

      Noooooooo!! That's impossible! (falls)

    2. Re:No. by tsotha · · Score: 1

      Yes, and they'll still be scratching their heads trying to figure out if it isn't working because they need a nullmodem cable, or maybe they were supposed to ground CTS...

  14. UARTs are cheap... by Anonymous Coward · · Score: 2, Informative

    As an embedded device engineer, I love good old UARTs. They are very small cores to add to an FPGA design, simple to write a driver for, and fast enough for most simple debug applications.

    Trying that with a USB core is not an easy prospect. And they arent *that* slow. The free UARTlite IP core from Xilinx can run up to 921,600.. plenty fast for most things embedded...

  15. Re: Will the Serial Console Ever Die? by Megaweapon · · Score: 1

    I mean does ANYONE ever use a floppy disk anymore?

    For kicks I just hit Servers Direct, and some, maybe most, of the server still offer the option of a 1.44" drive (presumably plugged into the motherboard). I'd hope these days a big honking server mobo would at least support booting from USB key. Certainly seems like a waste these days to be able to buy an 8U box, 3X redundant power supplies, dual or quad Xeon class CPUs, and they're still wasting space for a damn floppy cable mount on the motherboard.

    --
    I'm sure "SlashdotMedia" will improve on all the wonders that Dice Holdings blessed us all with
  16. As long as by phantomfive · · Score: 4, Interesting

    It will exist as long as it is useful. Right now, people are still finding it useful, therefore it still exists. You still see ISA ports around sometimes.

    --
    Qxe4
  17. Serial? by SIR_Taco · · Score: 1

    Com on, give the serial port a break. The future may not be bright, baud I would bet it will still play its port.

    --
    I say don't drink and drive, you might spill your drink. Before you get behind the wheel just stop and think.
    1. Re:Serial? by Anonymous Coward · · Score: 0

      Boo *Throws rotten tomato*

  18. RTS, CTS, DTR, X-On, X-Off, I love that stuff! by Anonymous Coward · · Score: 1, Insightful

    Let's keep it around forever. You kids are going too fast anyway!

    You need to take time to ponder the deeper questions, like in-band or out-of-band?

  19. RS232 port utility by Announcer · · Score: 5, Informative

    I work for a small electronics manufacturing company, http://www.westmountainradio.com/
    and we make a number of devices that use the serial port. In recent years, we had to start including USB-serial adapters with every device for the very reason mentioned: Many newer computers simply do not have RS232 ports anymore.

    The RS232 port is a very convenient way to connect with a number of peripheral devices that don't need much bandwidth. In most cases, 9600 BPS is plenty. You also have the "handshake" lines which can be used to toggle an external device on or off. We use it to drive an LED and an opto-isolator to key a ham radio transmitter, among other things.

    As long as there are low-bandwidth, human-interface devices, there will still be SOME use and purpose for the RS232 port.

    --
    Willie...
    1. Re:RS232 port utility by usul294 · · Score: 2, Interesting

      right on, two recent projects I've done, one my senior design project, and my first professional job had me using RS-232 to connect a laptop to an embedded system. If the host machine only needs to see a single floating point number a couple times a second, RS-232 is plenty fast enough, and is much less time consuming from a design standpoint than say a TCP/IP connection.

  20. Xserve have a serial port by yuhong · · Score: 1

    I wonder what was Steve Jobs' reaction when he was told that the Xserve is going to have a serial port, considered "legacy" by Apple since the iMac in 1998.

  21. Easy to design in by jimmyswimmy · · Score: 5, Informative

    I still design lots of equipment with serial interfaces inside. It is much easier to connect to a low-end microcontroller which may barely have even a single UART. And even for a higher-end processor, it's so much easier to build the interface. Developing a USB interface requires a pretty detailed understanding of USB - selecting endpoints, which transfer protocol to use, etc - so there's a big software investment and often a significant additional hardware investment to implement a USB interface. Serial is often damn close to free, so easy that it's a no-brainer to put in. And for ethernet devices like switches I can't imagine why anyone would want to bother with a USB interface when you already have 8/16/48 copies of an ethernet interface available, just plop down yet another copy of the ethernet PHY design and make that your console interface.

    Point is - serial's EASY to give you, so you're gonna keep getting it for a while.

    --

    Just my $0.55 (US inflation, 1774-2008, for $0.02)
    1. Re:Easy to design in by bill_mcgonigle · · Score: 1

      Developing a USB interface requires a pretty detailed understanding of USB

      Hasn't this already been outsourced to the manufacturers who can provide you with a a chip that gives you USB on one side and you hook up your existing serial interface on the other? I haven't used one, but I assume they'd also give you serial pass-through to make all your customers happy.

      So for $2 or so per unit you get to not have to understand USB.

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
  22. Separate Good Functionality from old Hardware by CajunArson · · Score: 4, Interesting

    I actually posted an Ask-Slashdot about running a headless Linux Box that didn't have any serial ports... my question was about what happened in the 5% of cases where I couldn't SSH to the box (like if a kernel upgrade goes south). The basic answer was that I still needed a serial terminal. Oh, I know that USB can be used as a substitute, but the problem was that USB required a booted & functional kernel with a working USB stack to emulate the serial line. I recently saw a similar discussion in comments about how bad the old-school serial terminal code that is still in the Linux kernel is. Many people incorrectly thought the poster was saying that Linux shouldn't have a command line interface, which was completely wrong. The poster instead raised the (excellent) point that complicated and buggy software emulating long-obsolete device interfaces may not be good for the Kernel (CLI is NOT the same as a terminal interface).

    Are there damn good reasons why RS-232 serial ports should be dropped from modern hardware? Hell yes, not the least of which is a 3-15 volt swing signalling protocol is an invitation to fry the low-voltage electronics on modern systems. However, the CONCEPT of having a box that does not require any type of graphics, or even a working network interface, is still very useful. So... what are the better technologies to accomplish the same goal without having to rely on antiquated hardware implementations?

    --
    AntiFA: An abbreviation for Anti First Amendment.
    1. Re:Separate Good Functionality from old Hardware by LinuxIsGarbage · · Score: 1

      You were somehow thinking that a graphics card, running in 80x25 mode (or 80x50 or whatever) would be wasting power just sitting there. Particularly in a computer with a SpaceHeater4 CPU, so really it was an exercise in false economy.

      The proper answer was to just do what everyone else does and walk over with a monitor and a PS2 or USB keyboard when you need console action. Any old graphics card would do.

      Back to the topic of serial. While it (should be) obsolete for mass produced goods. In simple embedded systems where it's easy to implement (particularly if it's just being used for debugging), it will last for a while.

    2. Re:Separate Good Functionality from old Hardware by FlyingGuy · · Score: 1

      There really aren't any. Serial is the lowest of the common denominators. The only thing that could possibly replace it would something as equally simple and robust and these days, making things simple and robust seems to have gone the way of the dodo.

      --
      Hey KID! Yeah you, get the fuck off my lawn!
    3. Re:Separate Good Functionality from old Hardware by ChipMonk · · Score: 1

      When a kernel upgrade goes south.... I learned my way through that just yesterday, in fact!

      In the case of LILO, you want to configure a known-good kernel as the default and the test kernel as non-default. Run "lilo" to install this configuration, then run "lilo -R test-kernel" to boot the test kernel on the next reboot only. After reboot, if the test kernel causes a lock-up, a hard reset (button or power cycle) will take you back to the known-good kernel.

      If you're using GRUB, I think you'll find this link informative.

    4. Re:Separate Good Functionality from old Hardware by andydread · · Score: 1

      what are the better technologies to accomplish the same goal without having to rely on antiquated hardware implementations?

      OOB IPMI SOL.

      It is time that manufacturers start building an OOB IPMI port into their devices. Many servers these days come with this capability. its usually implemented as a stand alone ethernet port. I have setup the SOL (Serial Over Lan) feature and it works great.

      On HP servers there is the HP ILO (integrated Lights Out) management port that allows the same thing. I configure it so i can SSH to the management port then from the menu establish a serial connection to the console that way.

    5. Re:Separate Good Functionality from old Hardware by Anonymous Coward · · Score: 0

      slightly OT: on the odd occasion that my headless linux box locks up (about once a month, Debian Etch, no clues in the log, no problems in memtestx86, just sits there with the fans going nuts, suggesting to me it's in an infinite loop or something)... i dont use a serial interface, i reach around the back and turn it off and on again. takes less than a minute or two and everything else on the network then carries on as if nothing had happened. :-)

    6. Re:Separate Good Functionality from old Hardware by Anonymous Coward · · Score: 0

      IPMI is nice, with console redirection to serial.

  23. Re: Will the Serial Console Ever Die? by c0mpliant · · Score: 2, Insightful

    Unfortunately yes. In my workplace we still use floppy disks and other legacy devices because other institutions also still use them.

    Processes and systems that were setup 20 years ago still exist and when there is a system setup to handle something across an industry, in the example I'm thinking of its banking related, to get that changed across every company, institution and outlet take not only large amount of capital invest in the new hardware and software, but first agreement of the new standard, and then training after everything is done and then usually also changing large amounts of code that have been setup in each company.

    Just because we in IT can see better ways to do things, doesn't mean that management can have the foresight to actually implement it and see it through. And usually they have a point, by the time we have everything implemented and up and running, there could/would be a better way of doing it again!

    --
    There is no -1 disagree
  24. robustness of connection by Anonymous Coward · · Score: 0

    USB connections can be accidentally knocked lose, RS-232 can't if the screws were tightened properly.

    1. Re:robustness of connection by deniable · · Score: 1

      USB connections slip free if someone trips over the cable, RS-232 rips the port out of the box if the screws were tightened properly. Argument goes both ways.

  25. It took me a while to get this... by SECProto · · Score: 1

    It took me a while to get this ... then I realized you were talking about a different kind of "console" than xbox, nintendo, or playstation.

    1. Re:It took me a while to get this... by deniable · · Score: 2, Funny

      Wait till you learn about DLC

  26. Options? by Anonymous Coward · · Score: 0

    The RS-232 serial Port means you do not have to download and install drivers. Since there is no USB standard device ( And there could be) the equipment maker has few choices. Write and qualify a USB Driver ( for each OS), put a USB to serial converter chip in and use is drivers, or try to be a HID Device. Adding a USB Logo means USB Group testing of Hardware and software not cheap either.
    Or you can drop in an RS-232 Port and let the user Add in a serial port Card or dongle. That is why they are still there.

    BTW ASUS still has a comport on some of it Mother boards.

    1. Re:Options? by Tablizer · · Score: 1

      If enough hardware vendors start using USB instead, then some sort of standard or de-facto standard chip and interface set will eventually emerge such that software drivers etc. are no necessary. But it's kind of a chicken-or-egg dilemma because the first movers may be at a disadvantage.

  27. No, never, nunca! by bradgoodman · · Score: 1
    As previously stated - there are exceptions, such as using USB - granted, all this is doing is putting the USB-to-Serial converter *inside* the piece of hardware - as your PC/laptop is treating it as such - and giving you "serial" access to the device.

    As for the "greater" question, as will Ethernet/Network/Web interfaces ever surpass it - I will contend, the answer is no - or not any time vaugley soon.

    I used to own a company that made NAS appliances - back many many years ago. When you had a "plug-and-play" device going onto a network, there were too many things that could go wrong. The question always came up: What happens if I plug the device in, and can't find it on the network? Sort answer was usualy: RMA. We started building a little LCD display console into our devices, which reduced the RMA rate to [near] zero. This wasn't even in cases where it was "our fault" - but even for stupid things, like the DHCP server was down, or address pool was exhausted, etc.

    Many years later, weither I am plugging a terminal server, network power bar, switch, router, or even a laser printer onto the network - the same question comes up - what happens if you do eveything right (so you think) and the damn device doesn't show up? Maybe its because some a**hole got in there and set it to some bizarre static IP address - or whatever - how do you recover? You'll always need some sort of direct access in a time of despariation, and BTW, serial is a whole lot cheaper than an LCD display console.

  28. Re: Will the Serial Console Ever Die? by unr3a1 · · Score: 1

    PATA/IDE... whatever, its the same difference. And no, most optical drives out there are now SATA. Got a new computer a couples months ago, and it has a SATA optical. Goto newegg... the SATA drives outnumber PATA almost 3-1. And the majority of motherboards still carry a PATA port of some kind. Maybe they include it because almost all modern CMOS's still only look towards a floppy disk when there is a full system crash... so maybe its for last resort emergency situations with computers???

  29. Re: Will the Serial Console Ever Die? by c_forq · · Score: 1

    Yes, unfortunately. Where I work there is a plasma burning table that has no network interface. We have fiber-optic to all of our other machines but for that table the only option is a floppy disc. This is a concern as floppy's become more scarce, as once a disk goes out to the warehouse we do not let it back into the office (they get very dirty very quickly and jam up the office floppy drives).

    --
    Computers allow humans to make mistakes at the fastest speeds known, with the possible exception of tequila and handguns
  30. No by dindi · · Score: 5, Informative

    Serial is cheap, simple, works really well, and you can hook up 15+ year old equipment to it with no problem.

    Is it slow? Not really, but firmware updates should be through TFTP or HTTP by now anyways for larger files.

    Complicated wiring? RX-TX TX-RX, common ground.

    Also RS-232 has many brothers and sisters like:
    RS-422 (a high-speed system similar to RS-232 but with differential signaling)
    RS-423 (a high-speed system similar to RS-422 but with unbalanced signaling)
    RS-449 (a functional and mechanical interface that used RS-422 and RS-423 signals - it never caught on like RS-232 and was withdrawn by the EIA)
    RS-485 (a descendant of RS-422 that can be used as a bus in multidrop configurations)

    On the USB console: yeah, you can have a USB console. Most like there will be a FTDI chip, which will make your USB into a serial connection. Want an example? Arduino.....

    By the way, the post is kinda mis-worded.... USB is a serial bus, so a USB console is technically a SERIAL console :)

    1. Re:No by AK+Marc · · Score: 1

      RS-485 (a descendant of RS-422 that can be used as a bus in multidrop configurations)

      I never heard of it being used as that, but it's always used when the distance is long. I've even deployed 232 to 485 to 232 setups to get RS-232 gear separated but 100+ feet to work. But usually, it's ODU gear with an RS-485 port because they expect to be installed a long distance from any controlling device. Then it's just a single indoor adapter to plug it into a PC. Where's my serial port on my PC that's selectable between all the serial standards like you get on the nice terminal servers?

    2. Re:No by Anonymous Coward · · Score: 0

      Is it slow? Not really, but firmware updates should be through TFTP or HTTP by now anyways for larger files.

      Really, it all depends. The big problem is that it uses RS232. I've used serial UART at 20Mbps on embedded microprocessors. I'm not sure why this couldn't be applied to these systems to increase the speed beyond the current 115Kbps.

    3. Re:No by yuhong · · Score: 1

      In particular, old Macs used RS-422/423 for their serial ports, and many of them support adding a external clock to increase the speed.

    4. Re:No by adolf · · Score: 1

      Multidrop is all I've ever used RS-485 for. It's used in the analog PTZ camera world, where you can daisy-chain a bunch of cameras together, along with one or more controllers, all on a single twisted pair that is terminated at each end.

    5. Re:No by dindi · · Score: 1

      Funny you mention it. Sometimes I wish we just had a really fast serial port on every device (think even appliances, alarms) - and a well documented command set for them (think AT for modems), but then I wish they just all had an ethernet port.....

      I mean for terminal applications and simple control (think X10) the speed is sufficient, but the 1-1 nature of the connection would be just the same with a faster or USB port. On the other hand a network adapter with a simple tcp/udp stack would give you a faster, easily usable way to communicate with multiple devices, minimizing cost on the host where the devices are connected (in most aspects). And yeah, you can also make 1-1 with it (xlink cable)

    6. Re:No by Antique+Geekmeister · · Score: 2, Informative

      Unfortunately, every untrained technician and their ill-trained supervisor gets these wrong. The flow control lines are not there for laughs: mis-handled, they lead to many unfortunate adventures, at the worst moments. I've had to deal with the errors when someone thought the way you did, failed to connect the flow control to anything, and wound up with jammed serial lines.

      The standard is published many places, such as http://www.zytrax.com/tech/layer_1/cables/tech_rs232.htm#db25. Even your "three wire description" has left something important out, that I've seen mis-wired: the third wire is _signal ground_, not "common ground". "Common ground" is when we share something interesting to talk about: it's an unfortunate choice of words for wiring.

    7. Re:No by scatterbrained · · Score: 1

      Well, if you want to get real pedantic, he messed up completely. Real RS-232 has DTE and DCE. In DTE (data terminal equipment) circuit BA (transmitted data) is an output. In DCE (data communication equipment), circuit BA is an input. Vice versa for circuit BB (received data). Straight from my copy of EIA RS-232-C from 1969 :-)

      The flow control comment is well taken, and certainly fertile ground for screwups.

      --
      -- All that's left of me, is slight insanity, whats on the right, I don't know. -- Bob Mould
    8. Re:No by j_sp_r · · Score: 1

      Dynamixel servo's use a RS-485 bus. Nice in a robot, use one cable to control all motors.

    9. Re:No by simpz · · Score: 2, Insightful

      You are totally correct. Serial is nice and simple and would be perfect IF everyone used the same wiring on the connectors, there was a standard plug (preferably not R-J45, there's a recipe for confusion),there was a standard speed/parity (or a simple negotiation mechanism), people only used simple RX-TX for signalling (which they sadly don't), standardized/simplified flow control (really needed for xyzmodem, some devices insist on HW flow control), I didn't have to have tons of cables (one per device practically). TFTP/HTTP is no use when a device is so dead that the network doesn't work.

      I'd settle for a more standardised rs-232 if the world could get there.

    10. Re:No by dindi · · Score: 1

      What I wrote (3-wire) was for the most minimal setup of course.

      Common ground, signal ground ... grounds are connected together with a wire....

      I am a software engineer, so if I messed with an electrical engineering term in a language, that is not my 1st, well .... then excuse me .... that should not put me in the "untrained technician" bin I hope :) ....

      I actually use the 3-wire setup on simple electronic project, and if shielding is OK, and the distance is not too far it works pretty ok. Then again, I know, that is is enough to put a power supply nearby and the crap starts flowing on the port, in and out :)

    11. Re:No by Antique+Geekmeister · · Score: 1

      And this is why, when I get a call about all sorts of problems throughout my career, I want to see the code, _and_ the wiring. An otherwise intelligent engineer, stepping outside their experience, will make assumptions that turn out not to apply in fascinating cases that break down under use. The 3-wire setup is common and not unreasonable in a small test setup. But even for a household DB-9 setup, you should use an adapter that connects the flow-control wires on each end together, to prevent a hardware flow control from being sent on one end and no response provided, even if it will be ignored downstream.

      This is why it's sometimes useful to leave the caps off the adapters fo RS-232: you can look inside them and remind yourself what is actually going on. you can get a probe in there to measure it, and even if you touch a bare wire, it's less than 15 Volts and shouldn't have enough power to cause problems.

  31. No, because it requires no configuration by Anonymous Coward · · Score: 1, Insightful

    you can boot and start listening for commands on a serial port without
    any ip addresses or netmasks or gateways or any configuration
    whatsoever. That's the key.

  32. Serial is still alive and kicking... by Anonymous Coward · · Score: 0

    Not so much in the standard computer world, but in broadcasting for example, many of the automation systems rely on plain old serial connections to fire off various components. How much bandwidth do you really need to send a simple command or two? If you are sending small short packets with byte sizes you can count on your fingers... is USB or TCP really any faster?

    Put another way, where space isn't the primary concern, serial is dirt cheap, simple to use and configure, has fewer restrictions on cable length, and wire grade, and is more than adequate for many purposes... If it ain't broke, don't fix it.

    That said... once a certain level of complexity is reached, ethernet, USB etc. become much more attractive.

  33. Re: Will the Serial Console Ever Die? by deniable · · Score: 1

    I've never seen an IDE floppy. There are still IDE optical drives around and a lot of surplus IDE hard drives, but floppies were always their own special interface. Hint: vendors now refer to IDE as PATA.

  34. Re: Will the Serial Console Ever Die? by oldhack · · Score: 3, Funny

    Yes, they filter dust in my desktop machines.

    --
    Fuck systemd. Fuck Redhat. Fuck Soylent, too. Wait, scratch the last one.
  35. Offshore Survey Industry by ss_teven · · Score: 5, Interesting

    I work in the offshore survey industry (oil/gas industry), and 95% of products to date still come with serial ports. They are critical for our purposes, and onboard com ports are a must for timing critical jobs such as multibeam bathymetric surveys.

    Current project im working on we are using Moxa multiport serial boards w/ 32 serial ports on this pc with around 25 currently inuse for IO. (Historically used Digi boards but they were awful for timing (relatively!), 30ms delay compared to the near 0ms on the Moxa units.)

    Simple to use, easily available, and cheap. Almost all the devices I work with use standard parity/stop bits etc, just varying baud rates, which is easy enough to remember.

    --
    like a fox..
    1. Re:Offshore Survey Industry by omglolbah · · Score: 1

      Much the same in the control system part of the offshore industry.

      To put it in perspective for those not in the know....

      Quite a few rigs and refineries run 1-2 mhz token ring coax networks for critical operation data traffic. There might be 30000 data points that update at least every 60 seconds, many change every 250 milliseconds (interrupt based updates with a timeout).

      Serial ports are a way to extend IO that is very simple to work with, and it does work quite well. When you have to test for every possible input to prove that output will be consistent then you really do not want to have any added complexity.... Especially if you are working on a safety system where a bug could shut down a refinery ;)

      I'm sure there will be a replacement at some point, but I do not see it coming in the next 10 years. Considering most of the equipment on the rigs are late 80s, early 90s equipment slowly being replaced. Even if everything was replaced now, it would still be 10-20 years until the serial ports went away... Assuming the actual measurement devices are not serial. Quite a few of them are moving to things like profibus but serial is still king for some devices.

      *crawls back into his dark cave to sleep some more... this winter needs to end*

  36. Too late! by macraig · · Score: 4, Funny

    I attended its funeral yesterday. It was an open-casket ceremony, and people just couldn't seem to resist fingering the deceased. Sadly it didn't respond.

  37. USB console by tftp · · Score: 2, Informative

    Is there any sign on the horizon of a USB console connection?

    There is no standard USB device class for serial adapters. There is communications device class, but it is huge and doesn't really help. So FTDI and Cygnal and others have to write their own drivers for tens of OSes and architectures. If you walk up to a device with a laptop and a USB cable, chances are that your laptop doesn't have a proper driver. To make things worse, many USB-Serial adapters have to use their own VID/PID/REV identifiers, and that makes it even harder to recognize the device. Class-compliant devices would "just work" like a USB drive does, or a mouse.

    There is also no standard API in OSes to talk to *modern* serial devices. USB serial devices are emulated into a virtual COM port.

  38. USB is a poor choice - Ethernet works pretty well by Foredecker · · Score: 4, Interesting

    I understand what you are saying: RS232 ports suck for any number of reasons.

    But there are a few why it is still often used.

    First, it has been ubiquitous for 20 to 30 years. When I started my first development job in 1982 - everything talked to everything else via RS-232. Back then 9600 baud was considered fast. At 8 bits per character with no parity and one stop bit, 9600 baud could paint a screen with characters in one second. Yes, we thought that was fast. Things got better as baud rates improved - but RS-232 remained everywhere - it was the one constant universal interface. Even though it is incredible antiqued, it is still in many PCs.

    Second, RS-232 (and its many cousins like RS-422) are very, very easy to use in software. The simplest I/O can be done in a few lines of code. Its easy to put RS-232 code right in firmware. This makes it easy to write bootstrapers, boot consoles, debug consoles etc.

    USB would be a poor choice for a replacement. The reason is that it isnt peer to peer - it is a master/slave architecture. There is always one master -usually a PC, and one or more slaves (keyboards, mice, printers, scanners, cable modems, disk drives, storage keys, cameras etc).

    It requires a special cable to make to client USB devices talk to each other. This cable has a small do-dad that looks like a master to both ends. This works ok, but it requires special knowledge of this USB end point to work correctly. Note, Windows began to support this in Vista for migration. Its called Windows Easy Transfer/a>.. There is a version for XP too (downloadable/a>). It actually works very well, but the cables were not cheap. Note that the cables really are not cables - but a dual-headed master USB controller with two ports - it just looks like a cable with a lump in the middle - Belkin sells one for $40.

    LLike a few other posters have said - USB is much more complex to use in software than simple RS-232. Ive written code for it and I find it more complex than Ethernet at the MAC level.

    I think Ethernet is the real replacement. A little TFT or Telnet server / client is really trivial to write. This can (and often has been done) in firmware. For example, most (all?) home Ethernet and wireless routers dont have a serial port. Their management is over Ethernet - works great.

    -Foredecker

    --
    Jibe!
  39. RS232 still very cool... by Anonymous Coward · · Score: 0

    RS232 rocks,and will always rock.

    I actually designed a converter that turns an 9-pin serial port into 6 USB ports plus an ethernet port. Check it out:

    http://www.facebook.com/#!/album.php?aid=2022767&id=1462922757

  40. Re: Will the Serial Console Ever Die? by Anonymous Coward · · Score: 0

    PATA != FDC port. Both still have uses. BIOS recovery is one. The boot block contains a very primitive recovery mechanism for bad flashes. A floppy is one of the easiest devices to code for and FAT12 is a well understood filesystem that is easy for simple code to grep. Unlike floppies, hard drives can contain any number of filesystems all of which are far more complex. Flash devices sound like a great replacement until you realize that USB support must also be included which is almost impossible to fit into the tiny boot block.

    there are plenty of PATA devices still out there so having a PATA port on the mobo is very handy. I never understood these zealots who think that merely having a legacy port on their new motherboard somehow contaminates it. If you don't have any devices that use it, shut it off. Who knows, someday you might end up with one.

  41. they need use SD card / usb keys for firmware / co by Joe+The+Dragon · · Score: 1

    they need to use SD card / usb keys for firmware / base / fallback config. just put in a small eprom with a base boot code that can reed a usb key to upload the firmware. The SAM system is build like this and is a lot easier to update then burning new eprom for full code updates.

  42. Probably not... by bbourqu · · Score: 1

    Probably not. Serial is s$#t simple and utterly reliable in dire circumstances. I'm a network engineer at a large university and have spent the last 3 years setting up an "out-of-band" network that includes serial access to all of our network devices. The bit rates can be increased to upload firmware when necessary. Cabling is straightforward and follows the old DTE/DCE standards. The new devices that have USB Type A physical interfaces that I have come across still RS-232 signaling, requiring special cables. We recently had to make a batch of these custom cables to accommodate access to serial ports on new blade chassis SAN equipment. Like it or not, RS-232 serial ports will be around for a good, long while.

    1. Re:Probably not... by Dun+Malg · · Score: 1

      This is the internet. We're allowed to say "shit".

      --
      If a job's not worth doing, it's not worth doing right.
  43. Pry my DB9 RS232 cables from my cold dead hands by Anonymous Coward · · Score: 0

    I designed a serial to USB/Ethernet adapter so legacy serial ports can upconvert to either standard. Underneath all these other technologies, is and will always be a serial port.

    Check it out

  44. Re: Will the Serial Console Ever Die? by adolf · · Score: 1

    I happen to own an IDE floppy drive in the form of an LS-120, and it worked fine last time I used it. Other variations of that drive had SCSI, parallel, or USB interfaces.

    My current floppy drive (read: the last one I'll ever buy) is a USB device made by NEC. It, too, just works.

  45. Ever tried programming USB? by SharpFang · · Score: 2, Insightful

    RS232 is easy to program. If it's a switch without OS or some other embedded device, RS232 is the easiest and fastest way.
    Sure on the PC side there are the problems of baud, parity and so on. Thing is on the device side you can get a working bidi buffered transmission within 30 lines of assembler (100-200 if you have no UART and need to push each bit yourself). Writing equivalent of "hello world" over USB becomes kilobytes. And if you go into a web interface, you quickly lose enthusiasm as you realize on top of CGI you need to write the web server, the TCP stack, the IP stack, and if you're unlucky, the Ethernet protocol stack (in VHDL) as well.

    On top of that, a thousand things can go wrong in writing USB or Ethernet or whatever. RS232 is rugged, fault-proof, it works from moment zero. You will be able to communicate with bootloader which has no idea what ethernet is, you will be able to diagnose faults when 90% of essential peripherials are fried, and if the cable goes loose, just move it around a bit and the connection will be back, no timeouts, no disconnects, no "intelligence" to get in your way.

    And if you open various devices that use USB instead of serial, you will find a neat little FDDI, Profilic or such chip connected to the USB interface. The devices really connect over RS232. They just have the "RS232 over USB dongle" built in.

    --
    45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
  46. Re: Will the Serial Console Ever Die? by LinuxIsGarbage · · Score: 1

    Floppies STILL aren't IDE/PATA. Ever notice how they use a different pin count (34 vs 40), and are configured in the BIOS separately?

    http://en.wikipedia.org/wiki/Floppy_disk_controller

  47. What will we do with all the US Robotics Couriers? by rcpitt · · Score: 4, Interesting
    Telus - local ILEC - is installing ~$100k worth of hardware in all the local SAC boxes to allow them to run TV over the local loop at 15Mbps.

    Guess what every SAC box has strapped to the back of the equipment rack - a US Robotics full-size (about 12"x7"x1") Courier modem!

    Damned if I know where they're getting them from - but there they are...

    --
    Been there, done that, paid for the T-shirt
    and didn't get it
  48. Actually quite useful for simple hardware hacks by Richard_J_N · · Score: 1

    If you exclude the TxD and RxD (and Ground) lines, there are still 6 others, which are trivial to interface to. YOu get 4 inputs and 2 outputs, to which you can connect switches and LEDs directly. Then use setserial/statserial to control/monitor the logic levels. This is actually quite useful sometimes.

    1. Re:Actually quite useful for simple hardware hacks by Megane · · Score: 1

      And unlike the parallel port, this form of bit-banging on the control lines generally works even with USB serial adapters.

      A lot of legacy stuff that uses the parallel port won't even work with a PCI parallel port, never mind USB adapters. That's why Windows laptops have kept parallel ports for so long.

      --
      #naabhaprzrag, #sverubfr-000, #agi-fcbafberq, negvpyr[pynff*=' negvpyr-ary-'] { qvfcynl: abar !vzcbegnag; }
  49. I hope not! by sjames · · Score: 1

    The great thing about a serial port is it's simplicity from a programming standpoint. Since console access is needed for diagnostics (that is, something is already wrong), the less it depends on, the better.

    Most of the problems can be fixed by having vendors not all use different and OH-SO-SPECIAL pinouts for the serial connection and a dirt cheap USB Serial port for the laptop.

  50. Baud rates, parity? by David+Gerard · · Score: 1

    I can't recall the last time I saw a serial port that wouldn't accept 9600 8-N-1. Not in a couple of decades.

    --
    http://rocknerd.co.uk
    1. Re:Baud rates, parity? by karnal · · Score: 1

      Even new APC network cards only do 2400,n,8,1 when doing the initial programming. Give it an IP, Subnet Mask and gateway, then use the web interface (or "telnet" - much faster) to get things going...

      --
      Karnal
  51. It enforces a management design constraint by narnian · · Score: 4, Interesting

    With the increasing complexity of network devices - switches, routers, load-balancers, firewalls, the expectancy of a functional terminal console puts a good design constraint on system developers. If they have to provide the ability within a 80x24 terminal funtionality to configure, operate and maintain a such a device it is a good thing. A good management is useful in providing an overview of the configuration and helps provide linkage to the management of components.

    A serial terminal console is good because:-

    * It enforces the designer to limit the presentation of management information to the 80x24 screen (possibly using pages), and often with a 9600bps data rate. My view is if they can't do it properly in a console they have not though well enough about management. Too often GUIs for management tend to hide important configuration parameters away.
    * A terminal console allows easy copy-and-paste and script munging of configurations to ensure consistent deployment. GUIs don't allow such duplication of configurations very well.
    * It allows simple out of band management through the use of a terminal server connecting multiple consoles. Such a simple management connection provides am always available management window in a network down situation. (Assuming this is deployed properly). You can also manage the risk well if management can ONLY be done by serial (preventing the management network inadvertently being connected to a production network.
    * While standarardisation of the physical port (male or female DB9 or RJ45) and host type (DTE or DCE) and even hardware handshaking is right royal pain. At least it is usual possible to determine it after a minimum number of tries. But essential it is pretty straightforward to implement.
    * While a USB connection sounds good, I would only prefer it if it was guaranteed to be a zero driver installation.

  52. Newer Cisco gear... by Anonymous Coward · · Score: 0

    ...has standard serial console ports, along with a USB port that acts as a built-in USB-to-serial adapter. No serial port on your laptop required. And since most Cisco routers now keep the IOS on a CompactFlash card, you can stick the card in a CF reader on your PC to copy an IOS image to it (the days of doing an IOS upgrade over xmodem on serial are loooooooong gone).

  53. Re: Will the Serial Console Ever Die? by deniable · · Score: 1

    Good point, I forgot the LS-120, and yeah, I use a USB drive if I ever need to read floppies. Mine is a combo floppy/memory card reader.

  54. You young whippersnappers and your newfangled... by ameline · · Score: 2, Funny

    You young whippersnapers and your newfangled serial consoles.

    Back when men were men, this is what a manly console looked like; http://www.columbia.edu/acis/history/360-91-panel.jpg

    --
    Ian Ameline
  55. serial on iPods by Anonymous Coward · · Score: 0

    It's not widely known but iPods/iPhone have a serial port on their docking connector.

  56. Re:What will we do with all the US Robotics Courie by Anonymous Coward · · Score: 3, Funny

    We buy those all the time for OOB redundancy. 56k US Robotics modems run about $300 now though. Pretty funny as I used to have boxes of the old 28.8 and 33.6 ones from when I shutdown a modem bank that I recycled. Now I get to put in purchase orders for 10 modems at a total of 3k. Always makes me laugh.

  57. the PORT may die but serial will live on by cryoman23 · · Score: 0

    the Serial port may died out but im sure Serial will stay with us for a very long time since micros need Serial to be programmed with and ontop of that a lot of things use serial type communications such as SATA(SERIAL ata) USB (universal SERIAL bus) and i think Ethernet would have to use a type of serial communication albeit not the same as traditional serial. really i suppose anything that nots parallel(and my laptop has one of those ports but not RS232 serial?!?) is a type of serial...

    --
    epic sig..... ya i got nothing
  58. Serial to Bluetooth Adapter by Anonymous Coward · · Score: 0

    USB-to-Serial Port adapters are old news, Bluetooth-enabled Serial Port Adapters are the new hotness. The first time I heard about one I thought it was a joke. They're real: no more balancing a laptop inside a half-filled rack or looking for an available crash cart!

  59. Re: Will the Serial Console Ever Die? by darkpixel2k · · Score: 3, Insightful

    I'd hope these days a big honking server mobo would at least support booting from USB key.

    Most of them do--but you have to realize that it took Microsoft until 2008 to release a server OS that doesn't require floppies to load RAID drivers.

    --
    There's no place like ::1 (I've completed my transition to IPv6)
  60. Serial port will not die anytime soon by Necroman · · Score: 1

    I work for a company that does medium to large business SAN boxes (dedicated block level RAID storage). We've had serial ports on our storage for a very long time and it will continue that way. It is extremely easy to get a serial port up and running from the firmware/bios for a machine that we can start outputting information to it very early in a boot process. Trying to output this type of boot data to ethernet or USB relies on too many other devices and chips coming online first.

    Serial is ease to start up with little overhead and is reliable. There is no real tech out there that can do what serial ports can do for low-level board/firmware interaction.

    --
    Its not what it is, its something else.
  61. Current loop? by 93+Escort+Wagon · · Score: 1

    Wow, I haven't heard that term in a couple decades. I remember (somewhat fuzzily) having to rewire an old PC card that was capable of handling a current loop connection (think it was just a somewhat flexible RS232 card from IBM), back in the 8086 days when the pins on a lot of chips were still far enough apart so you could use a soldering pencil on them without trouble. We had an old mass spectrometer that used a current loop interface, except against spec it expected all the voltage/current/whatever to be supplied from the other end for both the transmit and receive loops. We had been using an HP 1000 to control the mass spec for at least a decade, but with the maintenance running about $500/month we really wanted to switch over to a PC. So I ran a wire from the 5V (I think; hey it's been a while) pin on the PC backplane and fed that over an unused line in the serial cable, then at the other end modified the circuit in a way that certainly worked but would probably make any first year EE student either laugh or cry.

    Funny thing is, even back then current loop was considered to be dying, and I had a dickens of a time finding any info about it (versus "standard" serial) - but I guess Netcraft hasn't confirmed its death yet so it still hangs on, lingering...

    --
    #DeleteChrome
    1. Re:Current loop? by mjwalshe · · Score: 1

      classic MIDI is current loop - ie proper din conected deveices

  62. Re:What will we do with all the US Robotics Courie by Anonymous Coward · · Score: 0

    ...maybe from USR?
    http://www.usr.com/products/modem/business-product.asp?sku=USR3453c

    Hell, 386 chips only went out of production in 2007. Home computers do not represent the full industry. Maybe we should do a thread of Tech You Thought Was Dead.

  63. Real servers, serial is standard by David+Gerard · · Score: 1

    We got a new Sun T5120 Niagara box the other week. New build server. (32 threads in 4 cores, yeah we bought the little one.) Initial setup procedure *requires* serial to the service processor. The IT guy was already upset enough that the KVM he'd arranged had no use on a SPARC box and had to grovel around for a USB serial adapter.

    Serial is all-but-dead in desktop PC land and deader than it should be in server PC land. (Sun x86 servers always have serial.) Everything else, serial is standard and thank fuck. RS232 9600 8-N-1, usually to an RJ-45 rather than DB-9 these days. But it remains standard and indispensable. The more back doors you have into your own server, the happier you are when shit breaks.

    --
    http://rocknerd.co.uk
    1. Re:Real servers, serial is standard by funwithBSD · · Score: 1

      Get a new Solaris guy.

      He should know how to DHCP configure the ILOM and not use a serial connection.

      ILOM is the way to go, It would be nice if it was standard in all PC's too.

      --
      Never answer an anonymous letter. - Yogi Berra
    2. Re:Real servers, serial is standard by David+Gerard · · Score: 1

      Dude. This is the T5120 installation manual.

      See, it does pull an IP via DHCP. If you have a DHCP server it can see. Trouble is, you have no way of knowing what that IP is. The actual Sun recommended procedure is to nmap your subnet! IT wouldn't have been happy with that at all, as it happens.

      --
      http://rocknerd.co.uk
    3. Re:Real servers, serial is standard by drinkypoo · · Score: 1

      That's a lot of nonsense. You watch/search the DHCP server log for your MAC. I'll be quite amazed if the MAC is not still printed on the hardware. And if you are using DHCP intelligently, you've assigned a static address to that MAC before even plugging it in. Your IT department is incompetent.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    4. Re:Real servers, serial is standard by David+Gerard · · Score: 1

      The MAC isn't printed on the hardware in question. Unlike you, I've actually done this rather than masturbating on Slashdot about it.

      --
      http://rocknerd.co.uk
    5. Re:Real servers, serial is standard by David+Gerard · · Score: 1

      And the IT department in question is indeed incompetent, as my initial comment strongly implied.

      --
      http://rocknerd.co.uk
    6. Re:Real servers, serial is standard by pjr.cc · · Score: 1

      Having had this problem before... ILOM is great.. but it has one disadvantage... its network based. There are so many nuisance things that can go wrong here, mostly around loosing the network. Its also very hard to run down to the IDC with a laptop and just plugin (and hope for the best). If you loose a switch where your ilom is plugged in, you have to find another place to plug it in and pray its on the same network.

      Personally, i think anyone who uses dhcp on a management network (where ilom's are usually plugged in) is moderately insane.

    7. Re:Real servers, serial is standard by drinkypoo · · Score: 1

      I've found it both on the inside and outside of Sun equipment. YMMV. If they're not printing the MACs on them at all any more, they're working even harder to make themselves irrelevant than I thought.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    8. Re:Real servers, serial is standard by funwithBSD · · Score: 1

      Oh for goodness sake, you are as unimaginative as he is incompetent.

      Walk up with a laptop and a crossover cable (that is not even really needed these days, most systems will autodetect and compensate) and plug it into the ILOM port.

      Let the DHCP server you set up on the laptop assign an address. Check the config/log to see what address is assigned.

      Then, log in and give it a fixed address on your separate, and hopefully protected by a password enabled firewall, ILOM network.
      Hell, you could use windows sharing for this.

      --
      Never answer an anonymous letter. - Yogi Berra
    9. Re:Real servers, serial is standard by funwithBSD · · Score: 1

      You needs better network engineers...

      Your network should be as reliable as your systems, if not more so.

      I am starting to get shocked by how many people are saying "this or that won't work because X is not reliable"

      --
      Never answer an anonymous letter. - Yogi Berra
  64. Cisco ISR G2 has a USB connector for the console by dkok · · Score: 1

    http://www.cisco.com/en/US/prod/collateral/routers/ps10538/data_sheet_c78_556319.html says: " A new, innovative, mini-B USB console port supports management connectivity when traditional serial ports are not available. The traditional console and auxiliary ports are also available. Either the USB-based console or the RJ-45-based console port can be used to configure the router."

  65. Re:USB is a poor choice - Ethernet works pretty we by FlyingGuy · · Score: 1

    think Ethernet is the real replacement. A little TFT or Telnet server / client is really trivial to write. This can (and often has been done) in firmware. For example, most (all?) home Ethernet and wireless routers dont have a serial port. Their management is over Ethernet - works great.

    This is all well and good provided you have a functioning IP stack, if you don't you may as well just throw the thing in the trash. How many software layers does it take to make that mini web server work?

    I can plug ANY Cisco router into a serial port, launch one of a dozen terminal programs and I can actually see the boot loader starting the system up. THAT is valuable functionality.

    --
    Hey KID! Yeah you, get the fuck off my lawn!
  66. It's no so simple serial comunication by Draasti · · Score: 1

    Many people think it's only 2 wires (TX / RX) comunication. Well you are deadly wrong, you can see in http://en.wikipedia.org/wiki/Serial_port have a lot of other signal and the problem is many "serial usb" conversor are not working properly. I'm having nightmare trying to conect some "not so old" devices with serial port through this "serial-usb" conversor, many simple don't work.

    The true is the comunication with serial port is a mess. You don't know if you are receiving or transmiting correctly unless you "alredy" know what you will receive and can check the integrety by youself or the data your sending to device is correct. You even don't know if there are anything conected in serial port. Bottom line, there is no standard for reliable comunication.

    Yes, It's easy to develop to serial, very cheap to construct devices with serial port and (for embedded) is very low power consumption, but I think is time to let go this type of device.

  67. Nope. by Anonymous Coward · · Score: 0

    They all need to be connected to terminal servers so people can REALLY provide remote support, instead of thinking you can do everything with Telnet...Or RSH...Or SSH...

  68. Re: Will the Serial Console Ever Die? by Anonymous Coward · · Score: 0

    You can get floppy drives with usb connectors, you know. It's not like you're going to fill up the bandwidth.

  69. Keep a few old lappies, y'all! by Anonymous Coward · · Score: 0

    Just keep a few old 486 notebooks around with the DB-9 serial ports, and with Win95 and Hyperterm or Kermit (maybe even just FreeDOS and MSDOS Kermit?). Pick up spares whenever someone wants to throw them out as worthless. I used a Compaq Contura 4/33C, a "netbook" before its time from about 15 years ago, with a 486/33 SX, 12 MB RAM, 250 MB HDD (right "Mega", not "Giga"), Win95 and Kermit to manage a number of Sun Servers about 8 years ago when we did patching or trouble shooting. I still use it occasionally for messing with my Ultra60 and Ultra80 at home.

    Heck, at times I even used/use a Sharp Zaurus 3500 clamshell PDA ( NOT the Linux types - 1MB RAM, no disk, flash, or any other storage, runs on several AA batteries) with its built-in termulator when I just wanted to do some quick work, and take that in a belt holster to keep my load light for the trek to the server farm. Simple is good.

    RO

  70. indispensable for remote *nix development by ChipMonk · · Score: 1

    At my last IT job, we had a serial-to-telnet converter/concentrator, with 20 or 24 RJ-45 serial ports. We also had ~30 headless systems, of all stripes: IBM Power, HP PA-RISC 6U rack-mounts, and lots of Sparcs and PC's. Only LILO or GRUB on the PC's needed to be configured post-install to talk to the serial port; the others were already set up to talk to the serial port, either by default or as a fall-back if the keyboard was detached. Add to that a telnet-enabled power strip, and it was a remote developer's dream.

    The big advantage the serial concentrator gave us was being able to reboot and recover from a kernel panic, by being able to manipulate kernel command lines. In the event of a corrupt filesystem, if the fsck program couldn't repair it automatically during boot, the serial console made it possible to attempt a repair remotely. Not having that ability would have severely hampered our development ability.

    I have even (very, very carefully) typed serial console parameters into a Linux boot command in SYSLINUX, blindly, and done a Slackware install through a serial console. It took a few tries to get it right, but it saved moving my only monitor, which let me continue working on my desktop system while the install ran.

    Well, okay, there was also the "because I can" aspect to it...

    1. Re:indispensable for remote *nix development by kimvette · · Score: 2, Insightful

      Well, okay, there was also the "because I can" aspect to it...

      . . . but it's that "because I can" that often makes sysadmins who are familiar with this "antiquated" technology extremely valuable.

      --
      The Christian Right is Neither (Christian nor right). See: Matthew 23, Matthew 25, Ezekiel 16:48-50
  71. Other industrial devices by FRiC · · Score: 1

    Serial may be dead on the PC. But besides routers and switches, there are thousands of other industrial devices that still use the serial port. At my work place, we have weigh scale indicators that use the serial port, and we even have motor controllers that still use ISA bus cards. We looked into replacing those motor controllers, and the replacements use the *parallel port*, another dead port.

    I have a ThinkPad with the Ultrabay serial/parallel port adapter. No one's gonna care to pry it from my hands, but I'm keeping it anyway.

    1. Re:Other industrial devices by yuhong · · Score: 1

      We looked into replacing those motor controllers, and the replacements use the *parallel port*, another dead port.

      But not as dead as ISA. In fact, keeping these other legacy ports like parallel/serial/floppy/PS/2 that is on the Super I/O chip while killing the ISA bus is part of why the LPC bus was created. The LPC bus take less pins to route than ISA, being a serial bus.

    2. Re:Other industrial devices by Animats · · Score: 1

      The industrial world is transitioning to twisted-pair Ethernet. From an industrial perspective, twisted-pair Ethernet is a nice interface. It's balanced drive and twisted pair, so it has very good common-mode noise rejection. (Better than RS-232 and 5V encoder signals, in fact.) There's full error checking and retransmission, unlike serial lines. This is important when it attaches to a welding robot, or runs past a circuit breaker that's switching 5KV. Long cable runs of 10baseT and 100baseT work fine. Bridges and routers are easily available and cheap, even in industrial form. And, of course, you can put many devices on one cable.

      From a security perspective, though, this creates the problem that it's too easy to get devices on an Ethernet cable connected to the external Internet. Especially since the support programs for the devices tend to run on Windows. Most of the industrial Ethernet devices have little or no security.

  72. I'm Still Waiting for Them to be IMPLEMENTED... by xquercus · · Score: 1

    While console access via serial port has long been a given on commercial Unix and network hardware, it never caught on in the PC world. Sure, there are specific manufacturers and replacement BIOS options available to allow low level configuration of a PC via the serial port but this should have been standard from the '80s. I truly don't understand why PC manufacturers never saw the value in being able to view boot messages and configure BIOS options via the good ol' serial port.

    1. Re:I'm Still Waiting for Them to be IMPLEMENTED... by yuhong · · Score: 1

      Because the original IBM PC BIOS from 1981 was not designed to support this. It checked for the presence of a video (at the time MDA/CGA) card, and the system BIOS had routines to access MDA/CGA cards, and these was used during POST to output messages. Not to mention the BIOS configuration menus inside later BIOSs by AMI, Phoenix, etc was almost always implemented via direct access to the video card and was not designed to make outputting them to a serial port easy. Console redirection inside most BIOSes that have them is implemented by "scraping" the screen and output that to the serial port, and similarly polling the UART and simulating keyboard input.

  73. Re:You young whippersnappers and your newfangled.. by funwithBSD · · Score: 1

    Break is over!

    Back to the salt mines!

    --
    Never answer an anonymous letter. - Yogi Berra
  74. Won't die anytime soon by Anonymous Coward · · Score: 0

    When configuring a server (regardless of brand) remotely, what do you do if you really muck up the ports or routes? What if you muck up the management port, too? (I've done this too many times for comfort.) There needs to be an ohshit access method. It needs to be as simple, reliable, and cheap as possible. Serial over rs232 is exquisitely simple, amazingly reliable, and at under $10 a port (server hardware, ditto for a serial switch if you want every box available all the time) it's cheap as heck.

    Also, from the server room point of view, one should *never* send updates (software, firmware, FPGA, doesn't matter) over serial. The serial port is there as a last-ditch, nothing-else-is-working connection. It is essentially infallible, and it's what you use to get the management port working again.

    So will it go away? Very doubtful. And I would expect the same for every other industrial scenario.

  75. Depends on what you mean by "serial"... by fuzzyfuzzyfungus · · Score: 4, Insightful

    Outside of Real Serious Stuff(if your job involves oil rigs, SCADA, legacy devices that Google has never heard of this probably means you), I strongly suspect that "serial" in the sense of "DE-9 or DB-25 connector that won't freak out when exposed to the full +/- 12(or even a touch more in some cases) volts that serial used when men were men and cable runs were long" is not so long for this world, outside of a few legacy niches.

    On the other hand, "serial" in the sense of "a few pins carrying something that looks like rs-232 at whatever voltage this device's logic runs at" or "device has a USB connector; but that just means that they slapped an FTDI or Prolific chip on a serial design" will be more or less immortal. Even in high volume consumer devices, where it isn't supposed to be user accessible, you can generally find a logic-level serial connection somewhere, though it may not be labeled or have any sort of connector soldered in. It costs almost nothing and can save you from having to JTAG your way out of (most) of your mistakes. When designed to be accessible, it is ideal for dealing with initial configuration for devices that communicate primarily over ethernet.

  76. Already Going Away by Anonymous Coward · · Score: 0

    The new Cisco 2900 and 3900 series routers, while still sporting the traditional console port, have a mini-USB port as their primary console connection now. In fact, they don't ship those classic blue rollover cables anymore with the routers.

    The times are a changin', my friends.

  77. Cisco is adding USB to new supervisors by sys_mast · · Score: 1

    Cisco has been adding USB to new supervisors, some units they say they are "for furture use" so i'm not sure if USB today can replace Serial, but some units are getting the physical port today...

    So i guess it's not too crazy to think that someday. But yes, I don't enjoy hunting for a laptop that still has serial. (usb2serial is not ideal as built int)

    --
    Those who can, do.
    1. Re:Cisco is adding USB to new supervisors by Bert64 · · Score: 1

      Yes but are you sure what the ports are for?
      They could be to let people load firmware updates from usb sticks for instance.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    2. Re:Cisco is adding USB to new supervisors by desertfool · · Score: 1

      The new Gen of ISR routers have a USB console. Not sure about the Nexus line, but they may as well.

      --
      Just a dude. Stuck in IT.
    3. Re:Cisco is adding USB to new supervisors by sys_mast · · Score: 1

      A quick google search only says USB is to be enabled in future software release. I've not really looked too hard to see if the future support is outlined anywhere.

      However with items like the 4500 6-e shipping with BOTH usb A and B ports. My guess would be, the A type port for OS loads, via flash drive. And the B port possibly for management????

      --
      Those who can, do.
  78. Re: Will the Serial Console Ever Die? by Anonymous Coward · · Score: 0

    My current floppy drive (read: the last one I'll ever buy) is a USB device made by NEC. It, too, just works.

    I have one made from Samsung. When you say it "just works", though, that's not technically true. As far as I'm aware, USB floppy drives aren't capable of running low-level floppy commands. That means you can't do a low-level format (but you can do a high-level format), so you can't play around with odd track/sector layouts. Not that many people actually want to anymore. Still, I was disappointed when I found out that my fancy, new USB floppy drive was actually less capable than my old, clunky desktop floppy. *sigh*

  79. Re:USB is a poor choice - Ethernet works pretty we by Foredecker · · Score: 4, Insightful

    Not much really - it only takes a very minimal stack to do simple things like TFTP or Telnet. Back in the mid 90's We used do to do this on '186 class stems in a few k of code. Its also easy to do a very simple low level UDP based thing - that that would be a bit proprietary.

    I agree that serial ports are useful. What I'm suggesting is that the best alternative is Ethernet, not USB.

    --
    Jibe!
  80. Re: Will the Serial Console Ever Die? by deniable · · Score: 1

    PATA/IDE... whatever, its the same difference.

    Yes, but they aren't normally floppy connectors.

    And no, most optical drives out there are now SATA. Got a new computer a couples months ago, and it has a SATA optical. Goto newegg... the SATA drives outnumber PATA almost 3-1.

    And that has nothing to do with units 'out there.' That's new gear. Take a tour in the trenches and you'll still see a lot of machines with IDE optical drives.

  81. Wait a minute... by avatar139 · · Score: 1

    ...You mean it's not already dead?

    --
    I'm honest enough to admit I lie to myself.
  82. It depends by bXTr · · Score: 1

    If your serial console is 5 meters (16.4 feet) away, or less, USB is fine. 5 meters is the stated maximum cable length for USB. Any longer, and you'll have timing issues. RS232 has a stated maximum cable length of 50 feet at 19200 bps. As another commenter stated, 9600 bps would be quite fast enough, so you can go up to 500 feet. Just make sure you use good cables that effectively shield out both external and internal noise.

    For longer distances or noise concerns, like in a manufacturing plant, you can use fiberoptic cable with converters on either end. RS232-to-fiber converters have been around for years, and USB-to-fiber converters are available, too.

    As an aside, years ago we upgraded our servers from ones that only had a serial console terminal to ones that had both serial and ethernet based ones. I had no problem going to the ethernet ones, but my boss at the time got nervous. She made me hook up one of the console terminals from our old servers to the new ones. Unfortunately, we had already removed the desk we used in the server room for the console terminals to make room for other servers. I had to put it on one of those movable computer desks and I never could find a good spot for it. Eventually, I went from ops to development, so it became someone else's problem.

    --
    It's a very dark ride.
  83. Re:USB is a poor choice - Ethernet works pretty we by Anonymous Coward · · Score: 0

    First, it has been ubiquitous for 20 to 30 years.

    Hell, longer than that. Not all that long ago I had to interface to a piece of gear made in the late 1960's (a big industrial-strength plotter, basically) Wasn't a problem since it had good ol' rs-232. IIRC, it had a pretty weird parity/stop-bit combo (it used something like 150 7E2) but nothing that a modern UART couldn't handle.

    The first teletypes using RS-232 appeared almost 50 (!) years ago now and it was pretty ubiquitous by 40 years ago. Its longevity is incredible. I hope it keeps its niche, it's still very handy.

  84. Re: Will the Serial Console Ever Die? by kimvette · · Score: 1

    many server-class motherboards still require IDE optical drives, and with some chipsets an optical drive can't be used on SATA because the SATA RAID chipset is only for hard drives, unless you switch them to JBOD/IDE/AHCI mode rather than RAID. Now, I'll give you that in an ideal world one would be using a hardware RAID controller (SAS or SATA, anything but fakeRAID) but the reality is that bean counters often won't pay the small premium for that upgrade.

    IDE should die but it's going to be around for a while longer.

    --
    The Christian Right is Neither (Christian nor right). See: Matthew 23, Matthew 25, Ezekiel 16:48-50
  85. Re: Will the Serial Console Ever Die? by kimvette · · Score: 1

    Anyone who has to support Windows 2003 or XP or earlier uses floppy drives on a regular basis.

    Fortunately, most servers will work with a USB floppy drive just fine. Not all will though.

    Also, many server BIOS update routines require booting off the floppy drive - You can often work around that but it's a pain in the neck - it's easier just to have a floppy drive installed in the server even though you'll use it two or three times during the life of the server.

    --
    The Christian Right is Neither (Christian nor right). See: Matthew 23, Matthew 25, Ezekiel 16:48-50
  86. Re: Will the Serial Console Ever Die? by phillipsjk256 · · Score: 1

    Servers probably still use floppy drives because there is still no viable floppy replacement.

    • USB keys don't have write-protect tabs, so you have to be careful plugging into a compromised box.
    • SD Cards use a form of DRM called Copy Protection for Recordable Media. This means that you can not create a "kown good" filesystem image because your Card may refuse to talk to the card reader (you filthy pirate!).
    • CD-ROM disks are either Write-once or not write-protected. This makes making small changes to the boot image difficult (requiring a new disk).

    Yes, I do use a floppy: my home router is running from a write-protected floppy disk. I am not sure if I can keep using a floppy disk in the transition to IPv6. The 2.6.x Linux kernel doesn't really fit on a floppy disk.

  87. USB nothing to do with RS-232 by tristezo2k · · Score: 0

    Just to make sure it is understood. There is no relationship between USB and RS-232 or RS-422/455 but the term "serial" on its name. RS-232 is not to be replaced any soon since it is simple, solid, easy and do not fails for what it is meant to be used. There is no replacement for it yet. USB is good at what it is, but it is not good at replacing RS-232. It is like plane replacing bicycles. Both are transports, similarities ends there. RS-232 will be left when ethernet interfaces get so interoperables that a single driver will be needed. Do not hold your breath for it. Even now some devices are setup using broadcast and carefully crafted packets. Would be nice to know that IPv6 has reserved a network for that, but I do not think that something so usefull is to be done.

  88. RS232 is fee-free by Andrew+Sterian · · Score: 5, Interesting

    From a device manufacturer's point of view, RS232 is free to implement. No special drivers are required on the host.

    Now, for USB, you have to either pony up $2000 PER YEAR to the USB implementers forum to get your own VID/PID and distribute a driver to your customers (and deal with the resulting customer service issues) or add a chip from FTDI (or similar) and piggyback on their VID/PID but then ask your customers to download and install a generic driver that does not specifically identify your hardware.

    Gimme RS232 any day.

    1. Re:RS232 is fee-free by Anonymous Coward · · Score: 1, Informative

      Mostly True FTDI will give you 8 PID number of there VID for free.
      You then edit the install and it says you. So for Linux
      Then for 400 dollars for a Verisign Number and 100 to Microsoft It will ID your equipment and Download from Microsoft update ( FTDI has an app note).

      Or you slap in a MAX232A and your done.

    2. Re:RS232 is fee-free by timonak · · Score: 2, Informative

      Thats not 100% true. You can get a 16 PIDs from FTDI for free and use their programmer tool to replace their PID with yours. I did this for a biomedical device manufacturer we purchase equipment from. You still have to use their VID, and it takes a tiny bit of work to make the FTDI serial driver work with the new PID but its entirely doable.

    3. Re:RS232 is fee-free by Anonymous Coward · · Score: 0

      >"or add a chip from FTDI (or similar) and piggyback on their VID/PID but then ask your customers to download and install a generic driver that does not specifically identify your hardware."

      The nightmare morass of conflicting drivers that is FTDI and their customer-driven provisioning system is actually far, far worse than you have described it there. Try getting a Quartet programming dongle *and* a bunch of usb-serial converters *and* an Aardvark analyzer to all co-exist on your machine at the same time... I made it work in the end, by renaming clashing driver files and hand-editing the INFs to install them under their new names, but somehow FTDI and their customers have managed to collectively get it very very wrong indeed.

  89. um, idea.... by AnAdventurer · · Score: 1

    Buy new stuff.

    --
    6.8SPC TR of 550, l xwind at 6, drift rt at 26" drops 77". AT has 503 ft-lbs at 1403 fps. FT 0.86
  90. its up to the server hardware vendors to fix this by Anonymous Coward · · Score: 0

    serial consoles for unix / linux servers will continue as long as vendors ship their servers/blades with lame java based video console extenders and terrible buggy ssh implementations. The latest IBM system X 'imm' implementations still suck because of complex architectures like Java WebStart that dont play well with the firewalls that NAT which are almost always in between the sysadmins workstation and the servers to be administered. sun x86 and HP servers are not much better. at least with sun sparc gear the openboot implementations are very stable now, and hardly anyone contemplates running serial to these much any more. but the future of x86/x64 architectures still seems bound up in video consoles, or 'serial redirect' where the bios setup gets turned into curses style serial.. sorta. ie its all hacks and kludges.

  91. It'll never die by PPH · · Score: 1

    Who wants to be known as a serial killer?

    --
    Have gnu, will travel.
  92. Newest Cisco gear uses mini-USB or Serial by Blademan007 · · Score: 1

    take your pick.

  93. Re:USB is a poor choice - Ethernet works pretty we by yuhong · · Score: 1

    Don't forget USB kernel debugging support in Vista too. It uses a Net20DC.

  94. Re: Will the Serial Console Ever Die? by Mad+Merlin · · Score: 4, Insightful

    I'd hope these days a big honking server mobo would at least support booting from USB key.

    Most of them do--but you have to realize that it took Microsoft until 2008 to release a server OS that doesn't require floppies to load RAID drivers.

    Then again, it's hard to take anyone seriously that uses Windows in a server role.

  95. Re:What will we do with all the US Robotics Courie by spinkham · · Score: 1

    I still have my Courier V.everything modem from the 90's.. Was upgradeable for every change up until the v.92 standard, and was the best modem available through v.90.

    I don't even have a landline at home anymore, but still can't bring my self to get rid such a long-lived piece of tech...

    Also, security tip: Wardialing isn't dead, it's just gotten better.. Modems are an oft overlooked piece of a security strategy, and it's still fun to get to p0wn a company through some old 33.6K modem on an audit..

    --
    Blessed are the pessimists, for they have made backups.
  96. Re:USB is a poor choice - Ethernet works pretty we by yuhong · · Score: 1

    Yep, remember the age of minicomputers? PDP-11, VAX, Data General, etc?

  97. Dell Legacy Extender by Space · · Score: 1

    I bought my work laptop, a Dell E6400 ATG (semi-ruggedized) with the Dell Legacy Extender. It locks into the docking station port on the bottom of the rig and has a real UART chip inside attached to the system bus making it a real RS232 serial port. I program industrial robotics and have yet to find an instance where it does not work. Some of the systems I connect to are 20+ years old.

    --
    I Don't Work Here
  98. Two things here by Anonymous Coward · · Score: 0

      1. RS-232 hardware connectivity.

      2. VT-52 or more command line.

  99. Re:Current loop! by Animats · · Score: 1

    Well, I have a current loop device on my desk. I had to design and build a USB to current loop converter for a 60mA 120VDC current loop.

    But that, of course, is a retro technology tour de force.

  100. Use microSD{,HC} + adapters by Mathinker · · Score: 1

    > USB keys don't have write-protect tabs, so you have to be careful plugging into a compromised box.

    Many microSD (or microSDHC) cards come with an SD card adapter and some of the adapters still have a write-protect switch. You can then plug that adapter into a small USB card reader, and voilà! Possible to still have "USB key" with write-protect.

    You also should still be able to find 2GiB SD cards which have write-protect switches which can be used directly in the same card readers (and last time I checked, the 2.6 kernel wasn't that bloated <wink>).

    1. Re:Use microSD{,HC} + adapters by Bert64 · · Score: 1

      I believe the write protect switches in SD cards are implemented in software, that is you can force the hardware to write to them anyway.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    2. Re:Use microSD{,HC} + adapters by phillipsjk256 · · Score: 1

      You obviously didn't understand my objection to "Secure Digital" cards: If it includes DRM, I can't trust it. I don't look forward to having to buy surplus servers just to avoid HDMI with HDCP built in.

    3. Re:Use microSD{,HC} + adapters by Mathinker · · Score: 1

      The WP article on SD cards has information on a manufacturer of "Super Digital" cards which are SD cards without the overhead of DRM. Enjoy.

      I still can't figure out why you think that would make the card more trustworthy, though. The last batch of Trojaned hardware I heard about were network routers which, as far as I know, didn't have DRM.

    4. Re:Use microSD{,HC} + adapters by phillipsjk256 · · Score: 1

      I have no idea what you are talking about. My guess is 'WP' refers to "Washington Post." To use the 'SD' logo, the cards must implement the DRM:

      Having a proven record in DVD, this (CPRM) is enhanced in SD memory cards through the use of "key revocation" technology built into each card.

      The card's control circuitry allows data to be read and written (in its protection area) only when appropriate external devices are detected. A check-out (copying) from a PC to the SD memory card is restricted to three copies in compliance with the SDMI specification. All SD-Audio products comply with SDMI.

      The SD card copyright protection function has the following features:

      • Access to an SD memory card must be enabled by authentication between devices
      • random number is generated each time there is mutual authentication and exchange of security information

      - http://www.sdcard.org/developers/tech/

      I don't find DRM'd cards trustworthy because they are designed to fail in sometimes unpredictable ways. My storage devices have no knowledge of copyright laws, so should not try to enforce them when I am trying to boot from a "known good" filesystem!

      I just hope the upcoming Universal Flash Storage (UFS) is a viable floppy replacement. I am not optimistic, as if I had read the proposed standard, I would not be allowed to provide you with that link.

      Trojans are easy enough to get rid of with: # dd if=/dev/zero of=/dev/sda
      Where /dev/sda is your flash device.

    5. Re:Use microSD{,HC} + adapters by Mathinker · · Score: 1

      From: http://en.wikipedia.org/wiki/SD_card#DRM_features :

      Super*Talent, a manufacturer of computer memory, has created the "Super Digital" card. They are the same in appearance and function as regular Secure Digital cards, but they lack the CPRM code commonly found in Secure Digital cards.

      The cited reference is here. I'm not sure you'll be able to view it, however, because it seems to require Javascript.

    6. Re:Use microSD{,HC} + adapters by phillipsjk256 · · Score: 1

      Well, I reloaded the cited page with JavaScript enabled: still no "super Digital" cards listed. I see the following: CFast Cards, Secure Digital Cards, High Capacity SD Cards, MicroSD Cards, MicroSDHC, CompactFlash Cards, I-Temp CF Cards, and MiniSD Cards. All the 'SD' cards use the "Secure Digital" logo.

      Super Talent Secure Digital card also provides security feature called Content Protection for Recordable Media (CPRM), which enables a new distribution system for music and other commercial media and assures a high level of protection against illegal copying.

      - http://www.supertalent.com/products/sd_detail.php?series=Secure Digital Cards

      If it makes you feel any better I am thinking of trying MMC cards to see it the problems I have experienced with SD cards are simply due to Crappy card readers. Very few are actually USB certified. Even some that have the logo don't appear to be on the list. I am going to have to investigate whether is is possible to certify a card reader implementing CPRM (because it breaks the generic mass storage device driver). If is possible that the certified devices are only tested with CF or MMC cards.

  101. It's okay by jones_supa · · Score: 3, Insightful

    Not all hardware has to be thrown into garbage just because it's old.

  102. It will be a cold day in hell before mine go. by mirix · · Score: 3, Insightful

    This machine has 11 UARTs on it, 4 of them are RS-422, the rest are normal 232.

    I've got a couple 232 lines to other puters in this room, and a router.
    RS-422 goes down to the basement, and controls the machines down there, ethernet or not.
    There is a getty running on one, in case I get too drunk and smash the monitor.

    I use the remainder for connecting to my microcontroller projects and programmers, etc.
    You can run it on *ancient* hardware, with no resources. It's incredibly useful for debugging microcontroller programs.
    Things that only have 128bytes of RAM, and a few k of program rom...

    You can hook it up to a 40 year old TTY and it will work.
    You can haul a dumb terminal out from a cave and it will work.
    You can short every pin of the serial port together, leave it there for a decade, come back, and the bloody thing will still work.

    I'm a rather miserable programmer, and serial is a bloody cakewalk to interface to. USB, on the other hand, isn't quite as simple.
    And it's a *standard*. Man I love things that are standardized.

    --
    Sent from my PDP-11
  103. Re: Will the Serial Console Ever Die? by Anonymous Coward · · Score: 0

    SuperDisk... same foot print as a floppy, also read floppys, and was IDE

    http://en.wikipedia.org/wiki/SuperDisk

  104. Re: Will the Serial Console Ever Die? by adolf · · Score: 1

    Are you sure? I seem to recall using it to make some OS/2 install floppies a few years ago, which (IIRC) have a non-standard format.

  105. Re:What will we do with all the US Robotics Courie by Anonymous Coward · · Score: 0

    Damned if I know where they're getting them from - but there they are...

    They still sell them[1]. No matter how much engineering goes into USB or the TCP/IP stack, they're still more prone to failure than 56k modems and a serial port.

    [1] http://www.usr.com/products/modem/business-product.asp?sku=USR3453c

  106. Re:USB is a poor choice - Ethernet works pretty we by evilviper · · Score: 1

    I think Ethernet is the real replacement. A little TFT or Telnet server / client is really trivial to write. This can (and often has been done) in firmware. For example, most (all?) home Ethernet and wireless routers dont have a serial port. Their management is over Ethernet - works great.

    That works pretty well when the device is supposed to be a DHCP server to begin with, but not so much, otherwise.

    How do you configure the IP address of a new device? With, say, printers, there's some proprietary software that will scan the entire network for BrandX devices and offer a GUI to configure them. And then any network protocol is pretty impractical for the simple reason that you get disconnected upon device reboots, and no way to know to auto-reconnect upon restart. Compare this to RS-232, where it's as simple as walking over and plugging-in to the device directly, and having a continuous connection as good as if you had a keyboard and monitor wired-up.

    These issues make it very cumbersome and clumsy in enough ways that it won't catch on in the business-space as it currently is. A whole new protocol is needed for this kind of device management over ethernet... and good luck implementing all this in a PC BIOS...

    --
    Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  107. USB console? Serial console? by VincenzoRomano · · Score: 1

    Why all this stone age stuff when you can have TCP/IP over ethernet with technologies like iLO, LOM and the likes running on separate integrated hardware?
    Stop thinking in terms of interfaces, please, and start worrying about services!

    --
    Maybe Computers will never be as intelligent as Humans.
    For sure they won't ever become so stupid. [VR-1988]
    1. Re:USB console? Serial console? by joshio · · Score: 1

      I fully agree with you for servers. However, for switches, routers, PDUs, UPSs, etc, iLO/LOM/IPMI/RIB really isn't that useful. Some newbie messed up an access-list or a route in the router and now you can't access it remotely? Good luck with TCP/IP there; I'll keep my 56k modem + serial connection for out-of-band management, thank you. Even better, I can connect a terminal server to the modem so that I can get to the consoles of all of the network devices - Oh, some newbie shut down the PDU port(s) that powers the Router/Switch? I can dial in and fix that for you.

    2. Re:USB console? Serial console? by VincenzoRomano · · Score: 1

      In the real world networking is multipath and redundant, so "messing up" is an inlikely event.
      Can you imagine how secure is a terminal server attached to a modem?
      Nay, I still prefer networked out-of-band management designed for real world cases.

      --
      Maybe Computers will never be as intelligent as Humans.
      For sure they won't ever become so stupid. [VR-1988]
    3. Re:USB console? Serial console? by joshio · · Score: 1

      I am familiar with the "real world". We have connections from two telcos to each of our sites. I am not worried about me screwing something up to kill my remote access to a site, or losing a circuit and losing access to a site. What I am worried about are the other people I have to work with that can barely hook up a Linksys switch who are permitted full RW access to the Routers and Switches that run everything. If you've not witnessed the type of damage a stupid person can do, you are extremely lucky. If the stupid people ever go away, then I will feel comfortable giving up the modems.

      As far as security is concerned - you're right, it is less secure than a well-designed IP infrastructure. However, I have yet to see any random logins on the console server logs. I'm guessing that wardialing is declining in popularity.

      Regardless of all that, I still prefer the console for initial device setup. It seems like we never have unused KVM dongles laying around, and I hate to drag out the crash cart just to configure an IP address; especially since the monitor routinely gets removed for some unknown reason. It takes only a few moments to cross-connect from a RJ-45 console port to the console server. Only a minute longer if I need to grab a RJ-45 to DB9 adapter.

  108. Forget Moore - what about Wirth's law? by fibrewire · · Score: 2, Informative

    "Software is getting slower more rapidly than hardware becomes faster." -Wirth

    Lets see - I'm building a UAV using RS-422 for fly-by-wire operation using a RTOS and embedded hardware. Do I want TCP/IP or USB buffers involved on servos that control its ability to stay in the air? I can only imagine getting a lecture from an engineer at Raytheon about keeping things simple.

    I wonder if someone will make a joke about selling Toyota Motor Corp a USB accelerator control...

    1. Re:Forget Moore - what about Wirth's law? by adolf · · Score: 1

      You might be surprised.

      The Raytheon gear I installed last week has an Ethernet port and an embedded web server, instead of the lone RS-232 port that the previous version of the same thing had.

      At least they're staying away from USB, I guess.

  109. 2 main problems by Casandro · · Score: 1

    The first is obviously that it's really easy to implement on microcontrollers. Plus it always works.

    The second problem is less obvious. Have you ever tried to use one of those USB->Serial converters under Windows? In every other OS you just plug them in and they work. This is because they are part of the USB standard. With Windows you need a driver for each one of them. So if you want to save your bricked router over USB, you'd first have to find the CD-Rom with the driver for that particular USB->Serial converter. Good luck with that.

  110. Re:You young whippersnappers and your newfangled.. by value_added · · Score: 1

    Back when men were men, this is what a manly console looked like; http://www.columbia.edu/acis/history/360-91-panel.jpg

    The younguns should note the suit and tie. It was how we got things done. That's right. Getting things done required a Real Man wearing a Real Suit And Tie. Or labcoat and tie.

  111. Re:USB is a poor choice - Ethernet works pretty we by Anonymous Coward · · Score: 0

    "For example, most (all?) home Ethernet and wireless routers dont have a serial port. "

    I strongly disagree with that! EVERY processor used in wireless routers do have serial or at least JTAG port. Thankfully, because when you brick them, that is the only way out.

  112. console on new laptops by Anonymous Coward · · Score: 0

    I work in networking and the console port a must for out-of-band recovery and initial setup.

    What really iritates me is the removal of console ports on laptops. My works laptop has a console port, because we are careful about rthe correct box (my next laptop will not have a console port due to changes in the company).

    Solution - All laptops have a modem port, but increasingly no console - now why can't the modem port be made to switch to pure serial RS232 signalling for people like me who never use the modem but use serial consoles every day.

    Then you could get a RJ11 to db9 to give you a proper serial port. So that RJ11 port for the modem could server two functions and without having the large DB9 using up laptop port real estate.

    Just my thoughts

  113. replacement? no, but already here for non-x86 by cfriedt · · Score: 1

    First of all, it's important to distinguish that RS-232 is just a signalling convention. RS-232 requires an RS-232 transceiver, exactly the same way that USB requires a USB transceiver. Both of these technologies are for serial communication. Both of these technologies can be backed by a UART (see Catsoulis) but USB often skips the UART backend, opting for direct access instead. What you're really talking about is replacing the traditional RS-232 transceiver with a USB transceiver on devices. Sure, why not?

    Reason 1) a UART is absolutely crucial for OS debugging, boot loader debugging, and recovery from corrupt nand, because it's cheap, simple, and sufficient. Often (especially when reverse engineering a device) a UART can be the only way to interact with the OS during the porting phase.

    Reason 2) Although most (decent) OS have a USB stack that will work in both host and device mode simultaneously, often there is some external hardware preventing direct usage of an OTG or USB-device port (e.g. VBUS sensing). Interfacing with a UART requires no knowledge of external circuitry aside from pin configuration.

    Reason 3) Lower-level 'operating systems' that run on microcontrollers or DSP often do not have such a sophisticated USB stack. UARTs are just simpler.

    So now that we know complete replacement is unlikely... I can tell you that the USB console you're asking for is already here (with varying protocols). The protocol is determined by the device in question (either statically or at runtime) and will typically be one of i) CDC Ethernet / RNDIS, or ii) CDC Modem, but custom protocols are also possible.

    CDC Ethernet is essentially what you're looking for in terms of 'auto-negotiating' baud rates, but you still need to configure the Ethernet / IP layers. Drivers exist for most decent host operating systems, and even Windows!

    The device in question needs to have an OTG or USB-device port, neither of which you're likely to see on x86 or x86_64 chips without external hardware (AFAIK manufacturers assume that x86 chips are always the host in a USB transaction). On the other hand, most ARM SoC have had an OTG or USB-device port for years already.

    1. Re:replacement? no, but already here for non-x86 by cfriedt · · Score: 1

      JTAG is intentionally excluded from my argument

  114. Re: Voltage swing by TeknoHog · · Score: 1

    Are there damn good reasons why RS-232 serial ports should be dropped from modern hardware? Hell yes, not the least of which is a 3-15 volt swing signalling protocol is an invitation to fry the low-voltage electronics on modern systems.

    A lot of current embedded hardware has a serial connection with TTL levels. It may be for debugging/hacking only on the PCB, for example on my Nokia N800 and Buffalo Linkstation Live. On the other hand, some older equipment uses TTL level serial as the main outside connection, for example my old Nokia 6110 phone and my Casio graphing calculator. I guess the reason is not so much the fear of frying sensitive electronics, but the extra hardware needed to generate the higher voltages.

    --
    Escher was the first MC and Giger invented the HR department.
  115. Will the VGA port ever die? by TeknoHog · · Score: 1

    Serial is a digital, bit-accurate protocol that has been phased out for a long time. On the other hand, we still have the analog blur of VGA as the only external display connection on many current computers.

    http://iki.fi/teknohog/rants/vga.php

    --
    Escher was the first MC and Giger invented the HR department.
    1. Re:Will the VGA port ever die? by drinkypoo · · Score: 1

      Analog blur? I don't know what you're talking about, and neither do you. RAMDACs have gotten very good in general, and some are even better (e.g. Matrox.) VGA is just a pin assignment and description with specified voltage levels and such. Notably, it can carry a higher-resolution signal than basic HDMI or other single-link DVI implementations like Mini DisplayPort. If you have a shitty RAMDAC, shitty cable, or shitty monitor, sure you'll get blur. But if you have a shitty LCD, you'll get a blurry display. All blur is not owned by VGA.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    2. Re:Will the VGA port ever die? by TeknoHog · · Score: 1

      To me this is mostly a matter of principle and cost. When going from a digital computer to a digital display, any analog conversion in between is an unnecessary waste of money, energy and hardware. More so if you want better quality conversion. Any such conversion introduces an inherent loss of quality — it may not be perceptible, but it is completely unnecessary.

      --
      Escher was the first MC and Giger invented the HR department.
    3. Re:Will the VGA port ever die? by drinkypoo · · Score: 1

      I agree with efficiency on principle, but the reality is that VGA has continued to be a very valuable port and is often the only one that works right...

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  116. People Who do "Routers and switches and stuff" by Hymer · · Score: 1

    People who configure routers, switches and other RS232 equipped things do usually know those funny baud rate, parity, stop bit etc. things.
    Btw. you may run an RS232 at a megabit or more, that is what UMTS adapters usually do, even when you connect them as USB or PCCARD devices.
    Limits are only in BIOS, you may run is as fast as it is technically possible which is a lot more than the usual max of [insert preferred max. speed here]. The reason for not doing it is to be compatible with older hardware.

  117. U-Boot and Embedded Systems Work by highways · · Score: 1

    Try getting U-Boot (http://en.wikipedia.org/wiki/Das_U-Boot) to work without one.

    Or early Linux embedded board bring-up.

    Or virtually any microcontroller work, where all but the simplest of devices have one or more UARTs.

    Go on, prise my serial port from my cold dead fingers...

    1. Re:U-Boot and Embedded Systems Work by thoughtspace · · Score: 1

      We did - we send/receive the u-boot serial data via UDP in parallel with the serial port.

      This was used to change environment variables on remote systems.

  118. USB... by Bert64 · · Score: 1

    Serial is standard, whereas USB devices typically need drivers...
    The Marvell Sheevaplug for instance has a USB console port, but you need to install drivers... Linux has these drivers by default, but osx/windows don't, and the osx drivers are horrendously buggy.

    --
    http://spamdecoy.net - free throwaway anonymous email - avoid spam!
  119. Let's not let this fallacy through either by Anonymous Coward · · Score: 0

    Centronics, PS/2, and current loop are mostly defunct.

    Properly secured business workstations and servers have USB (and FW) disabled. Add to that huge investment in PS/2 based KVM switches and no, PS/2 is not "mostly defunct".

  120. Re:USB is a poor choice - Ethernet works pretty we by Hognoxious · · Score: 1

    I've had a linux box go totally Helen Keller - X stuck, not responding to keyboard or mouse, couldn't get in with SSH over the network.

    I was able to get in with my Psion 5 via the serial port and perform an orderly restart.

    --
    Confucius say, "Find worm in apple - bad. Find half a worm - worse."
  121. You all are missing something here...distance by Anonymous Coward · · Score: 0

    Everybody saying just use USB are having a little bit of tunnel vision for YOUR use of serial/usb.
    you are envisioning a laptop in hand and walking up to a device, close enough that a USB cable is an option.

    It is not always that way.

    I've personally run serial cables hundreds of feet to machine tools from a central code storage computer.

    Now try that with a USB cable. you have to have a powered hub every, what, 6 or 8 feet for a 250 foot run?

    Not all serial connections are Rs-232, some have longer transmission lengths, and by slowing the baud rate, up to 4000 ft (from wikipedia).

    Serial does things USB does not, so it won't be replaced till something does everything it does, and better.
    It is just not USB at this point.

     

  122. Realible by Anonymous Coward · · Score: 0

    More realible than USB (EMC).
    Serial connectors are a lot more reliable than those modular things used for ethernet.
    RS232 still makes sense.

  123. Re:What will we do with all the US Robotics Courie by Anonymous Coward · · Score: 0

    No matter how much engineering goes into USB or the TCP/IP stack, they're still more prone to failure than 56k modems and a serial port.

    I'd be very surprised if it was otherwise. Simpler generally means more reliable.

  124. Eprom burners, XY-Plotters, MCU Devboards... by MindPrison · · Score: 1

    ...all use SERIAL, even today.

    Unfortunately all my new PC's only come with USB, so I'm using older computers to be compatible with both the SOFTWARE (that wasn't made for seriously fast computers) and the RS232.
    I'm using a 3 dollar USB-to-Serial on my newer pc's though. (China, yay!) ;)

    I have a whole bunch of RS232 based stuff, my two Eprom burners all use RS232, my 8x52 series MCU devboards (purchased recently!) use RS232...My Roland compatible XY flatbed plotter (used to plot PCBs) uses it...
    My Radio-Amateur modem (Multi modem), connected to my radio-amateur gear...also uses it...and the list is virtually ENDLESS ...so no - it ain't going anytime soon.

    --
    What this world is coming to - is for you and me to decide.
  125. Derivation of "common ground" by tepples · · Score: 1

    Even your "three wire description" has left something important out, that I've seen mis-wired: the third wire is _signal ground_, not "common ground". "Common ground" is when we share something interesting to talk about: it's an unfortunate choice of words for wiring.

    What's a better term for the "signal ground" that is "common" to all signals?

    1. Re:Derivation of "common ground" by Antique+Geekmeister · · Score: 1

      That's a very good question, the sort of thing that makes electrical engineering instructors excited and wipe off a chalkboard to give explanations. Complex electrical components have various "grounds", and many are certainly not necessarily "common". Even for circuitry that talks to each other, the "signal ground" may be electrically isolated from the power supply grounds and the case grounds and should be handled separately. If you don't do this, you wind up with mistakes of the sort I've seen, where someone wires case ground for the serial port to the signal grounds, someone accidentally miswires a power supply, and you have "neutral" of one device wired directly to the serial port grounds of the other, and trying to carry a few amps of current down a really _surprised_ serial cable.

      For serial ports in particular, the "signal ground" of one port may be quite different from that of the network port, other serial ports, USB, or the memory circuitry or CPU. And that difference can cause mistakes: RS-232 is particularly robust against such mistakes, but it's not immune, especially over long distances.

  126. No. by Anonymous Coward · · Score: 0

    Why should it, if it 'aint broken, don't fix it!

  127. Re: Will the Serial Console Ever Die? by Anonymous Coward · · Score: 0

    Yes, quite recently in fact. There's still plenty of hardware around that needs a floppy for firmware upgrades.

  128. Re:USB is a poor choice - Ethernet works pretty we by Anonymous Coward · · Score: 0

    Now, if the FireWire S800T with Ethernet cabling would be royalty free standard...

  129. $11.14 at serialgear.com by Skapare · · Score: 1

    The two I bought were only $11.14 each and worked in Ubuntu 9.10. I haven't tried BSD or Windows, yet. Well, OK, there is also shipping.

    --
    now we need to go OSS in diesel cars
  130. Would be nice to change the physical port spec by Comen · · Score: 3, Insightful

    I think the DB-9 connector is a little big for what its doing though, I mean even a DB-15 monitor type connector is duplo size for 15 pins.
    Maybe I just like Cisco to much, but it would be nice to have everyone just use the Cisco RJ-45 spec for serial connections, I hate when other router/switch vendors use RJ45 but the pins-outs are totally different so you have to find that special DB9 to RJ45 adapter for that 1 piece of gear, instead of using 1 of the Cisco adapters that you have laying everywhere.
    Even if on the back of laptops they used RJ45 for serial and marked they would keep it around longer? the DB9 connector seems to big realistate wise to me I guess.
    Then you could just use a regular RJ45 cable to connect between the 2, no need for some non-standard cable.

    Also for those of you that use console servers allot, I still think the older Cisco access servers that many use for console servers now a days are better than any of the Linux server type solutions I have tried. The Cisco access devices supports telnet to each port, a real routing table that supports multiple gateways via static or even routing protocols like OSPF etc... also Tacacs+ auth if you need that.

    1. Re:Would be nice to change the physical port spec by adolf · · Score: 2, Interesting

      That's nothing.

      I used to have an 8-port BocaBoard (on a 486 PC which I stubbornly configured to have 14 working serial ports, just because).

      It used 10-pin connectors (RJ-48?). At the time, Ebay didn't exist, and the tooling to put the connectors on was rather expensive, and 10-conductor flat lead was hard to find. You'd think, though, with 8 pin cabling being common, and RS-232 only ever really needing three, five, or seven pins (8 with RING), that they'd have included the most useful lines toward the middle of the connector, and the least useful lines toward the outside.

      So that, you know, you could just plug in a 4, 6, or 8-wire cable and things would work.

      They did not do this.

      I forget if it was DSR, DTR, CTS, RTS, or what, but one of those fucking useful lines was on one of the outer-most pins of that 10-position connector -- the pin that was impossible to crimp properly. And one of the more useless lines was in toward the middle.

      I honestly think that it's the fault of some marketer at Boca Research, who possessed enough clue to believe that in doing it this way he'd sell more cables. Instead, it just pissed me off enough that I never considered buying anything from Boca, at all.

      I ended up clamping the connectors down in a vice, and with a small screwdriver and a hammer, gently tapping that one outside contact down into place.

      That all said, I like the DB-9 connector. I can fasten it in place in bad environments, and it stays put. But they're such a pain to terminate that I usually end up using RJ-45 to DB-9 (or DB-25) adapters, anyway. So: if a standard is to be had, then Cisco's is probably as useful as any other.

    2. Re:Would be nice to change the physical port spec by Anonymous Coward · · Score: 0

      Even if on the back of laptops they used RJ45 for serial and marked they would keep it around longer?

      Are you serious? There's a damn good and obvious reason why this doesn't happen. I used to get sick of support calls from people plugging their Ethernet jack into a phone line and wondering why it didn't work, thinking that it was a modem port because the two are so similar. Adding yet another similar connector to the average laptop is just asking for trouble.

      If you have Cisco adapters lying everywhere one would think it's not an issue for you? :)

  131. Windows guy? by otis+wildflower · · Score: 1

    For anyone in the unix world, this is a ridiculous question. Serial ain't goin' nowhere, thank Xenu. Actually, MacOSX + screen + generic USB serial dongle works darn well for consoling into host serials..

    For Windows folks, I can understand the curiosity.

    Serial is the ASCII of communications links.

  132. I'm biased by Anonymous Coward · · Score: 0

    I have to say it right up front. I love serial ports. They are simple to implement in hardware and software. The are simple to use. They are easy to understand. While I'd say that the Maxim chips have made RS232 easier to implement, you can still wire your own without it. Of course, it's possible to do the same with USB, but it would take quite a bit more work and it wouldn't be a "legal" USB port without joining the association.

    There's no denying that USB has a faster transfer rate than any RS232 implementations that I've seen. But, that's not always necessary and any time that I see where you have to join a group to implement something (hardware, software, etc.) I automatically think that the group is trying corner the market on something. (Maybe I'm cynical?) USB really is contrary to the freedoms that we've come to enjoy in open source software and I sometimes find that distasteful. It's also made it easier for the large corporations to implement (properly) than the smaller companies. Is it a necessary evil at this point? Maybe. Is it the right solution for some things? At this point, certainly. That doesn't mean that I should have to use it for everything. And... given the choice, I'd rather see a simple serial port with USB speed that you don't have to spend 100s of man hours and/or sell (a part of) your soul to implement.

  133. Re: Will the Serial Console Ever Die? by Bert64 · · Score: 1

    And some vendors still release their firmware updates as floppy images... Even worse when they come as a windows program, which when executed writes the image to a floppy (ie you don't just have the raw image file which you could dd on linux or load into the virtual floppy feature in most lights out management firmware).

    --
    http://spamdecoy.net - free throwaway anonymous email - avoid spam!
  134. Re:its up to the server hardware vendors to fix th by lukas84 · · Score: 1

    Why would you use NAT in your internal management networks?

  135. Re: Will the Serial Console Ever Die? by Anonymous Coward · · Score: 0

    I call BS, ever since Windows 2000 you have been able to add drivers for a disk controller to a cd. Here are the details: http://support.microsoft.com/kb/314479 or for the lazy man check out http://www.nliteos.com/.

  136. Re:USB is a poor choice - Ethernet works pretty we by drinkypoo · · Score: 1

    How do you configure the IP address of a new device?

    DHCP, with easy fallback to link-local addresses. Once you've created a static connection, DHCP will no longer be used. Or if you use DHCP correctly, you get the MAC off the device (usually on a sticker) and give it a DHCP configuration before you even plug it in. That way you can change the address by editing the DHCP config, and rebooting the device. HTH, HAND.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  137. Why developers like serial ports more than USB by Peter+Simpson · · Score: 1

    Serial ports are cheap and easy to interface to, both from hardware and firmware perspectives.
    - a simple MAX3232 chip, four 0.1uF caps and you're done
    - read/write a byte every interrupt
    - messed up pinout doesn't harm the driver, just try again
    - three wire interface, symmetric

    USB requires more hardware, and a protocol stack (which you might have to pay for)
    - not all micros have room (or MIPS) for a USB stack
    - impedance control needed on the pair
    - host or device - you must choose or use OTG if supported on the micro

    I'll admit USB is faster and has more capability, but a small, low power embedded system might not be able to support USB, while it can handle serial just fine.
    *That's* why serial will never go away.

    1. Re:Why developers like serial ports more than USB by Skapare · · Score: 1

      I agree. For the very small and minimal devices, serial is king. And even for larger devices where the capacity to add USB (gadget side) is present, serial is still a good way to interface quickly, cheaply, and reliably.

      The big problem is so many PCs, laptops, and netbooks (well, as far as I can tell, ALL netbooks) lack a real serial port. My Dell docking station at work, oddly enough, adds a serial port. But the docking station is major burden when carrying the laptop around to work with network routers and switches. The USB to serial dongles are less of a burden (but still some burden).

      To me, the ideal solution is to keep the serial port on devices where it makes sense, and add a USB gadget port WITH built-in serial emulation. Then you still run a terminal program like telix or minicom to talk to the serial console interface of the device being managed while having just a USB cable between.

      Many very small devices might need to stick with only serial as the console. But many other devices could include USB, such as Cisco routers/switches, cable set top boxes (BTDT).

      --
      now we need to go OSS in diesel cars
  138. Medical devices as well; USB to DB9 not reliable by moxley · · Score: 1

    I am the IT director for a medical device company - we make software that runs on laptops which connected to physiological monitors, and the way these connect is via a serial port. I procure the laptops, etc and this has been a major problem since the DB ports started being phased out around 2005 or so.

    Serial ports have disappeared from almost all consumer laptops; basically any laptop made for anything other than business or utilitarian use no longer has one.

    Models which do have serial ports still are Panasonic Toughbooks, one model of Dell Latitude, and HP and Toshiba both have at least one model. (these are the ones I know about).

    USB to serial (DB9) adaptors are convenient and nice and all that, but when things like timing matter they are not reliable - so for things like military and medical applications, they aren't a good way to go.

    As far as USB to Serial adaptors go, we've tried all of them, and in my opinion, when it comes to proper timing and reliable usage, the Belkins are the best.

  139. Most discussions missing the point by erroneus · · Score: 1

    Most discussions are talking about USB to serial adapters of one sort or another.

    While I appreciate the discussion, the question of the article is whether or not new devices that use serial ports for their console should move on to something else. I think they should. We flipped out when people spoke of ditching the floppy. PS/2 ports disappeared without much discussion or complaint. And as for printer ports? I barely noticed that they disappeared, but now that you mention it, they are mostly gone too. (Most of my printers are connected using the network port.) But once again, I find myself talking more about the PC side of things rather than the devices we seek to access or control.

    Frankly, console ports should either be network or USB ports and I favor network ports. While the complexity of a web console would make them more expensive, things are still evolving and make them less expensive. Web consoles can be accessed by any number of devices and made to work in any number of ways not the least of which is remotely from very long distances. (This also brings about security concerns, I know... that's another discussion.) USB suffers from the same problem that serial suffers -- its capacity for distance (length of cable) and the requirement of physical access. Some would argue those are a plus when it comes to security (once again, another discussion) but for all other concerns, USB is lacking and frankly, while USB is a great carrier bus, it doesn't have particular protocols implied to it that ethernet does.

    What do I mean by that? Well, while ethernet can carry a wide range of protocols over its wires (just as USB can) lately, nearly all other protocols have falled out of favor or completely from view. Does anyone use Netbeui? IPX? Banyan VINES? Essentially, ethernet says "TCP/IP" these days and all of the stuff it involves from telnet to http. If a console standard were to be issued, it should be using ethernet and http as the interface to the user. Telnet would be more simple in many respects, but http is a much more available client protocol.

    With USB, on the other hand, you pretty much have to decide on what will be emulated over USB before anything useful in the way of a console could be developed. Would we be emulating a serial port? A network link? What sort of user interface would we use when accessing the consoles of these devices? There is CLI and GUI. What else is there? In any case, the emulation of whatever would likely require drivers of some sort or another. The USB to serial and serial to USB chips out there would make plugging into a device with USB show a new serial port connected to the PC. That's easy enough, I suppose, but do we really want to add and remove entire devices to our kernels when connecting and disconnecting?

    1. Re:Most discussions missing the point by Junta · · Score: 1

      The problem with Network/USB is that it is too open ended. Serial has the benefit of being only a point-to-point streaming technology with an unbelievably simplistic physical layer. All sorts of things in a system can break driver wise and still serial controllers and requisite software driving them will still work. Not to mention the interface is a matter of cents to add over nothing at all. When I plug a cable into a serial port, I never have to further think about overly open ended addressing situations (often, I have to try 2-3 common baud rates, them I'm off, unlike IP where I have 2**32 (or worse, 2**128) possible values for what the logical identity of my peer is. mDNS can mitigate that, but again, we are describing a system orders of magnitude more complex than good old serial signalling without significant real benefit for the application.

      Frankly, console ports should either be network or USB ports and I favor network ports

      Given that nearly all equipment that has a serial console has nearly full management capabilities over an IP interface already, I don't see the need to ditch the console port. A serial port and network management are not mutually exclusive propositions.

      While the complexity of a web console would make them more expensive, things are still evolving and make them less expensive. Web consoles can be accessed by any number of devices and made to work in any number of ways not the least of which is remotely from very long distances.

      Of course, web interfaces are a royal pain in the ass to manage at scale, they simply are not scriptable. Also, while I'll accept that a web interface *can* work well over poor performing connection, the web interfaces tend to be more 'marketable' with nice looks that come at a price of network overhead for the sake of aesthetics. I also know that much modern web design makes it more feasible as the data and presentation are segregated, but a script to process XML/JSON data is more trouble to write than a simple expect script for a CLI. In both cases, the scripts will trend towards one-offs (making alternatives such as IPMI and SNMP more attractive for reusable code, depending on the equipment being managed), but the CLI ones are so trivial that having it disposable isn't horribly painful.

      (This also brings about security concerns, I know... that's another discussion.)

      It's sufficiently critical issue that it can't be dismissed.

      Telnet would be more simple in many respects, but http is a much more available client protocol.

      telnet is the simplest protocol, available to anyone on any OS. http as a protocol is pretty much ubiquitous. However, sufficient variations in the presentation layer will create a lot of development costs (supporting every browser and platform) and potential administrator headaches. Security issues are definitely worth considering ssh instead, however. Either way, a CLI is scriptable, a web ui is generally not reasonably scriptable.

      In terms of your thoughts on USB, I agree that ultimately as it stands today such a thing would present itself as serial or network, so it has limited benefit compared to the current method or an ethernet jack. One could make the case for multiple devices presented over a single connection (network, serial console, and mass storage), which has some functional appeal, but the additional complexity I fear could potentially go very much against the 'works when nothing else does' property of good old serial ports.

      --
      XML is like violence. If it doesn't solve the problem, use more.
  140. It's starting....slowly. by equipto76 · · Score: 1

    The latest series of branch routers from Cisco, the ISR G2, includes both a traditional serial and new-fangled USB console port. Essentially it's just moving the USB-to-Serial chip inside the router, but it does eliminate one potential thing you can lose or forget. They're going to be including both option on several new devices in the future but it's going to take a really really long time for serial to completely go away.

  141. I do remote management by tthomas48 · · Score: 1

    I work for a company that builds essentially really smart terminal servers, and we still highly favor serial console ports. You can dial into our device and still access all your devices via the console port. Which is pretty important when you consider that one of the most common reasons a network is unavailable is a misconfigured router (so getting onto the network isn't always that helpful).

    I think that keeping the console port and having a usb port where you can attach a thumb drive to upload the os via flash if necessary is probably the best route. USB/Serial is not particularly reliable in our experience.

  142. Re:USB is a poor choice - Ethernet works pretty we by Foredecker · · Score: 1

    There is actualy an old protocol (Cannot find the RFC) for ad hoc IP address assgiment. There is also universal plug and play. Both would work just fine here. Two devices could also simply communite with a simple protocol righ ton top of the MAC layer. Like many other things, people were doing this stuff 15 years ago.

    --
    Jibe!
  143. The OS manufacturers need to support it first by dyeazel · · Score: 1

    When it comes to USB there is the DFU (Device Firmware Update) class, but Apple and Microsoft do not include DFU drivers with their OS's. Even though DFU is a standard class, there are no decent commercially available DFU drivers out there. Atmel has a series of micros that have USB built in to the micro and DFU included in their application framework, but they use the open-source libusb drivers for updating firmware on their chips. I write installers for software that updates commercially available embedded systems. We currently use FTDI USB to serial chips in most of our devices.. Driver installation is one of our biggest support hassles. Every time a new version of an OS comes out, it is a scramble to make sure we support it. However, FTDI provide drivers for free, so I can't complain too much. Until the OS vendors include drivers for some of these "standard" devices like DFU, there is no incentive for device manufacturers to switch away from serial.

  144. i used to wonder that too, but the reality is... by pjr.cc · · Score: 1

    Serial has one huge advantage... its a standard..

    I used to wonder why people didnt start embedding usb to serial ports on their devices until i started using one on my laptop... there are several chipsets out there with various quirks, and the place they are most used will mean these kind of barriers are fairly insummountable.

    I have a sheeva plug and it does use an embedded usb to serial converter, but that device is a good example of where it would work and most places it wont.

    What im refering to is of course the data center, serial ports thrive here because so many devices have serial consoles and this is a VERY VERY GOOD THING. As I said before, its a standard. I can buy a cisco (or any brand really) serial concentrator and then manage ANYTHING that has a serial console. Can you imagine the nightmare that would erupt if we went to usb consoles? "I have a cisco usb console concentrator, and its not compatible with our HP procurves or our dell poweredge devices"... dear god I hope they never ever do that. Buying cheap usb to serial converters for the people out in the field that need to get on consoles is far easier and cheaper. The vendor lock-in insanity would be such a painful experience here. On top of that, you can route most serial consoles over standard cat6 cable (huge bonus in the DC).

    While pinouts (for serial) on some devices may differ, they really aren't any where near the agony of what a usb console would be.

    As for speed, what device on earth has a serial console for more then a command line? I cannot think of a single device that was build in the last 10 years (perhaps even 20) that would require you to (or even let you) upload a firmware over its serial console. Even when truely broken, devices can usually get to their network ports for tftp or something similar. I hope to god the OP gets a clue because its an appalling suggestion that I hope never reaches the light of day that could only come from someone who really had a rough day with one particularly strange device and decided to have a whine about it on slashdot and try to apply it to a more general set of circumstances.

  145. It has non-standard pinouts...!?! by NoOnesMessiah · · Score: 1

    Seriously!?! Non-standard pinouts. I've been using non-standard pinouts for, what?, 25 plus years!?!

    Are you a consultant for the USB lobby, or are you just mildly retarded?

    What?, are you expecting some pretty little GUI to configure your fibre channel switches or something?

    Or were you just trolling for flames?...

    1. Re:It has non-standard pinouts...!?! by argent · · Score: 1

      What?, are you expecting some pretty little GUI to configure your fibre channel switches or something?

      That's what customers with purchase authority tend to want these days, so that's what manufacturers are providing.

  146. Damn Mod Button by Anonymous Coward · · Score: 0

    Damn web 2.0

  147. Re:You young whippersnappers and your newfangled.. by Anonymous Coward · · Score: 0

    Meh - too true...and can you do some basic, loop-back debugging on a USB port with just a bent paper clip? I think not!

  148. Re: Will the Serial Console Ever Die? by Voyager529 · · Score: 1

    Then again, it's hard to take anyone seriously that uses Windows in a server role.

    You fail to account for server software that's Windows-only. I'm not talking about the core functions (file/print sharing, DHCP, AD/LDAP, LAMP), because *nix does work extremely well at these tasks and I won't at all debate that. In the office I work in though, they rely on financial software that is exclusive to Windows for both clients and servers. SHOULD the vendor write a Linux version of the stuff? probably. Given that my company has already spent mid-five-figures on a Windows infrastructure that works (yes, our servers do in fact function well enough to keep the company humming along on a day-to-day basis) and the software that holds their financial and client data (and Exchange and Sharepoint), why would my company care enough to switch to Linux? Answer: they wouldn't. If you don't take me seriously, then fine, I won't stop you from having your own opinion. At the end of the day though, the servers work, the clients work, the office staff is happy, problems are manageable, and I get my paycheck at the end of the period, so my regard for your opinion is somewhat limited.

  149. for the leet by Danzigism · · Score: 0, Flamebait

    The bottom line is that serial ports are still leet. I don't see why they should phase them out. I use a crappy Pentium 133mhz Laptop running NetBSD for my console work. when it dies, I will buy another one for $30 on eBay. I always thought it was for security anyway. Being able to only admin certain features of routers and other devices using only the serial console. nothing wrong with that. plus, a lot of the firmwares I've seen can be installed via TFTP server and you don't even need to transfer anything over the serial connection. it's there merely as means to administer the machine. all hail the serial console. and the pinouts are easy as shit. there's only 9 freakin pins for christ's sake and all 9 of them aren't even used half the time.

    --
    *plays the Apogee theme song music*
  150. USB-to-Serial is a PitA by newdsfornerds · · Score: 1

    When you need third party software to use it that adds to the piles off annoying stuff to maintain and configure. Before I knew I needed to use a serial port at work I bought a Thinkpad without one. The truly maddening thing is, the Thinkpad's mobo HAS a RS232 chip on it but there's no fricken serial port on the laptop! I think IBM made a serial port Ultrabay module for my R40 (yeah it's a dinosaur now) but I could never find one at a reasonable price.

    --
    Damping absorbs vibrations. Dampening is caused by moisture.
  151. I have an old box by Anonymous Coward · · Score: 0

    With a network port and 64 serial ports. It is kind of overkill. You can telnet into the box and then switch to any serial port.

  152. Re: Will the Serial Console Ever Die? by newdsfornerds · · Score: 0, Flamebait

    Zing!
    Where are the usual MSFT ass lickers to shout you down? Oh, they're busy rebuilding their systems after the latest malware disaster. Heh.

    --
    Damping absorbs vibrations. Dampening is caused by moisture.
  153. USB-only console connection for HP P2000 G3 by argent · · Score: 1

    The HP StorageWorks P2000 G3 disk arrays have only USB and TCP/IP management. For most operating systems that support USB serial devices you can just plug it in and it'll be recognized. For Windows you have to download and install an INF file before Windows will see it.

  154. for the enterprise? by nimbius · · Score: 1

    yeah, its been dead quite a while. for those so inclined major vendors offer ILO cards and even the wips themselves are controllable through the network. even if you dont want the ILO card, the BMC chip can often interface on a specific vlan over the network, supports cryptography, and interface failover.
    digis are in my opinion a dead relic these days

    --
    Good people go to bed earlier.
    1. Re:for the enterprise? by Antique+Geekmeister · · Score: 1

      "ILO cards" remain expensive, and in many cases quite painful to implement. Even Dell's version of this approach, that awful excuse for a remote network-based console that they called "DRAC" remains an expensive waste of a PCI slot that shouldn't have been allowed out of their engineering group. Do _not_ get me started on those those things.

      I recently had to demonstrate just how much more reliable it was for a partner company by walking them through the connection of a serial port, to another of their computers in a hosted configuration, becuase it worked when their very expernsive and highly engineered DRAC setup had never actually been configured properly. (Whoever had recorded the MAC addresses apparently hadn't even recorded the correct number of digits: it was a mess.)

    2. Re:for the enterprise? by afidel · · Score: 1

      DRAC is integrated on the motherboard for all R*** series servers so now all the big guys have BMC on motherboard. iLo's still the best of the bunch but DRAC is at least usable.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    3. Re:for the enterprise? by Antique+Geekmeister · · Score: 1

      Is it integrated now? Good: that was an amazing waste of a slot on a motherboard for something unlikely to even be set up correctly. Is it still such a pain to configure? Having to reboot your server, just to set up the fallback control system, was amazingly stupid and a compelling reason to recommend the use of a remote KVM.

    4. Re:for the enterprise? by afidel · · Score: 1

      You know you can use OMSA and syscfg to program the DRAC from the OS, right? Just like HP with hponconfig.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
  155. Re: Will the Serial Console Ever Die? by omglolbah · · Score: 1

    Amusingly, several oil and gas rigs in the north sea have HMI systems running on windows server 2003.

    It is very stable due to the controlled environment of the system. So blanket statements like the one you made just make you look like a zealot ;)

  156. Cisco needs to add USB console by Skapare · · Score: 1

    Cisco (and other router/switch/telecom manufacturers) need to add a USB gadget (so it can plug directly to the USB port on a PC/laptop/netbook) console port. FYI, I am NOT saying to get rid of the serial console port that typically has an 8P8C (commonly misunderstood as RJ-45) connector. Just have both. The USB console should work as a serial console (using a widely compatible chip like FTDI). But they can also add additional features such as presenting flash storage on the equipment as a hard drive to the PC (ready to make backups of, or reload firmware and configurations onto, at full USB speeds), and even create a network interface for that PC/laptop to use (ethernet/IP over USB and ethernet/IP over PPP over a 2nd emulated serial port).

    My cheap $90 point and shoot camera has a USB gadget port (although with no need for a serial port emulation). Why can't Cisco add that?

    --
    now we need to go OSS in diesel cars
  157. Not all USB to serial devices are created equal by Anonymous Coward · · Score: 0

    There are a lot of crappy ones out there that don't work with a lot serial devices. The one that works best has a FTDI chip such as Cable Unlimited USB-2920 product. You can also go to FTDI's web site to get the latest drivers including support for Windows 7.

  158. erik by Anonymous Coward · · Score: 0

    so you want to be a serial killer?

  159. Re:You young whippersnappers and your newfangled.. by Big+Jojo · · Score: 1

    Nah ... a Real Man's console looks like http://en.wikipedia.org/wiki/File:IMSAI8080.jpg ... One difference: you can use an IMSAI console with just your OWN fingers and toes. You don't need to color your own "Twister" game onto the console and throw a party. "Left nose Blue!" never worked well unless Alice the Alien could join in (at which point we're clearly talking non-Men). One thing both those machines do illustrate is the serious deficiency, in modern computers, of blinkenlights.

  160. Re:You young whippersnappers and your newfangled.. by omglolbah · · Score: 1

    In the offshore industry you still have those panels....

    They are called "CAP" or "Critical Action Panel" and are connected directly to the low level controllers in the process and safety system bypassing all HMI.

    Sometimes you want a hardwired connection to the device responsible for releasing a deluge valve. Gas-producing rigs in the north sea would be one such place *grin*

    While an amusing joke, they still exist to some degree!

  161. RS232 and serial mean different things by somethinsfishy · · Score: 1

    Most of what's being called serial here is asynchronous serial, meaning there's no external clock line. Each end of the connection has a clock that determines the baud rate, and so they must match in frequency within a couple of percent. There's a TX transmit line and an RX receive line and a ground wire in the minimal configuration. In a pc or an MCU there's a chip or an emulated version of same called a UART Universal Asynchronous Receiver Transmitter that takes care of buffering the serial bits as they come in (or go out of) the data wires One Bit At A Time. Many microcontrollers have built-in UART's. It used to be that the signal from a UART was universally converted to RS232 voltage levels. The spec says -12 volts is a 1 and +12volts is a 0. This is a really old standard that was invented to connect dumb terminals to mainframes through a modem. Several other wires are in the spec have to do with flow control and interacting with the modem. To get from 5 volt (or whatever) logic levels, a special line driver is used. A popular one is the MAX232 series of chips. These days the other lines in the RS232 cable are rarely used for their original purpose. The Arduino uses a flow control line to start the flash burner through a bootloader for instance. Async serial is very much still around because there are a large number of periperal chips and board-level modules that use a UART to communicate with an MCU or each other (sparkfun.com). In these applications, the voltage is at logic level. It is not shifted to RS232 levels, although you could do this if you needed to.
    The serial port on the original PC is a DB9 connector. The UART's interface to the CPU is interrupt driven, so you can do pretty good real-time stuff. Since the async serial port us pretty much gone on PC's, a lot of devices like most cell phone cables use an emulated UART port running over USB. There are a couple of companies that make USB to 5 or 3.3 volt UART converter chips that implement the USB protocol. Rather than having to put the USB protocol it in the target processor, you buy the functionality. Of course there are MCUs that know the USB stuff, but they're a bit uncommon. Also there's the whole licensing problem if you roll your own USB device. So as strange as it is, designing with an 8-bt MCU, you'll use a chip with a lot more horsepower than the target to handle the USB interface. This is a very, very common thing to do. The other half of the problem is the host device drivers. FTDI make chips with no-cost drivers that are routinely used alongside a lot of 8-bit MCUs. There are drivers in the linux kernel for a handful of converter chips, and FTDI's are the best known.
    The PITA for embedded designers is that the serial port emulated by the FTDI chip has buffering constraints and timing limitations (16ms latency) that basically ruin the real-time capability of the port. This really sucks. The alternative is to write your own drivers for Win, Mac, and Linux, and program your mcu to use one of the faster modes in the USB protocol than the one offered by the USB device class that includes async serial. For most people this doesn't matter. The host app on the PC uses its driver package that comes with, and you never have to know that your cell phone is using a 50 year old data link to talk to the pc.

  162. No! RS232 can't die! by bkeahl · · Score: 1, Flamebait

    I mean, it's the ultimate standard. Right? 2,3,7 - swap 2&3 if things don't work. Well, there is sometimes that pesky DTR signal, so sometimes you have to hook up 20. Unless you swap 2 and 3, in which case you need to swap pins 20 and 6 too. Then, sometimes you need DSR, so just hook up six. Unless you swapped 2 and 3, then you have to swap 6 and twenty for that. Of course, then there's the device that emulates a MODEM and you have to hook up CD ... Yeah, serial interfacing is just so straight forward and simple, we can't get rid of it! :)

  163. I use it to hook up my Atari 8-bit computer by calagan800xl · · Score: 0, Redundant

    I keep an old laptop with a serial port, so that I can transfer stuff to my good old Atari 800XL with the awesome SIO2PC cable from Nick Kennedy: http://pages.suddenlink.net/wa5bdu/sio2pc.htm

  164. Re:USB is a poor choice - Ethernet works pretty we by FlyingGuy · · Score: 1

    I have to agree with you there. USB has just too damn many strange things that have to happen to even get the thing to work. I have written some USB code and I can say, with authority, that USB just sucks.

    --
    Hey KID! Yeah you, get the fuck off my lawn!
  165. The Way of the True Hacker by jandersen · · Score: 1

    I made my own, more or less home-brewed, networked, serial, multi-console, hmm, can I put any more adjectives on that? Anyway, what I did was very simply, sort of: you take a big pile of USB-to-Serial devices, a suitable number of USB hubs and connect them to your (Linux-) system. The you start up a minicom on each of them inside screen, running in detached mode; you can now connect to the Linux system with ssh or telnet and attach to any of the screen sessions. The Power of Linux, Mwahahahaha!!

  166. Re: Will the Serial Console Ever Die? by Dun+Malg · · Score: 2, Funny

    Yeah, I tried to put XP on my new machine a couple years ago. It couldn't see the RAID array, so I grabbed the driver CD and pressed (whatever) to load the driver.... and it said INSERT FLOPPY DISK! WTF?!? It might as well have said "Insert papyrus scroll"!

    --
    If a job's not worth doing, it's not worth doing right.
  167. Re: Will the Serial Console Ever Die? by Dun+Malg · · Score: 1

    it's hard to take anyone seriously that uses Windows in a server role.

    It's harder to take seriously anyone who can't manage to grok the fact that Microsoft sells a server OS that actually works for a large number of entities, and that some aspects of its functionality are unavailable outside of the Windows OS.

    --
    If a job's not worth doing, it's not worth doing right.
  168. Re: Will the Serial Console Ever Die? by Dun+Malg · · Score: 1

    You're missing the point. You essentially have to hack the registry and add the drivers to the install image. You can't just stick a CDROM in with the drivers, because the OS doesn't support loading drivers off anything but a floppy as it is configured out of the box.

    --
    If a job's not worth doing, it's not worth doing right.
  169. $84 by Anonymous Coward · · Score: 1, Insightful

    Not terribly hard to find. Not $300, either.

  170. Caught me there by Mathinker · · Score: 1

    I had been erroneously thinking that the sliding switch on the side of an SD card was disconnecting something electronically, but you seem to be correct: the write-protect function is actuated by the software querying the state of a mechanical sensor.

    On the other hand, this doesn't seem to be any different than the write protect tabs of floppy disks (which is what he's relying upon instead).

    1. Re:Caught me there by phillipsjk256 · · Score: 1

      I think floppy drives have a hardware interlock that cannot be overridden by software. Even though I was aware the write-protect tab in SD cards has no electrical connection, I assumed SD card readers were the same. I suppose a "write enable" pin on the card would be required for a hardware interlock. An electrical connection inside the card would be tricky (read more expensive, less reliable) to implement.

      Anyway, I am responding to this post to let Mathinker know I responded to my original post with new information. (Some USB drives have write-protect tabs)

  171. perfect :D by Anonymous Coward · · Score: 0
  172. Remote Access aka MODEM by tengu1sd · · Score: 1

    The nifty thing no one has mentioned about serial communications is the ability to provide reasonably reliable remote access into remote equipment. I worked for a consulting and services group which always located at least one modem into each customer site. That modem linked to a terminal server where access to firewalls, switching, routers load balancing equipment, servers and in some cases storage was available. If you can't reach a site this can answer all sorts of questions and provide a really fast way to put a customer back into service saving the time and potential travel costs.

    If the widget is right next to you, USB or even network connection can make a lot of sense. If you're forcing a switch to fail over or rebooting a server from a PDA with a modem, serial is the way to go.

  173. Re: Will the Serial Console Ever Die? by gollito · · Score: 1

    Who modded this "insightful"? Are you kidding me? I like Linux as as much as the next guy but for a business application Microsoft Server it can't be beat for ease of management. Sure Linux may run longer without updates, have fewer security holes, etc but MS hands down has the market cornered on easy to use.

  174. Sheevaplug by Nursie · · Score: 1

    It has one built in so you just connect your other machine to it via standard USB cable. It's good and puts the two-converters and a null-modem cable solution I had for my older NSLU2 systems to shame.

  175. Re: Will the Serial Console Ever Die? by Anonymous Coward · · Score: 0

    There are things that Linux doesn't do (or doesn't do well) and Windows does.

    It seems it must be often cheaper to run redundant Windows machines for critical applications than to re-invent all the DCOM / .NET plumbing that is available for free on Windows Server. A lot of mission critical computers run Windows, presumably because free market capitalism determines that it is cheaper to run redundant Windows Servers than to try and reinvent all the capabilities that they provide in Linux / Unix / whatever.

    You may be surprised how many critical computers run Windows Server. Love it or hate it, DCOM (Classic OPC) and the .NET framework (OPC UA) have provided very attractive functionality to the process control industry. Yes, the servers crash once in a while and you have to carefully manage patches, which is why you always run them redundantly and keep them syncronized for critical operations. And you may need to keep them on an isolated network. But in reality this isn't much different from embedded computers used for critical appliations that don't run Windows that also are typically used in redundancy.

    Sometimes Windows Server is more fit for the job than Linux / Unix. Not all servers just serve up files, network services, databases, ftp, and HTTP. Sometimes Windows Server isn't fit for the job. But you should be open minded enough to use the best tool available to you to solve the problem at hand.

  176. USB is not . . . by NicknamesAreStupid · · Score: 1

    a bus. It is actually a hub and requires that one end-system be a controller (Intel's euphemism for a PC), a non trivial piece of silicon when compared to the slave. Other alternatives like Ethernet and Firewire (IEEE1394) never became popular enough for peripheral devices. So, the economies of scale are not there. Ethernet (i.e., 100BASE-T) might work. However, the specification requirements to drive the signal 100 meters make the interface too expensive, power-wise, for battery operated devices, and POE makes the power side more expensive. There is also the cabling issue. Firewire is truly a bus, but the silicon is still pricey when compared to USB 2.0, and there still may be a 25 cent royalty (per device) from Apple.

  177. Re:USB is a poor choice - Ethernet works pretty we by Foredecker · · Score: 1

    Of course - but they are usually not "pinned out" on comerical devices. I've had a pile of these gizmos and only one had a RS232 port.

    --
    Jibe!
  178. Getting more difficult all the time by Douglas+Goodall · · Score: 1

    In the past when serial interfaces were implemented with UARTs. Things were very stable. Once you got the cable, speed, bits... right, things were usually VERY stable. I have noticed that since serial ports have become IP blown into gate arrays, and more recently with these USB/serial converters, things are not reliable at all. I get things running, then for no reason, things hang up, and for no reason start working again. This is maddening for a software/hardware engineer used to having things that work, continue to work. While these interfaces are going to be around for a while longer, they are no where near as fun as they used to be. My recent experience using ADTPRO to bootstrap a bare-metal Apple ][ was an exercise in heartache. Armed with gender changers, null modems, serial breakout boxes, and plenty of little wires, things seem much harder than they used to be. We really need something else to become ubiquitous and usable, sooner than later, this is making me nauseous.

  179. Re: Will the Serial Console Ever Die? by afidel · · Score: 1

    ilo and winimage or floppy images on a bootable cdrom has eliminated any need I've had for an actual floppy drive in a long time and on the plus side it's also generally faster.

    --
    There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
  180. Re: Will the Serial Console Ever Die? by Wakko+Warner · · Score: 1

    How the hell is this "Insightful"?

    Anyone who actually says something like this in the IT industry is probably wondering why they're still working level 1 support.

    Slashdot, you disappoint.

    --
    "Remember when the U.S. had a drug problem, and then we declared a War On Drugs, and now you can't buy drugs anymore?"
  181. SPARC anyone? by Anonymous Coward · · Score: 0

    It seems to have been overlooked in that a lot of large enterprise settings, the SPARC based servers are still loaded with the old RS232 as well. Personally I love the damn thing (RS232) and would rather see a resurgance in it's popularity. Even if that means a serial RJ45. It just works. Leave it the hell alone.

  182. Re:What will we do with all the US Robotics Courie by Anonymous Coward · · Score: 0

    Just bought a managed DS-3 from ATT and wouldn't you know- we have the same thing! When we replaced our old managed line I figured the US robotics MODEM was just a relic. But then showed up my new 3800, and a brand new, shiny, in the box, US Robotics modem. I mean seriously? I had a smaller 56k line when dial up was still the thing at home...

  183. Cheezy Spoprts Analogy by bregmata · · Score: 1

    USB is like ice hockey. It's fast, exciting, and sexy. All you need to do is keep your blades sharp, wear the proper protective gear, and hope your Zamboni or ice-making equipment does not break down during international competitions. You also need years of expensive training to play it well. Other than that it's great.

    Serial ports are like soccer. All you need is a ball, you can play anywhere, and anyone can play.

    Yep, won't be long before we'll be asking when the world will switch over from soccer to ice hockey. Or from serial to USB.

  184. USB drivers require OS before loading by nitro322 · · Score: 1

    I've seen drivers mentioned a few times as an issue with USB serial adapters, but something I haven't seen mentioned yet is the fact that these drivers are usually (or always?) tied to the OS, which means the device can't be used until the OS is running and the driver is loaded.

    From the client perspective this isn't a big deal. Eg., when using a USB serial adapter on a laptop to connect to a switch or modem, you're already going to have your OS up and running on the laptop. However, from the server perspective, this can be a major problem. If you use this on a server that, say, doesn't have a native serial port, nothing can be redirected until after the OS loads the appropriate USB driver. So, POST/BIOS messages, bootloader options, initial boot messages (eg., dmesg for Linux) are all unavailable. This severely limits the usefulness of USB serial adapters.

    I think this problem needs to be resolved before USB can ever be considered a viable replacement, though personally I hope it does. It seems like it should certainly be possible; HID device (keyboard and mouse) support is offered by most BIOSes by enabling the "Legacy USB" support option, so obviously it's possible to talk to USB devices at this level. They just need to settle on a standard protocol for serial communication that can be implemented in a similar manner.

  185. What about my terminals? by Anonymous Coward · · Score: 0

    If serial goes away what am I going to do with all of these DEC and HP terminals I have laying around the data center?

  186. Re:USB is a poor choice - Ethernet works pretty we by evilviper · · Score: 1

    DHCP for configuring a critical device is an utterly INSANE idea. The protocol needs to be PUSH, not PULL, for numerous reasons.

    First, consider that the first time you connect to the device, you type in a static IP address. Great, EXCEPT YOU TYPED IT WRONG! Now it won't grab the DHCP address, and the device is now completely unreachable... via it's supposed MANAGEMENT INTERFACE. Great! Now you need to go plugin the serial cable to fix the management interface, or hard-reset the device, losing all the configuration.

    Or maybe consider that the network addressing was change, and the management port configuration wasn't... Sure, an administrative oversight, but one that happens. And now you're stuck.

    --
    Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  187. Re: Will the Serial Console Ever Die? by jabuzz · · Score: 1

    So what, what lights out management card does not have virtual CD/floppy/USB features?

    If you are serious about remote management you need proper lights out management, such as ILO, DRAC, RAS etc. depending on your server vendor.

    Put another way a serial console is not enough, you need to be able to give it a remote kick.

  188. Re: Will the Serial Console Ever Die? by darkpixel2k · · Score: 1

    So what, what lights out management card does not have virtual CD/floppy/USB features?

    If you are serious about remote management you need proper lights out management, such as ILO, DRAC, RAS etc. depending on your server vendor.

    Put another way a serial console is not enough, you need to be able to give it a remote kick.

    The majority of servers I manage are for small businesses, and the only ones that have lights-out cards in them are the ones where the customer needed a beefy server and it just happened to include the card. The few that do have the LO cards only support remote reboots and the remote console only works in the BIOS. The moment Windows boots, you need to have a license key...lame.

    So yeah--I wish Microsoft was on the ball with Windows 2003 and had USB or CD support for loading drivers.

    --
    There's no place like ::1 (I've completed my transition to IPv6)
  189. Future shock wins again by Mathinker · · Score: 1

    Ah, the pleasure of never being able to be up-to-date vis-à-vis the whirlwind advance of technology and commerce. Sorry to have burdened you with old information.

  190. Re: Will the Serial Console Ever Die? by phillipsjk256 · · Score: 1

    Chuck Swiger on the freebsd-questions mailing list pointed out that some USB flash drives have write-protect switches:

    PQI U339H 8GB Flash Drive (USB2.0 Portable) Model BB18-8039R0151 - Retail

  191. USB EHCI Debug by Anonymous Coward · · Score: 0

    There is a way,and it's used by coreboot:
    http://www.coreboot.org/EHCI_Debug_Port

    Denis 'GNUtoo'