From owner-freebsd-current@FreeBSD.ORG Sun Jan 2 11:02:07 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F712106564A for ; Sun, 2 Jan 2011 11:02:07 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.c2i.net [212.247.154.194]) by mx1.freebsd.org (Postfix) with ESMTP id 9877F8FC17 for ; Sun, 2 Jan 2011 11:02:06 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=47jFoQlQiPaXYvJJRPLdRbboc2AFRw6czTf8DabKp4c= c=1 sm=1 a=dq2f58wT9zoA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=pGLkceISAAAA:8 a=AZaa_EyPkbosoRVlS7IA:9 a=DC_b9ChRp529lFQnMhoA:7 a=-o4vs_odO4aUeQjn6O2zT2Yl8lsA:4 a=wPNLvfGTeEIA:10 a=MSl-tDqOz04A:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 69337455; Sun, 02 Jan 2011 12:01:57 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Sun, 2 Jan 2011 12:02:05 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <20110102113606.aa72b22d.too.much.dudes@gmail.com> In-Reply-To: <20110102113606.aa72b22d.too.much.dudes@gmail.com> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201101021202.05356.hselasky@c2i.net> Cc: too.much.dudes@gmail.com Subject: Re: keyboard driver problem? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jan 2011 11:02:07 -0000 On Sunday 02 January 2011 09:36:06 too.much.dudes@gmail.com wrote: > Hello, have problem with A4Tech G7100 wireless combo mouse+keyboard. > Mouse works fine, but keyboard not. It's loading: > ugen4.2: at usbus4 > ukbd1: on usbus4 > but pressing any key doesn't have effect. It works only in one way - if i > pressing one (any) key and don't releasing it and preessing another key at > the same time. > > For example to make work key "a" i should press "b" (and don't releasing > it, use like "shift") and after that pressing key "a". And it works. > > This problem is only in 8.x branch. At Freebsd 7.3, 7.4 it works ok. > I think the problem is in new ukbd-driver, when i press 'q' key, debug > says: > > ukbd_intr_callback:547: actlen=8 bytes > ukbd_intr_callback:590: apple_eject=0 apple_fn=0 > ukbd_intr_callback:597: [0] = 20 > ukbd_put_key:312: 0x14 (20) pressed > ukbd_intr_callback:547: actlen=8 bytes > ukbd_intr_callback:590: apple_eject=0 apple_fn=0 > ukbd_put_key:312: 0x414 (1044) released > (this is for usb wire-keyboard that works fine) > > ukbd_intr_callback:547: actlen=12 bytes > ukbd_intr_callback:590: apple_eject=0 apple_fn=0 > (and this is for my ATech G7100 keyboard) Could you dump the device and configuration descriptors of your keyboard using the usbconfig utility. usbconfig -d X.Y dump_device_desc dump_curr_config_desc It looks like your keyboard is sending 12 bytes instead of 8, which is expected from UKBD. --HPS