From owner-freebsd-usb@FreeBSD.ORG Tue Oct 3 09:05: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 08D5716A403 for ; Tue, 3 Oct 2006 09:05: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 E9BFE43D4C for ; Tue, 3 Oct 2006 09:05:54 +0000 (GMT) (envelope-from fulda@seznam.cz) Received: (qmail 2049 invoked from network); 3 Oct 2006 09:05:47 -0000 Received: from unknown (HELO PC2088) (fulda@seznam.cz@62.141.6.4) by cetus.go.seznam.cz with ESMTPA; 3 Oct 2006 09:05:47 -0000 X-Seznam-User: fulda@seznam.cz Message-ID: <049001c6e6cb$1c70c560$c4cd9109@PC2088> From: "Jindra Fucik" To: "Rene Ladan" , , References: <450DA217.9080602@gmail.com> Date: Tue, 3 Oct 2006 11:05:45 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-Mimeole: Produced By Microsoft MimeOLE V6.00.2900.2962 Cc: Subject: Re: anyone working on setting output items with usbhidctl(1) ? 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, 03 Oct 2006 09:05:56 -0000 ----- Original Message ----- From: "Rene Ladan" To: ; Sent: Sunday, September 17, 2006 9:29 PM Subject: anyone working on setting output items with usbhidctl(1) ? > Hi, > > is anyone working on setting output items with usbhidctl(1) ? > > I'm trying to add LED/rumbler support for the Xbox 360 Gamepad to > uhid(4), but there doesn't seem to be a userland tool to test output > items and the output report descriptor doesn't seem to be publicly > available (i.e. I must reverse-engineer it). > > This device has 4 LEDs which can be controlled with the command 01 03 > xx, where xx ranges from 0 to 255. > It also has two rumble motors which can be controlled with 00 08 00 bb > ll 00 00 00, where bb and ll both range from 0 to 255. > > I thought that something like -s "feature1=value1,feature2=value2,..." > would be nice to have. Hi Rene, have you any progress? I do some tests on uhid & write and have no positive feedback.