foxlet / vmra1n

Guide on setting up checkra1n in QEMU.
63 stars 24 forks source link

Enabling IOMMU disconnects USB devices #1

Closed notgarette closed 4 years ago

notgarette commented 4 years ago

FX 8350 RX 480 MSI FXA990 GD80v2.2

Every time I enable IOMMU in my BIOS than when Ubuntu starts my USB devices get disconnected. iPhone stops charging, keyboard, mouse and microphone lights turn off and no longer send inputs.

ann0see commented 4 years ago

I think that’s intended.

notgarette commented 4 years ago

Well, okay. So is there nothing I can do? How can I reconnect them?

foxlet commented 4 years ago

If USB gets disconnected after rebinding, that is normal. If you're limited to only one controller, you have to remote in through VNC.

notgarette commented 4 years ago

After I click “Ubuntu” to boot into Ubuntu is when everything is disconnected. I can’t type my password to login or get further than that.

foxlet commented 4 years ago

Do you have any other kernel flags set in GRUB?

notgarette commented 4 years ago

The only thing I've done with GRUB was setting the iommu flags. https://pastebin.com/xJPq4xJp

foxlet commented 4 years ago

Try remove the iommu=pt flag, just keeping amd_iommu=on.

notgarette commented 4 years ago

No luck with that. What else should I try? Thanks for the help so far.

notgarette commented 4 years ago

I solved the issue. I had to update my BIOS, but the update tool was detecting my current BIOS as being newer than the newest BIOS. Had to hack together the BIOS to trick the installer. Thanks for the help though!

foxlet commented 4 years ago

Good to know the BIOS was an issue, I'll put that up on notes.