Date: Sun, 10 Feb 2013 13:20:44 +0200 From: Konstantin Belousov <kostikbel@gmail.com> To: Hans Petter Selasky <hselasky@c2i.net> Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org, Chagin Dmitry <chagin.dmitry@gmail.com> Subject: Re: some usb troubles Message-ID: <20130210112044.GL2522@kib.kiev.ua> In-Reply-To: <201302101203.36647.hselasky@c2i.net> References: <20130209180124.GA1783@dchagin.static.corbina.net> <201302101203.36647.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130210112044.GL2522>