Re: Query on root hub driver

Tech-Archive recommends: Fix windows errors by optimizing your registry



On Jan 9, 2:23 am, "Doron Holan [MSFT]" <dor...@xxxxxxxxxxxxxxxxxxxx>
wrote:
read the usb host controller specification and the class spec for hubs, it
describes how notifications work for root hubs as well as downstream hubs

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.

"rp01" <rashmipodu...@xxxxxxxxx> wrote in message

news:d4d87a0d-3a8a-4005-b319-15c09781d756@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Hello,
I have a query on USB root hub driver.
Who informs the root hub driver about presence/absence of a device (on
a port)? Is it the port driver, hub hardware or something else and
how?
Which interface is used for the purpose in windows ddk?

I am trying to load the root hub driver through my host controller
driver (custom driver which does not use USB hardware), which
successfully loads a mass storage class driver (appropriate
descriptors returned on first enumeration). However I would like to
know what is the trigger for the hub driver to send the getdescriptor
request for another device?

Thanks,
Rashmi

Thanks Doron.

Going through the spec it isn't clear to me if the hub hardware
informs of the port status (through some interrupt mechanism etc) to
hub driver or is it the port driver that informs the hub driver. Could
you please throw some light on this?


.



Relevant Pages

  • Re: Query on root hub driver
    ... down stream hubs definitely use a device endpoint to be notified of port changes. ... I can't remember offhand if the root hub is told of changes through the HC's interrupt or has its own endpoint for notifications ... > I have a query on USB root hub driver. ...
    (microsoft.public.development.device.drivers)
  • Re: Selective suspend of usbhub
    ... how are you going to coordinate these transfters to control the hub with the usbhub driver itself? ... if you are sending IOCTLs through the hub driver, ... How do I wake it when I want to do so? ...
    (microsoft.public.development.device.drivers)
  • Re: Need MicroControllers with built in USB Port and Protocol
    ... mini-host and a "real host". ... a hub can be inserted for several reasons. ... hub driver is not provided it is a crippleware package, ...
    (comp.arch.embedded)
  • [PATCH 2/6] USB: reorganize code in hub.c
    ... This patch reorganizes some code in the hub driver. ... routine is created to do the work currently in hub_preset(i.e., ... There are no functional changes. ...
    (Linux-Kernel)
  • Re: [linux-usb-devel] [PATCH] USB: Only enable autosuspend =?iso-8859-1?q?by=09defau
    ... UHCI controller, root hub not auto-suspended, as soon as they got ... We looked at a small selection of keyboards; ... approach is just not to autosuspend keyboards and mice. ...
    (Linux-Kernel)