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

Re: Powerpc (mac-G4) -essentially (less) broken



On Mon, 2002-01-21 at 10:37, Nick Bailey wrote:

> I set linux keycodes in yaboot.conf, and seem to have got them... but
> 
> cmtdb121:~> cat /proc/sys/dev/mac_hid/keyboard_sends_linux_keycodes
> cat: /proc/sys/dev/mac_hid/keyboard_sends_linux_keycodes: No such file 
> or directory

Your kernel lacks support for ADB keycodes, which is good. It always
uses Linux keycodes.


> >    MODEL=macintosh
> >    # good old-fashioned BRAIN DAMAGE
> >    if [ -e /proc/sys/dev/mac_hid/keyboard_sends_linux_keycodes ]; then
> >      if [ "$(cat /proc/sys/dev/mac_hid/keyboard_sends_linux_keycodes)" = "0" ]; then
> >        MODEL=macintosh_old
> >      fi
> >    fi

This code handles that perfectly.


-- 
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast



Reply to: