From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1OB6z7-0001o5-MD for mharc-grub-devel@gnu.org; Sun, 09 May 2010 09:55:57 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OB6z4-0001m8-Lz for grub-devel@gnu.org; Sun, 09 May 2010 09:55:54 -0400 Received: from [140.186.70.92] (port=48664 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OB6z1-0001cs-QZ for grub-devel@gnu.org; Sun, 09 May 2010 09:55:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OB6tZ-0007mZ-V8 for grub-devel@gnu.org; Sun, 09 May 2010 09:50:15 -0400 Received: from fg-out-1718.google.com ([72.14.220.155]:55167) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OB6tZ-0007mQ-Jb for grub-devel@gnu.org; Sun, 09 May 2010 09:50:13 -0400 Received: by fg-out-1718.google.com with SMTP id 22so482273fge.12 for ; Sun, 09 May 2010 06:50:12 -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=Gyre4DJRpR7w4jC2D1Hjc/Rvn11IYODKAU7Tbn/8c3M=; b=XQMq2Wb4Y0r0vFK4gLj2wbVqdteFNU315N3WY/JAtizQi9PCbj7jiyY69iWyd4zMcV AqFjjYGQvveYfM6d0pEGqwa/S8ZpnFt/rtk13Dg8zLIf/lx9rB5NgEe9O2NyfdkBmTuk ez0d1Z1uSJaHjOvFTUIregpF3386xQBwL0HNw= 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=g4oxRqYtXg1V9i8dEUlZBhc+sCOU6YjoC28R5ycZdpAwKuV4+OnaYRWfxWD2xHJhda ecDBYJL9LFSuU9vT7/PYWpLFTiS+qEiRXyoNN6SMjFOMQ/dWfzMGqcbkCmJvP1wRz3vs WKpnjeSh4IGbBxXicqleMG910HKqJTX7Old9Y= Received: by 10.87.71.21 with SMTP id y21mr7114569fgk.69.1273413012378; Sun, 09 May 2010 06:50:12 -0700 (PDT) Received: from debian.bg45.phnet (4-97.203-62.cust.bluewin.ch [62.203.97.4]) by mx.google.com with ESMTPS id e3sm6635590fga.29.2010.05.09.06.50.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 09 May 2010 06:50:10 -0700 (PDT) Message-ID: <4BE6BD8C.5070305@gmail.com> Date: Sun, 09 May 2010 15:50:04 +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> <4BD34B76.9010202@gmail.com> <5E5E52BFA90345D3AFD840B586167C96@pracovna> In-Reply-To: <5E5E52BFA90345D3AFD840B586167C96@pracovna> X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig11691B0BD59361DA42CB2092" 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: Sun, 09 May 2010 13:55:55 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig11691B0BD59361DA42CB2092 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ale=C5=A1 Nesrsta wrote: >>> Additionally, specification says that bit 31 (FIT) should be set to o= ne >>> 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. >> It can be done. Thanks. > As I wrote, it is most probably not our case, (GRUB is setting controll= er > in STOP state and nobody takes care about immediate impact of such > setting, > there are delays between set of FRAME_INTERVAL register and real > start of first communication transaction) so don't hurry with such > change...:-) > (Because if you set FIT bit, you should also wait for FRT bit in regist= er > FRAME_REMAINING to be set by OHCI controller as the reaction. > But it should happen in next start of frame, i.e. max. after 1ms.) > Ok, let's just keep it in mind but since it doesn't create any real problems keep it the simple way. >> ... >> I think the real problem are channels. I have suspicion that only firs= t >> channel of UHCI works. Another possible problem are the legacy support= >> bits in EHCI controller. > It looks like good idea. I also told myself that I have to first > discover how are > GRUB modules usb and usbms working with USB ports of USB controller, > how are they looking for connected USB mass storage device. > So I try first to more study actual related source code. > > Another source of problem could be not only legacy support itself but > EHCI set up made by BIOS. If I good understood leading part of EHCI > specification, if EHCI is enabled - working, all USB 2.0 capable device= s > are not "seen" on UHCI/OHCI but on EHCI only. So, if BIOS enables EHCI > to be working, none USB mass storage device will be reported on UHCI > or OHCI ports. And all USB mass storage that I have are USB 2.0 > capable... > If it is in this way, I don't see any simple way how to avoid it > (maybe except > disabling USB 2.0 support in BIOS if it is possible). > But maybe it is my misunderstanding only. Perhaps we can shutdown EHCI somehow? Do you know of reliable way to completely reset all USB controllers? Currently on Yeeloong ohci partially works but is able to retrieve string only from webcam. I suppose that webcam wasn't used by pmon so grub was able to assign an address to it itself. But maybe webcam is simply on another controller (one of controller is Geode which differs a bit from normal OHCI). When I run grub without pmon detect_dev is correct but it's not possible to send or receive anything and frame number stays 0xffff. I guess I need to launch OHCI somehow. > > (If you will be find something sooner than me, inform me, please, > thanks in advance.) I also had to add old way of end detection because otherwise it hanged sometimes. Also in few places you had: grub_le_to_cpu32 (&var) instead of grub_le_to_cpu32 (var) > > Best regards > Ales > > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig11691B0BD59361DA42CB2092 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 iF4EAREKAAYFAkvmvZIACgkQNak7dOguQgkm9gD/QcdY5Hd5QYmV9FosgtoM20hu YEnMOjipe5vgIGzNg60A/iGPCNF5ivBXydvYLhO8nH64AfbpFklXD2jyl8FN/k9E =H8wB -----END PGP SIGNATURE----- --------------enig11691B0BD59361DA42CB2092--