Re: USB keyboard problem
- From: w0lfie <w0lfie@xxxxxxxxxxxx>
- Date: Thu, 30 Nov 2006 10:10:51 +1300
Something I forgot to add...
The keyboard_t struct kbd is passed to the ukbd_interrupt
function. Within this struct, there is a ukbd_state struct
that includes ks_ndata and ks_odata (new and current data?).
Which part of the system actually fills in the ks_ndata
struct? Is this filled in externally to the ukbd driver?
Such as the usb hid driver?
What I am getting at is my problem may not be within the
ukbd driver but within the mechanism that fills in ks_ndata.
If this is the case, I should be looking at that piece of
code rather than the ukbd driver.
Sam.
----- Original Message Follows -----
Heya,_______________________________________________
I have a usb keyboard (Genius slimstar pro) and am having
the same problems as others are experiencing. When the kb
is first loaded, the two modifiers ctrl and shift are
"stuck" on. This results in keys like d exiting your
terminal. If you hit ctrl and shift on another kb (I have
an at kb hooked up as well) it resets these modifiers.
Once this has been done, a majority of the keys (a-z, 1-0
etc...) work as they should. None of the modifier keys
work though.
After digging through and playing with the ukbd code, I
have found that when you hit any of the modifier keys, it
sends the two keycodes 0xe0 and 0xe1 as pressed keys to
ukbd_interrupt() and sends nothing when you release the
key.
I have tested this keyboard in OpenBSD, Linux and Windows
all with success. I have also tried this without the
kbdmux and get the same results.
Any help or insight into this problem would really be
appreciated as I'm quite stuck on where to go to from
here.
Cheers,
Sam.
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to
"freebsd-hackers-unsubscribe@xxxxxxxxxxx"
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- Prev by Date: Re: FreeBSD-6.1/amd64 bge(4) driver performance problems
- Next by Date: Page Coloring in FreeBSD
- Previous by thread: USB keyboard problem
- Next by thread: Page Coloring in FreeBSD
- Index(es):
Relevant Pages
- VC6 -> VC2005 conversion problem
... struct SHomog ... static void CrossProduct(const SPoint& p, const SPoint&
q, SHomog& r) ... returns number of keys ... enabled, disable normalization
... (microsoft.public.vc.mfc) - Re: What Impact Do Static HashTables and Classes have on the CPU?
... The keys are GUID and they represent a collection data. ... So the keys
are GUID and the values are a struct. ... reads the live hash table, corrilates
it's data with the incoming data, ... (microsoft.public.dotnet.languages.csharp)