From owner-soc-status@FreeBSD.ORG Tue Jul 23 22:05:00 2013 Return-Path: Delivered-To: soc-status@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C20CFE8A for ; Tue, 23 Jul 2013 22:05:00 +0000 (UTC) (envelope-from syuu@dokukino.com) Received: from mail-pb0-x232.google.com (mail-pb0-x232.google.com [IPv6:2607:f8b0:400e:c01::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9BC6D279A for ; Tue, 23 Jul 2013 22:05:00 +0000 (UTC) Received: by mail-pb0-f50.google.com with SMTP id wz7so8844018pbc.23 for ; Tue, 23 Jul 2013 15:04:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dokukino.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=nsgas7J/Ywp87TdfYPqLRsYyXrKYKsVah6iM+jfT1yo=; b=FtvqjvNHYlH2RMEE3nt1TugqVMQg+T6pZ/n0vDs3Kjc/GPHz4XBiYPuX0OpF7LbdJs Hxf8GBrjcj9RZY8b+fETSf6of3Td9Qp/7urkmlTq7EO7Chfl9MwwueKGNSh9bmZor+xC 0fj+N0CSIndqJEDw7w9VgOjPMltkU4+QkIsnk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:x-gm-message-state; bh=nsgas7J/Ywp87TdfYPqLRsYyXrKYKsVah6iM+jfT1yo=; b=K/zwJcUXo5E2NsQ/5ET6HpSeZf1CR6rinQJfxIN9szVIjJbXcpExOKt6vLnskO4iKZ RJ/iyzsGOf2TDkzWPc3uvKWCENF1G8jxpfimL2983+dV3okAjiSkvN6nnGnDh3AWofvx s/fUmur3hpnb72YJwOCrUJMn57c1Lai10sX0nm6/NNQFkPpdpZKED5XndHvM2Vqsly7b o8mdMp3wdCemBgIVBTBl6nyi0O7e2gC5njNOsMWSGOiYrNQTqvhkp0B9kQFLc8LOgbAJ JiuwNZ1tg6SXotgqnCvRcK2ktJ/9uPPUE+MakX5ngL1GKLgr/UIDYsITQ+iQC7V9rmcK B2ZA== X-Received: by 10.66.142.42 with SMTP id rt10mr21441505pab.1.1374617099166; Tue, 23 Jul 2013 15:04:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.245.226 with HTTP; Tue, 23 Jul 2013 15:04:19 -0700 (PDT) In-Reply-To: References: From: Takuya ASADA Date: Wed, 24 Jul 2013 07:04:19 +0900 Message-ID: Subject: Re: [status report #3 & #4] USB device passthrough support on BHyVe To: soc-status X-Gm-Message-State: ALoCoQlHToExRSNkH+gQycwxh1N2XYR4NONVCUabmpEX/50fm6tht438FYaVDC1Q83iE0hRj6a09 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, 23 Jul 2013 22:05:00 -0000 [project summary] The project goal is to support USB 1.1/2.0 device passthrough on BHyVe. [weekly status] Start porting host-libusb.c, USB device passthrough support. 2013/7/17 Takuya ASADA > [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 >