You are not logged in.

#1 2009-10-08 05:35:02

bikefridaywalter
Member
From: Eugene, OR
Registered: 2009-10-08
Posts: 1
Website

[PPC] Powerbook G4 12 inch 1.5 GHz almost there

Been playing for a while and really been enjoying it.  Keeping track of the details, too, for those that follow.  So I really want to iron out the last few details.  Actually, I wasn't keeping great track, so I started over to make sure I didn't miss anything.  So now I've got the following 3 problems:

1.  Battery indicator.  No clue what I'm doing here.  lm-sensors, yeah, but this is a wee over my head.  I might add I do have pbbuttonsd powernowd laptop-mode-tools installed.  xfce4-battery-plugin is pretty much lifeless.  Not sure of any other way I can check it.
2.  Sound don't work.  It during the first install but now I don't know how I got it to work.  I've got the good, the bad, but not the bast GStreamer, I've tried snd_modprobe, I've grabbed mpd and audacious hoping that some of the included libraries that come with would help to no avail.  Gstreamer page on the wiki is a little.. uhh.. sparse.
3.  Wifi!  Using B43 as a driver.  WPA2 in effect here.

B43 confirmed running by lsmod | grep b43:

b43                   146616  0 
rfkill                 12220  3 rfkill_input,b43
mac80211              227424  1 b43
cfg80211               43756  2 b43,mac80211
input_polldev           4228  2 ams,b43
ssb                    47512  2 b43,ohci_hcd
pcmcia                 31084  2 b43,ssb
pcmcia_core            40300  3 b43,ssb,pcmcia

Here's my /etc/wpa_supplicant.conf .. kind of:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
network={
        ssid="foo"
        proto=RSN
        pairwise=CCMP TKIP
        key_mgmt=WPA-PSK
        #psk="bar"
        psk=0
}

Here's what I get from wpa_supplicant:

bash-4.0# wpa_supplicant -dd -B -Dwext -i wlan0 -c /etc/wpa_supplicant.conf
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='DIR=/var/run/wpa_supplicant GROUP=wheel'
Line: 2 - start of a new network block
ssid - hexdump_ascii(len=3):
     3a 3c 33                                          foo             
proto: 0x2
pairwise: 0x18
key_mgmt: 0x2
PSK - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='foo'
Initializing interface (2) 'wlan0'
Interface wlan0 set UP - waiting a second for the driver to complete initialization
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf flags 0x0
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: wouldn't you like to know
wpa_driver_wext_set_wpa
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
wpa_driver_wext_set_drop_unencrypted
RSN: flushing PMKID list in the driver
Setting scan request: 0 sec 100000 usec
WPS: UUID based on MAC address - hexdump(len=16): probably don't want to know that either
WPS: Build Beacon and Probe Response IEs
WPS:  * Version
WPS:  * Wi-Fi Protected Setup State (0)
WPS:  * Version
WPS:  * Wi-Fi Protected Setup State (0)
WPS:  * Response Type (2)
WPS:  * UUID-E
WPS:  * Manufacturer
WPS:  * Model Name
WPS:  * Model Number
WPS:  * Serial Number
WPS:  * Primary Device Type
WPS:  * Device Name
WPS:  * Config Methods (0)
WPS:  * RF Bands (3)
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
ctrl_interface_group=10 (from group name 'wheel')
Added interface wlan0
Daemonize..

So I can do this within xfce with the xfc4-wavelan-plugin installed to be visible iff online.  I do the above and there it is.  I get a IP no problem from dhcpcd.  And for those who are about to say it, network-manager, wicd, etc. no existe for PPC.  In fact, I'm shocked to find that even xfce4-settings is missing-- at least from what I can tell.  So no help from that.  I've done it and re-done it.  Started and re-started to no avail.  Something seems amiss.

Anyways, big shout-out to everyone on #archlinux-ppc who have been EXTREMELY helpful.

And, lastly, BTW, screenshot:

10072009desktop.png

cool lol

if it's valuable, too..

/proc/cpuinfo

