- UCLA M.S. Computer Science
- Android Developer
- Freelance IT
or, thoughts from a random graduate student
Finally found the need to have a real laptop available, so I went out and picked up a MacBook Air over the Thanksgiving break. Since I’ve gotten so used to XMonad for day to day use, it would have to be running Ubuntu. Turns out that there is an Ubuntu community wiki page available detailing what is necessary to get things going.
A script available on almostsure creates a bootable USB drive to install off of, and the almostsure post-install script takes care of installing most of the drivers and configuration you’d want. For reference, the important things (as of Nov 30, 2011) are the following:
The one thing NOT covered by the Ubuntu community wiki is the wireless driver. The MacBook Air 4,1 has a Broadcom BCM43224 chip, which is actually covered by several different drivers, b43 (if you hack around a bit), brcmsmac, and the wl Broadcom STA driver (closed source). Poking around seems to suggest that the best option is the brcmsmac module, as it is based off the open-sourced driver that Broadcom released late 2010, however owing to it’s immaturity, it still lives in the staging drivers section of the Linux kernel. It also seems to lack some features supported by the Broadcom STA drivers, namely power management, which is the main reason why I chose to use the closed source (the horror) Broadcom STA drivers available from the Ubuntu “restricted” repository under the brcmwl-kernel-source package.
The one item to note with this module is that the brcmwl-kernel-source package actually doesn’t have an updated blacklist file in /etc/modprobe.d, and will fail to blacklist the brcmsmac module available by default, potentially leading to problems. I had to add brcmsmac and bcma to the blacklist with the following:
sudo sh -c "echo 'blacklist brcmsmac' >> /etc/modprobe.d/blacklist-b43.conf" sudo sh -c "echo 'blacklist bcma' >> /etc/modprobe.d/blacklist-b43.conf"
This prevents the kernel from loading both drivers. Most of this information was found on the ArchLinux Broadcom wireless wiki page. And that concludes all the laptop configuration I had to do. All that remains is reconfiguring my XMonad settings for laptop use!
I have a Mac.
Actually, I've had a 2nd generation Macbook for about 2 weeks now. A friend recently upgraded to a brand new 13.3" Macbook Pro, so I got his old machine for cheap. The nice thing about Mac hardware is that you can (legally) run OS X on it, which is what I'm now doing, and I have to say, I'm almost used to most of it already. There really isn't anything specific I can put my finger on though, especially since I haven't really used OS X in any serious capacity since high school, but I suppose the thing that bugs me the most is that it just feels like there should be some kind of package management software, except there isn't. MacPorts and a few others can make that up, but it's not the same as a deeply integrated system found on Linux. Other than that one point, everything else is has just required I get used to things, like having to use the Option key instead of Ctrl in some circumstances while using the Cmd key in others.
This post actually brings to mind the "so what do you use? Windows or Mac?" question I always seem to get asked when I'm out doing IT work, in that people really seem to expect some kind of advocacy for one OS over another. This I never really got, as in the end, OS X is just another operating system, and when it really comes down to things, it lets me get things done just as well as any other OS I've seen so far, which is exactly why I answer, "All of them."