Tuesday, April 10, 2018

Linux - USB3 suddenly disconnects

Ok people, this is the stupidest thing ever for Linux.  All of a sudden my usb3 flash disks made a connection and then disconnected.  I searched and searched and found this was happening all the time.  Every time they put in a new kernel.  As usual, the answer is to do million things and suddenly it works.

For me, the final thing was the grub configuration.  You change /etc/default grub file and then you run update-grub to nail it in.

GRUB_CMDLINE_LINUX_DEFAULT="usbcore.autosuspend=-1 iommu=soft quiet"

The final thing was the autosuspend bit.  I had changed iommu and turned off the iommu in the motherboard but that didn't do anything.  Now the usb3 mounts up like any other flash disk.  Yeah!  :)

No comments: