From owner-freebsd-hackers@FreeBSD.ORG Sun Sep 17 19:29:33 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D7D1E16A412 for ; Sun, 17 Sep 2006 19:29:33 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9DE343D53 for ; Sun, 17 Sep 2006 19:29:30 +0000 (GMT) (envelope-from r.c.ladan@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so330052uge for ; Sun, 17 Sep 2006 12:29:29 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:x-enigmail-version:content-type:content-transfer-encoding; b=sUMpsHOBtc4BUNlu/dJfKxV4AwPHMITdoOhRZsN80Ckio1qM29JnxTPCJ5OACpQCcsEQ7D/XkPSvji7ywX40euH1nvRc06frKZ3iZYme1DxeQC6lo1/DYYZo8iV67GQwIUSI6fQEzDDSEQlZtpncou4C8xYvabhO1tCNb4G4D/w= Received: by 10.67.97.7 with SMTP id z7mr6777206ugl; Sun, 17 Sep 2006 12:29:29 -0700 (PDT) Received: from ?192.168.123.146? ( [195.241.221.201]) by mx.gmail.com with ESMTP id k1sm2530149ugf.2006.09.17.12.29.28; Sun, 17 Sep 2006 12:29:28 -0700 (PDT) Message-ID: <450DA217.9080602@gmail.com> Date: Sun, 17 Sep 2006 21:29:27 +0200 From: Rene Ladan User-Agent: Thunderbird 1.5.0.7 (X11/20060914) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org, freebsd-usb@freebsd.org X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: anyone working on setting output items with usbhidctl(1) ? 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: Sun, 17 Sep 2006 19:29:33 -0000 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. I'm not subscribed to the usb@ list, so please cc me. Kind regards, Rene -- GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) "It won't fit on the line." -- me, 2001