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

Re: Switching to 2.4.12 found ADB keycodes (long)



tillman@azstarnet.com (Chris Tillman) writes:

> On Sun, Nov 25, 2001 at 08:42:56AM +0000, Ali Bahar wrote:
> > tillman@azstarnet.com (Chris Tillman) writes:


> > CONFIG_MAC_ADBKEYCODES=n would set this!
> > 
> > If it's consistent with your post, then ignore this.
> > 
> 
> Well no, I haven't seen it work that way. There must be something else
> at work setting keyboard_sends_linux_keycodes? Or maybe my

The only reference I see to keyboard_sends_linux_keycodes is in
linux/Documentation/Configure.help. That doc implies the sensible
association between CONFIG_MAC_ADBKEYCODES and
keyboard_sends_linux_keycodes. However, it never explicitly says that
  CONFIG_MAC_ADBKEYCODES=n
would result in 
  keyboard_sends_linux_keycodes=1

Note that I'm using a pure, unpatched, 2.4.10 source of the kernel --
though I highly doubt that that'd be relevant. Also note that running
'dpkg-reconfigure console-data' had no complaints when I ran it in an
ADB kernel (as shown by CONFIG_MAC_ADBKEYCODES=y) with
keyboard_sends_linux_keycodes=1 and an ADB boottime.kmap.gz! 




> Besides the PowerPC ports web pages (which I'm afraid no one will
> notice except newbies who don't need to know), and the PowerPC release
> notes for Woody, where else would you suggest putting this? Where did
> you start looking when you ran into it?

I may not be representative, but my search order was something like
this:

 - linux/.config for anything related to keymaps;
 - 'man -k' for anything related eg 'key|map|charset|...';
 - linux/Documentation/Configure.help and whatever else may be under
   the Documentation/ subtree;
 - ppc-related pages (penguinppc.org, recent /. posts which I recalled
   having to do with iBooks, debian ppc port page, and anything which
   they pointed to);
 - as usual, the most helpful thing was using google on the error
   messages/concepts. It led me to mailing lists -- namely this
   one. So any archived post is highly useful.

It seems like you've already done the right thing then.

If any modification of the install/configure procedure of console-data
is possible, I would suggest highlighting it in a very noticable
manner. console-data is not like any other package. IT'S A HUGE PAIN
to debug & undo its effect. (I won't go into the scenario of why one
might not have an ethernet connection to allow you to debug things
remotely! :-( Yup, I, too, came up with one of those 1-to-1 key
translation maps!) 

thanks,
ali

-- 
            Jesus was an Arab.



Reply to: