lkml.org 
[lkml]   [2000]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Issue compiling 2.4test10
> > Would this patch help?
> >
> > --- drivers/input/keybdev.c.org Thu Nov 2 10:13:39 2000
> > +++ drivers/input/keybdev.c Thu Nov 2 10:19:43 2000
> > @@ -36,7 +36,7 @@
> > #include <linux/module.h>
> > #include <linux/kbd_kern.h>
> >
> > -#if defined(CONFIG_X86) || defined(CONFIG_IA64) || defined(__alpha__) || defined(__mips__)
> > +#if defined(CONFIG_X86) || defined(CONFIG_IA64) || defined(__alpha__) || defined(__mips__) || defined(CONFIG_MAC_HID)
> >
>
> I've tried this on my PowerBook and it doesn't work. The keymap is broken and
> pressing anything on the keyboard will output something completely different.
> This is fixed if the "defined(CONFIG_MAC_HID)" gets move the "#elif" part of
> the "#if" mentionned above.

Fine, my patch made it compile, yours even makes it work. Please post a
diff or send it to Paul Mackerras.

> That said, 2 and 3 button emulation is broken for (at least) the PowerBook on test-10.
> I've tried the
> echo "1" > /proc/sys/dev/mac_hid/mouse_button_emulation
> and there's no effect. Anyone know what this is about?

Works for me, you just need to use PC keycodes instead of ADB keycodes if
you want to remap the keys. The default emulation codes are for fn-opt and
fn-cmd.

Michael

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:45    [W:0.028 / U:0.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site