From owner-freebsd-usb@FreeBSD.ORG Tue Jul 15 20:06:54 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BD25EBBC for ; Tue, 15 Jul 2014 20:06:54 +0000 (UTC) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 790BE2EF0 for ; Tue, 15 Jul 2014 20:06:53 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 98D1E1FE027; Tue, 15 Jul 2014 22:06:45 +0200 (CEST) Message-ID: <53C589DF.4010008@selasky.org> Date: Tue, 15 Jul 2014 22:06:55 +0200 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: huanghwh@gmail.com, "freebsd-usb@freebsd.org" Subject: Re: r268604 broken xhci controller in MBP 2013 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2014 20:06:54 -0000 On 07/14/14 12:28, Huang Wen Hui wrote: > Hi, > After update to r268604, xhci controller is broken in MBP 2013, USB > keyboard, USB stick and USB mouse are not respond, but power button in > keyboard is working, /var/log/messages show: > #cat /var/log/messages|egrep "10.0-STABLE|xhci" > Jul 14 17:38:29 mbp kernel: FreeBSD 10.0-STABLE #47 r268610M: Mon Jul 14 > 17:09:08 CST 2014 > Jul 14 17:38:29 mbp kernel: xhci0: > mem 0xc1e00000-0xc1e0ffff at device 20.0 on pci0 > Jul 14 17:38:29 mbp kernel: xhci0: 32 byte context size. > Jul 14 17:38:29 mbp kernel: xhci0: Port routing mask set to 0x0000003f > Jul 14 17:38:29 mbp kernel: usbus0 on xhci0 > > Revert back to r268595 fixed this problem, /var/log/messages show: > #cat /var/log/messages|egrep "10.0-STABLE|xhci" > Jul 14 17:45:46 mbp kernel: FreeBSD 10.0-STABLE #48 r268595M: Mon Jul 14 > 17:31:15 CST 2014 > Jul 14 17:45:46 mbp kernel: xhci0: > mem 0xc1e00000-0xc1e0ffff at device 20.0 on pci0 > Jul 14 17:45:46 mbp kernel: xhci0: 32 byte context size. > Jul 14 17:45:46 mbp kernel: xhci0: Port routing mask set to 0xffffffff > Jul 14 17:45:46 mbp kernel: usbus0 on xhci0 > > Look like Port routing mask change from 0xffffffff t0 0x0000003f. > > I try to set hw.usb.xhci.xhci_port_route="0" or > hw.usb.xhci.xhci_port_route="0xffffffff" in /boot/loader.conf, also not > work in r268604 kernel. > > Cheers, > Huang Wen Hui > Does the attached patch make any difference for you? --HPS