(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.

since we are using a g3 mac laptop as the dedicated reprap machine, this page will contain some rants about dealing with the ppc peculiarity. first up, java. the ubuntu java page suggests using the IBM jdk. Hint: the package you want to install (after adding the medibuntu repository and key) is ibm-j2sdk1.5.

you also need the following packages (further details may ba found at http://packages.ubuntu.com/)

  • libstdc++5 (which is missing from the IBM jdk requirements)
  • ant-optional (for javah task)
  • libx11-dev (and all its dependencies)
  • mesa-common-dev (for glext.h)

the java3d source

  • register at https://java3d.dev.java.net/ and follow the instructions for checkingout vecmath, j3d-core and j3d-core-utils.
  • run ant in vecmath, then j3d-core directories

note that the java3d source packages are called j3d-*, don't confuse this with the j3d.org site and it's utility libraries. one of which you also need.

  • debian_ppc.txt
  • Last modified: 2008-05-17 11:25
  • by nik