From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1OJ41e-0006lB-2L for mharc-grub-devel@gnu.org; Mon, 31 May 2010 08:23:26 -0400 Received: from [140.186.70.92] (port=46955 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJ41a-0006is-La for grub-devel@gnu.org; Mon, 31 May 2010 08:23:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJ41Z-0004dL-CH for grub-devel@gnu.org; Mon, 31 May 2010 08:23:22 -0400 Received: from mail-ew0-f216.google.com ([209.85.219.216]:50924) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJ41Z-0004d7-1q for grub-devel@gnu.org; Mon, 31 May 2010 08:23:21 -0400 Received: by ewy8 with SMTP id 8so944855ewy.8 for ; Mon, 31 May 2010 05:23:20 -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=GQjEqiJ6Cb8pAwDtorhKNcKTluYI42uezQrfmbhoXw8=; b=hsDhAsHOi2TyKfRAOzEl2Lscp3QvKFUwOK5VyxsdrCvdhK4vmg7fc/y4/X7TRxUP4m 5CZ7as1dn3JjZx2mYfwR/g7bsyQXMewolyVUPGbiQjT2Ihu/BC2PQG0fH9GQALNjqD1u CfI0fmf93hKTsWF0oaqyh4yQul314xlYwQY28= 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=o/JSay5LngGuyw80VfP3KkRw7L/KuQWBLHm9b8ru88zXLrbqY4NUzBGpwCFTZl2wq+ r61mzyeSgESzJxSR0ebn1MT8A7zADDAHE/cOJJoYALLxa3T9Y0Zc0Hs3sVd6q+oUNZD3 m+z/g3dqh/6BSigUYxjvJ1vo4I9pfFEG+PRac= Received: by 10.213.15.144 with SMTP id k16mr2117539eba.0.1275308600043; Mon, 31 May 2010 05:23:20 -0700 (PDT) Received: from debian.bg45.phnet (gprs31.swisscom-mobile.ch [193.247.250.31]) by mx.google.com with ESMTPS id 13sm3019397ewy.5.2010.05.31.05.23.16 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 31 May 2010 05:23:17 -0700 (PDT) Message-ID: <4C03AA29.2020807@gmail.com> Date: Mon, 31 May 2010 14:23:05 +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> <1274485618.18038.56.camel@pracovna> <4BF86523.4090509@gmail.com> <1274610426.5231.67.camel@pracovna> <4BF93F58.3080307@gmail.com> <1274634978.6742.13.camel@pracovna> <4BF9839A.2030704@gmail.com> <1274813892.18826.36.camel@pracovna> <1275238274.6704.21.camel@pracovna> <4C02E60A.3060407@gmail.com> In-Reply-To: <4C02E60A.3060407@gmail.com> X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig0244FABE6030F59A63A49A66" 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: Mon, 31 May 2010 12:23:24 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig0244FABE6030F59A63A49A66 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Vladimir '=CF=86-coder/phcoder' Serbinenko wrote: > Ale=C5=A1 Nesrsta wrote: > Hello, Ale=C5=A1. I've seen that your assignment was completed. I added= you > to grub contributors. Feel free to create a branch in branches/usb. > Right now I'm busy but next week I should be able to assist. Perhaps > even this week. Right now I send uncommitted changes sitting in my > yeeloongfw branch. It's largely your rebased changes + few other things= > like shutting the controller down before booting OS to avoid memory use= d > by OS to be clobbered by e.g. HCCA. > Branch usb should contain pci improvements + your usb changes. If you > have trouble with bzr or are short on time me (or perhaps someone else)= > can give a hand. > This branch can go into mainline. Since mainline usb is in deplorable > state there is no need to pass this changes through experimental at all= =2E > Merging into mainline doesn't mean that no further developpement should= > be done on usb, just that this part is already a huge improvement. > > =20 I've created a branch "usb" where I put all the yeeloong work and previous version of your patch. Could you merge your latest patch into it and test the whole on your systems? >> Remaining problems: >> >> 1. >> Some devices (at least my BUFFALO USB clip drive flash disk, more >> precisely "ID 0ea0:2168 Ours Technology, Inc. Transcend JetFlash 2.0 /= >> Astone USB Drive") cannot transfer 4KB data blocks independent on >> controller OHCI/UHCI - my workaround is not good. >> But it is probably problem with low priority - device is working final= ly >> but it is slower than another device. >> >> =20 >> =20 > Agreed > =20 >> 2. >> Some devices (at least my APACER cardreader "ID 058f:6366 Alcor Micro >> Corp. Multi Flash Reader") are not working on UHCI. Such device does n= ot >> accept any control message and UHCI returns status 0x450007 - it means= >> STALL during sending SETUP packet. >> It looks to be the same problem as described by Vladimir: "I have >> somewhat similar issue with Geode OHCI controller right now: devices a= nd >> speeds are correctly seen but trying to send a message results in a ha= lt >> in first TD and error code 5.". >> =20 >> =20 > The problem was that the port was plainly off due to Geode reaction on > incorrect writes differring from that of other controllers. > =20 >> But I have problem on UHCI, not on OHCI - on computer with OHCI is thi= s >> device working well (it is normal USB Mass Storage Bulk-Only device wi= th >> SCSI subclass)! Maybe it depends on "combined controllers" UHCI-EHCI, >> OHCI-EHCI (?) - device is working on computer with OHCI only computer >> and it is not working on computer with UHCI-EHCI controller. But any >> other device is working well on both computers... I don't understand, = I >> currently have no idea what can be wrong. Does anybody know...? >> >> =20 >> =20 > Does this device work under OS on this computer? Some ports are plainly= > underpowered. > =20 >> 3. >> There is not working USB hub support, GRUB does not see device connect= ed >> via USB hub - does anybody know some details or have some specificatio= n >> of USB Hub class ? I cannot find it on USB site (maybe I have not >> sufficient patience...). >> >> >> I will probably focus in OHCI speed-up now, i.e. I try to do some othe= r >> handling of ED to prevent changes in OHCI registers which are slowing >> down OHCI performance (OHCI is approx. 3 times slower than UHCI now fr= om >> this reason). >> =20 >> =20 > How useful would the interrupts be for this matter? If the answer is > "very useful" I can implement them. Also we need some restructuring of > code of both ohci and grub in general to decrease the wait time. I thin= k > specifically all the waits in init sequence. If system has 2 OHCI > controllers currently you need to wait twice as long as with 1 > controllers while it's possible to init them in parallel and not wait > longer than in the case of one controller. > =20 >> Best regards >> Ales >> >> =20 >> ----------------------------------------------------------------------= -- >> >> _______________________________________________ >> Grub-devel mailing list >> Grub-devel@gnu.org >> http://lists.gnu.org/mailman/listinfo/grub-devel >> =20 > > > =20 --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig0244FABE6030F59A63A49A66 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 iF4EAREKAAYFAkwDqjIACgkQNak7dOguQgk2ywD/bLpLM1MPPDadQK6Pl3AfhUyg c+vhBVkKYhG0OjoNeVsBAL3EudTHya3Sazoh4tkQIosYVj9BaCGNQwhKMTChz1bW =j2EO -----END PGP SIGNATURE----- --------------enig0244FABE6030F59A63A49A66--