Re: [Bug] [Sony VAIO SVT15117CXS] USB 2.0 ports not working with any USB device

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

 



On Fri, 30 Aug 2013, Kevin Archer wrote:

> I changed the pci.quirks.c file based on
> http://people.canonical.com/~lexical/bugs/lp981710/diff
> that I found while searching for the commit that you suggested.
> 
> diff --git a/drivers/usb/host/pci-quirks.c b/drivers/usb/host/pci-quirks.c
> index 833b3c6..aac5b03 100644
> --- a/drivers/usb/host/pci-quirks.c
> +++ b/drivers/usb/host/pci-quirks.c
> @@ -862,9 +863,10 @@ static void __devinit
> quirk_usb_handoff_xhci(struct pci_dev *pdev)
>   val |= XHCI_LEGACY_SMI_EVENTS;
>   /* Disable any BIOS SMIs and clear all SMI events*/
>   writel(val, base + ext_cap_offset + XHCI_LEGACY_CONTROL_OFFSET);
> -
> +/*
>   if (usb_is_intel_switchable_xhci(pdev))
>   usb_enable_xhci_ports(pdev);
> +*/
>  hc_init:
>   op_reg_base = base + XHCI_HC_LENGTH(readl(base));
> 
> I don't think it is the REAL fix this going forward, but it works for
> me and this lap top.

This is not a real fix.  If something is wrong with the port-switching 
mechanism on your machine, it should be brought to the attention of the 
appropriate people.  Unless you think this is a simple hardware flaw in 
your particular computer, not affecting anybody else.

By the way, there is already a change in this area scheduled for the 
3.12 kernel release:

https://git.kernel.org/cgit/linux/kernel/git/gregkh/usb.git/commit?id=26b76798e0507429506b93cd49f8c4cfdab06896

> Thank you for helping and your patience and pointing me in the correct
> direction.

You're welcome.

Alan Stern


--
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