Hardy and Compiz on a cheap Acer Aspire 4315

I did a fresh install of Hardy onto my Acer Aspire 4315 notebook (which had Gutsy pre-installed by the vendor Dick Smith Electronics). With a bit of help from a good friend I managed to replace the proprietary wireless drivers with madwifi ones*. I decided to see if the more complex compiz effects would work for me – and I was delighted when most of them did**. Fantastic – and all possible with a fraction of the hardware required for Vista (my notebook is only a 1.86GHz Celeron with 1Gb of RAM). Ubuntu is where the WOW begins.

[Update – use sudo apt-get install ubuntu-restricted-extras to do everything in one go]

The general codecs issue was easily dealt with once I added medibuntu as a repository as per https://help.ubuntu.com/community/Medibuntu.

Basically:

sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list
sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update
sudo apt-get install libdvdcss2
sudo apt-get install w32codecs

and you’re good to go playing DVDs etc.

To get youtube working I just let it prompt me for the codecs and they worked just fine.

Some extra touches to make the system easier to use: system>preferences>keyboard shortcuts and remap the special “e” key to the left of the keyboard to mute.
http://www.linuxquestions.org/questions/linux-laptop-and-handheld-25/…
…acer-blame-limitation-of-linux-for-four-key-flaws-in-their-ubuntu-laptop.-632342/

It might be best to avoid remapping the wireless key for anything – I think it still works to enable/disable wireless at a hardware level. See http://ubuntuforums.org/showpost.php?p=4804137&postcount=30. You can see it changing the contents of /proc/acpi/acer/wireless from 1 to 0 etc (NB to refresh in nautilus to see effect).

[Update for Intrepid onwards – install SHMconfig https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]

I wanted the touchpad disabled on boot so I added a new session under system>preferences>sessions with the command synclient TouchpadOff=1. I also added the line
Option “SHMConfig” “on”
in /etc/X11/xorg.conf as follows:

Section “InputDevice”
Identifier “Synaptics Touchpad”
Driver “synaptics”
Option “SendCoreEvents” “true”
Option “Device” “/dev/psaux”
Option “Protocol” “auto-dev”
Option “HorizEdgeScroll” “0”
Option “SHMConfig” “on”
EndSection

http://ubuntu.wordpress.com/2006/03/24/disable-synaptics-touchpad/

But how to get it back again when I don’t have a mouse? I went applications>system tools>configuration editor then apps>metacity>global_keybindings and bound run_command_1 to Alt t
Then under apps>metacity>keybinding_commands set command_1 to synclient TouchpadOff=1. Now I can enable the touchpad by pressing Alt t.

And I have just discovered that there is a webpage devoted entirely to this model notebook with Ubuntu. http://www.hbclinux.net.nz/acer4315.html

* madwifi-nr-r3366+ar5007 for those interested. Check out http://ubuntuforums.org/showthread.php?t=662877
The change away from proprietary drivers may have been what restored the functionality of restart.

Power management in Linux seems to be perennially problematic if you use a closed binary driver, and Ubuntu was, unfortunately, no exception. The desktop machines suspended and hibernated fine as long as you weren’t using proprietary video drivers, and the VAIO (with its Intel 915 controller) had a lightning-fast suspend/resume cycle. The Thinkpad also balked when using proprietary drivers.
http://www.informationweek.com/shared/printableArticle.jhtml?articleID=207200145

** NB to get cube effects working, set the workspace preferences to 4 cols and 1 row. To configure compiz, run the following:
sudo apt-get install compizconfig-settings-manager To get cairo dock working go to http://developer.berlios.de/project/showfiles.php?group_id=8724&release_id=13311 and install the appropriate deb. Then run cairo-dock (e.g. Alt F2) – see http://thedailyubuntu.blogspot.com/2008/02/cairo-dock-animated-launch-bar-for_03.html

gDesklets and Quote of the Day

