A patch to fix audio_alsa_sink[hw:0,0]: snd_pcm_hw_params failed

Last night, while I was preparing for the AMSAT-OZ satellite weekend, I noticed that my gqrx receiver didn’t work very well on my laptops. Every time I tried to change operating mode the receiver stopped with a runtime error:

audio_alsa_sink[hw:0,0]: snd_pcm_hw_params failed: File descriptor in bad state
terminate called after throwing an instance of 'std::runtime_error'
what():  check topology failed on audio_alsa_sink(1) using ninputs=1, noutputs=0

This happened on both my Acer and my MacBook Pro; both running the lates git of GNU Radio v3.3.1git-96-g1fa9a8ea. This was bad news because I was hoping to show off my new software receiver with Qt GUI during the weekend. Fortunately, there is an easy workaround that eliminates the problem.

Read more

The downsampling experiment

As I mentioned in my previous post, my “optimizations” of the multi-mode receiver code caused a sudden loss in performance.This was a big surprise because what I did was to replace two filters with only one, which I would expected to yield a performance gain and certainly not a loss. What happened at the same time was that the sample rate in the demodulators went from 50 ksps to 250 ksps and it was the responsibility of the demodulators to downsample this to 50 ksps. I suspected that this might have cause the increased CPU load and I have set up a simple experiment to confirm it.

Read more

Ubuntu 10.10 on the Acer Aspire 5745G Laptop

Now that Ubuntu 10.10 is out I am slowly upgrading my computers one by one. Today it was time to perform the upgrade on my newest (in terms of technology) and most bad ass computer, the Acer Aspire 5745G Laptop. I have previously written about running Ubuntu 10.04 on it, which was the first Linux OS I have installed. Already with Ubuntu 10.04 everything was working and only the Ethernet interface required manual installation of driver. Installing Ubuntu 10.10 was a simple matter of performing the upgrade from within the package manager.

Read more

Gumstix OVero Fire and Tobi after the crash landing

The connectors on the Tobi expansion board got broken during the crash landingAs I mentioned last week, the Gumstix Overo Fire COM and the Tobi expansion board looked surprisingly well after the crash landing of the failed rocket. Yesterday, I have had a chance to take a closer look at the boards and see what damage has occurred to them. Once I separated the two boards from each other it was obvious that the 70 pin AVX connectors were damaged on both board. The electrical connections on the Gumstix Overo Fire are still OK despite the damaged connector, but the Tobi board got damaged beyond repair (PCB tracks ripped off). Below you will find some close-up photos and a video about the damaged connectors.

Read more