Date: Sun, 1 Sep 2002 12:23:44 -0700 (PDT)
Subject: Re: [Xpert]Keys bouncing, xkbset bouncekeys gives only temp. relief

> > On my new Satellite Pro 6100 laptop I have a problem with bouncing
> > keys (only when using X11, Console or frambuffer are not affected).

It's known problem on some Toshiba laptops. See archives on
http://linux.toshiba-dme.co.jp/linux/index.htm

> > 
> > This is with kernel-2.4.19, kernel-2.4.19-ac4 and 2.4.20-pre5 and
> > XFree-4.2.0 (the experimental Debian packages by branden). I use "nv"
> > as driver.
> > 
> > Is there any way of disabling this bouncing permanently.

There is a patch available for the kernel. 

$ diff keyboard.c keyboard.c.orig 
91,92d90
< static unsigned char prev_scancode;
< 
225,235c223
< /*            put_queue(scancode | up_flag); */
<                 /* The following 'if' is a workaround for hardware
<                  * which sometimes send the key release event twice */
<                 unsigned char next_scancode = scancode|up_flag;
<                 if (up_flag && next_scancode==prev_scancode) {
<                        /* unexpected 2nd release event */
<                 } else {
<                         prev_scancode=next_scancode;
<                         put_queue(next_scancode);
<                 }
< 
---
>               put_queue(scancode | up_flag);

It's been posted on Toshiba Linux User list. Check out that list, it's
archived somewhere (a Google search will give you the correct place)

Note that I didn't try this patch since I have no problem myself and I
don't know what version of the kernel it applies (although that specific
part of the code in the kernel should be fairly stable, so it should
apply on most 2.4.x versions)
 
Cheers,
-- 
Olivier               <[EMAIL PROTECTED]>            http://www.xfce.org
-----------------------------------------------------------------------
XFce is a lightweight  desktop  environment  for  various *NIX systems.
Designed for productivity,  it loads  and  executes  applications fast,
while conserving  system resources. XFce is all free software, released
under GNU General Public License.    Available from http://www.xfce.org

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to