processor    : 0
cpu        : 7447A, altivec supported
clock        : 1499.999000MHz
revision    : 1.2 (pvr 8003 0102)
bogomips    : 73.47
timebase    : 18432000
platform    : PowerMac
model        : PowerBook6,8
machine        : PowerBook6,8
motherboard    : PowerBook6,8 MacRISC3 Power Macintosh 
detected as    : 287 (PowerBook G4 12")
pmac flags    : 0000001a
L2 cache    : 512K unified
pmac-generation    : NewWorld
Memory        : 1280 MB

lspci

0000:00:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 AGP
0000:00:10.0 VGA compatible controller: nVidia Corporation NV34M [GeForce FX Go5200] (rev a1)
0001:10:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 PCI
0001:10:12.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)
0001:10:17.0 Class ff00: Apple Computer Inc. KeyLargo/Intrepid Mac I/O
0001:10:18.0 USB Controller: Apple Computer Inc. KeyLargo/Intrepid USB
0001:10:19.0 USB Controller: Apple Computer Inc. KeyLargo/Intrepid USB
0001:10:1a.0 USB Controller: Apple Computer Inc. KeyLargo/Intrepid USB
0001:10:1b.0 USB Controller: NEC Corporation USB (rev 43)
0001:10:1b.1 USB Controller: NEC Corporation USB (rev 43)
0001:10:1b.2 USB Controller: NEC Corporation USB 2.0 (rev 04)
0002:20:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 Internal PCI
0002:20:0d.0 Class ff00: Apple Computer Inc. UniNorth/Intrepid ATA/100
0002:20:0e.0 FireWire (IEEE 1394): Apple Computer Inc. UniNorth 2 FireWire (rev 81)
0002:20:0f.0 Ethernet controller: Apple Computer Inc. UniNorth 2 GMAC (Sun GEM) (rev 80)

pacman -Q

