On Sun, 24 Feb 2002, Ernie Cline wrote:

> On Sunday, February 24, 2002, at 08:18 AM, Stew Benedict wrote:
> 
> > Unfortunately we always get to play catchup in Linux.  Someone has to 
> > get
> > ahold of a machine with the new hardware and figure out how to make it
> > work.
> 
> True ... Well, I have the hardware, but unfortunatly, I can't donate it, 
> as its my main workstation ;).  However, any information i can provide, 
> i'd be more than willing to ... Is there anything I can do to help?  I 
> can give output of commands, i'll even provide ssh access if you, or 
> another developer, needs it, although I'm not sure how much that'll help 
> with an X problem, but if it helps out the distro, i'm more than happy 
> to.
> 
> > This is the root filesystem?  Seems that fsck should be happening before
> > loadkeys or anything, but I'll have to boot and observe it again to
> > verify.
> 
> Yes, root filesystem.  loadkeys is definatly called at least once before 
> the fsck happens ... try just switching off your machine, and that 
> should trigger it (assuming you're using ext2).  It doesn't work there, 
> but at the login prompt, it does.  So something seems to be screwing it 
> up before the fsck, and then 'fixing' it afterwards ... And I'm not 
> using any weird hardware, just the apple keyboard plugged into the USB 
> on the back of the machine ... (Well, with a logitech mouse, but I can't 
> imagine thats screwing up the keyboard...).
> 

I had added this into my own system, then convinced myself it wasn't
needed after checking an unmodified machine.  It's in rc.sysinit, right
after the "Loading default keymap", and before "activating swap"

# on PPC we need to activate the linux keycodes if set, to be able to respond to
# the prompts in the event of an fsck or other problem
if [ "$ARCH" = "ppc" ];then
  KEYCODE=`grep "dev.mac_hid.keyboard_sends_linux_keycodes" /etc/sysctl.conf | awk 
'{print $3}'`
  if [ "$KEYCODE" = "1" ];then
    gprintf "Using Linux keycodes:"
    echo $KEYCODE > /proc/sys/dev/mac_hid/keyboard_sends_linux_keycodes
  fi
fi

I'd be curious if this addresses your problem.

Stew Benedict

-- 
MandrakeSoft    OH/TN, USA http://people.mandrakesoft.com/~sbenedict/
PPC FAQ: http://www.linux-mandrake.com/en/demos/PPC/FAQ/


Reply via email to