|
They're buffered
Last post 02-27-2008 1:29 PM by kirchhoff. 26 replies.
-
02-21-2008 7:18 AM
|
|
-
jjeff1


- Joined on 06-06-2006
- Posts 6
|
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.
|
|
-
-
-
-
PhillS


- Joined on 03-07-2006
- Colchester, UK
- Posts 130
|
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 :-/
|
|
-
-
GettinSadda


- Joined on 05-25-2006
- North-East Scotland
- Posts 221
|
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.
|
|
-
-
jpa


- Joined on 02-18-2007
- Posts 7
|
|
-
-
shakin


- Joined on 04-05-2007
- Posts 28
|
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.
|
|
-
-
CRNewsom


- Joined on 01-11-2008
- Posts 34
|
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...
|
|
-
-
Daid


- Joined on 01-30-2007
- Posts 229
|
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 ;)
|
|
-
-
emurphy


- Joined on 01-14-2005
- Granada Hills, CA
- Posts 417
|
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.
|
|
-
-
jpa


- Joined on 02-18-2007
- Posts 7
|
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.
|
|
-
-
asuffield


- Joined on 05-31-2006
- Posts 2,137
|
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.
|
|
-
-
-
jpa


- Joined on 02-18-2007
- Posts 7
|
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? ,)
|
|
-
-
dlikhten


- Joined on 09-27-2007
- New York Citeyah
- Posts 628
|
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 EarthSSDS Bug: Program should not start up
|
|
-
-
MasterPlanSoftware


- Joined on 11-10-2006
- Posts 2,961
|
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.
|
|
-
-
GalacticCowboy


- Joined on 11-18-2005
- Indianapolis
- Posts 299
|
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...
|
|
-
-
Aaron


- Joined on 07-10-2007
- Posts 87
|
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...
|
|
-
-
Renan_S2


- Joined on 07-17-2007
- Santa Maria, RS, Brazil
- Posts 94
|
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)
|
|
-
-
-
dhromed


- Joined on 04-13-2005
- Dutchland
- Posts 2,333
|
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.
|
|
-
-
asuffield


- Joined on 05-31-2006
- Posts 2,137
|
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.
|
|
-
-
jpa


- Joined on 02-18-2007
- Posts 7
|
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.
|
|
-
-
RayS


- Joined on 01-22-2005
- Posts 677
|
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.
|
|
-
|
|