{"id":8726,"date":"2013-11-22T01:20:36","date_gmt":"2013-11-22T09:20:36","guid":{"rendered":"http:\/\/princessleia.com\/journal\/?p=8726"},"modified":"2016-11-03T10:27:09","modified_gmt":"2016-11-03T17:27:09","slug":"taming-lubuntu-on-my-powerbook-g4","status":"publish","type":"post","link":"https:\/\/princessleia.com\/journal\/2013\/11\/taming-lubuntu-on-my-powerbook-g4\/","title":{"rendered":"Taming Lubuntu on my PowerBook G4"},"content":{"rendered":"<p>About a year ago I adopted a MacBook Pro and a PowerBook G4. The MacBook Pro now happily runs OSX, when we turn it on (mostly MJ uses it for photo processing). In spite of being quite the nice machine for 2004, the poor PowerBook G4 had been long abandoned by Apple due to it&#8217;s PPC nature and this made me quite sad. My plan had been to load it up with Lubuntu, use it here and there and help out with ISO testing. Then 2013 happened. New job! Wedding! I was much busier than anticipated, after loading up Lubuntu 12.04 on the PowerBook I didn&#8217;t have a whole lot of time to spend with it.<\/p>\n<p>This week I pulled my PowerBook G4 off the shelf and loaded up Lubuntu 13.10. I quickly learned that it&#8217;s one of the more finicky PowerBooks when it comes to sound, and my initial cleverness during install led me to have some graphical pain. Here&#8217;s what I had to fix:<\/p>\n<p>First up, when I loaded up the Lubuntu LiveCD the graphics were a mess. The installer advised that if problems existed you could try passing the LiveCD a video option of &#8220;video=ofonly&#8221; which I did and then happily ran the installer. Unfortunately this later caused my installed system to lock up pretty quickly after booting it. Sad. I got my clue to what I should be using for video via <a href=\"https:\/\/help.ubuntu.com\/community\/Lubuntu\/Documentation\/FAQ\/PPC#No_desktop_with_Radeon_video_chips_on_LiveCD\">this page<\/a>. I made a quick change to <code>\/etc\/yaboot.conf<\/code> to swap out the video option:<\/p>\n<p><code>append=\"quiet splash video=radeonfb:1024x768-32@60\"<\/code><\/p>\n<p>Ran `<code>sudo ybin<\/code>` and rebooted. Voila! No more crashes.<\/p>\n<p>Now wifi.<\/p>\n<p><code>elizabeth@r2g4:~$ lspci | grep Network<br \/>\n0001:10:12.0 Network controller: Broadcom Corporation BCM4306 802.11b\/g Wireless LAN Controller (rev 03)<\/code><\/p>\n<p>That&#8217;s a job for the <code>firmware-b43-installer<\/code> package. Easy enough. I now had wifi!<\/p>\n<p>The trickiest part of this install was audio. It turns out that most PowerBook G4s have sound working out of the box, but I got unlucky.<\/p>\n<p><code>elizabeth@r2g4:~$ alsamixer<br \/>\ncannot open mixer: No such file or directory<\/code><\/p>\n<p>And no <code>\/proc\/asound<\/code> at all. That won&#8217;t do!<\/p>\n<p>Back to the wiki, <a href=\"https:\/\/wiki.ubuntu.com\/PowerPCFAQ#Why_do_I_have_no_sound.3F\">PowerPC FAQ: Why do I have no sound?<\/a><\/p>\n<p>After a whole lot of trial and error, I learned that <a href=\"http:\/\/bugs.debian.org\/cgi-bin\/bugreport.cgi?bug=650588\">this bug<\/a> was indeed my culprit. I had to remove the snd_aoa entries from <code>\/etc\/modprobe.d\/blacklist.local.conf<\/code> and then edit: <code>\/etc\/modules<\/code><\/p>\n<p>Removing: <code>snd_powerbook<\/code><\/p>\n<p>And adding: <code>snd_aoa_i2sbus<\/code><\/p>\n<p>I had manually rmmod &#038; modprobed the modules to test and was finally able to run <code>alsamixer<\/code> to adjust the volume settings. Then a reboot to confirm all was well. Hooray, sound!<\/p>\n<div align=\"center\"><a href=\"http:\/\/princessleia.com\/images\/journalpics\/112013\/lubuntu_1310_powerbook.jpg\"><img decoding=\"async\" src=\"http:\/\/princessleia.com\/images\/journalpics\/112013\/lubuntu_1310_powerbook_sm.jpg\" alt=\"\" border=\"0\"><\/a><\/div>\n<p>I was pretty happy at this point, but I had to go a bit further, the backlight for the keyboard wasn&#8217;t working! The island-style keyboards are the bane of my existence, I hate that all laptops have gone to them. But this old PowerBook G4? Beautiful keyboard, aside from the awkward placing of the alt key, it&#8217;s a pleasure to type on.<\/p>\n<p>Backlit functionality would be the icing on the cake, fortunately for me it was as easy as:<\/p>\n<p><code>sudo modprobe i2c-dev<\/code><\/p>\n<p>This made my Mac hotkeys work and the keyboard backlight. Winner! I added the module for <code>\/etc\/modules<\/code> for persistence.<\/p>\n<div align=\"center\"><a href=\"http:\/\/princessleia.com\/images\/journalpics\/112013\/lubuntu_1310_powerbook_keyboard.jpg\"><img decoding=\"async\" src=\"http:\/\/princessleia.com\/images\/journalpics\/112013\/lubuntu_1310_powerbook_keyboard_sm.jpg\" alt=\"\" border=\"0\"><\/a><\/div>\n<p>The system isn&#8217;t exactly zippy, but with a gig of ram it&#8217;s quite usable, particularly for writing. I&#8217;m happy to learn that sensitivity problems I encountered with the touchpad in 12.04 have been resolved and I&#8217;m looking forward to loading it up with tests this cycle so maybe less manual labor will be required for the 14.04 release.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>About a year ago I adopted a MacBook Pro and a PowerBook G4. The MacBook Pro now happily runs OSX, when we turn it on (mostly MJ uses it for photo processing). In spite of being quite the nice machine for 2004, the poor PowerBook G4 had been long abandoned by Apple due to it&#8217;s [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,37,2],"tags":[],"class_list":["post-8726","post","type-post","status-publish","format-standard","hentry","category-computers","category-tech","category-planet"],"_links":{"self":[{"href":"https:\/\/princessleia.com\/journal\/wp-json\/wp\/v2\/posts\/8726","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/princessleia.com\/journal\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/princessleia.com\/journal\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/princessleia.com\/journal\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/princessleia.com\/journal\/wp-json\/wp\/v2\/comments?post=8726"}],"version-history":[{"count":7,"href":"https:\/\/princessleia.com\/journal\/wp-json\/wp\/v2\/posts\/8726\/revisions"}],"predecessor-version":[{"id":10399,"href":"https:\/\/princessleia.com\/journal\/wp-json\/wp\/v2\/posts\/8726\/revisions\/10399"}],"wp:attachment":[{"href":"https:\/\/princessleia.com\/journal\/wp-json\/wp\/v2\/media?parent=8726"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/princessleia.com\/journal\/wp-json\/wp\/v2\/categories?post=8726"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/princessleia.com\/journal\/wp-json\/wp\/v2\/tags?post=8726"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}