libusb should offer a means of reset. I maintain a package for ArchLinux called restmsmice (<a href="http://sourceforge.net/projects/resetmsmice">http://sourceforge.net/projects/resetmsmice</a>) based on libusb, that does essentially that, reset the usb port, albeit just of a specific input device in this case a mouse, so the device will work properly if dual booting with Windows. Source code could be helpful. <br>
<br>What distro / kernel are you using? Could also be a driver problem with your USB ports since you are unmounting it. <br><br clear="all"><div>--<br>Jeremy MountainJohnson<br><a href="mailto:Jeremy.MountainJohnson@gmail.com" target="_blank">Jeremy.MountainJohnson@gmail.com</a></div>
<br><br><div class="gmail_quote">On Wed, Jan 30, 2013 at 11:11 AM, Max Shinn <span dir="ltr"><<a href="mailto:max@bernsteinforpresident.com" target="_blank">max@bernsteinforpresident.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 1/30/13, Erik Mitchell <<a href="mailto:erik.mitchell@gmail.com">erik.mitchell@gmail.com</a>> wrote:<br>
> I've run into this problem a few times. When I plug in a USB mass<br>
> storage device, such as my Kindle or my iPhone 4, it will show up as a<br>
> device and I can mount it, and everything is great.<br>
><br>
> However, if I unmount it and unplug it, and then plug it in again, it<br>
> isn't detected by the USB system. I have tried different cables to no<br>
> avail.<br>
<br>
</div>Does the same thing happen for normal flash drives, or just with<br>
devices? I know my Maemo phone likes to do this every now and then<br>
for no apparent reason.<br>
<span class="HOEnZb"><font color="#888888"><br>
-Max<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota<br>
<a href="mailto:tclug-list@mn-linux.org">tclug-list@mn-linux.org</a><br>
<a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/mailman/listinfo/tclug-list</a><br>
</div></div></blockquote></div><br>