Re: about /dev/adb [Re: *shift* ??]


Subject: Re: about /dev/adb [Re: *shift* ??]
sean@panix.com
Date: Wed Apr 12 2000 - 07:48:34 MDT


> hi,
> pb3400, mol-0.9.41-1, OS8.1, 8200 ROM.
>
> dmesg gives:
> adb devices: [2]: 2 14 [3]: 3 1
>
> molrc and MoL love both 'keyboard_id: 12'
>
> following Takashi's (THX) Gestalt.h
> > gestaltPwrBookADBKbd = 12
> > gestaltAppleAdjustKeypad = 14
>
> is it possible that /dev/adb is wrong?

No, it's just reporting the ID in hex. My Wallstreet has "c3"
(should be "0xc3") where you have 14. In the very helpful gestalt.h
that Takashi Oe posted, this corresponds to

        gestaltPwrBkEKDomKbd = 195,
/* (0xC3) PowerBook Domestic Keyboard with Embedded Keypad, function keys
& inverted T */

Which makes sense. Your "14", actually 0x14, is decimal 20, or

        gestaltPwrBkExtISOKbd = 20,
/* PowerBook Extended International Keyboard with function keys
*/

Which is much more reasonable than "AppleAdjustKeypad". I bet
that mol expects a decimal number in .molrc.

Sean Willard



This archive was generated by hypermail 2a24 : Sun Apr 23 2000 - 18:07:34 MDT