USB OpenHCI & UHCI Driver
USB OpenHCI & UHCI Driver
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?
(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)?
- AndrewAPrice
- Member
- Posts: 2309
- Joined: Mon Jun 05, 2006 11:00 pm
- Location: USA (and Australia)
Wow Emoticons But please don't use them too much!
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).
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.
- Brynet-Inc
- Member
- Posts: 2426
- Joined: Tue Oct 17, 2006 9:29 pm
- Libera.chat IRC: brynet
- Location: Canada
- Contact:
Windows 1.0, 2.0, 3.x and 95 weren't that colorful.Windows user?
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English )
Derrick operating system: http://derrick.xf.cz (Slovak and English )