Re: some usb troubles

From: Hans Petter Selasky <hselasky_at_c2i.net>
Date: Sun, 10 Feb 2013 14:02:43 +0100
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
Received on Sun Feb 10 2013 - 12:01:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:34 UTC