z0mbix
November 6th, 2006, 06:44
After running Linux on my iBook G3 (800MHz) for 4 years, I've finally got fed up with the increasing amount of bugs that keep appearing in Linux. This weekend I backed up everything and installed OpenBSD 4.0. So far, I'm very happy indeed. I'm a GNOME fan and well aware that there is not a recent version on GNOME so I've reverted back to fluxbox that I happily used several years ago. The benefit of doing this is that it is much more responsive within Xorg. Something that's very welcome with a laptop of this age. It will keep me going another couple of years anyway, should the hardware last that long!
It also means I can create macppc binpatches now aswell as i386 ones.
The soundcard is not supported, but that's not a problem. Also it does not suspend but this has always been hit and miss with Linux anyway.
I've figured out how to set the F10 and F11 keys as middle and right click like I had under linux too (and fix backspace!). I use the following .xmodmap file:
keycode 107 = BackSpace
keycode 75 = Pointer_EnableKeys
keycode 76 = Pointer_Button2
keycode 95 = Pointer_Button3
I need to press F9 first to activate these keys. Not sure if there is a way around this, but not great problem.
Here's the dmesg for anyone who cares:
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2006 OpenBSD. All rights reserved. http://www.OpenBSD.org
OpenBSD 4.0 (GENERIC) #1056: Sat Sep 16 21:21:14 MDT 2006
deraadt@macppc.openbsd.org:/usr/src/sys/arch/macppc/compile/GENERIC
real mem = 671088640 (655360K)
avail mem = 601772032 (587668K)
using 1254 buffers containing 33554432 bytes (32768K) of memory
mainbus0 (root): model PowerBook4,3
cpu0 at mainbus0: 750FX (Revision 0x203): 800 MHz: 512KB L2 cache
memc0 at mainbus0: uni-n
ki2c0 at memc0 offset 0xf8001000
iic0 at ki2c0
admtmp0 at iic0 addr 0xac
mpcpcibr0 at mainbus0 pci: uni-north, Revision 0xff
pci0 at mpcpcibr0 bus 0
pchb0 at pci0 dev 11 function 0 "Apple Pangea AGP" rev 0x00
vgafb0 at pci0 dev 16 function 0 "ATI Radeon Mobility M7 LW" rev 0x00, mmio
wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation)
mpcpcibr1 at mainbus0 pci: uni-north, Revision 0x0
pci1 at mpcpcibr1 bus 0
pchb1 at pci1 dev 11 function 0 "Apple Pangea" rev 0x00
macobio0 at pci1 dev 23 function 0 "Apple Pangea Macio" rev 0x00
openpic0 at macobio0 offset 0x40000: version 0x4614
macgpio0 at macobio0 offset 0x50
macgpio1 at macgpio0 offset 0x9 irq 47
"programmer-switch" at macgpio0 offset 0x11 not configured
"firewire-linkon" at macgpio0 offset 0x5b not configured
"cpu-vcore-select" at macgpio0 offset 0x6b not configured
"extint-gpio4" at macgpio0 offset 0x5c not configured
"gpio9" at macgpio0 offset 0x73 not configured
"extint-gpio12" at macgpio0 offset 0x64 not configured
"gpio5" at macgpio0 offset 0x6f not configured
"gpio6" at macgpio0 offset 0x70 not configured
"extint-gpio4" at macgpio0 offset 0x5c not configured
"gpio11" at macgpio0 offset 0x75 not configured
"extint-gpio15" at macgpio0 offset 0x67 not configured
"escc-legacy" at macobio0 offset 0x12000 not configured
zsc0 at macobio0 offset 0x13000: irq 22,23
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
snapper0 at macobio0 offset 0x10000: irq 30,1,2
"timer" at macobio0 offset 0x15000 not configured
adb0 at macobio0 offset 0x16000 irq 25: via-pmu, 3 targets
akbd0 at adb0 addr 2: iBook keyboard with inverted T (ISO layout)
wskbd0 at akbd0: console keyboard, using wsdisplay0
ams0 at adb0 addr 3: EMP trackpad <tpad> 2-button, 400 dpi
wsmouse0 at ams0 mux 0
abtn0 at adb0 addr 7: brightness/volume/eject buttons
apm0 at adb0: battery flags 0x5, 99% charged
pi2c0 at adb0
iic1 at pi2c0
"battery" at macobio0 offset 0x0 not configured
"backlight" at macobio0 offset 0xf300 not configured
ki2c1 at macobio0 offset 0x18000
iic2 at ki2c1
wdc0 at macobio0 offset 0x1f000 irq 19: DMA
wd0 at wdc0 channel 0 drive 0: <FUJITSU MHS2030AT>
wd0: 16-sector PIO, LBA48, 28615MB, 58605120 sectors
atapiscsi0 at wdc0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <LG, CD-ROM CRN-8245B, AHTA> SCSI0 5/cdrom removable
wd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
cd0(wdc0:0:1): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
wi0 at macobio0 offset 0x30000 irq 57:
wi0: Firmware 8.70 variant 1, address 00:30:65:0c:12:72
audio0 at snapper0
ohci0 at pci1 dev 24 function 0 "Apple Pangea USB" rev 0x00: irq 27, version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Apple OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci1 at pci1 dev 25 function 0 "Apple Pangea USB" rev 0x00: irq 28, version 1.0
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: Apple OHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
mpcpcibr2 at mainbus0 pci: uni-north, Revision 0x6
pci2 at mpcpcibr2 bus 0
pchb2 at pci2 dev 11 function 0 "Apple Pangea PCI" rev 0x00
"Apple Pangea FireWire" rev 0x00 at pci2 dev 14 function 0 not configured
gem0 at pci2 dev 15 function 0 "Apple Pangea GMAC" rev 0x00: irq 41, address 00:0d:93:c7:5e:5a
bmtphy0 at gem0 phy 0: BCM5221 100baseTX PHY, rev. 4
umass0 at uhub0 port 1 configuration 1 interface 0uhidev0 at uhub1 port 1 configuration 1 interface 0
umass0: ITE123 Inc.-2 Wire USB2IDE Bridge Controllee, rev 2.00/2.00, addr 2
umass0: using SCSI over Bulk-Only
uhidev0: Microsoft Basic Optical Mouse, rev 1.10/0.00, addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse1 at ums0 mux 0
scsibus1 at umass0: 2 targets
sd0 at scsibus1 targ 1 lun 0: <, FUJITSU MHT2040A, 006C> SCSI0 0/direct fixed
sd0: 38154MB, 38154 cyl, 64 head, 32 sec, 512 bytes/sec, 78140160 sec total
bootpath: '/pci@f2000000/mac-io@17/ata-4@1f000/disk@0/bsd'
boot device: wd0.
root on wd0a
rootdev=0x0 rrootdev=0xb00 rawdev=0xb02
ugen0 at uhub1 port 2
ugen0: HCF USB V.90 Data/Fax Modem Apple internal modem, rev 1.10/1.00, addr 3
Edit: Added middle/right click Xorg fix
It also means I can create macppc binpatches now aswell as i386 ones.
The soundcard is not supported, but that's not a problem. Also it does not suspend but this has always been hit and miss with Linux anyway.
I've figured out how to set the F10 and F11 keys as middle and right click like I had under linux too (and fix backspace!). I use the following .xmodmap file:
keycode 107 = BackSpace
keycode 75 = Pointer_EnableKeys
keycode 76 = Pointer_Button2
keycode 95 = Pointer_Button3
I need to press F9 first to activate these keys. Not sure if there is a way around this, but not great problem.
Here's the dmesg for anyone who cares:
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2006 OpenBSD. All rights reserved. http://www.OpenBSD.org
OpenBSD 4.0 (GENERIC) #1056: Sat Sep 16 21:21:14 MDT 2006
deraadt@macppc.openbsd.org:/usr/src/sys/arch/macppc/compile/GENERIC
real mem = 671088640 (655360K)
avail mem = 601772032 (587668K)
using 1254 buffers containing 33554432 bytes (32768K) of memory
mainbus0 (root): model PowerBook4,3
cpu0 at mainbus0: 750FX (Revision 0x203): 800 MHz: 512KB L2 cache
memc0 at mainbus0: uni-n
ki2c0 at memc0 offset 0xf8001000
iic0 at ki2c0
admtmp0 at iic0 addr 0xac
mpcpcibr0 at mainbus0 pci: uni-north, Revision 0xff
pci0 at mpcpcibr0 bus 0
pchb0 at pci0 dev 11 function 0 "Apple Pangea AGP" rev 0x00
vgafb0 at pci0 dev 16 function 0 "ATI Radeon Mobility M7 LW" rev 0x00, mmio
wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation)
mpcpcibr1 at mainbus0 pci: uni-north, Revision 0x0
pci1 at mpcpcibr1 bus 0
pchb1 at pci1 dev 11 function 0 "Apple Pangea" rev 0x00
macobio0 at pci1 dev 23 function 0 "Apple Pangea Macio" rev 0x00
openpic0 at macobio0 offset 0x40000: version 0x4614
macgpio0 at macobio0 offset 0x50
macgpio1 at macgpio0 offset 0x9 irq 47
"programmer-switch" at macgpio0 offset 0x11 not configured
"firewire-linkon" at macgpio0 offset 0x5b not configured
"cpu-vcore-select" at macgpio0 offset 0x6b not configured
"extint-gpio4" at macgpio0 offset 0x5c not configured
"gpio9" at macgpio0 offset 0x73 not configured
"extint-gpio12" at macgpio0 offset 0x64 not configured
"gpio5" at macgpio0 offset 0x6f not configured
"gpio6" at macgpio0 offset 0x70 not configured
"extint-gpio4" at macgpio0 offset 0x5c not configured
"gpio11" at macgpio0 offset 0x75 not configured
"extint-gpio15" at macgpio0 offset 0x67 not configured
"escc-legacy" at macobio0 offset 0x12000 not configured
zsc0 at macobio0 offset 0x13000: irq 22,23
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
snapper0 at macobio0 offset 0x10000: irq 30,1,2
"timer" at macobio0 offset 0x15000 not configured
adb0 at macobio0 offset 0x16000 irq 25: via-pmu, 3 targets
akbd0 at adb0 addr 2: iBook keyboard with inverted T (ISO layout)
wskbd0 at akbd0: console keyboard, using wsdisplay0
ams0 at adb0 addr 3: EMP trackpad <tpad> 2-button, 400 dpi
wsmouse0 at ams0 mux 0
abtn0 at adb0 addr 7: brightness/volume/eject buttons
apm0 at adb0: battery flags 0x5, 99% charged
pi2c0 at adb0
iic1 at pi2c0
"battery" at macobio0 offset 0x0 not configured
"backlight" at macobio0 offset 0xf300 not configured
ki2c1 at macobio0 offset 0x18000
iic2 at ki2c1
wdc0 at macobio0 offset 0x1f000 irq 19: DMA
wd0 at wdc0 channel 0 drive 0: <FUJITSU MHS2030AT>
wd0: 16-sector PIO, LBA48, 28615MB, 58605120 sectors
atapiscsi0 at wdc0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <LG, CD-ROM CRN-8245B, AHTA> SCSI0 5/cdrom removable
wd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
cd0(wdc0:0:1): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
wi0 at macobio0 offset 0x30000 irq 57:
wi0: Firmware 8.70 variant 1, address 00:30:65:0c:12:72
audio0 at snapper0
ohci0 at pci1 dev 24 function 0 "Apple Pangea USB" rev 0x00: irq 27, version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Apple OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci1 at pci1 dev 25 function 0 "Apple Pangea USB" rev 0x00: irq 28, version 1.0
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: Apple OHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
mpcpcibr2 at mainbus0 pci: uni-north, Revision 0x6
pci2 at mpcpcibr2 bus 0
pchb2 at pci2 dev 11 function 0 "Apple Pangea PCI" rev 0x00
"Apple Pangea FireWire" rev 0x00 at pci2 dev 14 function 0 not configured
gem0 at pci2 dev 15 function 0 "Apple Pangea GMAC" rev 0x00: irq 41, address 00:0d:93:c7:5e:5a
bmtphy0 at gem0 phy 0: BCM5221 100baseTX PHY, rev. 4
umass0 at uhub0 port 1 configuration 1 interface 0uhidev0 at uhub1 port 1 configuration 1 interface 0
umass0: ITE123 Inc.-2 Wire USB2IDE Bridge Controllee, rev 2.00/2.00, addr 2
umass0: using SCSI over Bulk-Only
uhidev0: Microsoft Basic Optical Mouse, rev 1.10/0.00, addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse1 at ums0 mux 0
scsibus1 at umass0: 2 targets
sd0 at scsibus1 targ 1 lun 0: <, FUJITSU MHT2040A, 006C> SCSI0 0/direct fixed
sd0: 38154MB, 38154 cyl, 64 head, 32 sec, 512 bytes/sec, 78140160 sec total
bootpath: '/pci@f2000000/mac-io@17/ata-4@1f000/disk@0/bsd'
boot device: wd0.
root on wd0a
rootdev=0x0 rrootdev=0xb00 rawdev=0xb02
ugen0 at uhub1 port 2
ugen0: HCF USB V.90 Data/Fax Modem Apple internal modem, rev 1.10/1.00, addr 3
Edit: Added middle/right click Xorg fix