Slow USB in Ubuntu

I have been plagued with USB file transfer slowness in Ubuntu since version 10-something. It would manifest as a long delay between short bursts of file transfer.

After reading several forum postings, I never really saw a solution that worked. One suggested adding “pci=acpi” in a startup file, but that didn’t seem to do anything for me. Another suggested that the graphic card and the USB were having a bus conflict of some kind. Then I thought, perhaps the common issue here really is the computer rather than the OS.

Solution: I changed BIOS to disable “legacy” support for USB. Tonight I transferred from two different USB devices and each went through with no delays. The speed wasn’t phenomenal, but the stop-start thing didn’t manifest at all. I’ll still have to try some very large files, but some 100MB files went through fine.

UPDATE: Just transferred some 2GB files from a video camera and there were no pauses at all, and about 9.5MB/sec. I think the BIOS setting is really the root of this issue, though it may have a software component to it.

Lightscribe in Ubuntu 13.04

I recently had to upgrade to Ubuntu 13.04 as part of a recovery of my operating system (made a wildcard boo-boo while sudo…)

But the upgrade broke the ability to use Lightscribe. I eventually got the latest HP software installed and the LaCie gui installed, but the LaCie program didn’t see the DVD drive, even though the drive worked fine for other programs. https://help.ubuntu.com/community/LightScribe

A user named shizeon on the Ubuntu forums found out that one of the libraries (libstdc++.so.5) is installed by default in, you guessed it, A NEW LOCATION!!! Where have I heard that recently? Stuff breaks when you change from where existing programs look by default… Anyway, here is a link to his posting and solution:
http://ubuntuforums.org/showthread.php?t=2147964

The two magic changes are to remove the library from the i386-linux-gnu location, and create a symbolic link to the location in the /usr/lib/lightscribe/ location


cd /usr/lib/i386-linux-gnu

/usr/lib/i386-linux-gnu$ sudo rm /usr/lib/i386-linux-gnu/libstdc++.so.5

/usr/lib/i386-linux-gnu$ sudo ln -s /usr/lib/lightscribe/libstdc++.so.5.0.7 /usr/lib/i386-linux-gnu/libstdc++.so.5

(Careful…long code wraps on this page)

Or make a script out of the above. Remember to make the script executable (right click, Properties, Permissions, check box next to Execute):


#!/bin/sh

sudo rm \/usr\/lib\/i386-linux-gnu\/libstdc++.so.5

sudo ln -s \/usr\/lib\/lightscribe\/libstdc++.so.5.0.7 \/usr\/lib\/i386-linux-gnu\/libstdc++.so.5

Now the LaCie 4L-gui sees my drive and I’m back in business! (Note: Rebooting seems to kill the link and I had to do it over again, even though the link was present)

New mounting location of media in Linux

In my last upgrade of Ubuntu Linux it seems that new drives are being mounted under /media/username instead of just /media. This was apparently a decision by those creating the Linux kernel rather than just an Ubuntu thing.

I think that the best way to prevent scripts from breaking under this is the create a symbolic link to the old location:
sudo ln -s /media/username/BIGDRIVE /media/BIGDRIVE

Not sure why they decided to do this. Rather annoying, but there it is.

And the Gnome developers removed disk free space from the status line of Nautilus. Why is it every time they make a change, they think it is a great idea, and I only want to beat them about the head and shoulders? How about stop removing useful stuff that real people use daily, and add stuff that might be useful? The also removed the ability to right-click and create a text file. That was uber useful for quickly pasting text. Stop being a cloistered community and start asking people about how they actually use your software. MS did the same malarky when they redesigned Office and made us click multiple times to get to something that used to be one click. Bah!