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

Matt DeVillier matt.devillier at gmail.com
Mon Jun 23 17:31:20 CEST 2014


On 6/22/2014 5:04 AM, Kevin O'Connor wrote:
> On Sat, Jun 21, 2014 at 01:24:24PM -0500, Matt DeVillier wrote:
>> On 6/21/2014 1:22 PM, Kevin O'Connor wrote:
>>> The above is fine.  Can you also post 'lsusb -t' and 'lsusb -v' output
>>> for the device?  I'll take a look later tonight.
>> does it need to be from the same SeaBIOS build?  I'd imagine not
>> since the device works in the OS either way.  But if so I'll need to
>> recompile/reflash first since I have a working one loaded now
> No - the lsusb reports info on the device - it shouldn't matter what
> version of seabios is in use.  Can you post the full seabios log as
> well?
>
> Please CC the seabios mailing list on the response.
>
> -Kevin

Kevin,

here's the relevant snippet of the cbmem output for the non-working keyboard:

SeaBIOS (version rel-1.7.5-8-g11a8d89-20140623-MattDevo)
init usb
XHCI init on dev 00:14.0: regs @ 0xe0700000, 13 ports, 32 slots, 32 byte contexts
XHCI    protocol USB  2.00, 9 ports (offset 1), def 3018
XHCI    protocol USB  3.00, 4 ports (offset 10), def 1000
XHCI    extcap 0xc1 @ e0708040
XHCI    extcap 0xc0 @ e0708070
XHCI    extcap 0x1 @ e0708460
XHCI    extcap 0xa @ e0708480
configure_xhci: resetting
configure_xhci: setup 16 scratch pad buffers
xhci_hub_detect port #1: 0x000002a0, powered, pls 5, speed 0 [ - ]
xhci_hub_detect port #2: 0x000002a0, powered, pls 5, speed 0 [ - ]
xhci_hub_detect port #3: 0x00020ae1, powered, pls 7, speed 2 [Low]
xhci_hub_reset port #3: 0x00020ae1, powered, pls 7, speed 2 [Low]
XHCI port #3: 0x00200a03, powered, enabled, pls 0, speed 2 [Low]
set_address 0x000ef720
xhci_alloc_pipe: usbdev 0x7f6640d0, ring 0x7f6aeb00, slotid 0, epid 1
xhci_cmd_enable_slot:
xhci_trb_queue: ring 0x7f6aed00 [nidx 1, len 0]
xhci_process_events: status change port #3
xhci_process_events: status change port #4
xhci_process_events: status change port #3
xhci_process_events: ring 0x7f6aed00 [trb 0x7f6aed00, evt 0x7f6aee00, type 33, eidx 1, cc 1]
xhci_alloc_pipe: enable slot: got slotid 1
xhci_cmd_address_device: slotid 1
xhci_trb_queue: ring 0x7f6aed00 [nidx 2, len 0]
xhci_process_events: ring 0x7f6aed00 [trb 0x7f6aed10, evt 0x7f6aee00, type 33, eidx 2, cc 1]
xhci_update_pipe: usbdev 0x7f6640d0, ring 0x7f6aeb00, slotid 1, epid 1
config_usb: 0x7f6aec20
xhci_trb_queue: ring 0x7f6aeb00 [nidx 1, len 8]
xhci_trb_queue: ring 0x7f6aeb00 [nidx 2, len 8]
xhci_trb_queue: ring 0x7f6aeb00 [nidx 3, len 0]
xhci_xfer_kick: ring 0x7f6aeb00, slotid 1, epid 1
xhci_process_events: ring 0x7f6aeb00 [trb 0x7f6aeb20, evt 0x7f6aec00, type 32, eidx 3, cc 1]
device rev=0110 cls=00 sub=00 proto=00 size=8
xhci_update_pipe: usbdev 0x7f6640d0, ring 0x7f6aeb00, slotid 1, epid 1
xhci_trb_queue: ring 0x7f6aeb00 [nidx 4, len 8]
xhci_trb_queue: ring 0x7f6aeb00 [nidx 5, len 9]
xhci_trb_queue: ring 0x7f6aeb00 [nidx 6, len 0]
xhci_xfer_kick: ring 0x7f6aeb00, slotid 1, epid 1
xhci_process_events: ring 0x7f6aeb00 [trb 0x7f6aeb40, evt 0x7f6aec00, type 32, eidx 5, cc 6]
WARNING - Timeout at xhci_event_wait:394!
xhci_control: control xfer failed (cc -1)
...

thanks,
Matt



More information about the SeaBIOS mailing list