Re: ASMedia AS2105 interface on USB 3.0 corrupts data

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

 



On Wed, 21 May 2014, Heinz Diehl wrote:

> On 21.05.2014, Alan Stern wrote: 
> 
> > Your problems were probably caused by those spontaneous disconnects.
> 
> Yes, I got the same impression while encountering this.
> 
> > They could be caused by a small electrical incompatibility between the 
> > computer and the device.
> 
> In this case, most probably all of those interfaces have this
> electrical flaw. I own two of it, and both are showing the same faulty
> behaviour on three different machines (Gigabyte AMD, Asus U45JC
> and HP Elitebook). Maybe this interface should be blacklisted, then?
> 
> However, they both work flawlessly on Windows 7-64..

Maybe the problem involves USB-3 Link Power Management.  Unfortunately 
there isn't any way I know of to disable it without rebuilding the 
kernel.

The patch below will disable LPM for all devices.  You can try it and 
see if it helps.

Alan Stern



Index: usb-3.15/drivers/usb/core/hub.c
===================================================================
--- usb-3.15.orig/drivers/usb/core/hub.c
+++ usb-3.15/drivers/usb/core/hub.c
@@ -130,6 +130,8 @@ struct usb_hub *usb_hub_to_struct_hub(st
 
 static int usb_device_supports_lpm(struct usb_device *udev)
 {
+	return 0;
+
 	/* USB 2.1 (and greater) devices indicate LPM support through
 	 * their USB 2.0 Extended Capabilities BOS descriptor.
 	 */

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