2014-09-10 20:48 GMT+02:00 Kevin O'Connor <kevin@koconnor.net>:
On Sun, Jun 22, 2014 at 05:54:17PM +0200, Idwer Vollering wrote:
> > So, this looks different from Matt's report.  What appears to be
> > happening in the above is that the device shows up originally as a
> > high speed device (see "[High]" above).  However, when the set_address
> > command is sent to it, it appears that the device effectively
> > disconnects and then reconnects as a super speed device (see "change
> > port #2" and "change port #4" above - port 2==port 4 - see ("offset 1"
> > / "offset 3" above)).
> >
> > You can try increasing the xchi_event_wait timeout which fixes Matt's
> > issue, but I think we tried this on your hardware before with no luck.
>
> Indeed, changing 1000 to 5000 or USB_TIME_COMMAND in
> src/hw/usb-xhci.c:501 didn't matter.

Can you retry with the patch series I just posted?  It's also at:
  https://github.com/KevinOConnor/seabios/tree/testing

It may help with this device.

-Kevin

built with code from 'git checkout origin/testing'

SeaBIOS (version rel-1.7.5-105-g4b3c04b-20141111_131042-ubuntu)
init usb
XHCI init on dev 00:10.0: regs @ 0xf0148000, 4 ports, 32 slots, 32 byte contexts
XHCI    extcap 0x1 @ f0148500
XHCI    protocol USB  3.00, 2 ports (offset 1), def 0
XHCI    protocol USB  2.00, 2 ports (offset 3), def 0
configure_xhci: resetting
xhci_hub_reset port #3: 0x000202e1, powered, pls 7, speed 0 [ - ]
XHCI port #3: 0x00200e03, powered, enabled, pls 0, speed 3 [High]
set_address 0xbf11ffb0
xhci_alloc_pipe: usbdev 0xbf0d3890, ring 0xbf11f900, slotid 0, epid 1
xhci_cmd_enable_slot:
xhci_process_events: status change port #3
xhci_process_events: status change port #1
xhci_process_events: status change port #3
xhci_alloc_pipe: enable slot: got slotid 1
xhci_cmd_address_device: slotid 1
WARNING - Timeout at xhci_event_wait:692!
xhci_alloc_pipe: address device: failed (cc -1)
XHCI no devices found
WARNING - Timeout at wait_bit:310!
XHCI init on dev 00:10.1: regs @ 0xf014a000, 4 ports, 32 slots, 32 byte contexts
XHCI    extcap 0x1 @ f014a500
XHCI    protocol USB  3.00, 2 ports (offset 1), def 0
XHCI    protocol USB  2.00, 2 ports (offset 3), def 0
configure_xhci: resetting
XHCI no devices found
EHCI init on dev 00:12.2 (regs=0xf014f820)
set_address 0xbf0d3980
config_usb: 0xbf0d37d0
device rev=0200 cls=00 sub=00 proto=00 size=64
EHCI init on dev 00:13.2 (regs=0xf014f920)
OHCI init on dev 00:12.0 (regs=0xf014c000)
set_address 0xbf0d3980
config_usb: 0xbf0d3880
device rev=0110 cls=00 sub=00 proto=00 size=8
usb_hid_setup 0xbf0d3880
USB keyboard initialized
OHCI init on dev 00:13.0 (regs=0xf014d000)
OHCI init on dev 00:14.5 (regs=0xf014e000)
init ps2port
Got ps2 nak (status=51)
ps2 command 2ff failed (aux=0)
init lpt
Found 0 lpt ports
init serial
Found 1 serial ports
init floppy drives
init hard drives
init ahci
AHCI controller at 11.0, iobase f014f000, irq 0
AHCI: cap 0xf3309f07, ports_impl 0x4
AHCI/2: probing
AHCI/2: link up
AHCI/2: ... finished, status 0x51, ERROR 0x4
Searching bootorder for: /pci@i0cf8/*@11/drive@2/disk@0
AHCI/2: registering: "AHCI/2: Maxtor 6L250S0 ATA-7 Hard-Disk (233 GiBytes)"
Registering bootable: AHCI/2: Maxtor 6L250S0 ATA-7 Hard-Disk (233 GiBytes) (type:2 prio:103 data:f05a0)
init megasas
Scan for option roms

Press F12 for boot menu.

Checking for bootsplash
Select boot device:

1. AHCI/2: Maxtor 6L250S0 ATA-7 Hard-Disk (233 GiBytes)