I 'accidentally' wrecked my gnome desktop (no menus, toolabrs etc.) - I had been doing a bit of tidying up and must have uninstalled something important. I could not decide what, so re-installed the whole ubuntu-desktop package.
This came with pulseaudio again, so sound stopped working like last time.
Decided to invest an hour in sorting it. No real success searching on the web, but I did find this article - http://ubuntuforums.org/showthread.php?t=962695. The author provided a little script to update the ALSA drivers automatically, and quite a few people reported that this cured the sound for them.
I am always wary about running unknown programs as root, but the script looked safe enough - just an automated way of downloading the ALSA source packages and running 'make install' etc. so I trusted it.
It ran and it installed ALSA 1.0.20, compared to version 1.0.18 in the Ubuntu package.
To my surprise, when I re-booted the computer, sound is back!
Descriptions of some of my geeky projects in case I need to remember what I did in the future.
Tuesday, 9 June 2009
More Ubuntu 9.04 Sound Problems
I 'accidentally' wrecked my gnome desktop (no menus, toolabrs etc.) - I had been doing a bit of tidying up and must have uninstalled something important. I could not decide what, so re-installed the whole ubuntu-desktop package.
This came with pulseaudio again, so sound stopped working like last time.
Decided to invest an hour in sorting it. No real success searching on the web, but I did find this article - http://ubuntuforums.org/showthread.php?t=962695. The author provided a little script to update the ALSA drivers automatically, and quite a few people reported that this cured the sound for them.
I am always wary about running unknown programs as root, but the script looked safe enough - just an automated way of downloading the ALSA source packages and running 'make install' etc. so I trusted it.
It ran and it installed ALSA 1.0.20, compared to version 1.0.18 in the Ubuntu package.
To my surprise, when I re-booted the computer, sound is back!
This came with pulseaudio again, so sound stopped working like last time.
Decided to invest an hour in sorting it. No real success searching on the web, but I did find this article - http://ubuntuforums.org/showthread.php?t=962695. The author provided a little script to update the ALSA drivers automatically, and quite a few people reported that this cured the sound for them.
I am always wary about running unknown programs as root, but the script looked safe enough - just an automated way of downloading the ALSA source packages and running 'make install' etc. so I trusted it.
It ran and it installed ALSA 1.0.20, compared to version 1.0.18 in the Ubuntu package.
To my surprise, when I re-booted the computer, sound is back!
Monday, 11 May 2009
Ubuntu 9.04 Sound Problems
I upgraded my Fujitsu-Siemens laptop to Ubuntu 9.04 from 8.10 a few days ago.
Everything worked fine except for sound. Sound went from working perfectly in 8.10 to being quiet, and awfully crackly in 9.04.
If I updated the gnome settings to use OSS rather than ALSA it worked ok, except flash movies still made crackly noises (I don't think flash can use OSS).
I messed about with the gnome mixer without luck, except I did notice that changing the PCM volume did nothing (which is wrong), but changing the 'beep' volume did alter the sound volume (Along with crackles).
I don't know why the beep and PCM are the wrong way around, and don't have time to work out how sound works properly, so I went for brute force and ignorance - I had heard a suggestion that Pulseaudio might be the problem, so I replaced pulseaudio with esound, and it all seems to work now...
Therefore, I don't know what the problem was, but it was cured by getting rid of pulseaudio...
Everything worked fine except for sound. Sound went from working perfectly in 8.10 to being quiet, and awfully crackly in 9.04.
If I updated the gnome settings to use OSS rather than ALSA it worked ok, except flash movies still made crackly noises (I don't think flash can use OSS).
I messed about with the gnome mixer without luck, except I did notice that changing the PCM volume did nothing (which is wrong), but changing the 'beep' volume did alter the sound volume (Along with crackles).
I don't know why the beep and PCM are the wrong way around, and don't have time to work out how sound works properly, so I went for brute force and ignorance - I had heard a suggestion that Pulseaudio might be the problem, so I replaced pulseaudio with esound, and it all seems to work now...
Therefore, I don't know what the problem was, but it was cured by getting rid of pulseaudio...
Ubuntu 9.04 Sound Problems
I upgraded my Fujitsu-Siemens laptop to Ubuntu 9.04 from 8.10 a few days ago.
Everything worked fine except for sound. Sound went from working perfectly in 8.10 to being quiet, and awfully crackly in 9.04.
If I updated the gnome settings to use OSS rather than ALSA it worked ok, except flash movies still made crackly noises (I don't think flash can use OSS).
I messed about with the gnome mixer without luck, except I did notice that changing the PCM volume did nothing (which is wrong), but changing the 'beep' volume did alter the sound volume (Along with crackles).
I don't know why the beep and PCM are the wrong way around, and don't have time to work out how sound works properly, so I went for brute force and ignorance - I had heard a suggestion that Pulseaudio might be the problem, so I replaced pulseaudio with esound, and it all seems to work now...
Therefore, I don't know what the problem was, but it was cured by getting rid of pulseaudio...
Everything worked fine except for sound. Sound went from working perfectly in 8.10 to being quiet, and awfully crackly in 9.04.
If I updated the gnome settings to use OSS rather than ALSA it worked ok, except flash movies still made crackly noises (I don't think flash can use OSS).
I messed about with the gnome mixer without luck, except I did notice that changing the PCM volume did nothing (which is wrong), but changing the 'beep' volume did alter the sound volume (Along with crackles).
I don't know why the beep and PCM are the wrong way around, and don't have time to work out how sound works properly, so I went for brute force and ignorance - I had heard a suggestion that Pulseaudio might be the problem, so I replaced pulseaudio with esound, and it all seems to work now...
Therefore, I don't know what the problem was, but it was cured by getting rid of pulseaudio...
Wednesday, 15 April 2009
What has been happening?
I've been forgetting to update this with what has been happening.
WherewasI now has a Python/GTK front end that allows you to plot your GPX traces on a OpenStreetMap map to see where you were, as well as altitude profiles etc. It could still do with a few more features, but it does most of what I want at the moment.
I have decided to make a concerted effort to finish off mapping Hartlepool for OpenStreetMap. The main problem is that am better at cycling around collecting GPX traces than I am at recording the street names. This means I end up with lots of roads with no names - no use if anyone wants to search for an address....To do this I decided to use audio mapping by recording audio clips with my mobile phone. The clips are GeoTagged using data from a little bluetooth GPS receiver. I use GPSMid on the mobile phone. Unfortunately it does not produce the GPX file, or the audio clips in the correct format for the JOSM OpenStreetMap Editor. I wrote a little python script to do the conversion so you can see the positions of the audio clips in the JOSM Editor (See the OSM GPSMid Page for details.
WherewasI now has a Python/GTK front end that allows you to plot your GPX traces on a OpenStreetMap map to see where you were, as well as altitude profiles etc. It could still do with a few more features, but it does most of what I want at the moment.
I have decided to make a concerted effort to finish off mapping Hartlepool for OpenStreetMap. The main problem is that am better at cycling around collecting GPX traces than I am at recording the street names. This means I end up with lots of roads with no names - no use if anyone wants to search for an address....To do this I decided to use audio mapping by recording audio clips with my mobile phone. The clips are GeoTagged using data from a little bluetooth GPS receiver. I use GPSMid on the mobile phone. Unfortunately it does not produce the GPX file, or the audio clips in the correct format for the JOSM OpenStreetMap Editor. I wrote a little python script to do the conversion so you can see the positions of the audio clips in the JOSM Editor (See the OSM GPSMid Page for details.
What has been happening?
I've been forgetting to update this with what has been happening.
WherewasI now has a Python/GTK front end that allows you to plot your GPX traces on a OpenStreetMap map to see where you were, as well as altitude profiles etc. It could still do with a few more features, but it does most of what I want at the moment.
I have decided to make a concerted effort to finish off mapping Hartlepool for OpenStreetMap. The main problem is that am better at cycling around collecting GPX traces than I am at recording the street names. This means I end up with lots of roads with no names - no use if anyone wants to search for an address....To do this I decided to use audio mapping by recording audio clips with my mobile phone. The clips are GeoTagged using data from a little bluetooth GPS receiver. I use GPSMid on the mobile phone. Unfortunately it does not produce the GPX file, or the audio clips in the correct format for the JOSM OpenStreetMap Editor. I wrote a little python script to do the conversion so you can see the positions of the audio clips in the JOSM Editor (See the OSM GPSMid Page for details.
WherewasI now has a Python/GTK front end that allows you to plot your GPX traces on a OpenStreetMap map to see where you were, as well as altitude profiles etc. It could still do with a few more features, but it does most of what I want at the moment.
I have decided to make a concerted effort to finish off mapping Hartlepool for OpenStreetMap. The main problem is that am better at cycling around collecting GPX traces than I am at recording the street names. This means I end up with lots of roads with no names - no use if anyone wants to search for an address....To do this I decided to use audio mapping by recording audio clips with my mobile phone. The clips are GeoTagged using data from a little bluetooth GPS receiver. I use GPSMid on the mobile phone. Unfortunately it does not produce the GPX file, or the audio clips in the correct format for the JOSM OpenStreetMap Editor. I wrote a little python script to do the conversion so you can see the positions of the audio clips in the JOSM Editor (See the OSM GPSMid Page for details.
Sunday, 22 February 2009
GPX Track Analyser
I have realised why I never finish anything - it is far too easy to get distracted by another little job.
This time my daughter asked me how far we had climbed after a very hilly bike ride on our holidays.
I was a bit disappointed that I could not give an instant answer, as I had a track log from my Garmin Etrex GPS device, which includes elevation data.
Therefore that evening I wrote a little program in Python to analyse GPX files and provide some basic statistics on the route - this can be found at http://code.google.com/p/wherewasi.
This time my daughter asked me how far we had climbed after a very hilly bike ride on our holidays.
I was a bit disappointed that I could not give an instant answer, as I had a track log from my Garmin Etrex GPS device, which includes elevation data.
Therefore that evening I wrote a little program in Python to analyse GPX files and provide some basic statistics on the route - this can be found at http://code.google.com/p/wherewasi.
Subscribe to:
Posts (Atom)