From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1O5lN4-0005cP-Ko for mharc-grub-devel@gnu.org; Sat, 24 Apr 2010 15:50:34 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O5lN2-0005cI-JP for grub-devel@gnu.org; Sat, 24 Apr 2010 15:50:32 -0400 Received: from [140.186.70.92] (port=55051 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O5lN0-0005cA-B5 for grub-devel@gnu.org; Sat, 24 Apr 2010 15:50:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O5lMy-0007Qd-Kn for grub-devel@gnu.org; Sat, 24 Apr 2010 15:50:30 -0400 Received: from mail-bw0-f223.google.com ([209.85.218.223]:59540) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5lMy-0007QW-8W for grub-devel@gnu.org; Sat, 24 Apr 2010 15:50:28 -0400 Received: by bwz23 with SMTP id 23so10920316bwz.26 for ; Sat, 24 Apr 2010 12:50:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type; bh=cqPxhO+kx3s70te+sFNU6ozw7ezG1O+QeTvAnx1kAZg=; b=hnM9yY7UaKh+gTNSs856ZYxHVtzuNhtqUFq5H12blv2/bvRDqyE3p5W96Wm+YzFmcE 7qVOFwnoUpPXOT1MlLwPcMtoRPZub2yJlQGyxOJ+hv02gWMhxNtnKGyPOJdPgmhRibvr H97/ecwlDBdE5DZO9uxQSTbodiREi2k3DAuKk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; b=dYcX9PwRr8qHiceCHXUuKzUe5Zi+vREH7MT/6arWxlCogzpfurD0DbaqrdL9nFxic6 XKfQtk3IDLE4un1JOggTloJqryVjN8XrbZKIMeQx2IDZUUj+lNVx0oWFHpagGVJ857Dp aipn3Q47s47VfFWhk0bZciCoegHyf2u7dJaRA= Received: by 10.204.154.153 with SMTP id o25mr1141292bkw.68.1272138626588; Sat, 24 Apr 2010 12:50:26 -0700 (PDT) Received: from debian.bg45.phnet (39-210.2-85.cust.bluewin.ch [85.2.210.39]) by mx.google.com with ESMTPS id 16sm922817bwz.13.2010.04.24.12.50.23 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 24 Apr 2010 12:50:24 -0700 (PDT) Message-ID: <4BD34B76.9010202@gmail.com> Date: Sat, 24 Apr 2010 21:50:14 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109) MIME-Version: 1.0 To: The development of GNU GRUB References: <1268605383.2839.26.camel@homenes1> <4BB657BB.60801@gmail.com> <1270669741.2732.129.camel@homenes1> <4BBCED68.3080900@gmail.com> <1270762038.2730.37.camel@homenes1> <4BC892C3.3090507@gmail.com> <1271794445.4221.93.camel@pracovna> In-Reply-To: <1271794445.4221.93.camel@pracovna> X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigDD9CBEC693CA10221509103A" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [Patch] [bug #26237] multiple problems with usb devices X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Apr 2010 19:50:32 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigDD9CBEC693CA10221509103A Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ale=C5=A1 Nesrsta wrote: > Vladimir '=CF=86-coder/phcoder' Serbinenko wrote: > ... > =20 >> I discovered something. It looks like on Yeeloong the problem is cause= d >> by the skipped step of initialising of timings and power management. >> Quick and dirty fix: >> =20 > ... > > Hello, > > first of all sorry about delay - I am little bit busy now. > > > 1. > I fully agree with power enable fix (via register ...RHUBA) - it is > simple and probably sufficiently universal. > > > 2. > The second fix, related to FRAME_INTERVAL (FSMPS part) and > PERIODIC_START - where you get the fixed values? > =20 I've just dumped them from a working controller. > There is also question, why actually to change FSMPS ? > =20 Problem is that if firmware didn't set this register correctly we'll have problems with it. Additionaly the advantage of always using the same values is to avoid having different behaviour on different chipsets which is a plus from debugging perspective. > I think, if we take into frame_interval previous valid value from > FRAME_INTERVAL register, this part should be correct. > Maybe it is not always true - specification says that this value should= > be calculated by driver. So, if Yeeloong has no BIOS, probably nobody > calculate and set this field and it is not set by OHCI HW itself. On > another machines it is probably set by BIOS - at least on my machine > with OHCI only :-) - but maybe it is done only in case if "Legacy USB > support" is selected in BIOS (or similar USB setting). > =20 But I doubt it's a case for OHCI expansion card if BIOS fails to execute option ROM. > Additionally, specification says that bit 31 (FIT) should be set to one= > if any change of FRAME_INTERVAL occurs - but I think it is necessary > only if OHCI is in operational state - which is not in our case. > > =20 It can be done. Thanks. > 3. > I tested your patch usb.diff from previous e-mail - it works fine. > > =20 Thanks. When legal part will be done I'll apply it to trunk. > 4. > I cannot test OHCI on my second machine as I promised - the second > machine has no OHCI-EHCI, but UHCI-EHCI, I was wrong... > But I tried to test UHCI on this second machine - and it was not > working. > I had no time to debug why it is not working - I suspect BIOS (which > supports booting from USB) is doing something bad in background, maybe.= > I will check the BIOS settings and I will try test it once again. But > first I have to add disk drive with Linux to this machine to be able > make some debugging experiments with GRUB (I have only WinXP there > currently). > =20 I think the real problem are channels. I have suspicion that only first channel of UHCI works. Another possible problem are the legacy support bits in EHCI controller. > > Best regards > Ales > > > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > > =20 --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enigDD9CBEC693CA10221509103A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iF4EAREKAAYFAkvTS3wACgkQNak7dOguQglbrwD8Cv4JeWaUQr8IO2TpK8FMqA8w qZH4A3gPn1KgUOJUdgcBAI/w54PXPzisgld4tns9Gl4yM7hcgAkssBD8ONDrlG50 =0zxo -----END PGP SIGNATURE----- --------------enigDD9CBEC693CA10221509103A--