From owner-freebsd-usb@FreeBSD.ORG Tue Jul 15 23:54:57 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B17C5808 for ; Tue, 15 Jul 2014 23:54:57 +0000 (UTC) Received: from mail-yh0-x22e.google.com (mail-yh0-x22e.google.com [IPv6:2607:f8b0:4002:c01::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7436723D9 for ; Tue, 15 Jul 2014 23:54:57 +0000 (UTC) Received: by mail-yh0-f46.google.com with SMTP id a41so78595yho.33 for ; Tue, 15 Jul 2014 16:54:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=rD22jelRJ0o6O6TGnIz2WoCKhj9D73WmZphG5f/u38k=; b=0dtB8F7L/TA5gkxVt3o8iU70FvYaZsyhluoUAI/on5Npi9YI28dKlP+r0Vadq2ABDD 5j3thbiWfQgZ5u7FCRgpZfNmhiXNKzFGR5U1unLhwmb9CnNyYXcR9HTmI677qYZyRI6Y 0QBaq3L7dsIdBaNMbUCWE7r0UseqX5GmbS8sM0VhW/Z8t6YVYFRJlU/Ki+Ex9a44e9JG grDyYvr5DvLSbXyrFHdPSVzjJ6hhEFRON6tLnEbt5Ylb/QSqnpazMqDv0C7QgCz2NSAV QkMrt8L7h7Wtx4zM+ljPeX21QXpA5VL59+Nq7Xtf2MnAodV+sa4eVEpDolBJysph9eh8 Ukdw== MIME-Version: 1.0 X-Received: by 10.236.144.137 with SMTP id n9mr43380001yhj.37.1405468496518; Tue, 15 Jul 2014 16:54:56 -0700 (PDT) Received: by 10.170.195.5 with HTTP; Tue, 15 Jul 2014 16:54:56 -0700 (PDT) Reply-To: huanghwh@gmail.com In-Reply-To: <53C589DF.4010008@selasky.org> References: <53C589DF.4010008@selasky.org> Date: Wed, 16 Jul 2014 07:54:56 +0800 Message-ID: Subject: Re: r268604 broken xhci controller in MBP 2013 From: Huang Wen Hui To: Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: "freebsd-usb@freebsd.org" 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 23:54:57 -0000 This patch fixed my problem. Cheers Huang Wen Hui 2014-07-16 4:06 GMT+08:00 Hans Petter Selasky : > 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 >