CONFIG_USB_EHCI_TT_NEWSCHED

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

CONFIG_USB_EHCI_TT_NEWSCHED

Karl Godt
Administrator
Any one knows about that kernel configuration ?

Am having troubles with a
Microsoft Wireless Mobile 1000 Mouse .
[ 9901.922608] usb 1-1.4: new full speed USB device using ehci_hcd and address 5
[ 9902.014489] usb 1-1.4: New USB device found, idVendor=045e, idProduct=07b2
[ 9902.014498] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 9902.014504] usb 1-1.4: Product: Microsoft® Nano Transceiver v1.0
[ 9902.014509] usb 1-1.4: Manufacturer: Microsoft
[ 9902.021063] input: Microsoft Microsoft® Nano Transceiver v1.0 as /devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1.4/1-1.4:1.0/input/input90
[ 9902.025016] generic-usb 0003:045E:07B2.0057: input,hidraw2: USB HID v1.11 Keyboard [Microsoft Microsoft® Nano Transceiver v1.0] on usb-0000:00:1d.7-1.4/input0
[ 9902.047673] input: Microsoft Microsoft® Nano Transceiver v1.0 as /devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1.4/1-1.4:1.1/input/input91
[ 9902.083396] generic-usb 0003:045E:07B2.0058: input,hidraw3: USB HID v1.11 Mouse [Microsoft Microsoft® Nano Transceiver v1.0] on usb-0000:00:1d.7-1.4/input1
[ 9902.134359] input: Microsoft Microsoft® Nano Transceiver v1.0 as /devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1.4/1-1.4:1.2/input/input92
[ 9902.169236] generic-usb 0003:045E:07B2.0059: input,hiddev96,hidraw4: USB HID v1.11 Device [Microsoft Microsoft® Nano Transceiver v1.0] on usb-0000:00:1d.7-1.4/input2

Sluggish and dmesg is full of
[ 9907.546964] usb 1-1.4: reset full speed USB device using ehci_hcd and address 5
[ 9907.713564] usb 1-1.4: reset full speed USB device using ehci_hcd and address 5
[ 9907.886930] usb 1-1.4: reset full speed USB device using ehci_hcd and address 5
3 messages every second .

I am using a 2.6.34 kernel ATM
with the whole USB drivers compiled as modules .
Could track down the messages from
hub_port_init()
in
drivers/usb/core/hub.c :
	if (udev->speed != USB_SPEED_SUPER)
		dev_info(&udev->dev,
				"%s %s USB device number %d using %s\n",
				(udev->config) ? "reset" : "new", speed,
				devnum, udev->bus->controller->driver->name);

@ Linux 3.15.1 ,
2.6.34 has a fifth variable "type" and words are ordered differently .

So, I dig in the
git log --grep EHCI
commit e04f5f7e423018bcec84c11af2058cdce87816f3
Author: Alan Stern <stern@rowland.harvard.edu>
Date:   Tue Jul 19 14:01:23 2011 -0400

    EHCI: fix direction handling for interrupt data toggles
    ...
    This allows the Spyder2 color-calibration system (a low-speed USB
    device that sends all its interrupt data packets with the toggle set
    to 0 and hance requires constant use of usb_reset_endpoint) to work
    when connected through a high-speed hub.

And with Google I found this :
https://bbs.archlinux.org/viewtopic.php?id=91496
 [SOLVED] Mouse attached to USB2 7-port hub (AC powered) => stuttering
I just want to report that my issue went away after enabling "CONFIG_USB_EHCI_TT_NEWSCHED" 
and compiling the latest 2.6.32 kernel from kernel.org.

The mouse works when I
modprobe -r ehci-hcd
using the uhci-hcd driver .

At my current 3.x kernels I have
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_ROOT_HUB_TT=y
CONFIG_USB_EHCI_TT_NEWSCHED=y