Date: Sun, 2 Jan 2011 15:56:21 +0100 From: Hans Petter Selasky <hselasky@c2i.net> To: freebsd-current@freebsd.org, AANLkTi=uMUPvXt4gS+gqPmpQT5LZWLNjt_9d2UfHTULM@mail.gmail.com Subject: Re: keyboard driver problem? Message-ID: <201101021556.21645.hselasky@c2i.net> In-Reply-To: <20110102174242.014ddca5.too.much.dudes@gmail.com> References: <20110102174242.014ddca5.too.much.dudes@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 02 January 2011 15:42:42 too.much.dudes@gmail.com wrote: > already tried variants : > offset+=4 && len-=4 > offset+=0 && len-=4 > and yours, but they doesn't have correct effect > (yours variant gives some addition lags: > for example pressing "o" presses Scroll Lock, "h" - WIN_L and etc) Hi, Maybe you can add a printout, to dump the len bytes: uint32_t yy; printf("UKBD data: "); for (yy = 0; yy != len; yy++) { uint8_t temp; usbd_copy_out(pc, offset + yy, &temp, 1); printf("0x%02x ", (int)temp); } printf("\n"); I guess the reason your keyboard doesn't work is that we don't parse any HID descriptors in UKBD. --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101021556.21645.hselasky>