Re: Convert remaining HCDs to uses_new_polling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 20, 2009 at 12:44:16PM -0400, Alan Stern wrote:
> On Tue, 20 Oct 2009, Anton Vorontsov wrote:
> 
> > Unfortunately, the new polling doesn't work with FHCI driver, it
> > is unable to detect any devices (full or low speed doesn't matter).
> > 
> > It's most probably related to a root hub handling, in FHCI there
> > is no real root hub, i.e. FHCI has one raw port, and the driver
> > emulating the hub states in software. I'll take a look at that...
> 
> It may be that you need to set the hcd->poll_rh flag.  If that flag 
> isn't set then usbcore assumes the driver uses interrupts to detect 
> plug and unplug events.

Yep, poll_rh did the trick. Thanks!

-- 
Anton Vorontsov
email: cbouatmailru@xxxxxxxxx
irc://irc.freenode.net/bd2
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux