[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 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



Reply to: