Getting audio to work on a HP Pavilion dv5 / Ubuntu 9.10
It looks like the problem is still there in Ubuntu 9.10, and it looks like the old fix still works. But it looks gorgeous.
It looks like the problem is still there in Ubuntu 9.10, and it looks like the old fix still works. But it looks gorgeous.
PLEASE DO NOT FOLLOW THE INSTRUCTIONS IN THIS POST UNLESS YOU KNOW WHAT YOU ARE DOING.
Pulse audio seems to be a constant source of trouble for me while providing no benefits at all (at least not any noticeable ones). So here's how to get rid of it:
Open /etc/X11/Xsession.d/70pulseaudio in a text editor and comment out everything (put a # in front of every line) and then save it.
This will prevent pulse audio from being started when you log in.
I bought myself a new HP Pavilion dv5 notebook because my old Lenovo broke. It's a bit too shiny for my taste but anyway. Installing the new Ubuntu was a breeze. After installing I noticed that audio playback using the speakers didn't work. Too bad. So here's the solution that worked for me.
Open /etc/modprobe.d/alsa-base.conf and add the following lines at the end of the file:
alias snd-card-0 snd-hda-intel alias sound-slot-0 snd-hda-intel options snd-hda-intel model=dell-m4-1 options snd-hda-intel enable_msi=1
Reboot and everything should work again (or just reload the snd-hda-intel with the new parameters).
I hope that helps,
Jonas
Changes
Compatibility with python 2.6 means that this release should work with Ubuntu 9.04 etc.

You can fordward ports from userspace using netcat like this:
nc -l -p $localport -c "nc $remotehost $remoteport"
Example:
nc -l -p 8888 -c "nc example.com 8888"
Caution: This starts a new process for ever connect to the port.
Firefox 3.1 introduced a new button to create tabs. This button is useful for people who don't know or can't remember the shortcuts. For me it's just cluttering the interface. ;) So here's how to remove that button:
First you'll have to find your userChrome.css. It's depends on your operating system and username. The first thing you have to do is to find your firefox profile folder:
| Operating System | Path |
|---|---|
| Linux | ~/.mozilla/firefox/*.default |
| Windows (XP) | C:\Documents and Settings\<user name>\Application Data\Mozilla\Firefox\Profiles\<something>.default |
In case you can't find your profile folder there is an Article in Mozillas wiki about this.
In your profile folder there is a folder called chrome. In there you should find a file called userChrome.css. If it doesn't exist just create it. Finally add the following to your userChrome.css
.tabs-newtab-button {display:none !important;}
That's it.
Today I hooked up my BOSS GT-10 to my computer. And do you know what? It just works. So here's what I've tested so far:
Everything works as expected so far. There are some xruns when using jack at low latencies (~ 5ms). I guess one could get rid of them using a realtime kernel or some fiddling. But doesn't matter anyway because I do monitoring using the GT-10.
MIDI Support for the GT-10 seems to be included in the Linux Kernel since 2.6.28
I'll try to do some re-amping and midi later
And there it is, a new version of play it slowly. It fixes all known bugs and even adds some features
If you've got suggestions please write a comment

It annoyed me for quite some time now that playback in TuxGuitar only worked when I closed all other audio applications. The reason for this was that timidity, the midi software synthesizer I use didn't use the software mixing (dmix) provided by alsa. The solution to this is quite simple. Edit /etc/default/timidity and replace this line:
TIM_ALSASEQPARAMS="-Os"
with this one:
TIM_ALSASEQPARAMS="-Os -o default"
and then restart timidity:
/etc/init.d/timidity restart
You should now be able to use TuxGuitar and every other application that uses midi together with other audio applications
I've just released the first version of play it slowly. A software that allows you to change the speed and pitch of audio files.

Jonas Wagner
Software Engineer
Zürich, Switzerland
More about me
guitarmasterclass.net (guitar lessons)