Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Feb 2013 14:02:43 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        freebsd-current@freebsd.org, freebsd-usb@freebsd.org, Chagin Dmitry <chagin.dmitry@gmail.com>
Subject:   Re: some usb troubles
Message-ID:  <201302101402.43112.hselasky@c2i.net>
In-Reply-To: <20130210112044.GL2522@kib.kiev.ua>
References:  <20130209180124.GA1783@dchagin.static.corbina.net> <201302101203.36647.hselasky@c2i.net> <20130210112044.GL2522@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 10 February 2013 12:20:44 Konstantin Belousov wrote:
> 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,
> > > 
> > > trying to run macbookpro10,1 on HEAD:
> > > 
> > > 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:
> > > 
> > > http://people.freebsd.org/~dchagin/macbookpro/dmesg.generic.stable9.txt
> > > http://people.freebsd.org/~dchagin/macbookpro/dmesg.generic.HEAD.txt
> > > 
> > > pciconf:
> > > 
> > > http://people.freebsd.org/~dchagin/macbookpro/pciconf.txt
> > > 
> > > any help would be greatly apprecated.
> > 
> > Hi,
> > 
> > This error is not directly USB related. It means probably that ACPI or
> > the PCI subsystem is not finding an IRQ for the XHCI driver. This might
> > be the reason USB is not working properly.
> > 
> > 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.

Hi,

Would someone be kind enough to provide a patch for that for 
sys/dev/usb/controller/xhci_pci.c ? I'm currently not in possession of such 
hardware.

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302101402.43112.hselasky>