Ubuntu Sound problem – won’t work after suspend – quick fix

Pursuant to my last post regarding PulseAudio problems under Intrepid, there appears to be a workaround.
The issue has to do with the PulseAudio system not being ‘suspended’ properly when a laptop goes into suspend. There’s a very easy way to sort of ‘nudge’ it back on track.
After resuming, type the following – this is done on my laptop ‘clipper’ :

dbs@clipper:~$ pacmd
Welcome to PulseAudio! Use "help" for usage information.
>>> suspend 0
>>> suspend 1
>>> <control-d>
dbs@clipper:~$ 

I just tried this, and things started making noise appropriately – didn’t even need to restart Firefox to get youtube videos going again.
This is documented in Bug 202089 in the Ubuntu bugtracker, but I’m reproducing it here if folks can’t find the answer.

Ubuntu Linux Gnome Desktop Gripes

I’ve been using Ubuntu Intrepid Ibex as my desktop platform of choice on clipper for a few months now. As part of that changeover, I also switched to using Gnome as my desktop environment.
I have to say, after my initial “ohh, look, this just works” with Gnome, the shine has certainly come off. There’s a consistent series of twitches that are causing me to grit my teeth whenever I come across them. Some of them have been identified in the Ubuntu bug tracker, and even after numerous comments and “me too” updates, the powers that be have not seen fit to include the fixes into the regular updates.
My guess is they’re waiting for Jaunty Jackalope, which is scheduled to be released this month. Be that as it may, I’m going to list out my current gripes now, and hopefully in a few weeks, when Jaunty is released, we can see if these will be addressed.
Compiz Window issues
There’s an annoying bug in how Compiz interracts with gnome’s window manager. In particular, transitory windows (such as the calendar popup, the ‘shut down..’ dialog box, etc), tend to pop up underneath existing windows. So it’s common to go to System->Shut down, and apparently nothing happens. Alt-tabbing, you find the shutdown dialog box buried under existing windows.
Shutdown Madness!
Speaking of the shutdown dialog, lets hear it for inconsistent interface design. On other Linux installs, and under KDE, hitting control-alt-delete brought up the suspend / logout / shut down dialog. Not so under Ibex! Control-Alt-Delete brings up a dialog that JUST has “Switch User” and “Logout” (and, as noted above, it tends to be under other windows). Suspend is not on that panel. To suspend, you have to mouse to System->Shutdown and select Suspend. Or, I found out recently, in the upper right corner you can click on a little ‘power’ icon, and select ‘shutdown’ on that menu. (Small tidbit – that pulldown menu looks completely different than the system menus. No icons, different layout. Nice going Gnome.)
Sound + PulseAudio
Anyone who has touched current versions of Linux has seen this come up, and the rants and vitriol have been piled all over the net. Some bright light in linux-land decided to set sound under Linux back half a decade. Getting sound working used to be quite a challenge, using the old OSS sound drivers, later replaced by the enormously stable and well supported ALSA (Advanced Linux Sound Architecture) toolset. All was fine and dandy through multiple releases.
Then someone decided that that wasn’t good enough, and they introduced PulseAudio. Naturally, some tools support PulseAudio, some tools support ALSA. Under many circumstances, this will cause a deadlock, where an audio application simply will not play sound. The only way to clear it that I’ve found is to reboot, and even after that, chances are it will lock up again at some point.
Further research has shown that this instability is being blamed on a botched release of PulseAudio by the Ubuntu team (the Pulseaudio folks are blaming Ubuntu for the craptastic port), but be that as it may, it still has not been remedied. To me this is a HUGE issue, as I listen to sound and watch video every day on my laptop, and not knowing whether sound is going to work next time I sit down to do some coding for half an hour is a huge impediment.
Wireless Tools
I consistently have problems with the wireless browser not being able to ‘sniff out’ local networks. There appears to be no mechanism to say ‘scan for new networks now’ – there’s some passive ‘oh, I’ll get to it at some point, maybe’ timer mechanism there, and there’s no way to tickle it and say “No, really, you’re RIGHT NEXT to the WAP. Browse please!” Frustrating.
Conclusions
I’m not sure exactly where I’m going to go when Jaunty is released. I may do a from-scratch install (saving my home directory), just to make sure I don’t have old configuration details lying around. I’m still willing to stick with Gnome for one more release, but if the issues I’m finding have not be fixed, and progress on the environment doesn’t move forward, I’ll have to seriously consider seeing how KDE4 is doing, and switching back.

Cohousing day #5: I am knocked up.

….. by electricians pounding in the front door responding to email I had sent the night before.