For Ubuntu users, you install gDesklets using Synaptic. The desklets are of variable quality and value but some of the clocks are good, and perhaps the weather could be of some interest (if you can get it to work for your city 😉 ). The keeper for me is Quote of the Day. Go to:

http://gdesklets.de/index.php?q=desklet/view/181&destination=desklet%2Fview%2F181
and download the tar.gz file. Install from within gDesklets, selecting the tar.gz file downloaded.

I put two Quote of the Day desklets on my desktop – one for Bible verses and one for general quotes. To add a desklet, double click it in the list and drag and drop it into place on your desktop. To configure or move a desklet, right click on it and make your selection.

To get gDesklets to automatically appear when starting up, go to System> Preferences> Sessions and click on Add. The command is simply gdesklets start.

Broadcom wireless under Hardy (Alpha 5)

Problem: wireless not working even using bcm43xx fwcutter trick used on previous occasions successfully.

Looked in system log – System>Administration>SystemLog kern.log
ERROR: Firmware file “b43/ucode5.fw” not found or load failed.
Huh? That’s not even a file made by bcm43xx.

Initial diagnostics:
lspci | grep Network
returned:
02:0b.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)

Solution:
Don’t use BCM43xx any more – doesn’t work. Use b43-fwcutter. See http://linuxwireless.org/en/users/Drivers/b43#fw-b43legacy

NB don’t bother using make etc on the tarball – just grab the suitable deb file from the hardy util site. Get by searching for Hardy util b43. Obviously, if I had access to the internet I could use synaptic or apt-get but no wireless = no internet (see Catch 22 ;-)).

then gksu b43-fwcutter -w /lib/firmware ~Desktop/wl_apsta-3.130.20.0.o
NB gksu not sudo when a graphical application

Working on the assumption that I can use the legacy v3 file (incorrect – see below).

Still a problem – there is now a folder called /lib/firmware/b43legacy
So tried:
sudo nautilus /lib/firmware/b43legacy and it contains ucode5.fw etc
Shame the folder has legacy as part of its name
Renamed the folder to b43 in a shameless attempt to get the system going

New issue (possibly progress though):
b43-phy0 ERROR: YOUR FIRMWARE IS TOO OLD. Firmware from binary drivers older than version 4.x is unsupported. You must upgrade your firmware files.

Hmmm – deleted all old bcm43xx firmware files from main /lib/firmware folder.
sudo rm -r /lib/firmware/b43legacy

Rebooted.

Nope.

Ah – download v4 wl_apsta.o file
wget http://downloads.openwrt.org/sources/broadcom-wl-4.80.53.0.tar.bz2

get wl_apsta.o from inside that file and put on desktop.

then sudo b43-fwcutter -w /lib/firmware ~Desktop/wl_apsta.o

Right – everything was automatically put it in b43 subfolder, not b43legacy. Starting to click into place. As is often the case, it all makes total sense backwards 😉 .

Looking good – can see my wireless network showing with a decent signal. Supply password. Hmmm waiting for network key.

To be continued …

[Easter 2008] – use latest, v4 wl_apsta.o
sudo b43-fwcutter -w /lib/firmware ~Desktop/wl_apsta.o
Hmm still waiting for network key.
Even tried unsecured neighbourhood wireless network. Still no success.

And continued …

[Hardy Heron RC]
Waiting for network key (sigh …)
At least dual/multiple monitor support is getting much better.
Intrepid Ibex
Hmmm try v11 rather than v8 of b43-fwcutter deb (google b43 deb)
Nope

DocuPrint 525A running on Ubuntu

[Updated Oct 2008]
Get printer driver (as RPM – need to convert to DEB for installation)
http://www.fujixerox.com.au/support/downloaddriver?productId=307&operatingSystemCode=Linux
or
http://www.xeroxprinters.co.nz/displayDvr.do?cid=8&langid=en&lpdtid=89&dvrOS=Linux&dvrPdtID=307
or
http://www.fujixerox.com.au/localDriverDownload.do

