keyboard driver problem?

Hans Petter Selasky hselasky at c2i.net
Sun Jan 2 11:02:07 UTC 2011


On Sunday 02 January 2011 09:36:06 too.much.dudes at 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


More information about the freebsd-current mailing list