From owner-freebsd-questions@FreeBSD.ORG Sat Nov 28 11:45:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5874106566C for ; Sat, 28 Nov 2009 11:45:05 +0000 (UTC) (envelope-from oli.garnier@wanadoo.fr) Received: from smtp2f.orange.fr (smtp2f.orange.fr [80.12.242.152]) by mx1.freebsd.org (Postfix) with ESMTP id 8CFD38FC16 for ; Sat, 28 Nov 2009 11:45:05 +0000 (UTC) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2f19.orange.fr (SMTP Server) with ESMTP id 3F8648000643 for ; Sat, 28 Nov 2009 12:45:04 +0100 (CET) Received: from [127.0.0.1] (ALagny-155-1-11-24.w90-3.abo.wanadoo.fr [90.3.154.24]) by mwinf2f19.orange.fr (SMTP Server) with ESMTP id C6D738000585 for ; Sat, 28 Nov 2009 12:45:03 +0100 (CET) X-ME-UUID: 20091128114503814.C6D738000585@mwinf2f19.orange.fr Message-ID: <4B110D3D.4040807@wanadoo.fr> Date: Sat, 28 Nov 2009 12:45:01 +0100 From: Olivier GARNIER User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 091128-0, 28/11/2009), Outbound message X-Antivirus-Status: Clean Subject: USB device read and write X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Nov 2009 11:45:05 -0000 Hi, I'm trying to read/write on usb weather station. I've got a C soft which find it on /dev/uhid0 But i do not know how to read/write on it. It make 5 years i've not used C developpement. I've read handbook and what i can find about USB / UHID and communication ... But i still don't know how to read and write on it. Can someont tell me where to find an example or who can help me ? Thanks, Olivier