USB 3 NVMe SSD dongle doesn't flip
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
usb-modeswitch-data (Ubuntu) |
In Progress
|
High
|
Unassigned |
Bug Description
I have a AM8180 AMicro adapter. It is an adapter for an M.2 SSD NVMe disk to USB 3. It works fine on Windows, but on Ubuntu, when I plug it in, the drive shows for a second then disappears. If I try to do fdisk or gparted, it seems to lock something and I can't shutdown the laptop (it is stuck on the Disk Management Unmounting step.
My info:
1) Release:
Description: Ubuntu 20.04 LTS
Release: 20.04
2) Package version:
usb-modeswitch:
Installed: 2.5.2+repack0-
Candidate: 2.5.2+repack0-
Version table:
*** 2.5.2+repack0-
500 http://
3) What I expect to happen:
I expect the drive to stay mounted
4) What happened instead:
The disk is mounted then immediately unmount. Before I create the partitions in Windows, nothing mounted but the disk briefly appeared in the Disk Manager.
Attached is my (filtered) syslog when I plug to the USB-C (notice the message advising to tell the developers about the model. Maybe it's just vendor info missing).
I have modified 2 flags in /etc/usb_
- DisableSwitching=0 changed to 1
- #SetStorageDelay=4 changed to un-commented
then restarted. That didn't help.
affects: | usb-modeswitch (Ubuntu) → usb-modeswitch-data (Ubuntu) |
That USB ID is in fact in the 'data base' of usb_modeswitch. It was originally used for the Philips PicoPix 1020 Projector.
That's what you get when the same USB ID is used for multiple unrelated devices ...
The clean solution would be to use additional USB attributes to try and tell the projector apart from your storage adapter. I'll look around to see if I can find a detailed lsusb output.
However: dispatcher.
Enabling the global switch "DisableSwitching" *should* have solved the problem for you. If it didn't then there might be a problem with the Ubuntu fork of the usb_modeswitch_