Re: USB g_mass_storage weirdness

2016-06-01 Thread Felipe Balbi
Alan Stern writes: > On Tue, 31 May 2016, Felipe Balbi wrote: > >> I've sprinkled a few trace_printk() around in g_mass_storage and got >> some extra info. So here's a good transfer: > > ... > >> And here's the bad case (with the last working WRITE_10): >> >> > irq/17-dwc3-1336 [000] d... 839

Re: USB g_mass_storage weirdness

2016-05-31 Thread Alan Stern
On Tue, 31 May 2016, Felipe Balbi wrote: > I've sprinkled a few trace_printk() around in g_mass_storage and got > some extra info. So here's a good transfer: ... > And here's the bad case (with the last working WRITE_10): > > > irq/17-dwc3-1336 [000] d... 839.825613: fsg_common_set_inquiry_

Re: USB g_mass_storage weirdness

2016-05-31 Thread Felipe Balbi
Hi, Felipe Balbi writes: > [ Unknown signature status ] > > Hi again, > > Felipe Balbi writes: >>> irq/17-dwc3-1336 [000] d... 839.828020: fsg_common_set_inquiry_string: >>> ep1in: 13/13 --> 0 >> >> Our CSW completes fine >> >>> irq/17-dwc3-1336 [000] d... 839.828022: fsg_common_set_in

Re: USB g_mass_storage weirdness

2016-05-31 Thread Felipe Balbi
Hi again, Felipe Balbi writes: >> irq/17-dwc3-1336 [000] d... 839.828020: fsg_common_set_inquiry_string: >> ep1in: 13/13 --> 0 > > Our CSW completes fine > >> irq/17-dwc3-1336 [000] d... 839.828022: fsg_common_set_inquiry_string: >> ep1out: 31/1024 --> 0 > > 2 us later, we receive anot

Re: USB g_mass_storage weirdness

2016-05-31 Thread Felipe Balbi
Hi, Felipe Balbi writes: >> irq/17-dwc3-1253 [000] d..1 315.944886: usb_gadget_vbus_draw: speed 5/5 >> state 7 0mA [sg:out_aligned:self-powered:activated:connected] --> -95 >> file-storage-1252 [003] ...1 315.945556: usb_ep_fifo_flush: ep1in: mps >> 1024/1024 streams 15 mult 0 burst 16