Sunday, May 24, 2009

Sansa e200 Seires not mounting: Bug #355998 in linux (Ubuntu): usb-storage

For anyone that has a Sansa e200, e250, e270 etc, series, and they've upgraded / updated to Ubuntu 9.04 Jaunty Jackalope, you may have run into some of the issues that I did. - The thing just won't mount. Sorta kills the gPodder and OggCast joy. So I found this patch that solves the problem. Yet you'll get prompted to update the new patched code. I know there's away to stop that, but I'm not sure how, at this moment. I tried the Synaptic Force Version, and I ended back up with a new version. So... I'm not the one to ask about that. But this link, is the one that helped out.

Bug #355998 in linux (Ubuntu): “usb-storage: waiting for device to settle before scanning”

Please note, you need to have the Source Code option turned on in your Software Sources. - something most people don't have turned on.

I spaced out this little checkbox, ran into errors, it wasn't working for me at first. I needed the source code. DOH!

cd /usr/share/hal/fdi/preprobe/10osvendor/
sudo apt-get install build-essential devscripts

apt-get build-dep libgphoto2
apt-get source libgphoto2
sudo wget
sudo patch -p0 -i libgphoto_sansa.diff
cd libgphoto2-2.4.2
debuild -uc -us
cd ..
sudo dpkg -i libgphoto2-2_2.4.2-0ubuntu4_i386.deb

And you'll get a screen full of stuff like this:

It'll take a little time...

From Synaptic Package Manager I've tried to "Pin" it, and lock it, and I'm not doing something right, as I keep getting an update prompt... Sigh...



  1. Thanks for this information! I was able to get my Sansa e280 working with Jaunty thanks to your post. However, I ran into a few problems with the shell commands you included. I thought I'd comment here, since your blog post has a higher search rank in Google than the actual Launchpad bug.

    1. There's no reason to pollute the HAL directory tree by working there; everything can and should be done from your home directory.

    2. 'debuild' doesn't have a separate package in Jaunty; it comes with 'devscripts.'

    3. All of the installation steps need to be performed as root.

    Based on these discoveries, I believe a working command sequence is:
    cd ~
    sudo apt-get install build-essential devscripts
    sudo apt-get build-dep libgphoto2
    sudo apt-get source libgphoto2
    patch -p0 -i libgphoto_sansa.diff
    cd libgphoto2-2.4.2
    debuild -uc -us
    cd ..
    sudo dpkg -i libgphoto2-2_2.4.2-0ubuntu4_i386.deb
    This worked for me!

  2. Thanks very much for the guide. It worked for me. I had to make a few small adjustments for this to go on my Xubuntu Jaunty install - actually the same stuff Paganini suggests. But my mp3 player mounts fine now. Thanks again!

  3. Thanks, I finally managed to get my Sansa e250 working using Paganini's modified instructions. I'm kind of a newbie to linuxstuff, though, so I have a question: my home folder now has a heap of new files and folders in it, which is not so tidy. Can I delete them (or some of them), or will this make my sansa stop working?

    They are:



    Thanks for the help!

  4. Cool...This worked perfectly..!


Thanks for the Comments.

Raspberry Pi Zero setup for Motion Eye

First off, I'd like to say thanks to  Calin Crisan for his work on Motion eye. He's posted a few how to's on his Github page...