IBM Think pad X31 Radeon M6 – Suspend Screen Fix

My Thinkpad X31 laptop with a Radeon M6 graphics chip had a problem with ACPI Suspend/Resume. About every five resumes, the graphics card would get messed up, making the screen unusable.
The computer would suspend/resume fine otherwise, but I’d be forced to reboot just to get X working again. (Just shutting down X and re-starting it wasn’t enough.)

The easy solution is to pass a “nomodeset” option to the kernal upon boot, but to do this on different versions of Ubuntu you need to do modify files in different places.

9.04: Edit the /boot/grub/menu.lst file, and look for the defoptions= line. Add nomodeset to the end. Run sudo update-grub afterwards to save your changes.

9.10: Edit the /etc/grub.d/10_linux file to add a line such as:
GRUB_CMDLINE_EXTRA = "$GRUB_CMDLINE_EXTRA nomodeset"
or just add “nomodeset” to the end of a previous GRUB_CMDLINE_EXTRA entry. After this, run sudo update-grub.

10.04: Edit the /etc/defaults/grub file and change GRUB_CMDLINE_LINUX="" to
GRUB_CMDLINE_LINUX="nomodeset"
(You may have to run sudo update-grub again, or it may be taken care of for you)

Commentary: I find it funny that in each of the last three version’s of UBUNTU the name and location of the grub configuration file has changed…

Mysterio Cape


Today I started on the actual costume part of my costume (as opposed to the props) and found 3 yards of remnant fabric ( $1 per yard!) that is approximately the correct color for my mysterio cape. Because the costume needs something that is closer to a cape than a full cloak, I made a “half-circle” cloak, which typically falls over the shoulders but doesn’t completely close in the front. [A full circle cloak is MUCH more massive and would hide most of your body.] The trick to cutting an even half circle is to fold your fabric in half, have somebody hold a piece of string at the corner, and trace out a quarter circle (with a washable fabric marker if you have one). When you cut out the quarter circle and open your fabric back up, both sides of your half-circle match. Then do the same folding trick when you cut out a neck hole. Remember, you can always cut more, but adding fabric is hard. If you get lucky and find a knit fabric that doesn’t fray, you may not even have to hem the edges.

half circle of fabric on the floor

notify-osd render problem with Radeon M6 (Ubuntu 9.10)

After upgrading my IBM X31 Thinkpad to Ubuntu 9.10, I noticed that libnotify (notify-osd) pop-ups were having a visual artifact when rendered that made the text unreadable. After a half hour of searching the net, I determined that this was because my M6 chipset doesn’t support Render Acceleration correctly, and the default xorg.conf file from Ubuntu does not disable that setting for my graphics driver (Radeon M6).

The solution is to add the option:
Option “RenderAccel” “false”
to the “Device” section of your /etc/X11/xorg.conf file.

Hidden Roomba Diagnostic checks – Stuck Bumper Sensor

Roomba with stuck bumper sensor
The above video shows a roomba with a stuck front bumper sensor. As you can see, the robot keeps backing up and trying to turn away from
the phantom obstacle it thinks is in front of it. This particular sensor was triggering because lint had gotten into the optical beam path and was blocking light to the photodiode detector even when the bumper was not being hit. I was able to repair it by removing the bumper cover (unscrewing 4 screws) and vacuuming out the hole where the plastic pole from the bumper goes between the IR diode and photo-transistor.
Continue reading

Mysterio Bracers: Hooks

mysterio bracer with hooks on the arm
I glued the “hooks” or “spikes” to the mysterio bracers and they look very nice! I had been considering using clay or shape-lock to “fill in” the areas around the hooks to make them more “3D”. But after examining them, I think I may simply leave them as they are now. I kind of like the flat/sharp look. Next up, selecting cloth for my costume, and matching spray paint.

Directions for inspecting a home

The following are directions for how to do a quick home-inspection. These directions are intended to be completed in about two hours with a Realtor before you decide to make an offer. I have included the plain text in this blog post, as well as the Open Office .odt and .pdf export.
house_inspection.odt
house_inspection_checklist.pdf

Click through for the plain text of the checklist:
Continue reading

Brittney sayings from Glee

Brittney is a blond cheerleader played by Heather Morris on the FOX musical TV show Glee. Below are a list of her sayings, help me add more:

Wheels (#1.9): I find recipes…confusing.

Hell-O (#1.14): Sometimes I forget my middle name.

Hell-O (#1.14): Did you know that dolphins are just gay sharks?

Home (#1.16) I’m pretty sure my cat is reading my diary.

Bad Reputation(#1.19):
I’ve been here since first period. I had a cold and I took all my antibiotics at the same time, and now I can’t remember how to leave.

Laryngitis (#1.20): So you’re pretty much the only guy in this school I haven’t made out with because I thought you were capital G gay, but now that you’re not, having a perfect record would mean a lot to me.

Other Episodes:
When I pulled my hamstring, I went to a misogynist.

She’s the one they made me talk to when they found out I was keeping that bird in my locker.

Reference: Glee Episode List

Debranding the Urban Commuter

After building a lightweight urban commuter out of pieced-together secondhand components, I purchased a lighter weight, used, and inexpensive single ring crankset for it. After installing the bright and shiny new crankset, I realized that the bike was actually starting to look like it might be worth something (despite the fact that I retained the 10 year old plastic MTB platform pedals). To fix this, I hit the laser engraved brand name (ProWheel OUNCE, not exactly an expensive brand, but your average bike thief may not know that) with a steel file. While I had the file out I decided to remove all of the other possibly expensive sounding brands from the bike, which mostly consisted of logo filling and decal scraping. In addition to hiding the brand, filling the metal parts instantly drops the potential resale value, and may even save you a few grams of weight depending upon how vigorously you file things down. This is more “urban stealth” than full on urban camouflage, but I may go buy some faux rust antiquing paint for the full effect later.

Crankset, before and after having the logo/brand filed offFrame before/after decal was removed

Continue reading

Setting up wvdial to use AT&T

If you are connected to an AT&T cell phone via a USB cable, you can use wvdial to access the Internet. Edit the /etc/wvdial.conf file to look like the following:

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = USB Modem
Baud = 460800
Stupid Mode = 1
New PPPD = yes
Modem = /dev/ttyACM0
ISDN = 0
Phone = *99#
Password = CINGULAR1
Username = WAP@CINGULARGPRS.COM

Then, just start up wvdial to connect to the Internet!