From owner-freebsd-stable@FreeBSD.ORG Fri Mar 6 18:57:58 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDFEF1065670 for ; Fri, 6 Mar 2009 18:57:58 +0000 (UTC) (envelope-from henry.hu.sh@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.175]) by mx1.freebsd.org (Postfix) with ESMTP id 946DA8FC14 for ; Fri, 6 Mar 2009 18:57:58 +0000 (UTC) (envelope-from henry.hu.sh@gmail.com) Received: by wf-out-1314.google.com with SMTP id 27so608871wfd.7 for ; Fri, 06 Mar 2009 10:57:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=gaB2TKOzlmUVWHF71Ow+6m0Rxcn9m04SCdIUqQmm0s0=; b=ZTthSl+8AYZEi51HWLi6ojxeRbNKVc8/tomE4CD7O2JI6yshORYS1ljx0NgkoIZ/kG c+0gOWX3mqQae0YSKn/XexcufSrQlJdFhvYW1/lxWa4TEOUGnmsxYVmjhwgLqxDmMEk7 CV82m+nV9ppCYPfuc5GQjrO+IbbTujfJgbbeo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=rNvrdqJqeyXO4JXHQrV2Ehv72N/qmPhrQ25r67otJVJPnQntga3OeJQlHO1lGsJIt0 WBlzDKTaEv2k1goWNvutrn8NQ79OoVap6nxIi7ILdixJRC6CsrnoCPDJBWt2BCt9OSW5 yTwhR4MzrN880DnjaSDBa6NRm+Y7R4c1qLJhU= MIME-Version: 1.0 Received: by 10.142.81.7 with SMTP id e7mr1220884wfb.106.1236365878277; Fri, 06 Mar 2009 10:57:58 -0800 (PST) Date: Sat, 7 Mar 2009 02:57:58 +0800 Message-ID: <53a1e0710903061057o1bb897e3y7793af39b4be6914@mail.gmail.com> From: Henry Hu To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Problems about usbhidaction X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hu.henry9@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Mar 2009 18:57:59 -0000 Hi, Today I got a new USB keyboard, ukbd0: on uhub3 kbd2 at ukbd0 uhid0: on uhub3 Normal keys are sent through ukbd0, and special keys (volume up, etc) are sent through uhid0. I tried to use usbhidaction to make the special keys functional, and I found that there are some problems about usbhidaction: 1. The length of data it tried to read is wrong.