FreeBSD audio setup

For magical reasons, audio on my FreeBSD desktop has just worked. That was true in VLC as well Firefox. Today I plugged in a set of USB headphones and somehow expected things to just work. No such luck.  dmesg yields:

uaudio0 numa-domain 0 on uhub1
uaudio0: on usbus0
uaudio0: Play: 48000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Play: 44100 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Play: 32000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Play: 24000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Play: 16000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Play: 8000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Record: 48000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Record: 44100 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Record: 32000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Record: 24000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Record: 16000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Record: 8000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer.
uaudio0: No MIDI sequencer.
pcm6: numa-domain 0 on uaudio0
uaudio0: HID volume keys found.

It took some exploring but I finally found that I had to tell pulse audio what "sink" to use.  The sinks are given by the pcm number and for some reason pulse wasn't picking the device given by hw.snd.default_unit which would have been 6 in my case (see pcm6 above) but 4.  I don't know where that 4 came from.  So I did a couple of things.  First off I updated /etc/sysctl.conf to include:


Then I updated /usr/local/etc/pulse/client.conf to include:

default-sink = 6
default-source = 6

I still have an issue with xmixer but that's another problem for another day.


Once again, trying to create a post on Blogger which will appear in G+.  At this point I've very little faith that this will work.  Even if it does, what are the chances that someone at the g-plex though to make comments which are posted on Blogger show up in G+ and vice-versa?  As of last night's test comments just didn't show up at all :-(.



Yesterday I had the opportunity to take E460 (once E253) to Salem for the wedding of a firefighter. This turned out to be somewhat of an adventure.

The trip down was uneventful, we got to Salem and found the downtown station easily enough. The guys there were really cool about allowing me to wash E460 so she'd be at her best. While I was doing this June felt the need for a restroom which they obliged. Unfortunately she got locked in there and they had to disassemble the lock to get her out :-).

We then found a place called "The Word of Mouth Bistro" which had terrific food. We took a walk while waiting for our time to join the nuptial fun and determined that Oregon has the ugliest capital in the nation (of those we knew) but has some great trees around the area including a giant sequoia.

About 30 minutes late we got the call to show up at the wedding site, we met the wedding coordinator and parked the engine as required. When they got done getting married we enjoyed the look of surprise and stood back while the photographer and videographer(s) did their thing. Once all the pictures were taken we loaded them up, hauled them to the reception, used the facilities and hit the road. Yeah, that's all they wanted, a ride from the wedding to the reception. However this seemed to mean a lot to the groom so it was all worth it.

The trip back home seemed to be going well, we listened to music, chatted, and generally enjoyed the nice weather until the 185th exit off of Hwy 26. Sadly E460's left front tire decided to go boom. I'd never had a blowout before, let alone a blowout in a truck. Things were happening in slow motion, the rig decided to start heading into the passing lane, I re-lived all my emergency driving classes, several profanities were uttered. Before anything could go seriously wrong I took control of the engine and coaxed/wrestled her to a stop on the right shoulder.

It turns out that we don't carry a baby-spare on engines. Sigh. I called my chief and asked him what he recommended I do. As one might expect of a chief, he took charge. About 1.5 hours later he and Bill showed up in the utility with a couple of jacks, tools, and a spare wheel. We mounted it up in under an hour, and got back on the road for home. After a while we noticed the smell of hot rubber and pulled over (paranoia runs deep with this boy). It turns out that the new tire was much warmer than the other five. We let things cool off a while and with several stops to cool off/check things out we finally made it home. The chief & Bill came out to rescue us on a Saturday evening, just because that's the sort of people they are. Even with almost five years as a volunteer fire-fighter, I still find it incredible that people would do this.


USPS rocks!

