On 05/13/2014 06:30 PM, Alan Stern wrote: > CC-ing Mathias. > > On Mon, 12 May 2014, Jorge wrote: > >> [1.] One line summary of the problem: >> [Sony VAIO SVT13136CXS] usb2 port does not work. >> >> [2.] Full description of the problem/report: >> My laptop has two usb ports, one 2.0 and the other 3.0. The usb 2.0 port >> does nothing. It seems to have power (a mp3 player took charge, but a >> cellphone did not) but shows no activity otherwise. Whatever I plug in >> it nothing happens. Nothing in dmesg, nor anything changes in lsusb. >> I've tried wireless mouse, pendrive, hdd, couple cellphones, and webcams. >> The laptop is a Sony VAIO T13. It's a "ultrabook", with everything Intel >> inside. > > ... > >> Launchpad bug report: >> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1316897 and a >> previous one: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1172908 . >> I found this post claiming a fix (involves editing >> drivers/usb/host/pci-quirks.c): >> http://community.sony.com/t5/VAIO-Software-Other-Operating/Vaio-T13-usb-2-0-don-t-work-under-ubuntu/td-p/120323 > > Mathis, that fix involves getting rid of the call that transfers > control of the USB-2 ports from EHCI to xHCI. Apparently this laptop > does not wire its USB-2 port to the xHCI controller. > > It looks like a quirk flag will be needed to fix this. > > Alan Stern > Thanks, It appears so. Jorge, I don't have access to a Sony VAIO t-series machine, can you try if the following patch fixes the issue? -Mathias >8-------------------------------------------8< From: Mathias Nyman <mathias.nyman@xxxxxxxxxxxxxxx> Subject: [PATCH] usb: pci-quirks: Prevent Sony VAIO t-series from portswitching Sony VAIO t-series machines are not capable of switching usb2 ports over from Intel EHCI to xHCI controller. If tried the USB2 port will be left unconnected and unusable. Signed-off-by: Mathias Nyman <mathias.nyman@xxxxxxxxxxxxxxx> --- drivers/usb/host/pci-quirks.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/usb/host/pci-quirks.c b/drivers/usb/host/pci-quirks.c index 00661d3..4a6d3dd 100644 --- a/drivers/usb/host/pci-quirks.c +++ b/drivers/usb/host/pci-quirks.c @@ -847,6 +847,13 @@ void usb_enable_intel_xhci_ports(struct pci_dev *xhci_pdev) bool ehci_found = false; struct pci_dev *companion = NULL; + /* Sony VAIO t-series with subsystem device ID 90a8 is not capable of + * switching ports from EHCI to xHCI + */ + if (xhci_pdev->subsystem_vendor == PCI_VENDOR_ID_SONY && + xhci_pdev->subsystem_device == 0x90a8) + return; + /* make sure an intel EHCI controller exists */ for_each_pci_dev(companion) { if (companion->class == PCI_CLASS_SERIAL_USB_EHCI && -- 1.8.3.2 -- 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