The Daily WTF: Curious Perversions in Information Technology
Welcome to TDWTF Forums Sign in | Join | Help
in Search

They're buffered

Last post 02-27-2008 1:29 PM by kirchhoff. 26 replies.
Page 1 of 1 (27 items)
Sort Posts: Previous Next
  • 02-21-2008 7:18 AM

    • jjeff1
    • Not Ranked
    • Joined on 06-06-2006
    • Posts 7

    They're buffered

    This is going back a while, when I worked at a mom & pop retail computer store. We took in a repair for someone who'd tried to build their own PC. The problem was with the sound. As soon as the tech took the cover off, he called us all over to look inside.

    The system had an ISA sound card. The card had a 4 pin CD-Audio IN connector, for audio from CDs played through the CD-ROM. Instead of being plugged into the audio cable from the CD-ROM, the user discovered that a 4 pin power cable could be jammed on to the connector. 

    Amazingly enough, this caused neither smoke nor fire, but it did cause at least one stupid comment. Another tech looked at the machine and said "that shouldn't hurt the card, they're buffered". I believe at the time he was attending college for electrical engineering. We really never tried to find out what he was talking about. He didn't work there for long.

    The card and slot it was plugged into was fried, though the rest of the machine worked normally. 

  • 02-21-2008 8:25 AM In reply to

    Re: They're buffered

    I think he was assuming there was some sort of magical electricity fairy dust that surrounded the pins, preventing surges and such. Buffer as in a physical buffer, not as in "buffering..." or "write to the buffer." Buffer is a pretty funny word if you say it a few times. It's like hairy butter.
  • 02-21-2008 8:33 AM In reply to

    • Daid
    • Top 100 Contributor
    • Joined on 01-30-2007
    • Posts 259

    Re: They're buffered

    Indeed, it usualy wouldn't hurt the card, except for that it can blow up the buffer. Unless you manage to connect ground to power, then you have lovely smoke. (inserting an USB device the wrong way around causes smoke, and yes, users manage to do this)

  • 02-21-2008 8:45 AM In reply to

    • PhillS
    • Top 200 Contributor
    • Joined on 03-07-2006
    • Colchester, UK
    • Posts 150

    Re: They're buffered

    Daid:

    Indeed, it usualy wouldn't hurt the card, except for that it can blow up the buffer. Unless you manage to connect ground to power, then you have lovely smoke. (inserting an USB device the wrong way around causes smoke, and yes, users manage to do this)

     

    I don't think I'm ever going to be able to understand the mentality of such users. "It doesn't fit -- push harder!"  Although some connectors you do have to push quite hard to get on, surely it's just common sense to visually check that the plug you're using will physically go onto the socket you're trying to connect it to. 

    Although, it has been said that the ironic thing about common sense is that it's not common :-/ 

  • 02-21-2008 9:02 AM In reply to

    Re: They're buffered

    PhillS:
    I don't think I'm ever going to be able to understand the mentality of such users. "It doesn't fit -- push harder!"  Although some connectors you do have to push quite hard to get on, surely it's just common sense to visually check that the plug you're using will physically go onto the socket you're trying to connect it to.
     

    I suspect the majority of such mishaps occur when the socket is in a difficult to reach place - like the back of a PC, or one near the floor if you have difficulty bending.

    Linux is not a code base. Or a distro. Or a kernel. It's an attitude. And it's not about Open Source. It's about a bunch of people who still think vi is a good config UI.

    Notice: Phorm, and it's agents including ISPs collecting data on Phorm's behalf, are specifically forbidden from performing any processing or monitoring of the content of the above post. Hence, under the Regulation of Investigatory Powers Act 2000 any such attempt to profile this page by Phorm or it's agents is illegal.
  • 02-21-2008 9:10 AM In reply to

    • jpa
    • Not Ranked
    • Joined on 02-18-2007
    • Posts 16

    Re: They're buffered

     

    Daid:

    Indeed, it usualy wouldn't hurt the card, except for that it can blow up the buffer. Unless you manage to connect ground to power, then you have lovely smoke.

     And the plugs are compatible in this aspect - both have ground in the middle two pins:

    http://pinouts.ru/Multimedia/analog_creative_pinout.shtml

    http://pinouts.ru/Power/SmallPower_pinout.shtml

    So even in the worst case, it should only blow up the input amplifier/buffer stage - and most buffers can handle 12V input without even breaking.

  • 02-21-2008 9:40 AM In reply to

    Re: They're buffered

    At work we had a sales rep jam a USB mouse connector into a parallel port on a notebook. She opened a helpdesk ticket saying her mouse was broken.

    And that is why I am a programmer and not a helpdesk technician. Well, that and self respect.

  • 02-21-2008 10:13 AM In reply to

    Re: They're buffered

    shakin:

    At work we had a sales rep jam a USB mouse connector into a parallel port on a notebook. She opened a helpdesk ticket saying her mouse was broken.

    And that is why I am a programmer and not a helpdesk technician. Well, that and self respect.

    I'm not even sure if I could do that.  I just can't see how that can be forced without tools.  Maybe it's just me being obtuse...

  • 02-21-2008 10:29 AM In reply to

    • Daid
    • Top 100 Contributor
    • Joined on 01-30-2007
    • Posts 259

    Re: They're buffered

    CRNewsom:

    shakin:

    At work we had a sales rep jam a USB mouse connector into a parallel port on a notebook. She opened a helpdesk ticket saying her mouse was broken.

    And that is why I am a programmer and not a helpdesk technician. Well, that and self respect.

    I'm not even sure if I could do that.  I just can't see how that can be forced without tools.  Maybe it's just me being obtuse...

    I'm pretty sure I can do that, AND get the mouse to work ;)
  • 02-21-2008 12:03 PM In reply to

    • emurphy
    • Top 50 Contributor
    • Joined on 01-14-2005
    • Granada Hills, CA
    • Posts 433

    Re: They're buffered

    Daid:

    CRNewsom:

    shakin:

    At work we had a sales rep jam a USB mouse connector into a parallel port on a notebook. She opened a helpdesk ticket saying her mouse was broken.

    And that is why I am a programmer and not a helpdesk technician. Well, that and self respect.

    I'm not even sure if I could do that.  I just can't see how that can be forced without tools.  Maybe it's just me being obtuse...

    I'm pretty sure I can do that, AND get the mouse to work ;)
     

     

    You know, Chuck, sometimes you can be a real asshole.

     

  • 02-21-2008 12:51 PM In reply to

    • jpa
    • Not Ranked
    • Joined on 02-18-2007
    • Posts 16

    Re: They're buffered

    Daid:

    CRNewsom:

    shakin:

    At work we had a sales rep jam a USB mouse connector into a parallel port on a notebook. She opened a helpdesk ticket saying her mouse was broken.

    And that is why I am a programmer and not a helpdesk technician. Well, that and self respect.

    I'm not even sure if I could do that.  I just can't see how that can be forced without tools.  Maybe it's just me being obtuse...

    I'm pretty sure I can do that, AND get the mouse to work ;)
     

     Hmm.. maybe if you managed to get the pins meet the contacts.. and if the parallel port was able to supply enough power to the mouse. Then just need sub-microsecond accurate timing (on a x86.. eek) to do USB in software. The voltages and impedances are far off, but with really good luck the signal could get through. Software-based USB implementations exist on Atmel AVR for example :)

    Chuck could definitely do that. 

  • 02-21-2008 1:44 PM In reply to

    Re: They're buffered

    jpa:
    Then just need sub-microsecond accurate timing (on a x86.. eek) to do USB in software.

    This is known as "bit-banging" and is really quite easy, people have been doing it for years; it is commonly used in reverse engineering and driver development. Just because you can't do it in VB or .goop doesn't mean that it's hard.

    jpa:
    The voltages and impedances are far off

    Actually, the voltages are more or less the same. Impedance is not a major issue unless you're trying to drive the line at the upper limits of its speed, and this is a mouse, so you won't.

  • 02-21-2008 1:50 PM In reply to

    Re: They're buffered

     For the record, you could do that in VB.

     

  • 02-21-2008 1:59 PM In reply to

    • jpa
    • Not Ranked
    • Joined on 02-18-2007
    • Posts 16

    Re: They're buffered

    asuffield:

    jpa:
    Then just need sub-microsecond accurate timing (on a x86.. eek) to do USB in software.

    This is known as "bit-banging" and is really quite easy, people have been doing it for years; it is commonly used in reverse engineering and driver development. Just because you can't do it in VB or .goop doesn't mean that it's hard.

    The difficult part is the timing accuracy.. cache misses etc. make it difficult, let alone making it portable between processors of different speeds. 

    asuffield:

     

    Actually, the voltages are more or less the same. Impedance is not a major issue unless you're trying to drive the line at the upper limits of its speed, and this is a mouse, so you won't.

     

    3.3V vs. 5V, differential vs. absolute, and even low-speed USB needs 1.5MHz bandwidth.. possible, but far off IMO :)

    I guess the hardest part is the reception of differential signals without comparator. Anyone willing to try? ,)

  • 02-21-2008 2:18 PM In reply to

    • dlikhten
    • Top 25 Contributor
    • Joined on 09-27-2007
    • New York Citeyah
    • Posts 669

    Re: They're buffered

     Theres a joke:

    When a psychaiatrist does not know what to do he says "Theres a chemical imbalance".

    When a programmer does not know what to do he says "Its a timing issue".

    I guess this adds:

    When an electrical engeneer does not know what to do he says "Its buffered".

    Code is like a box of chocolates. You never know who stuck a turd in there and why.
    The Stupidest Man On Earth
    SSDS Bug: Program should not start up
  • 02-21-2008 2:26 PM In reply to

    Re: They're buffered

    dlikhten:
    When an electrical engeneer does not know what to do he says "Its buffered".
     

    In my experience, it is usually blamed on a 'bad ground' of some variety.

    Yes, I have been banned. Thanks to all for a good time.

    Tired of incompetent moderation?
    Wondering where all the clever discussion went?
    Try irc.slashnet.org #TDWTFMafia.
    We don't ban or kick and everyone is welcome.*

    *Stupid people will be mocked mercilessly and encouraged to commit suicide, however.
  • 02-21-2008 3:04 PM In reply to

    Re: They're buffered

    jjeff1:
    We really never tried to find out what he was talking about. He didn't work there for long.

    He obviously felt that his brilliance was being wasted...

  • 02-21-2008 4:07 PM In reply to

    Re: They're buffered

    If he was indeed taking electrical engineering, then maybe he was referring to the tristate buffers on a hardware bus. I guess it makes a modicum of sense - if it's in high-impedance mode, then applying 12 V instead of 5 / 3.3 / 1.5 V probably isn't going to fry anything.

    Having said that, I'm pretty sure those kinds of buffers don't apply to a CDA connector.  I've never heard of such things being buffered at all; it's the CD-ROM drive itself that does the (different kind of) buffering.

    I've also never heard of a programmer using "timing issue" as an excuse.  Every profession has one of these though.

    Doctor: It's stress.
    Psych: It's a chemical imbalance.
    Chiro: It's tendonitis.
    ENT: It's probably just a cold / the flu.
    Mechanic: Needs an alignment.
    Civil Eng: It's a defect in the material.
    Chem Eng: It's impurities in the mixture.
    Elec Eng: It's not properly grounded / it's a short.
    Comm Eng: Too much radio interference.
    Construction: It's a problem with our supplier.
    Programmer: It's a database issue.
    DBA: It's a code issue.
    Helpdesk: It's an ID10T / PEBKAC / Microsoft issue.
    Sysadmin: Cosmic Rays / Solar Flares / [insert BOFH reference here]
    Project Manager: The budget's too small.
    Finance Manager: The project's been mismanaged.

    And so on... 

  • 02-21-2008 4:17 PM In reply to

    • Renan_S2
    • Top 500 Contributor
    • Joined on 07-17-2007
    • Santa Maria, RS, Brazil
    • Posts 96

    Re: They're buffered

    PhillS:

     

    I don't think I'm ever going to be able to understand the mentality of such users. "It doesn't fit -- push harder!"  Although some connectors you do have to push quite hard to get on, surely it's just common sense to visually check that the plug you're using will physically go onto the socket you're trying to connect it to. 

     

     

    And, to add, I have seen badly-built computers where power and ground connections were reversed in the front USB ports. So the user plugged in a device and there goes it.

     

    When all you have is a 9th Grade. education, all problems start looking like your Desktop. Search. (thank you, MasterPlanSoftware)
  • 02-21-2008 4:23 PM In reply to

    • mfah
    • Top 500 Contributor
    • Joined on 12-01-2007
    • Posts 112

    Re: They're buffered

    I actually did use "cosmic rays" on someone once, but unfortunately didn't have the heart to take it beyond a minute or so.

  • 02-21-2008 5:27 PM In reply to

    Re: They're buffered

    shakin:
    we had a sales rep jam a USB mouse connector into a parallel port on a notebook

    The parallel port on a machine is not a hole.

    I think you mean the ethernet connector. And you don't have to jam it -- it fits quite comfortably, width-wise. But only on laptops. On normal PC cases, you can't fit an USB plug into an ethernet card. Go figure.

    — Flurp.
  • 02-21-2008 7:24 PM In reply to

    Re: They're buffered

    jpa:
    The difficult part is the timing accuracy.. cache misses etc. make it difficult, let alone making it portable between processors of different speeds.

    Much easier than you think, it's all interrupt-driven.

    jpa:
    3.3V vs. 5V,

    USB is not a strict 3.3V system, it will accept any logic levels of about 0..0.5V for low and in practice anything 2.5..6 for high. Parallel port outputs are close enough.

    jpa:
    even low-speed USB needs 1.5MHz bandwidth

    No. This is a popular but wrong notion. Low-speed USB is limited to 1.5MHz bandwidth. It does not need this much bandwidth, and under normal circumstances it does not use it.

  • 02-22-2008 2:47 AM In reply to

    • jpa
    • Not Ranked
    • Joined on 02-18-2007
    • Posts 16

    Re: They're buffered

    asuffield:
     

     Much easier than you think, it's all interrupt-driven.

     

    More like thight assembler loop.. I can hardly imagine interrupts on x86 triggering fast enough for the 1.5MHz bandwidth (which I still consider a necessity). 

    asuffield:

    USB is not a strict 3.3V system, it will accept any logic levels of about 0..0.5V for low and in practice anything 2.5..6 for high. Parallel port outputs are close enough.

     

    Problems may arise when the voltage doesn't rise fast enough to trigger the 5V reception in the parallel port. Though you are partly right, it probably is not the biggest problem. 

    asuffield:

    No. This is a popular but wrong notion. Low-speed USB is limited to 1.5MHz bandwidth. It does not need this much bandwidth, and under normal circumstances it does not use it.

     

    Hmm.. I thought USB was asynchronic, and transmitted at a constant baudrate. According to Beyond Logic, "Low speed data is clocked at 1.50Mb/s with a data signalling tolerance of ±1.5% or 15,000ppm". So, even though the bus might be idle most of the time, during packets you would have 1.5MHz signals.

  • 02-25-2008 7:36 AM In reply to

    • RayS
    • Top 25 Contributor
    • Joined on 01-22-2005
    • Posts 680

    Re: They're buffered

    dhromed:
    I think you mean the ethernet connector. And you don't have to jam it -- it fits quite comfortably, width-wise. But only on laptops. On normal PC cases, you can't fit an USB plug into an ethernet card. Go figure.

     

    Ah, so I'm not the only person to do this. The ethernet port on the back of my work laptop is in the same place as the USB port on my home laptop, so about one time in ten, I'll be muttering to myself about the mouse not working. the tactile feedback of the insertion is only slightly different, so if I'm not paying attention, I don't notice my mistake.

    EULA: By reading this post and associated disclaimer, you are consenting to agree with the opinions disclosed within. If you disagree with this license agreement, you may not return it for a refund.
  • 02-25-2008 1:11 PM In reply to

    Re: They're buffered