Re: [SeaBIOS] UHCI on US15W: Crazy stuff happening

2012-08-07 Thread Matthew Millman
Got it: This line in usb-uhci.c (reset_uhci()) broke it: pci_config_writew(bdf, USBLEGSUP, USBLEGSUP_RWC); According to the US15W datasheet, there is no register at this offset, there does seem to be something there because it reads 0x0400 after that write, but I don't think it's what SeaBIOS

Re: [SeaBIOS] UHCI on US15W: Crazy stuff happening

2012-08-07 Thread Peter Stuge
Matthew Millman wrote: This line in usb-uhci.c (reset_uhci()) broke it: pci_config_writew(bdf, USBLEGSUP, USBLEGSUP_RWC); According to the US15W datasheet, there is no register at this offset, there does seem to be something there because it reads 0x0400 after that write, but I don't

Re: [SeaBIOS] UHCI on US15W: Crazy stuff happening

2012-08-06 Thread Matthew Millman
Thanks for the response Kevin I've spent another day trying to get to the bottom of this one, still no luck. Attempt to 16 byte align: No difference. Errata: One point mentioned with regards to UHCI but its affect would be a complete disabling of the controller, not this _sort of_ working issue

[SeaBIOS] UHCI on US15W: Crazy stuff happening

2012-08-05 Thread Matthew Millman
Hi I'm seeing a rather interesting problem with UHCI on Intel US15W and wondered if anyone else had seen anything like this before. I noticed it when I plugged in a USB keyboard, which caused a crash due to something corrupting the stack? it turns out that the stack has been trashed by the UHCI