Page 1 of 1

USB OpenHCI & UHCI Driver

Posted: Thu Mar 15, 2007 1:10 am
by Jim
:roll: :roll: :roll:
USB OpenHCI & UHCI Driver

Does any one know if the Host Controller Deriver can enumerate and control a newly attached device, with out constructing ED (Endpoint Descriptors) and TD (Transfer Descriptors), but only using the OpenHCI memory mapped registers? :?:

:wink:
(I'm sure the answer is no. USB Host controller is not like a floppy or even a ATA controller it is a communication device and has an advanced protocol, I'm only asking to be 100% sure that I'm right).


Another Question: :?:
It is possible to connect two PCs with a USB cable (with out any hardware instead of a cable)?
If it's not possible this kind of connection, why?

One more Question: :?:
How the UHCI driver can know when a device was connected to the PC (With OHCI it is very simple you only set the Interrupt bit for the Root_Hub_Status_Change interrupt and continue working until a interrupt fires, but how I do it with a UHCI)?

:roll: :roll:

Posted: Thu Mar 15, 2007 7:06 am
by AndrewAPrice
Wow :o Emoticons :D :D :D :D But [-X please don't use them too much! [-o<

Anyway, yes it's possible to network two computers via USB. There are some Windows drivers out there for it. As for your own operating system, you're pretty much on your own for implementing it. I doubt there would be any standard or documentation on the topic (I could be wrong).

The easiest way would be get IP support in your OS and treat your USB controller like a network controller (a much more complex network card - you'll have to detect which device on the USB hub is the remote computer).

Posted: Thu Mar 15, 2007 8:34 am
by Brynet-Inc
MessiahAndrw wrote:Wow :o Emoticons :D :D :D :D But [-X please don't use them too much! [-o<
This user always uses to many Emoticons, (And colours..)..

Generally distracting and hard to read at times.. Windows user?

j/k.. :lol:

Posted: Thu Mar 15, 2007 9:25 am
by inflater
Windows user?
Windows 1.0, 2.0, 3.x and 95 weren't that colorful. ;)