From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 25 11:28:01 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13AF51065672 for ; Thu, 25 Aug 2011 11:28:01 +0000 (UTC) (envelope-from dgre090@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id CB9768FC08 for ; Thu, 25 Aug 2011 11:28:00 +0000 (UTC) Received: by ywo32 with SMTP id 32so1934694ywo.13 for ; Thu, 25 Aug 2011 04:28:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=rmpUfi8L+8ocGHFu22wPIdpW83cvgxLNFbOmvvqF8Jo=; b=qHBYPPopWHIpv+CjBM3wYofh7fliirz4J/wUx0PEH24FxrihBsbssidqytmSanbV5P i+VvsWopKp6L5gBqDKexQ9XHrlONZbyr+fLYWPOWByr/TwPvtKZgMlWqSeOrjrgk3UzW kVu6Q4EpQN4I597y/DmPxfdrvyuVDSuRPG2a4= MIME-Version: 1.0 Received: by 10.231.52.16 with SMTP id f16mr12786892ibg.31.1314270266103; Thu, 25 Aug 2011 04:04:26 -0700 (PDT) Received: by 10.231.19.204 with HTTP; Thu, 25 Aug 2011 04:04:26 -0700 (PDT) Date: Thu, 25 Aug 2011 13:04:26 +0200 Message-ID: From: Daniel Grech To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: USB Stack Hooking X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Aug 2011 11:28:01 -0000 Hi, I need to write a kernel module that would hook onto some function at a low level in the USB stack in order to have direct access to the raw data that is received from the USB Controller Hardware. Has this ever been done before ? Any ideas as to which function I could hook onto to have access to this data ?