From owner-freebsd-usb@FreeBSD.ORG Tue Sep 9 19:33:50 2008 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50406106567B for ; Tue, 9 Sep 2008 19:33:50 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id F23D68FC08 for ; Tue, 9 Sep 2008 19:33:49 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.2/8.14.2) with ESMTP id m89JG5jF027707 for ; Tue, 9 Sep 2008 13:16:05 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.2/8.14.2/Submit) with ESMTP id m89JG4rT027704 for ; Tue, 9 Sep 2008 13:16:04 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 9 Sep 2008 13:16:04 -0600 (MDT) From: Warren Block To: usb@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (wonkity.com [127.0.0.1]); Tue, 09 Sep 2008 13:16:05 -0600 (MDT) Cc: Subject: usbhidaction with non-HID devices 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, 09 Sep 2008 19:33:50 -0000 My Epson scanner has one button. I'd like to have that button activate a program. usbhidaction(1) does that for uhid devices. Of course, the scanner is not a HID, and usbhidaction doesn't like non-HID devices: % usbhidaction -v -c usbhid.conf -f uscanner0 usbhidaction: hid_get_report_desc() failed: Operation not supported by device Is there an existing way to do this? If not, is it possible to modify usbhidaction or uscanner to support it? -Warren Block * Rapid City, South Dakota USA