Re: Install 10.0-RC3 on MacBookPro Late 2013

看板FB_current作者時間12年前 (2014/01/07 11:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串21/34 (看更多)
Hi Huang Good job!! By "works", which parts do you mean has been fixed? 1. USB problem or 2. AHCI timeout problem or 3. Random hang Best regards! -- Johannes Lundberg BRILLIANTSERVICE CO., LTD. On Tue, Jan 7, 2014 at 11:30 AM, Huang Wen Hui <huanghwh@gmail.com> wrote: > Hans, > > This wild guess do NOT works. > I binary sect xhci.c in SVN, found that *r245732 > *<http://svnweb.freebsd.org/base?view=revision&revision=245732>* > introduce the bug.* > <http://svnweb.freebsd.org/base?view=revision&revision=245732> > revert to r345731 fixed this USB problem in 9.2R > > I also copy xhci_interrupt(struct xhci_softc *sc) from 9.1R to CURRENT, > CURRENT also works! > > Cheers, > Huang Wen Hui. > > > 2014/1/7 Hans Petter Selasky <hps@bitfrost.no> > > > On 01/06/14 16:28, Hans Petter Selasky wrote: > > > >> On 01/06/14 15:17, Adrian Chadd wrote: > >> > >>> Right, but it used to work. That's the confusing bit. How'd you make > >>> it not work? :) > >>> > >> > >> Binary sect the sys/dev/usb/controller/xhci.c revision history? There > >> has been several bug reports for the Lynx point, and others XHCI > >> chipsets are working just fine. > >> > >> > > A wild guess: > > > > Copy the USB-code from -current. > > > > Add "#if 0" as shown sys/dev/usb/controller/xhci_pci.c > > > > static int > > xhci_pci_port_route(device_t self, uint32_t set, uint32_t clear) > > { > > #if 0 > > uint32_t temp; > > > > temp = pci_read_config(self, PCI_XHCI_INTEL_USB3_PSSEN, 4) | > > pci_read_config(self, PCI_XHCI_INTEL_XUSB2PR, 4); > > > > temp |= set; > > temp &= ~clear; > > > > pci_write_config(self, PCI_XHCI_INTEL_USB3_PSSEN, temp, 4); > > pci_write_config(self, PCI_XHCI_INTEL_XUSB2PR, temp, 4); > > > > device_printf(self, "Port routing mask set to 0x%08x\n", temp); > > #endif > > return (0); > > } > > > > --HPS > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- $BHkL)J];}$K$D$$$F!'$3$NEE;R%a!<%k$O!"L>08?M$KAw?.$7$?$b$N$G$"$j!"HkF?FC8"$NBP>]$H$J$k>pJs$r4^$s$G$$$^$9!#(B $B$b$7!"L>08?M0J30$NJ}$,<u?.$5$l$?>l9g!"$3$N%a!<%k$NGK4~!"$*$h$S$3$N%a!<%k$K4X$9$k0l@Z$N3+<(!"(B $BJ#<L!"G[I[!"$=$NB>$NMxMQ!"$^$?$O5-:\FbMF$K4p$E$/$$$+$J$k9TF0$b$5$l$J$$$h$&$*4j$$?=$7>e$2$^$9!#(B --- CONFIDENTIALITY NOTE: The information in this email is confidential and intended solely for the addressee. Disclosure, copying, distribution or any other action of use of this email by person other than intended recipient, is prohibited. If you are not the intended recipient and have received this email in error, please destroy the original message. _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1IotKoFD (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1IotKoFD (FB_current)