1

I have just installed Ubuntu and now my USB keyboard and mouse are not working.

I plugged in a PS/2 keyboard so i can now execute commands.

I get a lot of strange messages in dmesg: http://paste.ubuntu.com/9269795

The USB keyboard and mouse were working fine while installing from the Live CD.

The USB keyboard works in BIOS.

Tim
  • 33,500

1 Answers1

2

I have fixed this problem by enabling IOMMU in BIOS. This seems to be a motherboard specific issue.

Forum thread: http://ubuntuforums.org/showthread.php?t=2111223&p=12503485#post12503485

Just wanted to add to this thread in case in helps someone -- I have also been experiencing this bug (Networking and USB not working with 64-bit Linux kernels on the Gigabyte 970A-D3 Rev. 3.0 motherboard). I originally posted about it in this thread if you want gory details.

Note that my motherboard is a D3, not a DS3, though they are almost identical.

Also note my motherboard is Rev. 3.0. The Revision is important as it has a different bios than the earlier Revs; also, I did not have this problem with the earlier Rev that I used briefly.

Further note, 32-bit kernels work fine, it's only the 64-bit ones that don't have successfull Networking and USB.

And further note - the same problem exists in the current 13.04 Raging 64-bit kernel as well.

The good news: I was able to get my system working by setting IOMMU to ENABLED in the bios (it was set to disabled by 'optimized settings'/defaults).

YMMV. I figured out that I should play with this setting by going through this thread and the similar launchpad bug mentioned earlier ( ), though I don't know if anyone else solved it by the same method.

Not 100% sure where this bug should be reported to. Its not strictly a Ubuntu bug, it affects all 64-bit kernels (that I tried, at least). I guess it might be considered primarily a gigabyte bug. Not sure. I do feel, though, that it would be better if the kernel gave some more useful warning / debug messages in this case so people could diagnose it better. I ended up spending many hours working on this.