a2ps 4.13c-1
a52dec 0.7.4-5
aalib 1.4rc5-8
acl 2.2.47-5
alsa-lib 1.0.19-1
alsa-oss 1.0.17-1
alsa-utils 1.0.19-1
aspell 0.60.6-2
atk 1.26.0-2
attr 2.4.43-1
audacious 1.5.1-1
audacious-plugins 1.5.1-1
audiofile 0.2.6-5
avahi 0.6.23-3
b43-fwcutter 011-1
bash 4.0.010-2
binutils 2.19.1-4
bzip2 1.0.5-4
ca-certificates 20080809-5
cairo 1.8.6-1
cdparanoia 10.2-2
cloog-ppl 0.15.3-1
consolekit 0.3.0-2
coreutils 7.1-2
cpio 2.9-3
cracklib 2.8.13-1
cryptsetup 1.0.6-3
curl 7.19.4-1
dash 0.5.5.1-2
db 4.7.25-2
dbus 1.2.4-1
dbus-core 1.2.4-1
dbus-glib 0.80-1
dcron 3.2-3
desktop-file-utils 0.15-1
device-mapper 1.02.31-1
dhcpcd 4.0.12-1
dialog 1.1_20080819-1
diffutils 2.8.1-6
dmapi 2.2.9-1
dmidecode 2.10-1
e2fsprogs 1.41.4-1
eject 2.1.5-4
enchant 1.4.2-1
esound 0.2.41-1
exempi 2.0.1-2
exo 0.3.100-1
expat 2.0.1-2
faac 1.26-1
faad2 2.7-1
fam 2.7.0-9
ffmpeg 0.5-1
file 5.00-1
filesystem 2008.07-1
findutils 4.4.0-1
firefox 3.0.10-1
flac 1.2.1-2
fluidsynth 1.0.8-3
fontconfig 2.6.0-2
freeglut 2.4.0-4
freetype2 2.3.9-1
fribidi 0.10.9-1
gawk 3.1.6-3
gcc 4.4.0-1
gcc-libs 4.4.0-2
gconf 2.24.0-1
gdbm 1.8.3-7
gen-init-cpio 2.6.17-3
gettext 0.17-3
ghostscript 8.63-4
glib 1.2.10-7
glib2 2.20.1-1
glibc 2.9-5
gmp 4.2.4-2
gnome-icon-theme 2.24.0-1
gnome-mime-data 2.18.0-3
gnome-vfs 2.24.0-2
gnupg 1.4.9-3
gnupg2 2.0.11-1
gnutls 2.6.4-2
gpgme 1.1.7-2
gpm 1.20.6-1
grep 2.5.4-1
groff 1.20.1-2
gsfonts 8.11-2
gstreamer0.10 0.10.21-1
gstreamer0.10-bad 0.10.9-1
gstreamer0.10-bad-plugins 0.10.9-1
gstreamer0.10-base 0.10.21-2
gstreamer0.10-base-plugins 0.10.21-2
gstreamer0.10-good 0.10.11-1
gstreamer0.10-good-plugins 0.10.11-1
gtk-xfce-engine 2.6.0-1
gtk2 2.16.1-1
gtkspell 2.0.15-1
gzip 1.3.12-5
hal 0.5.11-8
hal-info 0.20081022-1
hdparm 9.15-1
heimdal 1.2.1-6
hfsutils 3.2.6-4
hicolor-icon-theme 0.10-1
hunspell 1.2.8-1
hwdetect 0.9.1-1
icon-naming-utils 0.8.7-1
ilmbase 1.0.1-1
imagemagick 6.4.9.6-1
imlib2 1.4.2-1
initscripts 2008.09-2
iputils 20071127-2
jack-audio-connection-kit 0.109.2-2
jasper 1.900.1-2
jfsutils 1.1.13-1
kbd 1.14.1.20080309-3
kernel-headers 2.6.29.1-1
kernel26-pmac 2.6.29.4-1
klibc 1.5.15-1
klibc-extras 2.5-3
klibc-kbd 1.15.20080312-10
klibc-module-init-tools 3.5-2
klibc-udev 139-1
ladspa 1.13-1
lame 3.98.2-1
laptop-mode-tools 1.47-1
lcms 1.17-3
less 418-3
libao 0.8.8-2
libarchive 2.6.2-1
libassuan 1.0.5-1
libavc1394 0.5.3-1
libcap 2.16-3
libcdaudio 0.99.12-2
libcddb 1.3.2-1
libcroco 0.6.2-1
libcups 1.3.9-3
libdaemon 0.13-1
libdatrie 0.1.2-1.1
libdc1394 2.0.3-1
libdca 0.0.5-1
libdownload 1.3-1
libdrm 2.4.9-1
libdv 1.0.0-1
libdvbpsi 0.1.6-3
libdvdnav 0.1.10-3
libdvdread 0.9.7-1
libebml 0.7.8-1
libexif 0.6.17-1
libfontenc 1.0.4-3
libgcrypt 1.4.4-1
libgl 7.4-1
libglade 2.6.3-1
libgpg-error 1.6-2
libgsf 1.14.10-1
libice 1.0.4-2
libid3tag 0.15.1b-3
libidl2 0.8.11-1
libiec61883 1.1.0-1
libjpeg 6b-9
libksba 1.0.3-1
libldap 2.3.43-3
libmad 0.15.1b-4
libmatroska 0.8.1-1
libmcs 0.7.1-1
libmikmod 3.1.12-1
libmms 0.4-1
libmng 1.0.10-2
libmodplug 0.8.4-1
libmowgli 0.7.0-1
libmp4v2 1.6-1
libmpcdec 1.2.6-1
libmpeg2 0.5.1-1
libnl 1.1-1
libnotify 0.4.5-1
libogg 1.1.3-2
liboil 0.3.15-3
libpcap 1.0.0-1
libpciaccess 0.10.5-1
libpng 1.2.35-1
libraw1394 1.3.0-1
librsvg 2.22.3-1
libsamplerate 0.1.6-1
libsasl 2.1.22-5
libshout 2.2.2-3
libsm 1.1.0-1
libsndfile 1.0.17-2
libsoup 2.24.3-1
libtasn1 1.8-1
libthai 0.1.9-1
libtheora 1.0-1
libtiff 3.8.2-5
libtool 2.2.6a-2
libungif 4.1.4-1
libusb 0.1.12-4
libv4l 0.5.7-1
libvisual 0.4.0-2
libvorbis 1.2.1rc1-2
libwmf 0.2.8.4-5
libwnck 2.24.2-1
libx11 1.2.1-1
libxau 1.0.4-1
libxaw 1.0.5-1
libxcb 1.2-1
libxcomposite 0.4.0-1
libxcursor 1.1.9-1
libxdamage 1.1.1-1
libxdmcp 1.0.2-2
libxext 1.0.5-1
libxfce4menu 4.6.0-1
libxfce4util 4.6.0-1
libxfcegui4 4.6.0-1
libxfixes 4.0.3-2
libxfont 1.4.0-1
libxfontcache 1.0.4-1
libxft 2.1.13-1
libxi 1.2.1-1
libxinerama 1.0.3-1
libxkbfile 1.0.5-1
libxml2 2.7.3-1
libxmu 1.0.4-1
libxpm 3.5.7-2
libxrandr 1.3.0-1
libxrender 0.9.4-2
libxres 1.0.3-2
libxss 1.1.3-2
libxt 1.0.5-2
libxtst 1.0.3-2
libxv 1.0.4-1
libxxf86misc 1.0.1-3
libxxf86vm 1.0.2-2
licenses 2.4-1
lirc-utils 0.8.4a-2
logrotate 3.7.7-3
lua 5.1.4-3
lvm2 2.02.45-1
lzo2 2.03-1
mac-fdisk 0.1-5
mailx 8.1.1-7
man-db 2.5.4-2
man-pages 3.19-1
mcpp 2.7.2-2
mdadm 2.6.9-1
mesa 7.4-1
mime-types 1.0-2
mjpegtools 1.8.0-2
mkinitcpio 0.5.19-1
mlocate 0.21.1-1
module-init-tools 3.5-1
mousepad 0.2.16-1
mozilla-common 1.3-1
mpfr 2.4.1-1
musicbrainz 2.1.5-2
nano 2.0.9-2
ncurses 5.7-2
neon 0.28.3-2
net-tools 1.60-14
netcfg 2.1.3-3
nspr 4.7.3-1
nss 3.12.2-1
openexr 1.6.1-2
openssl 0.9.8k-1
orage 4.6.0-1
orbit2 2.14.16-1
pacman 3.2.2-2
pam 1.0.4-1
pango 1.24.1-1
pbbuttonsd 0.8.1a-1
pciutils 3.1.2-1
pcmciautils 015-1
pcre 7.8-1
perl 5.10.0-5
perl-xml-simple 2.18-2
perlxml 2.36-1
pidgin 2.5.5-1
pixman 0.14.0-1
pm-utils 1.2.4-1
pmac-utils 1.1.3-4
policykit 0.9-7
popt 1.14-1
portmap 6.0-4
powernowd 0.97-2
ppl 0.10.2-2
procinfo 19-3
procps 3.2.7-5
psmisc 22.6-3
psutils 1.17-3
pth 2.0.7-2
python 2.6.1-3
qt 4.5.0-5
quik 2.1-4
readline 6.0-1
reiserfsprogs 3.6.21-1
run-parts 2.31-1
sdl 1.2.13-1
sdl_image 1.2.7-1
sdparm 1.03-2
sed 4.1.5-3
shadow 4.1.2.1-2
shared-mime-info 0.51-1
smbclient 3.3.1-2
speex 1.2rc1-1
sqlite3 3.6.13-1
squeeze 0.2.3-3
startup-notification 0.10-1
sylpheed 2.6.0-1
sysfsutils 2.1.0-4
syslog-ng 3.0.1-4
sysvinit 2.86-4
taglib 1.5-1
tar 1.22-1
tcp_wrappers 7.6-9
tdb 3.3.1-1
terminal 0.2.10-1
texinfo 4.13a-4
thunar 1.0.0-1
thunar-archive-plugin 0.2.4-6
tzdata 2009j-1
udev 139-1
unrar 3.8.3-1
unzip 5.52-2
usbutils 0.73-5
util-linux-ng 2.14.2-1
vi 7.2.141-1
vlc 0.9.8a-5
vte 0.17.4-1
wavpack 4.50.0-1
wget 1.11.4-1
which 2.20-2
wireless_tools 29-2
wpa_supplicant 0.6.9-1
x264 20090108-1
xbitmaps 1.0.1-1
xcb-util 0.3.4-2
xcursor-themes 1.0.1-2
xf86-input-evdev 2.2.1-1
xf86-input-keyboard 1.3.2-2
xf86-input-synaptics 1.1.0-1
xf86-video-nv 2.1.13-1
xfce-utils 4.6.0-1
xfce4-appfinder 4.6.0-1
xfce4-artwork 0.1-5
xfce4-battery-plugin 0.5.1-2
xfce4-icon-theme 4.4.3-1
xfce4-mixer 4.6.0-2
xfce4-panel 4.6.0-1
xfce4-screenshooter 1.5.1-1
xfce4-session 4.6.0-1
xfce4-taskmanager 0.4.1-1
xfce4-wavelan-plugin 0.5.4-4
xfconf 4.6.0-2
xfdesktop 4.6.0-1
xfprint 4.6.0-1
xfsdump 3.0.0-1
xfsprogs 3.0.0-1
xfwm4 4.6.0-1
xfwm4-themes 4.6.0-1
xkeyboard-config 1.5-1
xorg-font-utils 7.4-2
xorg-fonts-100dpi 1.0.1-2
xorg-fonts-75dpi 1.0.1-2
xorg-fonts-alias 1.0.1-1
xorg-fonts-encodings 1.0.2-3
xorg-fonts-misc 1.0.0-3
xorg-res-utils 1.0.3-2
xorg-server 1.6.1-1
xorg-server-utils 7.4-3
xorg-twm 1.0.4-1
xorg-xauth 1.0.3-1
xorg-xinit 1.1.0-1
xorg-xkb-utils 7.4-1
xulrunner 1.9.0.10-1
xvidcore 1.2.1-1
yaboot 1.3.14-6
zip 3.0-1
zlib 1.2.3.3-3
zvbi 0.2.26-1

Offline

Board footer

Powered by FluxBB