Re: possible conflict between xhci_hcd and a patched usbhid?

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

 



On Mon, Sep 30, 2013 at 11:19:56AM -0400, Cristobal Navarro wrote:
> Dear Sarah,
> 
> Maybe you can help us. We, Razer Blade laptop users are having a weird
> problem when patching the usbhid module and using the xhci_hcd module at
> the same time.
> 
> Razer Blade Laptop users running linux need to fix the polling rate
> interval of the usbhid module, to be 1000Hz in order for the laptop's
> keyboard to work properly (it is a high performance keyboard). That is to
> hardcode a line in drivers/hid/usbhid/hid-core.c to be "interval = 1;",
> around line 1134 of hid-core.c

Can you send me the output of `sudo lsusb -v`?  The USB HID driver
should be creating a quirk for this device, rather than having users
hard-code the interval value for all USB HID devices.

> The problem is that if i also include the xhci_hcd module in the kernel,
> then the fix at usbhid no longer works and the keyboard works faultly. So
> at the moment, i have to remove hxci_hcd and loose USB 3.0 support i guess.

Yep, hard coding the interval won't help when the device is under xHCI.
The xHCI driver looks at the endpoint descriptors, not the URB interval,
when it sets up the poll rate.  Changing the URB interval will have no
impact on when transfers actually get scheduled.  The EHCI driver will
respect the interval in the URB, which is why it works under EHCI.

This has been a known issue for quite some time.  What we need is new
API to allow drivers to request a different interval than the one in the
endpoint descriptors.  That's not a simple fix, and I don't think it's
going to happen any time soon.  Maybe it's something Xenia could look
into?

> Do you know what could be the cause of the problem? how could we fix it?
> Does xhci_hcd module take over the laptop's keyboard instead of usbhid??
> 
> many thanks in advance, i appreciatte all the work you have done on USB 3.0.
> Best regards,
> 
> Cristobal A. Navarro

Sarah Sharp
--
To unsubscribe from this list: send the line "unsubscribe linux-input" 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 Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux