Restart USB in Ubuntu Jaunty/Karmic

I’ve written a few posts about restarting USB service in Ubuntu before. This is an update to that process for Ubuntu 9.04 (Jaunty) and Ubuntu 9.10 (Karmic).

As of Ubuntu Jaunty, the usb kernel module is called usb_storage. To restart USB you need to remove this module and add it back in. This can be achieved with the following command line one-liner.

sudo modprobe -w -r usb_storage; sudo modprobe usb_storage

This is useful if you’ve been having trouble getting a USB drive or digital audio player to mount.

10 thoughts on “Restart USB in Ubuntu Jaunty/Karmic

  1. Daniel

    Yeah; I tried it and got:

    modprobe: invalid option — ‘w’
    Usage: modprobe [-v] [-V] [-C config-file] [-d ] [-n] [-i] [-q] [-b] [-o ] [ –dump-modversions ] [parameters…]
    modprobe -r [-n] [-i] [-v] …
    modprobe -l -t [ -a …]

    11.04 Natty.

    Reply
    1. Linerd Post author

      The -w option must have been eliminated. It caused the shell to wait until the command was done before executing the next command. Perhaps this slightly modified command will work for Natty:
      [term]sudo modprobe -r usb_storage; wait; sudo modprobe usb_storage[/term]

      Reply
  2. Pingback: Hard Reset USB in Ubuntu 10.04 Drija

  3. Pingback: Reiniciar almacenamiento USB en Ubuntu (Jaunty y Karmic) | Kernel Source

  4. Pingback: Destillat 22-01-2010 | duetsch.info - Open Source, Wet-, Web-, Software

  5. Pingback: Links 19/1/2010: A Lot of LCA Coverage, Linux 2.6.32 Gets Extended Maintenance | Boycott Novell

  6. Pingback: fsdaily.com

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.