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 http://launchpadlibrarian.net/25783305/libgphoto_sansa.diff
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...
R_
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.
ReplyDelete1. 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
wget http://launchpadlibrarian.net/25783305/libgphoto_sansa.diff
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!
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!
ReplyDeleteThanks, 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?
ReplyDeleteThey are:
Folders:
libgphoto2-2.4.2
Boxy-things:
libgphoto2_2.4.2.orig.tar.gz
libgphoto2_2.4.2-0ubuntu4.diff.gz
libgphoto2-2_2.4.2-0ubuntu4_i386.deb
libgphoto2-2-dev_2.4.2-0ubuntu4_i386.deb
libgphoto2-port0_2.4.2-0ubuntu4_i386.deb
Documents:
libgphoto2_2.4.2-0ubuntu4.dsc
libgphoto2_2.4.2-0ubuntu4_i386.build
libgphoto2_2.4.2-0ubuntu4_i386.changes
libgphoto_sansa.diff
Thanks for the help!
Cool...This worked perfectly..!
ReplyDeleteThanks..