From owner-soc-status@FreeBSD.ORG Tue Jul 16 18:00:08 2013 Return-Path: Delivered-To: soc-status@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 28E57675 for ; Tue, 16 Jul 2013 18:00:08 +0000 (UTC) (envelope-from syuu@dokukino.com) Received: from mail-pb0-x22e.google.com (mail-pb0-x22e.google.com [IPv6:2607:f8b0:400e:c01::22e]) by mx1.freebsd.org (Postfix) with ESMTP id 059F88DD for ; Tue, 16 Jul 2013 18:00:08 +0000 (UTC) Received: by mail-pb0-f46.google.com with SMTP id rq2so960133pbb.19 for ; Tue, 16 Jul 2013 11:00:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dokukino.com; s=google; h=mime-version:from:date:message-id:subject:to:content-type; bh=ukCJFEmea8LlvEDp0AM3txkGI8DLu1GG4VahkB9WcAY=; b=TMtO9p9hxJ2J772QsbC/vdoRWAH6t8NjMSChzbS4NuIGW5WSLV9gh2WijxoaUIgssn A1GbzYNF2EJQ0cfFA62GeBIuO2M1/DCpAfj9vTIPECBHjp0svCsnpboTYJ8rOiVQjeRy Cb/QJaRysFr0W6s6fMHMc46ufCx+AN0Lr0AjQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type :x-gm-message-state; bh=ukCJFEmea8LlvEDp0AM3txkGI8DLu1GG4VahkB9WcAY=; b=Zw5n432xloCAm1XMYo4ND2Nkakh2Gz+s8/ZVfNUq1ztBUtG1EMfnuTTQkjUzOGaukS umkmVaGLCJzasCVY+pVMmpcx5krfCcKTyUfx3XVoo5rVfoEiZxsFHDsXCPYLyiJrisvV mhKKdyZ5i4WZLQQUGCD+RohcSw/4qY/6/UwG7ZtugzaW46fT/69mVONyr9CZ3f+OUg6E J516kicJXxsOBNJkR2ecYpBuSf+lUM/ucWOPwWttMcA3cwJjyrMmForNew8xSin+gFyU 8xMX3BK7uYORasmBdD8+eFtbSZGIAK1tIzxrG64TgGDCwr/WcJz8ViRSMTYhJ/HMp5rD h1Hw== X-Received: by 10.68.223.225 with SMTP id qx1mr2637564pbc.157.1373997607731; Tue, 16 Jul 2013 11:00:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.228.229 with HTTP; Tue, 16 Jul 2013 10:59:27 -0700 (PDT) From: Takuya ASADA Date: Wed, 17 Jul 2013 02:59:27 +0900 Message-ID: Subject: [status report #3 & #4] USB device passthrough support on BHyVe To: soc-status X-Gm-Message-State: ALoCoQn5hPRZNrz6bLcuxlO0ZqSfmmqXC7HqMRbhFQ62kkjdak4YhpIqXqk86Mq+An4T2a+WapCd Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 18:00:08 -0000 [project summary] The project goal is to support USB 1.1/2.0 device passthrough on BHyVe. [weekly status] * porting UHCI emulator - Initial implementation of IO space read/write handling - Interrupt support using legacy intr(non msi) - Implemented timer helper functions - Better debug message - Fixes of controller initialization As a result, now guest kernel able to detect uhci0 (with an error message, though.) Here's a guest dmesg output: uhci0: port 0x2040-0x205f irq 9 at device 2.0 on pci0 uhci0: USB revision is unknown. Assuming v1.1. uhci0: LegSup = 0x0000 usbus0: controller did not stop usbus0 on uhci0 usbus0: 12Mbps Full Speed USB v1.1 ugen0.1: at usbus0 uhub0: on usbus0 Root mount waiting for: usbus0 uhub0: 2 ports with 2 removable, self powered