dpc525a_linux_.0.0.tar.zip

Extract Fuji_Xerox-DocuPrint_C525_A_AP-1.0-1.i386.rpm

Install Alien from synaptic if possible

Otherwise

alien_8.68_all.deb

http://www.howtoforge.com/converting_rpm_to_deb_with_alien
or
http://ubuntu.wordpress.com/2005/09/23/installing-using-an-rpm-file/

cd Desktop
sudo alien -k Fuji_Xerox-DocuPrint_C525_A_AP-1.0-1.i386.rpm
(use tab completion so no typos in file name – nice touch ;-))

will hopefully make fuji-xerox-docuprint-c525-a-ap_1.0-2_i386.deb on Desktop.

install deb

After installing deb,

System>Admin>Printing New etc

NB appears under FX

Older details – probably redundant:
usr/share/cups/model/FujiXerox/en/FX_DocuPrint_C525_A_AP.ppd
is the driver to use (may need to manually find – after which FX will appear in Printer list)

NB if you have problems printing longer documents (the job always shifts from Processing to Held) check out my solution at http://p-s.co.nz/wordpress/?p=227.

NB appears under FX

Gutsy Gibbon Tribe 1

Installed OK and I was able to get the WPA working with broadcom card easily enough as per instructions in previous post regarding Feisty. A few things extra to remember – pasting into terminal is Ctrl-V AND Shift; and remember to grab the latest gutsy broadcom deb file. Plus install broadcom cutter BEFORE the final steps will work. Reboot to get card working.

Issues:

  1. Restricted driver loaded after checking out updates (none needed) but not allowing itself to be selected even after cold reboot
  2. Firefox system fonts tiny

Getting Feisty (Ubuntu 7.04) working

Clean install on partition
Step 1 – Install onto separate partitions from Windows (NB make main ext3 partition “/”)
Step 2 – Get broadcom wireless card working. Pull across bcm43xx-fwcutter_006-1_i386.deb and install it (do not automatically try to get file – see next step)
Step 3 – sudo bcm43xx-fwcutter -w /lib/firmware ~/Desktop/wl_apsta.o
NB drop files on desktop to start process. Delete both afterwards
Step 4 – Give wireless network the password and save it to the keyring
Step 5 – Run Update Manager and update anything needed (required to get proprietary ATI driver going it seems)
Step 6 – Use ATI video card driver, reboot, then set refresh rate to 90Hz
Step 7 – sudo aptitude install flashplugin-nonfree
Open Firefox and check out www.youtube.com as test.
Step 8 – sudo gedit /boot/grub/menu.lst and set pause to 7 (from 10) and default to probably 4 (XP for the time being)
Step 9 – Grab wallpaper from Windows partition.

Wishlist – flash installed in GUI way; dual monitors easy to set up; bug #91192 fixed so I can get newest Edubuntu onto kids’ computer, 3D ready to go in Chess game or easy to add using GUI.

Overall verdict – It all works and I’m looking forwards to Gutsy Gibbon 🙂

Creating modem applet for Xubuntu

Install xfapplet using synaptic. Add to taskbar. Configure to include modem. Right click to activate.

BTW being able to switch from Ubuntu (GNOME) to Xubuntu (XFCE) using logout, is very handy. Don’t even have to redo the wireless network connection.

[Update] – it wasn’t quite so smooth doing all this with my grandparents’ Dapper Xubuntu setup although I got there in the end. Issue 1 – needed to add a repository with xfapplet in it (it wasn’t there in my grandparent’s Dapper setup). Issue 2 – if you resize the pixel size of the icons on the XFCE taskbar, anything added on the Gnome panel doesn’t resize – and may even become invisible! 🙁 Issue 3 – the taskbar was missing, and even if you ran xfce4-panel to restore it, it disappeared on relogin etc. Solution – looking at setting for sessions. Hid hibernate and sleep and made it automatically save session settings. Success! Phew!