I just received a letter addressed: Michael Galassi next to Steve <my neighbor's last name> Birkenfeld, OR 97016 The town is wrong, Mist, not Birkenfeld, but hey, neither town is large enough to host a post office so we both piggy-back on Clatskanie's ZIP code. The sender didn't know my address, but I'd mentioned living near Steve's place some time back so this just seemed like the natural way to address a letter. USPS just makes it happen, no matter how vague our notion of what we're doing is. Think about it, this is a branch of the US GOVERNMENT. Do I need to repeat that? Yet they take what they do seriously enough to work around any and all little impediments we put in their way.


Words of wisdom

Alan Batie, a good friend of mine posted this to his FaceBook wall. I'm reposting it here so I always have easy access to his elegant presentation of what should be obvious.

A right is something you have inherently, not something someone else gives you. How can you have a right to something which may not even be possible, e.g. no doctor in a small town in the middle of nowhere. Are you going to force a doctor to go there? The concept is... just silly. Society may have a duty to provide some minimum level of care to its members, but individuals do not have a right to force other people to do things for them. There is a big difference.



I keep getting email with disclaimers at the end of them, this is one I got today (emphasis mine):

PUBLIC RECORDS LAW DISCLOSURE: Emails are generally public records and therefore subject to public disclosure unless exempt from disclosure under Oregon Public Records Law.

Emails can be sent inadvertently to unintended recipients and contain confidential or privileged information. If you are not the intended recipient (or authorized to receive for the recipient), please advise by return email and delete immediately without reading or forwarding to others. Thank you.

Does the author of this message think every reader is going to start by going to the end of the message to read the disclaimer? If not, why do they instruct one to delete immediately without reading? Besides, who on earth do these people think they are to shift the burden of determining if I'm allowed to read the message to me? What other decisions do I get to make for them? Since I'm making their decisions for them, I'd like 50% of their salary donated to the Feral Cat Coalition of Oregon.


more ghosts

Over and above the ghosts from my past which have caught up to me on FaceBook, a pair of ghosts recently popped out of the blue and contacted me.

A week or so ago, Kathwren dropped me a line to invite me to her parent's 50th wedding anniversary. It was through Katherine that I met her parents (George & Sally) who hired me into my first job writing software. She was definitely a pivotal person in my existence.

Just yesterday Kelly dropped me a line, she is the oldest of three girls in a family I hung out with a lot in the mid 80s. Much went on in those days, some good, some bad, and some forgotten in a haze of pot smoke. My life has changed a lot, I'm certain hers will have too, I wonder if there's any commonality left.

Hopefully I'll get to touch bases with both and at least catch up on where our roads have taken us.



A couple of weeks ago I created a facebook account. Seemed like a dumb idea at the time, but I was feeling pissy as some football player by my name was taking up every instance of "Michael Galassi" on the web and I wanted to stake my spot out where I could. Turns out that facebook isn't a spot I needed to worry about since they support multiple instances of any given identifier, but...

Anyhow, this has been cool. I've located a bunch of people from my past. You're thinking "Duh, that's what facebook is about". But that's not the point, for each of those people I've written down the preeminent thought triggered by their reappearance in my mind. There are exceptions like my brother, there's way too much to write there. I wonder if this is what getting old is all about, starting to live in one's mind as much as in one's space. If you know or knew me, feel free to friend me on facebook, I'm not that picky :-).

Time to abandon the mind and return to my space for a while.



Yesterday a friend asked me for pointers to some podcasts I listen to. Here's the list:

Capital Steps radio shows
BSD talk
BBC farming today
Grammar girl
Science @ NASA
I, Cringely
LKML summary
Wait Wait, Don't Tell Me
Whad'Ya Know
The Onion Radio News
NYT's Science Times
PRI's The World Science
PRI's The World Technology
There is occasional overlap in these 6 from NPR
NPR driveway moments
NPR story of the day
NPR on the environment
NPR on science
NPR science friday
NPR technology

fire expo

Yesterday I went to the Portland Fire Expo with a couple of friends. There were not as many toys as last year, but the real indicator of the state of the economy was that instead of baseball caps and tee-shirts, vendors were giving out candy-bars. Works for me .