Is there anyone who can help with this! We need to fix this ASAP. At least 
point me to the USB kernel code where this needs to be fixed, please!

Sheldon.

On October 2, 2003 07:54 pm, Sheldon Lee-Wen wrote:
> Hello,
>
>
> I have project called lineak http://lineak.sourceforge.net which is a user
> configurable daemon to run commands when a user presses a multimedia key on
> their keyboard. However, some people who have USB keyboards, have a problem
> that some keys do not get keycodes, or generate events. In fact, xev and
> the like just ignore them. Under Linux, errors get written to the messages
> file about unknow keys, eg.
>
> Kernel: keyboard.c: can't emulate rawmode for keycode xxx
>
> I have emailed both the linux kernel keyboard maintainer (who said that
> this was an X problem) and the xfree86 development mailing list, (who sent
> me the following reply)
>
> ##############################
>
> The [linux] keyboard driver was initially designed for AT keyboard and its
> scan-codes. The module that deals with devices that generates different
> scan-codes (such as USB HID) emulates AT's scan codes and passes them to
> the 'common' driver where those codes can be read by Xserver or converted
> to character codes (if the driver operates in console mode).
>
> If that module doesn't know how to emulate a scn-code for some key it
> prints this message (note it is not Xserver's message but kernels one) and
> passes nothing. In such case there is nothing to read for Xserver and you
> don't see any events in xev.
>
> > I've contacted the linux keyboard driver developer but he mentioned that
> > this is an X problem. So, here I am.
>
> X's problem is that it gets nothing from the kernel keyboard driver. :)
> How it can be fixed in the Xserver?
>
> > How should we proceed with addressing this problem? It seems the easiest
> > thing would be to make X configurable with regards to which scancodes get
> > mapped to which keycodes.  Would this be possible or even desirable?
>
> Xserver recognizes lot of scan-codes and although their mapping to X's
> keycodes is not configurable it is not a problem.  The problem is that
> Xserver has nothing for mapping.
>
> #################################
>
> Is this the case? And if it is indeed the case am I in the right place, and
> how can we go about fixing this? (If now, who should I contact?)
>
> Thanks
> Sheldon.

-- 
==================================================================
"... 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 is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to