Hi All,
Inspired by a recent re-read of Absolute FreeBSD by M.Lucas, and Taz's post on a lean desktop setup, i decided to re-purpose an old PPC iBook G4.
I downloaded and installed with EASE the latest FreeBSD 9.0 Release for PPC. - Much easier then the older version. no stuffing about with booting options. It just worked.
But, i'm here with a few issues
1. CPU speed:
The attached dmesg below indicates half my cpu capacity. Building source/ports is slow, but it might just be the old hardware
How do i know what cpu speed im running at ?
If i am at halfspeed, how can i fix this ?
2. Wireless trouble
Currently using wired connection.
Following the handbook and a number of posts and guides, ive think ive done things right.
the apple wireless card is meant to be supported by the BWI driver, but i also added the BWN just in case
the dmesg shows the .ko files both missing dependencies
After a reboot an ipfconfig shows 3 interfaces:
fwe0 - ethernet over firewire
gem0 - ethernet (currently used)
lo0 - loopback
if i load it manually trying the BWN:
appears to work and i get an additional interface BWN0
however logs indicate otherwise : /var/log/messages
BWI has same errors:
Nov 10 16:51:33 freebook kernel: KLD file if_bwi.ko is missing dependencies
Is the "bwi_v3_ucode" the missing dependancy. if so, how is that loaded ?
3. mouse right click
XOrg + OpenBox
i got the builtin trackpad working. like most apples this model does not have a right click. with osx i had to combine the option button (i think).
How can i enable a similar feature
Current work around is to use old MS usb laser mouse.
4. battery monitoring
ACPI / APM - seems to have none of these.. is this a ppc thing ? all ref seem to indicate it should be there.
sysutils/hwstats - installed, seems to require the above
error - hwstat: /dev/acpi: No such file or directory
Any thoguhts ?
===========================
If i can get things working in the CLI, then i wont be dependent on fancy WM stuff
Thanks in advance..
viva BSD
===
SPECS and FILES:
14" iBook G4 - 1GHz PowerPC G4 - 768Mb Ram - 40Gb HDD
Optional Airport Extreme Wireless B/G Card installed.
All HW working - OSX 10.5.8 has been running no issues.
OSX system reported cpu as 1.07 ghz (known feature)
OSX wireless working on both wep and wpa to linksys and apple routers.
hw link:
http://www.everymac.com/systems/apple/ibook/specs/ibook_g4_1.0_14_2.html
http://lowendmac.com/ibooks/14in-ibook-g4-1.2-ghz.html
Inspired by a recent re-read of Absolute FreeBSD by M.Lucas, and Taz's post on a lean desktop setup, i decided to re-purpose an old PPC iBook G4.
I downloaded and installed with EASE the latest FreeBSD 9.0 Release for PPC. - Much easier then the older version. no stuffing about with booting options. It just worked.
But, i'm here with a few issues
1. CPU speed:
The attached dmesg below indicates half my cpu capacity. Building source/ports is slow, but it might just be the old hardware
How do i know what cpu speed im running at ?
If i am at halfspeed, how can i fix this ?
2. Wireless trouble
Currently using wired connection.
Following the handbook and a number of posts and guides, ive think ive done things right.
the apple wireless card is meant to be supported by the BWI driver, but i also added the BWN just in case
the dmesg shows the .ko files both missing dependencies
After a reboot an ipfconfig shows 3 interfaces:
fwe0 - ethernet over firewire
gem0 - ethernet (currently used)
lo0 - loopback
if i load it manually trying the BWN:
Code:
# kldload /boot/kernel/if_bwn.ko
however logs indicate otherwise : /var/log/messages
Code:
Nov 10 17:37:24 freebook kernel: bwn-open_v4_ucode5: could not load firmware image, error 2
Nov 10 17:37:24 freebook kernel: bwn0: the fw file(bwn-open_v4_ucode5) not found
BWI has same errors:
Code:
Nov 10 16:27:22 freebook kernel: bwi0: request firmware bwi_v3_ucode failed
Nov 10 16:27:22 freebook kernel: bwi0: bwi_init_statechg: error 12 on MAC init
Is the "bwi_v3_ucode" the missing dependancy. if so, how is that loaded ?
3. mouse right click
XOrg + OpenBox
i got the builtin trackpad working. like most apples this model does not have a right click. with osx i had to combine the option button (i think).
How can i enable a similar feature
Current work around is to use old MS usb laser mouse.
4. battery monitoring
ACPI / APM - seems to have none of these.. is this a ppc thing ? all ref seem to indicate it should be there.
sysutils/hwstats - installed, seems to require the above
error - hwstat: /dev/acpi: No such file or directory
Any thoguhts ?
===========================
If i can get things working in the CLI, then i wont be dependent on fancy WM stuff
Thanks in advance..
viva BSD
===
SPECS and FILES:
14" iBook G4 - 1GHz PowerPC G4 - 768Mb Ram - 40Gb HDD
Optional Airport Extreme Wireless B/G Card installed.
All HW working - OSX 10.5.8 has been running no issues.
OSX system reported cpu as 1.07 ghz (known feature)
OSX wireless working on both wep and wpa to linksys and apple routers.
hw link:
http://www.everymac.com/systems/apple/ibook/specs/ibook_g4_1.0_14_2.html
http://lowendmac.com/ibooks/14in-ibook-g4-1.2-ghz.html
Code:
> uname -a
FreeBSD freebook 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Wed Jan 4 08:17:39 UTC 2012 marcel@xserve.lan.xcllnt.net:/usr/obj/usr/src/sys/GENERIC powerpc
Code:
> cat /boot/loader.conf
# apple wireless card
#if_bwi_load="YES"
#wlan_load="YES"
#wlan_wep_load="YES"
#wlan_ccmp_load="YES"
#wlan_tkip_load="YES"
if_bwi_load="YES"
if_bwn_load="YES"
Code:
> cat /etc/rc.conf
hostname="freebook"
ifconfig_gem0="DHCP"
sshd_enable="YES"
moused_enable="YES"
ntpd_enable="YES"
powerd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="NO"
moused_port="/dev/ams0"
wlans_bwi0="wlan0"
ifconfig_wlan0="ssid localnet WPA DHCP"
Code:
> dmesg | head -n 15
Copyright (c) 1992-2012 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.0-RELEASE #0: Wed Jan 4 08:17:39 UTC 2012
marcel@xserve.lan.xcllnt.net:/usr/obj/usr/src/sys/GENERIC powerpc
KLD file if_bwi.ko is missing dependencies
KLD file if_bwn.ko is missing dependencies
cpu0: Motorola PowerPC 7447A revision 1.1, 535.13 MHz
cpu0: Features 9c000000<PPC32,ALTIVEC,FPU,MMU>
cpu0: HID0 8450c0bc<EMCP,TBEN,NAP,DPM,ICE,DCE,SGE,BTIC,LRSTK,FOLD,BHT>
real memory = 790134784 (753 MB)
avail memory = 759328768 (724 MB)
kbd0 at kbdmux0
nexus0: <Open Firmware Nexus device>