I’m working on getting the house internal wiring hooked up and realized (late last night) that the data and telco lines had been miswired. Fortunately our GC checks his mail often and sent the guys over to fix it this morning. Sadly I didn’t realize the problem until at least 5 trips from the basement to the attic (3 flights of stairs). Phew!

The guys saw the problem (yay! I’m not loopy!) and were repunching connectors as I was leaving.

Goodbye Interlude

image1314149070.jpgThe last load out. Tomorrow the dumpster gets picked up. I never enjoy the last bits if a move. I sort of wish it could all be done at once. But I know that has it’s own stresses.

As I left Natick, I changed the ‘home’ favorite in my GPS to Mosaic. Guess it’s official now, huh?

Briefly, from the iPhone. We moved.

Trying out a blog tool from the iPhone. More details later once I figure out if it sucks or not.

We moved today. 9 hours with professional movers, plus a cast of thousands of wonderful awesome people. Pictures are on flickr, but for now I’m too tired to list out all the kudos necessary. A more detailed, meaningful, and contentful post is forthcoming.

For now though, gonna go crash for my first night sleeping in cohousing.

Dear iPhone Developer Community…

You see that switch on the side of the iPhone? That little switch that means “Be quiet, I’m in a place where a vibrate will do?”
Pay attention to it!
There is absolutely no excuse to write a game, app, utility, or tool that starts making sounds or playing music upon startup if that switch is set to ‘silent’!
At the moment, I’m talking to you, Ezone, and you’re Crazy Snowboard app, that, despite having the phone on “SILENT”, you start playing music loud and clear upon startup!
iPhone App Developers. PAY ATTENTION TO THE SWITCH!
Sheesh!

Glimpses Back – The House that held Homeport – Up for sale!

It’s always interesting looking into houses that have so much history for you personally – after you’ve moved out of them.
The house that got to be well known as Homeport, which we sold about three and a half years ago, is back up for sale.
The listing on Realtor.com has a whole series of pictures of what the house looks like now. While I don’t agree with many (er, well, most) of their decorating tastes, I do think replacing the countertops in the kitchen with granite was a good idea.
I hope they do well – this is a bad time to be selling a large house, but it looks like they’ve dressed it up nicely, and have done repairs and improvements that the place needed.

Mame Cabinet delivered and installed

Installed at the office.Before I got sick last week, I installed the Mame cabinet into the rec room at work. Since we’re moving, it seemed like a good way to get One More Thing out of the house, and it would be nice to have the machine get some use.
Feedback from folks at the office has been really positive. The new Wah!Cade front end is quite stable and easy to navigate (though people tend to get confused with the “Pull up menu” and “Select” options). I had a problem getting the screen previews working, but ironed it out. Now people play 10 or so times a day. Yay!
I did hit one problem. The cabinet (now stained and looking pretty splufty), has no cooling in it. The little Dell laptop I’m running everything on had no moving air, and started overheating. It’s now sitting on the shelf next to the cabinet until I can rework cooling inside the box.
Now of course I’m considering the next rebuild of the controller panel. I do miss not having a trackball, and I think a set of switchable 4/8 way joysticks would be a huge win (I have 4 way microswitch driven sticks now, and they’re noisy. I’d love true 8 way, with quiet contacts, specifically for games like Robotron).
It does feel good to walk into the break room and see someone playing Galaxian or Ninja Gaiden or the like.

The Move. T-Minus 10 days – Disassembly of Interlude begins.

In less than 10 days, Cat and Zach and I will be moving to Mosaic. It’s an intense time for all of us, and what with me being down with the crud and life continuing apace, taking no notice of our challenges, things have become a little… chaotic.

InterludeUnlike some of my friends, I’ve moved only twice in the last, gosh, 13 years. Once into Homeport, and then from there to our current abode, called Interlude. Interlude was supposed to be a weigh station between homeport and Mosaic, but it lasted longer than we anticipated (almost 4 years). They were good years though, with our awesome roommate Beth and a cast of thousands (well, okay, 3 cats over that time, plus one dog and one fish). We had some great music nights, great gaming socials, and a few outstanding parties.

Now it’s time to pull up stakes and move again. This time to a far greater project than anything else I’ve ever been involved in. There’s a lot of unknowns ahead. I’ve never lived in cohousing. I know all the families I’ll be living near – some families have already had our children growing up together – but what will the community be like when we move from seeing each other on weekends and constantly sending email – to actually living right next door? Will we survive?

Of course we will, but I just don’t know what it’ll be like.

