From owner-freebsd-usb@FreeBSD.ORG Fri Sep 26 22:59:55 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 299C46C6 for ; Fri, 26 Sep 2014 22:59:55 +0000 (UTC) Received: from mail-la0-x22a.google.com (mail-la0-x22a.google.com [IPv6:2a00:1450:4010:c03::22a]) (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 A16D664B for ; Fri, 26 Sep 2014 22:59:54 +0000 (UTC) Received: by mail-la0-f42.google.com with SMTP id hz20so15456631lab.15 for ; Fri, 26 Sep 2014 15:59:52 -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=+zD1JiGuvMFcUaxMTCaztilRoFdmJjErK1QmdfsCK4Y=; b=Dvux5YyyzSKa+IVgEvYtUZS2gYn19diD4o7gj2Xorm4EMfsAMFTL603mLKpFzlbnYl ova188VLV3Sbwtg74CzjMnfdDeNuOR6TIIGPSBdIVY6HgWPCKjcK78NFY/1RJ6gCQfuc CAYc/XtnGK7JMFhrMw36V/FRe9/U48O7mdHxD1t4rlDvtUeq0lVRXROHZyVqZT0SZzHP 1ksTkQ1ea1aF1hnLUM4Cc9Qz6fGm1OsB0LgPfsoJYMyQQNlOPTea3J8SsllklLiLpNej 0erMcNI1Tkg5yxzBiigB1fo+FZajh7UsQduiBr4O1jbyOR2DX1eFAa8UgASXUBu+hVNE Ow/Q== MIME-Version: 1.0 X-Received: by 10.112.182.42 with SMTP id eb10mr22463444lbc.7.1411772392454; Fri, 26 Sep 2014 15:59:52 -0700 (PDT) Received: by 10.112.218.101 with HTTP; Fri, 26 Sep 2014 15:59:52 -0700 (PDT) Reply-To: huanghwh@gmail.com In-Reply-To: References: <541FBD6F.2080507@selasky.org> <541FDDF0.90502@selasky.org> Date: Sat, 27 Sep 2014 06:59:52 +0800 Message-ID: Subject: Re: xhci problem on UEFI boot MacBookPro 11,3 From: Huang Wen Hui To: Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-usb@freebsd.org" X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2014 22:59:55 -0000 Just for Ref, xhci works in UEFI mode of Fedora 20: http://sw.gddsn.org.cn/freebsd/linux-dmesg.txt http://sw.gddsn.org.cn/freebsd/linux-lspci.txt 2014-09-22 17:08 GMT+08:00 Huang Wen Hui : > xhci still not work, usbconfig list show: > ugen0.1: at usbus0, cfg=0 md=HOST spd=SUPER > (5.0Gbps) pwr=SAVE (0mA) > > Detail log: http://sw.gddsn.org.cn/freebsd/messages-uefi-poll.txt > > > 2014-09-22 16:29 GMT+08:00 Hans Petter Selasky : > >> On 09/22/14 10:26, Huang Wen Hui wrote: >> >>> Hi, >>> For xhci, this is "intpin=a, irq=255", no change. vmstat -i show almost >>> same result: >>> >>> interrupt total rate >>> irq9: acpi0 887 0 >>> irq16: ahci0 119840 20 >>> cpu0:timer 61017 10 >>> irq264: hdac0 11 0 >>> irq265: bge0 100509 16 >>> irq266: xhci0 10 0 >>> irq267: hdac1 1651 0 >>> cpu1:timer 45710 7 >>> cpu7:timer 41966 7 >>> cpu6:timer 43753 7 >>> cpu2:timer 39606 6 >>> cpu3:timer 49974 8 >>> cpu4:timer 46549 7 >>> cpu5:timer 29639 4 >>> irq268: vgapci0 42382 7 >>> Total 623504 104 >>> >>> >>> But these message are UEFI only: >>> >>> Sep 21 10:37:34 mbp kernel: xhci_root_intr: port 8 changed >>> Sep 21 10:37:34 mbp kernel: xhci_root_intr: port 12 changed >>> Sep 21 10:37:34 mbp kernel: xhci_root_intr: port 19 changed >>> >>> Cheers, >>> Huang Wen Hui >>> >> >> Can you try setting: >> >> hw.usb.xhci.use_polling=1 >> >> in /boot/loader.conf >> >> Does it make any difference? >> >> --HPS >> > >