POV-Ray : Newsgroups : povray.off-topic : My mouse Server Time
19 Apr 2026 05:23:06 EDT (-0400)
  My mouse (Message 41 to 43 of 43)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Orchid XP v7
Subject: Re: My mouse
Date: 20 Feb 2008 16:49:48
Message: <47bca07c$1@news.povray.org>
>> USB has a whole communications protocol to go with it. Think about 
>> TCP/IP and how complicated that is, and you get some idea of how much 
>> work a typical USB device has to do in order to work. Sure, the 
>> *physical* signalling is a simple serial bus, but if you want to *do* 
>> anything with it... ;-)
> 
> And also think of the hundreds of protocols you can talk over TCP.

Well, yeah, beyond the basic USB spec, there's the Mass Storage Device 
protocol (pendrives and external HD enclosures) and the Human Interface 
Device protocol (keyboards and mice) and various printer and scanner 
protocols (those tend to be proprietry) and...

For example, did you know that a USB device is supposed to "ask 
permission" before drawing more than X amount of current? (Most USB mug 
warmers disregard that part of the spec.) The idea being that if you 
have a powered hub, it can warn the attached device "no, don't do that" 
if the total load would be too great.

And that's something that *all* USB devices are supposed to do. Also, 
you can plug USB hubs into USB hubs to create quite extensive tangles of 
devices. And yet, the host has to be able to address each device 
individually. So an addressing and routing problem exists. Not nearly as 
severe as on the Internet (there is only 1 master and many slaves here, 
which simplifies greatly), but it's still nontrivial to overcome. Each 
USB device needs to end up with a unique ID so you can talk to it, and 
all the intervening hubs need to know how to route traffic to it correctly.

USB is *way* more than "just a serial protocol"...

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: My mouse
Date: 20 Feb 2008 16:52:08
Message: <47bca108$1@news.povray.org>

> For example, did you know that a USB device is supposed to "ask 
> permission" before drawing more than X amount of current? (Most USB mug 
> warmers disregard that part of the spec.) The idea being that if you 
> have a powered hub, it can warn the attached device "no, don't do that" 
> if the total load would be too great.

Yes, and that's about the *only* interesting fact I knew about it :)


Post a reply to this message

From: Darren New
Subject: Re: My mouse
Date: 20 Feb 2008 17:30:44
Message: <47bcaa14$1@news.povray.org>
Orchid XP v7 wrote:
> *physical* signalling is a simple serial bus,

Not even that, when you consider USB 2 and USB 1 over the same wires.

-- 
   Darren New / San Diego, CA, USA (PST)
     On what day did God create the body thetans?


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.