USB OpenHCI & UHCI Driver

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Jim
Member
Member
Posts: 27
Joined: Sun Nov 05, 2006 3:46 am

USB OpenHCI & UHCI Driver

Post 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:
User avatar
AndrewAPrice
Member
Member
Posts: 2309
Joined: Mon Jun 05, 2006 11:00 pm
Location: USA (and Australia)

Post 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).
My OS is Perception.
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Post 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:
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
inflater
Member
Member
Posts: 1309
Joined: Thu Sep 28, 2006 10:32 am
Location: Slovakia
Contact:

Post by inflater »

Windows user?
Windows 1.0, 2.0, 3.x and 95 weren't that colorful. ;)
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English :P)
Post Reply