From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Oa5j5-0004DJ-8o for mharc-grub-devel@gnu.org; Sat, 17 Jul 2010 07:38:39 -0400 Received: from [140.186.70.92] (port=42694 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oa5j0-0004CB-VH for grub-devel@gnu.org; Sat, 17 Jul 2010 07:38:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oa5iz-0006Xd-Jg for grub-devel@gnu.org; Sat, 17 Jul 2010 07:38:34 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:45561) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oa5iz-0006XQ-7Z for grub-devel@gnu.org; Sat, 17 Jul 2010 07:38:33 -0400 Received: by bwz9 with SMTP id 9so2065483bwz.0 for ; Sat, 17 Jul 2010 04:38:32 -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=9K1m/Z0swg6PMYebdoXBnCr7s2DtcxVQ3DPbDoCMeeQ=; b=mrb2/sPqEY0/C4B1QsAK4Te2YPFmw3MQAYeft2aBz7NF2EmTGQbQHmqsR1JWG3kuX6 THVAvHKJDelgZrLtE76yyBN2XVjCK4o1iSgenkU2hVUIP3IOunJc18OLXq8iHmI3EIsX 79RDqHJUFQSfpoPNoUb3ds0WcjgKXBpUVBZ1o= 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=xGmKmfaPXQrO+B+p2kbJJcsadIRxADLSvyvtpvfAGicM/CuRq3T4NkeO2r1mgXwhvO l+E2YBVtDpKT+G0nkKv5IYGp+TmxKrzL9BvQ9HmRytuU00RWsYlzGwWi+Shzf/4xhrMX TATrMKLzdTlzUoIWl9rK9p5+rk0AhByALeC1Y= Received: by 10.204.131.132 with SMTP id x4mr1874243bks.50.1279366712330; Sat, 17 Jul 2010 04:38:32 -0700 (PDT) Received: from debian.bg45.phnet ([81.62.122.32]) by mx.google.com with ESMTPS id x19sm15512051bkv.21.2010.07.17.04.38.31 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 17 Jul 2010 04:38:31 -0700 (PDT) Message-ID: <4C419636.6080306@gmail.com> Date: Sat, 17 Jul 2010 13:38:30 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100620 Icedove/3.0.5 MIME-Version: 1.0 To: grub-devel@gnu.org References: <1277025716.4952.4.camel@pracovna> <4C28D186.5040406@gmail.com> <1278349907.4721.18.camel@pracovna> <4C3271CD.2010205@gmail.com> <1278457590.14675.35.camel@pracovna> In-Reply-To: <1278457590.14675.35.camel@pracovna> X-Enigmail-Version: 1.0.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig41160123DA48A11EE707ED0D" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [Patch] USB hot-plugging support - usb branch 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, 17 Jul 2010 11:38:37 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig41160123DA48A11EE707ED0D Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 07/07/2010 01:06 AM, Ale=C5=A1 Nesrsta wrote: > Hi, > > I little bit changed "hot-plugging" support added into "usb" branch by > Vladimir - see included patch. For the first look it maybe works on > UHCI, I did not test it on OHCI yet... > > Basic info to this patch: > =20 > 2. > I am not using original comparing of "hub->speed[i]" and "speed" to > detect connection status change (but I left the "hub" structure in code= , > it can be maybe useful in future). I am using built-in functions of > OHCI/UHCI controllers (available via root hub port register) which > should be more reliable and are more systematic and closed to > specifications. > > =20 I thought of this at first too but haven't found such register on UHCI and so decided to do it the same way on all systems. Since you've found the needed register on UHCI I agree with your approach. > 3. > There is missing handling of disconnected devices. For this we will nee= d > to know on which port which device is attached - it is currently not > known But it can be easily stored in usbdevice structure. > - and we need to know it "recursively" because devices can be > connected indirectly via non-root hubs. > On this part I probably will not work in near future (currently I have > no simple and suitable idea how to do it). > > Regards > Ales > =20 > > > _______________________________________________ > 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 --------------enig41160123DA48A11EE707ED0D 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/ iF4EAREKAAYFAkxBljYACgkQNak7dOguQglTUQEAjJXYK1xKqSscCj2/sPQarNaw 6I9I7MYb5xuNXgqM0+gBAK0gKVNRbWHXb1WcSZXUTRiAS8Rgd1SiKaAXqWOLIbIb =5+Ig -----END PGP SIGNATURE----- --------------enig41160123DA48A11EE707ED0D--