From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 20 17:04:17 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 02566437; Fri, 20 Mar 2015 17:04:17 +0000 (UTC) Received: from mail-lb0-x22d.google.com (mail-lb0-x22d.google.com [IPv6:2a00:1450:4010:c04::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 80B5F999; Fri, 20 Mar 2015 17:04:16 +0000 (UTC) Received: by lbbrr9 with SMTP id rr9so15379815lbb.0; Fri, 20 Mar 2015 10:04:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=YrYFxk+4QjWIgxzMYwIu7NTeh6qyV6LHAYKou6ygW5I=; b=j8h1KDN9WblNEinhYnVleroNfQWmW4g5YZnxLoGZhbx4x1qvfXqeT04EQqk4OVtrFk WqPvgALupo24HIEzKXmU5yRTCqQGKISla+OPMOc6BQwejV49Bs1GjZpJVF8RRnB9sQvm tCBrBLw+my2rXoWDx2C+v1bMh2xf8nIAVu2suibkD/8XC3cwS6PrqD6za62yQktBtdmY 1gmSBBwtvPxWRwD9V9ttEtDxkXjcElTat47EgwRPqd5lbkIaDDHFa2Q+WkthhS4yU8Y3 G3dgn7kjotzg1DVglxaAaE4PYu3bJfOgCwFfi/zoVPsDpwaveWL4xl0ccb6LG1k/6dou zNtw== MIME-Version: 1.0 X-Received: by 10.152.120.202 with SMTP id le10mr59371712lab.115.1426871054402; Fri, 20 Mar 2015 10:04:14 -0700 (PDT) Received: by 10.112.157.136 with HTTP; Fri, 20 Mar 2015 10:04:14 -0700 (PDT) In-Reply-To: <5509526C.8050000@selasky.org> References: <54FB120C.7080707@selasky.org> <54FB132E.9070901@selasky.org> <550683AF.1010007@selasky.org> <550708B0.8010601@selasky.org> <550934CE.9030607@selasky.org> <5509526C.8050000@selasky.org> Date: Fri, 20 Mar 2015 17:04:14 +0000 Message-ID: Subject: Re: GSoC 2015: USB-Front end driver From: Gokul Krishna To: Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-hackers@freebsd.org, freebsd-usb@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2015 17:04:17 -0000 Hi I found these links usefull to understand some major API constructs for freebsd http://www.selasky.org/hans_petter/usb4bsd/index_Obj8_00.html with the vusb_analyser and enabling the usb_debug locks in usb_debug.c from this link of freebsd usb source tree http://svnweb.freebsd.org/base/head/sys/dev/usb/ and by testing with keyboard which is low speed interrupt transfer endpoint will i be able to see frames data transfer and debug lock messages , so i cud understand the source code functions related to USB stack (major API functions which i watched in your FreeBSD USB stack and in link i mentioned above) which i need to implement in Xen frontend code. Kindly i want to discuss these in skype . Could you please mention your convenient availability time. thanks and regards gokul On Wed, Mar 18, 2015 at 10:24 AM, Hans Petter Selasky wrote: > Hi, > > On 03/18/15 11:19, Gokul Krishna wrote: > >> Hi >> Sure I will do that. >> I watched the video on USB stack on freeBSD and I could able understand >> those USB data transfer management constructs and other things explained . >> I also checked the vusb-analyser which is a Virtual USB Bus-analyser and >> understood certain debugging things that it gives information of data >> including device address from device descriptor and amount of data >> transfer >> from interface and endpoint (In and Out buffers) descriptors data >> structures . >> > > Another idea might be to implement a USB backend for Wireshark. It also > can understand USB transactions! > > >> The aim of the project is to convert XEN USB device model( made with Linux >> requirement ) into something compatible with FreeBSD USB Stack. >> > > Right! > > >> I also try to see things on para-virtualised XEN USB . I found the >> appropriate front-end driver source tree in slide number 7 in the below >> pdf >> link. >> http://www-archive.xenproject.org/files/xensummit_oracle09/PVUSB.pdf >> (please give your suggestions and comments and will i have access to see >> this code) >> I think i need to go through this particular source code to find my >> precise >> task >> >> So I will have more clarity in planning the list of milestone tasks for >> mid-term deliverables toll gate and final deliverables toll gates which i >> need to get reviewed from you before applying the proposal. >> > > When you have something ready, just contact me off-list and I'll give it a > review. > > --HPS > >