This is an old revision of the document!


(specifically a lombard powerbook (aka 1999,bronze keyboard), which generates most of these question/answer routines) NOTE: this “works for me”. it might, or might not work for you. these are assembled as notes, and assume some familiarity with both debian, and the hardware, its not really a step by step guide or install manual.

As of 2007 most of this no longer neccesary esp. if using a distro like ubuntu

should import the old debian on lombard pages (now disapeared)

build + install → kernel_notes

  • tested with d-link dwl650
  • http://linux-wlan.org prism2_cs driver, and benh's 2.4.20 kernel
  • enable 'wireless LAN (non hamradio)' in network device support, and 'PCMCIA/Cardbus support' in 'General setup'
  • host-ap drivers » for running the machine as an access point. http://hostap.epitest.fi/
  • access point utils _> http://ap-utils.polesye.net/ (the dlink dwl1000-ap uses ap-nwn)
  • how about airport / hermes?

for all those os9 'legacy' applications that havent been ported to OsX, or GNU/Linux yet.,…

  • see KernelNotes for building + install the modules
  • su -c “startmol -a”
  • see config for sartup disk + permissions
  • USB device handling?

there is quite an amount of accurate, inaccurate and dangerously misleading info about settin up keymaps in console + Xfree86. this will add to the noise.

  • mouse 3button emulation
  • modify /etc/sysctl.conf to allow the f11 and f12 keys to correspond to centre + right mouse buttons.
# Enable mouse button emulation
dev.mac_hid.mouse_button_emulation = 1
dev.mac_hid.mouse_button2_keycode = 87
dev.mac_hid.mouse_button3_keycode = 88
  • usefull commands
    • 'xhost +' to enable all connections to host (ie. disable security!)
  • hardware acceleration
  • keyboard
  • to get the modifiers working (required for: @|~}{}[],etc)
cat <<EOF |xmodmap -
clear mod1
keycode 64 = Mode_switch
keycode 113 = Alt_L
clear mod4
add mod1 = Meta_L
EOF

or…

1. change XF86config-4 to look like this for keyboard:

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "keyboard"
        Option          "CoreKeyboard"
        Option          "LeftAlt"       "Meta"
        Option          "RightAlt"      "Meta"
        Option          "ScrollLock"    "Compose"
        Option          "RightCtl"      "Control"
        Option          "XkbRules"      "xfree86"
        # We don't use macintosh!
        # Option        "XkbModel"      "macintosh"
        # German Layout ("de")
        Option          "XkbLayout"     "de"
        Option          "XkbVariant"    "nodeadkeys"
EndSection

2. change your /etc/X11/xkb/keycodes/xfree86 to look like this:

    // Map Applekey to AltGr
    //  = 113;
     = 115;

    // we dont need those on Apples
    // Microsoft keyboard extra keys
    //  = 115;
    //  = 116;
    // 
    = 117;

    // Use Keypad-Enter as Delete-Key
    // This is the key left of cursor-left
    //  = 107;
     = 108;
    
    //  = 108;
     = 107;

3. Restart your X-Server … et voila! This worked straight away on my X11 server. With this you don't need any xmodmap lines.

  • debian_ppc.1211023480.txt.gz
  • Last modified: 2008-05-17 11:24
  • by nik