Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jan 2011 12:02:05 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-current@freebsd.org
Cc:        too.much.dudes@gmail.com
Subject:   Re: keyboard driver problem?
Message-ID:  <201101021202.05356.hselasky@c2i.net>
In-Reply-To: <20110102113606.aa72b22d.too.much.dudes@gmail.com>
References:  <20110102113606.aa72b22d.too.much.dudes@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <A4TECH> at usbus4
> ukbd1: <A4TECH USB Device, class 0/0, rev 1.10/1.02, addr 2> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101021202.05356.hselasky>