Re: xhci woes continued

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

 



On Sun, 13 Sep 2015, Hans-Peter Jansen wrote:

> > The usbmon trace clearly shows the problem: The card reader's firmware
> > doesn't handle transfers larger than 64 KB properly.  (That's a bit of
> > a guess on my part; what the trace really shows is that transfers of
> > length 120 KB and 72 KB failed whereas lengths 28 KB and below worked.)
> > 
> > Anyway, you can supply a quirks parameter for the usb-storage module to
> > force all transfers to be short:
> > 
> > 	modprobe usb-storage quirks=8564:4000:m
> > 
> > (That's the vendor and product IDs of your card reader, together with a
> > flag to limit the Max number of sectors per transfer.)  Does that fix
> > the problem?
> 
> Yes, sort of, thanks, Alan. Unfortunately, write operations render my (fairly 
> capable) desktop nearly unusable, stalls for a couple of seconds, switching 
> desktops take 10-20 secs, while write performance is abysmal for USB 3.0 SDXC 
> class 1 devices. 
> 
> But that got me going. I've updated the firmware on this device to TS26, and 
> now, it behaves better: it performs ok and the desktop is still usable. Cool.

Does the new firmware still require the usb-storage quirk?

> May I introduce another faulty device: Fantec AluPro U3 external 2,5" case  
> (Asmedia AS2105 controller) with a HGST HTS721010 7K1000 harddisk. I wasn't 
> able to locate any firmware for this device.
> 
> Issue here is, the drive is continusly connecting and disconnecting:
> 
> 2015-09-13T11:55:30.641698+02:00 xrated kernel: [171947.841309] usb 7-1: USB disconnect, device number 91
> 2015-09-13T11:55:30.853671+02:00 xrated kernel: [171948.053246] usb 7-1: new SuperSpeed USB device number 92 using xhci_hcd
> 2015-09-13T11:55:30.864676+02:00 xrated kernel: [171948.065133] usb 7-1: New USB device found, idVendor=174c, idProduct=5106
> 2015-09-13T11:55:30.864681+02:00 xrated kernel: [171948.065134] usb 7-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
> 2015-09-13T11:55:30.864682+02:00 xrated kernel: [171948.065136] usb 7-1: Product: AS2105
> 2015-09-13T11:55:30.864682+02:00 xrated kernel: [171948.065136] usb 7-1: Manufacturer: ASMedia
> 2015-09-13T11:55:30.864683+02:00 xrated kernel: [171948.065137] usb 7-1: SerialNumber:       JR10046P2HAJ8N
> 2015-09-13T11:55:30.865663+02:00 xrated kernel: [171948.065961] usb-storage 7-1:1.0: USB Mass Storage device detected
> 2015-09-13T11:55:30.865666+02:00 xrated kernel: [171948.066046] scsi host196: usb-storage 7-1:1.0
> 2015-09-13T11:55:30.867001+02:00 xrated mtp-probe: checking bus 7, device 92: "/sys/devices/pci0000:00/0000:00:14.0/usb7/7-1"
> 2015-09-13T11:55:30.867182+02:00 xrated mtp-probe: bus: 7, device: 92 was not an MTP device
> 2015-09-13T11:55:32.111692+02:00 xrated kernel: [171949.310429] usb 7-1: USB disconnect, device number 92
> 2015-09-13T11:55:32.323698+02:00 xrated kernel: [171949.522367] usb 7-1: new SuperSpeed USB device number 93 using xhci_hcd
...

> usbmon log attached.

It wasn't attached.

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