From owner-freebsd-current@FreeBSD.ORG Sun Feb 10 11:20:53 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id F2C4367C; Sun, 10 Feb 2013 11:20:52 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 8493378B; Sun, 10 Feb 2013 11:20:52 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.6/8.14.6) with ESMTP id r1ABKi9D076451; Sun, 10 Feb 2013 13:20:44 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.7.4 kib.kiev.ua r1ABKi9D076451 Received: (from kostik@localhost) by tom.home (8.14.6/8.14.6/Submit) id r1ABKikx076450; Sun, 10 Feb 2013 13:20:44 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 10 Feb 2013 13:20:44 +0200 From: Konstantin Belousov To: Hans Petter Selasky Subject: Re: some usb troubles Message-ID: <20130210112044.GL2522@kib.kiev.ua> References: <20130209180124.GA1783@dchagin.static.corbina.net> <201302101203.36647.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yOE9MG6yPKDVMreq" Content-Disposition: inline In-Reply-To: <201302101203.36647.hselasky@c2i.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org, Chagin Dmitry X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2013 11:20:53 -0000 --yOE9MG6yPKDVMreq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 10, 2013 at 12:03:36PM +0100, Hans Petter Selasky wrote: > On Saturday 09 February 2013 19:01:25 Chagin Dmitry wrote: > > Hi all, > >=20 > > trying to run macbookpro10,1 on HEAD: > >=20 > > 1) usb3.0 does not work at 9.1 and HEAD (r246587) > > 2) Between stable/9 and HEAD (r246587) we are lost uhid devices > > (external keyboard and mouse) and umass. dmesg on the same hw can find > > here: > >=20 > > http://people.freebsd.org/~dchagin/macbookpro/dmesg.generic.stable9.txt > > http://people.freebsd.org/~dchagin/macbookpro/dmesg.generic.HEAD.txt > >=20 > > pciconf: > >=20 > > http://people.freebsd.org/~dchagin/macbookpro/pciconf.txt > >=20 > > any help would be greatly apprecated. >=20 > Hi, >=20 > This error is not directly USB related. It means probably that ACPI or th= e PCI=20 > subsystem is not finding an IRQ for the XHCI driver. This might be the re= ason=20 > USB is not working properly. >=20 > xhci0: Could not allocate IRQ > device_attach: xhci0 attach returned 6 It seems that apple firmware assumes that USB host controller driver will use MSI. FreeBSD drivers tries to set up the legacy IRQ, and fails because apple tables do not describe this set-up. --yOE9MG6yPKDVMreq Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQIcBAEBAgAGBQJRF4KMAAoJEJDCuSvBvK1B+jgP/jXdErzAlKdEx1G3Irvsb7/n FRWFETbxqR5DPlRAbRnc10UkCvqvU1f1ule6qG/+y37Lu1R9bIBxYRJq97xX+vRW P8dKJMwdQGJWd5vkd++V5GBffZXFsoVB5eRABDE87ukS6IRrYBtqzDQFaxVzfC8H thmWEHV4yfJ0OQ9l6wCp1pEFpcN/yUvSxJvXxbMXnjdF0nPW6Qy6HPJZdVpv3wyQ MepwWh/1AGDP+DzaYxQgJgRJSykoJPDu/2cTM/WEiU4bAe/++sCg6ralKzLKMtto qy8rJd0zMNglwOvrbHg+SxqIjomP7ZV8N5H8VhgMM900GsvSdDSzAlpWQmuYdByp eTdV0iYKnVDb6WDFKDkKl9rWbDf4e/CH6aCWpGwqfaSFnT5PgXX+Q9mMPz4OkU68 DlIN8zUyFeoNIWiNGn8+oh+hxoSAXUGftTcXC7ht1GjZXCbH7fvT6AMI7oO6NLZ8 WuONbIHHvgRpmErsTnoDS6LvWvPOqfLQe+1m4KT3X+2HtwdPBMmD5ohXPXLNli4Q U3/HD1BpNqIkzHlLNeS/HBp8hv/8qeFePm+eFu5EiYv66Mi80GhmdRhFsuJcbxht JAyzOgokQVRSRKUVYb+1BVT9i9/V2Yb50P8fQmJAmX0uvN9hqPSLsxVVh7hnfFMS VYFjmpgpOHs15mA6hEC5 =FGAX -----END PGP SIGNATURE----- --yOE9MG6yPKDVMreq--