I was under the impression that the kernel would/should at least always see 
the raw scancode (where this is not a value between 0 and 255), whether or 
not it could do something with it, and that X didn't use linux's keyboard 
driver anyway, it interpreted the scancodes itself. So if the kernel itself 
does not at least pass on the scan code is that not a bug? If funkey or 
something similar is going to be able to use the key, does it not at least 
need to get the scancode? There are some keys there that don't show a scan 
code either.


On October 17, 2003 07:05 pm, Andries Brouwer wrote:
> On Fri, Oct 17, 2003 at 03:52:00PM -0400, Sheldon Lee-Wen wrote:
> > Pardon my evilness in cross posting this, But I need to get a discussion
> > going on how to resolve this problem.
> >
> > One lineak user went and tested his keyboard. Here is what he got. It
> > does appear that for the keys that do not work, we have two situations.
> > Either the kernel does not even see the key, i.e. nothing gets returned
> > by either the kernel (in the form of an error written to the messages
> > file), showkey -s, or xev. Or the kernel returns a "Can't emulate rawmode
> > for keycode .... " message and neither X nor showkey -s see any output.
>
> You do not mention kernel version.
> These things are very sensitive to kernel version.
>
> If the kernel does not see the key at all, there is nothing the
> keyboard driver can do.
>
> The cases where the kernel complains "Can't emulate rawmode for keycode
> ..." while X and scancode -s do not see anything are for keycodes above
> 255. So far, keycodes have been 7-bit objects, and going to 8-bit is
> straightforward, but going past 8-bit requires updates to quite a lot of
> software.
> So, life is easier if one does not use large keycodes.
>
> The remaining codes are all OK. You have a keyboard and pressing a key
> produces some code. Use setkeycodes and loadkeys to assign some symbol or
> string. Or use some version of funkey or so to assign some action.

-- 
==================================================================
"... all thoughts of selfish desire, ill-will, hatred and
 violence are the result of a lack of wisdom ... "
 - Buddha

For an awesome fantasy role playing game checkout:
http://lycadican.sourceforge.net

GPG KeyID=04B7F7F8
GPG Fingerprint=4B0F 7202 FAFF D146 5F56  9E83 BE7F D7F7 04B7 F7F8
==================================================================



-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to