Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1OGFC1-0005kj-0R for mharc-grub-devel@gnu.org; Sun, 23 May 2010 13:42:29 -0400 Received: from [140.186.70.92] (port=49448 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OGFBx-0005j7-MB for grub-devel@gnu.org; Sun, 23 May 2010 13:42:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OGFBv-0006rH-OB for grub-devel@gnu.org; Sun, 23 May 2010 13:42:25 -0400 Received: from smtp-out3.iol.cz ([194.228.2.91]:42876) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OGFBv-0006r2-ET for grub-devel@gnu.org; Sun, 23 May 2010 13:42:23 -0400 Received: from antivir5.iol.cz (unknown [192.168.30.212]) by smtp-out3.iol.cz (Postfix) with ESMTP id 79785BC8C8F for ; Sun, 23 May 2010 17:42:21 +0000 (UTC) Received: from localhost (antivir5.iol.cz [127.0.0.1]) by antivir5.iol.cz (Postfix) with ESMTP id 69E3628006 for ; Sun, 23 May 2010 19:42:21 +0200 (CEST) X-Virus-Scanned: amavisd-new at iol.cz Received: from antivir5.iol.cz ([127.0.0.1]) by localhost (antivir5.iol.cz [127.0.0.1]) (amavisd-new, port 10224) with LMTP id PvQuLAftDjS1 for ; Sun, 23 May 2010 19:42:21 +0200 (CEST) Received: from port6.iol.cz (unknown [192.168.30.96]) by antivir5.iol.cz (Postfix) with ESMTP id 4965A28005 for ; Sun, 23 May 2010 19:42:21 +0200 (CEST) X-SBRS: None X-SBRS-none: None X-RECVLIST: MTA-OUT-IOL X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvQBAD4G+UtVRnXk/2dsb2JhbAAHgxCBAscUj3mBJYMEagQ Received: from 228.117.broadband3.iol.cz (HELO [192.168.6.160]) ([85.70.117.228]) by port6.iol.cz with ESMTP; 23 May 2010 19:42:21 +0200 From: =?UTF-8?Q?Ale=C5=A1?= Nesrsta To: The development of GNU GRUB In-Reply-To: <4BF93E8F.3020605@gmail.com> 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> <4BF93E8F.3020605@gmail.com> Content-Type: text/plain; charset=utf-8 Date: Sun, 23 May 2010 19:42:19 +0200 Message-Id: <1274636540.6742.29.camel@pracovna> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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, 23 May 2010 17:42:27 -0000 Vladimir '=CF=86-coder/phcoder' wrote: > > It could make troubles on SCSI subclass > > devices but I tried all my devices with SCSI subclass with > > ATAPI-compatible length of command and all devices are working normal= ly > > - so I think it should be safe to use ATAPI format of commands > > universally for any subclass and I tried to "add support" for most of > > USB MS subclasses - in fact I only extended one condition in usbms.c.= .. > > I did not testing devices subclasses RBC, UFI and MMC-2 - I don't hav= e > > such devices - can do somebody such tests ? > > =20 > Is MMC-2 subclass of cardreaders? Hi, I think probably not. Full description of subcalss is "SFF-8020i, MMC-2 (ATAPI)" and comment is that such subclass is used mainly by CD/DVD. For example here http://www.ata-atapi.com/scsi.html is written: "If you are looking for the SCSI command set used by ATAPI CD-ROM or DVD devices then you should go to the T10 site and find the MMC or MMC-2 documents. Please note that the old SFF-8020 (INF-8020) document is now obsolete. SFF-8020 (INF-8020) has been replaced by the T13 ATA/ATAPI-4 standard (for the interface and command protocol descriptions) and by the T10 MMC or MMC-2 standards (for the SCSI command set). The SCSI standards are published by ANSI NCITS Technical Committee 10, or just T10: T10 - Technical Committee 10 " Unfortunately you should be a member of T10 to get access to many documents, MMC-2 is one of them... But there is free access for example to some implementation notes on T10: http://www.t10.org/ftp/t10/document.97/97-118r0.pdf http://www.t10.org/ftp/t10/document.97/97-119r0.pdf > > Unfortunately, I probably cannot help You as I don't have GEODE or > > Yeeloong... I can hope only that my corrections would help You or > > inspire You in some other ways. > > =20 > I don't think it's something deeply specific to Geode. Other than havin= g > Geode MSR instead of PCI configuration space it's normal OHCI. Actually > with your patch when you forgot to power device up it resulted in > similar symptoms on PCI OHCI controller. OHCI specification mentions > different ways to configure power settings. I guess geode defaults to > another mode than most controllers do. Or perhaps I need to somehow > enable ports. > > OHCI specification is little bit unclear in the case of root hub port registers - some values are there marked "Implementation Specific" and there is not clear for me if any OHCI HC must support any combination of powering or not. Best regards Ales