Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Sep 2009 11:11:40 +0300
From:      Andriy Gapon <avg@icyb.net.ua>
To:        "Svein Skogen (listmail account)" <svein-listmail@stillbilde.net>
Cc:        freebsd-current@freebsd.org, freebsd-usb@freebsd.org, Hans Petter Selasky <hselasky@c2i.net>
Subject:   Re: sb600/sb700 ohci experimental patch
Message-ID:  <4ABC7B3C.6090803@icyb.net.ua>
In-Reply-To: <4ABC7912.6070301@stillbilde.net>
References:  <4ABA36B1.9070706@icyb.net.ua>	<200909241651.47850.hselasky@c2i.net> <4ABC646D.4070604@icyb.net.ua> <4ABC7912.6070301@stillbilde.net>

next in thread | previous in thread | raw e-mail | index | archive | help
on 25/09/2009 11:02 Svein Skogen (listmail account) said the following:
> Andriy Gapon wrote:
>> on 24/09/2009 17:51 Hans Petter Selasky said the following:
> 
> *SNIP!*
> 
>> Not sure how to interpret this.
>> Either a timing issue, i.e. the register gets over-written some time after we
>> program it.
>> Or perhaps a bug in SMM code, i.e. when we generate an SMI (e.g. while doing
>> ohci1 takeover) SMM code erroneously writes something to ohci0 ctrlhead.
>> Or something else... :)
> 
> Could it be related to "USB Legacy Devices" in bios, and thus be the
> same problem that was discussed recently (regarding HZ larger than 1000)?
> 
> An usb-legacy setup might explain both the register-changing _AND_ the
> timing issue...

It very well could, but...

We do perform proper OHCI takeover, so we don't expect firmware to mess with the
controllers after it is finished.

Also, I personally have everything "USB legacy" disabled in my BIOS ("USB Legacy
Support", "USB Keyboard support", "USB Mouse support"). Although, Gigabyte BIOSes
are known to be sometimes smarter than they appear and to "autodetect" things when
they are explicitly turned off in settings.

Last point. Explaining is half the job. Fixing / working around is the other half.

P.S. I am not sure what "timing issue" you referred to.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ABC7B3C.6090803>