The Mysterious Geographic Explorations of Jasper Morello

At Arisia ’08 I saw this video as part of their film series. The DVD was not available at the time, though it’s one that I do want to add to my collection. (edit: apparently it is available at JasperMorello.com, which appears to be down at the moment).
Now, here it is in it’s entirety…
[youtube http://www.youtube.com/watch?v=vORsKyopHyM&color1=0xb1b1b1&color2=0xcfcfcf&hl=en&feature=player_embedded&fs=1]
It is a dark steampunk story that has been nominated for several awards. Think Jules Verne meets Edgar Allen Poe.
Thanks to Boingboing for the heads up.

Day 3 – Still sick

I’m sick.
I started noticing the telltale throat itchiness Thursday night, and by Friday morning it was in full swing. We’re to the point of thinking this is flu now, as I’ve been down for almost 3 days, and at last sensor check, I’m running a 101 fever.
Sudafed and Nyquil are keeping things under control at night, but I’m really tired of being weak as a kitten.
I have however been enjoying browsing Hulu to watch some shows I never get around to seeing. I really want to watch Heroes and BSG from season 1 on, but Hulu doesn’t apparently have them online (Sad!).
What I have been watching is Legend of the Seeker, the TV adaptation of Terry Goodkind’s books. All in all, they’re not awful – the casting of the main characters is good, though a lot of the incidental roles are terrible. I have read the books, so I didn’t have high expectations for the television series, and so far things seem to be meeting that bar 🙂
What bothers me most is that this show went to 22 episodes,and Firefly, which I still feel is a vastly better series, was cancelled at 12. I just don’t understand Hollywood.
Back on the sick front, I may have exacerbated this whole flu thing yesterday, where I spent the whole day helping Mosaic folks move materials out of our basement and into the common house. We needed to get this stuff moved now so that we can clean the basement, and there really wasn’t an option to ‘sit it out’. The crew was awesome, and I managed to make it through without having to do any heavy lifting (not that I could anyway), and we got everything moved without mishap. Yay community!
Now back to medicine and bedrest.

Blog Refactoring underway

It really was time.
Planet-Geek’s style really was getting long in the tooth. When I first set up the blog, I hacked the templates and stylesheet enormously to get it to look a certain way. What that meant though was I ended up with templates that could not be updated in any sane fashion.
Tonight I took the nuclear option, and wiped out all my old templates, applied a new ‘standard’ style to the site, and regenerated all the archives from scratch. I did do a little bit of fiddling to get the AdSense ads back in place, and a few other small layout tweaks, but mostly the current design is right out of the MovableType Style Library.
What this means, though, is now that I’m back on standard templates, I can start enabling some of the features that were missing with the old setup. I won’t let the cat out of the bag, but at least two of the features are things folks have been clamoring for. Stay tuned!
If you notice anything wonky in the layout or styles, please let me know. I’ll be tuning for a little while still.

iDracula for the iPhone. iCarnage!!!

Just a quick one before I head off to my next meeting. My latest addiction for the iPhone is called ‘iDracula’. It’s sort of a mix of Diablo vs Quake vs Robotron. The 19th century ‘van helsing’-esque setting is beautifully rendered, and the soundtrack adds the appropriate head-banging necessary for any good vampire slaughtering.
There’s a great video of it in action on YouTube.
One thing I have to comment on – this is the first interactive action game on the iPhone that I feel gets the controls right. They use a pair of ‘wheels’ on the screen – one for motion, one for firing. Given the iphone’s lack of any other gaming controls, this seems to be an excellent compromise, allowing very easy motion and action.
There are a few known bugs. Settings aren’t being saved between games, it’s occasionally tricky to switch weapons in mid-melee, and there are occasional pauses. I picked it up off the appstore during a sale for $1, but it’s easily worth a lot more than that.
I hope the developers do continue to update it – a larger play area, or a decent levelling mechanism (finish this level, waste the bosses, move on to the next level) would be a definite win.

The problem with cloud computing – or “BITE ME, GOOGLE”

While browsing around this afternoon using the (usually) awesome Google Reader, I saw a sudden change in my entire look and feel. Apparently Google decided to punch out an update to Reader while i was using it. No notification, no information about it, just “oh, by the way, here’s a redesign of your page layout.”
Fortunately, the reader blog has a handy link to their “news” blog – that should have some information on what just happened…
Guess not. (for those perusing this later, the first article on that page is currently ‘READ WRITE DRINK”, or this article here. Nothing about an update, no news about changes to the site. Guess we’re on our own.
A mark against cloud computing, and a mark for locally installed apps.