From owner-freebsd-usb@FreeBSD.ORG Tue Mar 28 11:58:56 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D8A1016A420 for ; Tue, 28 Mar 2006 11:58:56 +0000 (UTC) (envelope-from fulda@seznam.cz) Received: from smtp.seznam.cz (smtp.seznam.cz [212.80.76.43]) by mx1.FreeBSD.org (Postfix) with SMTP id 09AFC43D46 for ; Tue, 28 Mar 2006 11:58:55 +0000 (GMT) (envelope-from fulda@seznam.cz) Received: (qmail 6130 invoked from network); 28 Mar 2006 11:58:53 -0000 Received: from unknown (HELO PC2088) (fulda@seznam.cz@62.141.6.4) by tic.go.seznam.cz with ESMTPA; 28 Mar 2006 11:58:53 -0000 X-Seznam-User: fulda@seznam.cz Message-ID: <032801c6525e$fbf049b0$94c89109@PC2088> From: "Jindra Fucik" To: Date: Tue, 28 Mar 2006 13:58:52 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-2"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2670 X-Mimeole: Produced By Microsoft MimeOLE V6.00.2900.2670 Subject: uhid X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Mar 2006 11:58:56 -0000 Hi list, do anybody any tests with uhid devices? I have little problem with my device. Device is general uhid - based on pic16c745 chipset - http://ww1.microchip.com/downloads/en/devicedoc/41124c.pdf - chapter 9 USB commands I'm able to read status from device, but I have problem with write from PC to device. My steps are: - create buffer (malloc, hid_report_size) - fill all buffer with zeroes - fill data (hid_set_data) - write buffer to device (write) - close device (close) question is - anybody have expeerience with writing to uhid device? is it true to write wia write command? is it interrupt write? Thank for help jindra