[SeaBIOS] [PATCH 1/4] xhci: Update the times for usb command timeouts.

Kevin O'Connor kevin at koconnor.net
Sat Jun 21 20:22:25 CEST 2014


On Sat, Jun 21, 2014 at 01:15:25PM -0500, Matt DeVillier wrote:
> On 6/21/2014 1:08 PM, Kevin O'Connor wrote:
> > On Sat, Jun 21, 2014 at 12:20:21PM -0500, Matt DeVillier wrote:
> >> I still have issues with various USB sticks not being detected at
> >> boot due to the xhci_event_wait() call in xhci_cmd_submit() which
> >> still has a timeout of 1000ms (vs 5000 for the ones affected by this
> >> patch).  Manually setting it to 5000 fixes the issues with all the
> >> USB flash devices I've tested (which had a problem at 1000ms)
> > Thanks Matt.  Can you post the SeaBIOS log with one of these devices?
> 
> Can do - what would you like the logging level set to?  Currently
> have it set to 3, which produces the following:
> 
> xhci_hub_reset port #2: 0x00020ae1, powered, pls 7, speed 2 [Low]
> XHCI port #2: 0x00200a03, powered, enabled, pls 0, speed 2 [Low]
> set_address 0x000ef720
> xhci_alloc_pipe: usbdev 0x7f7378d0, ring 0x7f781b00, slotid 0, epid 1
> xhci_cmd_enable_slot:
> xhci_process_events: status change port #2
> xhci_process_events: status change port #3
> xhci_process_events: status change port #4
> xhci_process_events: status change port #2
> xhci_alloc_pipe: enable slot: got slotid 1
> xhci_cmd_address_device: slotid 1
> xhci_update_pipe: usbdev 0x7f7378d0, ring 0x7f781b00, slotid 1, epid 1
> config_usb: 0x7f781c20
> device rev=0110 cls=00 sub=00 proto=00 size=8
> xhci_update_pipe: usbdev 0x7f7378d0, ring 0x7f781b00, slotid 1, epid 1
> WARNING - Timeout at xhci_event_wait:394!
> xhci_control: control xfer failed (cc -1)

The above is fine.  Can you also post 'lsusb -t' and 'lsusb -v' output
for the device?  I'll take a look later tonight.

-Kevin



More information about the SeaBIOS mailing list