I plugged my USB (Sandisk cruzer 16 gb) into my dual boot computer which contains windows 10 and Ubuntu.
After I unplugged it, the USB no longer shows up.
I thought it was a problem with Ubuntu so I tried it on windows, but in windows it pops up for just one second and then disappears.
It doesn't show up on my smart TV either.
I then ignored it because it was an old USB and I didn't have any important files on it.
Then yesterday I plugged in my 1 TB external hard disk (this one) and copied some files and then removed it.
Now it as same as the USB. The same stuff all over again. It had lot of files in it. It is same as before, not showing up on any OS.
Some of the articles online show that (for windows 10) I should update its driver in device manager. Just like before, It shows up on the device manager for just a second
If I use the command sudo lsusb
it doesn't show my USB,but if i use the same command immediately after I plug in my USB it shows Bus 001 Device 008: ID 0781:5530 SanDisk Corp. Cruzer
but it disappears after you type the command again
If I open the logs using dmesg
it shows
[ 8285.607056] usb 1-8: reset high-speed USB device number 11 using xhci_hcd
[ 8286.514853] usb 1-8: USB disconnect, device number 11
[ 8286.522727] scsi 4:0:0:0: rejecting I/O to dead device