SOLVED - MSI A68HM Grenade usb 3.0 connector not working

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
User avatar
songhuijohn
Level 3
Level 3
Posts: 177
Joined: Thu Apr 28, 2016 5:00 pm
Location: Arlington, Texas USA

SOLVED - MSI A68HM Grenade usb 3.0 connector not working

Post by songhuijohn » Thu May 26, 2016 10:21 pm

I have built a new desktop computer using a MSI A68HM Grenade motherboard. On the this motherboard is a USB 3.0 connector and the case I am using (Rosewill R521-M) has two USB 3.0 ports on the front panel. I have connected these front panel ports to the motherboard USB 3.0 connecter and Linux Mint 17.3 does not recognize these ports.
I have verified that the front panel USB 3.0 ports do work.
My question is does Linux Mint 17.3 support this configuration of a MSI A68HM Grenade motherboard and its USB 3.0 connector with front panel USB 3.0 ports on the computer case?
If yes, how do I make this configuration work?

Everything else is working fine - USB 2.0 and USB 3.0 ports on the back of the computer case, SSD, DVI monitor, CD/DVD drive, USB wired keyboard, USB wireless mouse, card reader with a USB 2.0 port, Ethernet port, speaker connection, headphone connection
Last edited by songhuijohn on Tue May 31, 2016 9:06 pm, edited 1 time in total.
Linux Mint 19.1 Cinnamon, Mobo MSI A68HM Grenade, AMD A8-7600, 4GIG DDR3 1600, SSD Patriot Blast 120 GB

User avatar
marlenejo
Level 4
Level 4
Posts: 415
Joined: Sun Dec 01, 2013 2:33 pm

Re: MSI A68HM Grenade usb 3.0 connector not working

Post by marlenejo » Fri May 27, 2016 9:02 am

Going through the specs for this motherboard, the header for the front USB3 use a different chipset then the standard AMD usb3 in the back (AMD A68H). It's a VIA-VL806. Via state that it support "various linux kernels" but which ones ? If all your connections are right you may try a more recent kernel. 4.4 is available through the software updater and run fine. In the worst case, uglier but working, there are usb3 extenders which connect to the case usb3 cable and hook up to one "working" usb3 in the back.

http://www.guruht.com/2012/11/via-vl805 ... -pcie.html
Linux Mint Cinnamon, AMD FX-6300 (6 x 4Ghz), Nvidia GTX-650 TI, 8 Gig DDR3 1600, SSD Seagate + Samsung 840 EVO, Seagate 1GB 7200rpm, Gigabyte Motherboard GA-970A.

User avatar
songhuijohn
Level 3
Level 3
Posts: 177
Joined: Thu Apr 28, 2016 5:00 pm
Location: Arlington, Texas USA

Re: MSI A68HM Grenade usb 3.0 connector not working

Post by songhuijohn » Fri May 27, 2016 4:18 pm

Upgraded to 4.4 kernel and this did not fix my problem. Still looking for a software solution. I know about the hardware solutions.
Linux Mint 19.1 Cinnamon, Mobo MSI A68HM Grenade, AMD A8-7600, 4GIG DDR3 1600, SSD Patriot Blast 120 GB

User avatar
songhuijohn
Level 3
Level 3
Posts: 177
Joined: Thu Apr 28, 2016 5:00 pm
Location: Arlington, Texas USA

Re: MSI A68HM Grenade usb 3.0 connector not working

Post by songhuijohn » Sun May 29, 2016 9:38 pm

The following solved this problem for me:

From a terminal session enter the following commands:

sudo gedit /etc/default/grub

change the line GRUB_CMDLINE_LINUX=""

to

GRUB_CMDLINE_LINUX="iommu=soft"

save this changed file and EXIT the terminal session.

Start another terminal session and enter the following command:

sudo update-grub

EXIT this terminal session and reboot.
Linux Mint 19.1 Cinnamon, Mobo MSI A68HM Grenade, AMD A8-7600, 4GIG DDR3 1600, SSD Patriot Blast 120 GB

User avatar
marlenejo
Level 4
Level 4
Posts: 415
Joined: Sun Dec 01, 2013 2:33 pm

Re: MSI A68HM Grenade usb 3.0 connector not working

Post by marlenejo » Mon May 30, 2016 1:45 pm

That's an interesting finding. I look up the IOMMU (IO memory management unit). It's apparently useful for virtualisation. Looks like a new addition for AMD boards since the 9 series. I have it too. It is always OFF by default. Your MB should have that feature also. Is it OFF ?

The Linux kernel should have this feature follow the bios selection. Seems that all my devices have no problem with that. My usb 3 chip is Etron EJ168. Look's like the VIA controller is a particular case. It does not support that feature in Linux.

This guy has the same problem as you with VIA usb 3. Wondering how many device problems are related to this. MSI should be aware of that too and clearly specify the correction or issue a bios correction.

http://www.pclinuxos.com/forum/index.php?topic=131384.0

P.S it is quite risky to edit the grub loading file directly. It may render your system unbootable. It may be better to use a graphical interface like Grub Customiser. Kde has a built in facility.
Linux Mint Cinnamon, AMD FX-6300 (6 x 4Ghz), Nvidia GTX-650 TI, 8 Gig DDR3 1600, SSD Seagate + Samsung 840 EVO, Seagate 1GB 7200rpm, Gigabyte Motherboard GA-970A.

User avatar
songhuijohn
Level 3
Level 3
Posts: 177
Joined: Thu Apr 28, 2016 5:00 pm
Location: Arlington, Texas USA

Re: MSI A68HM Grenade usb 3.0 connector not working

Post by songhuijohn » Mon May 30, 2016 6:21 pm

My motherboard does not give me a way to enable iommu - that is why I had to modify the grub file.
I use Linux Mint 17.3 - does it have a Grub Customiser?
Linux Mint 19.1 Cinnamon, Mobo MSI A68HM Grenade, AMD A8-7600, 4GIG DDR3 1600, SSD Patriot Blast 120 GB

User avatar
marlenejo
Level 4
Level 4
Posts: 415
Joined: Sun Dec 01, 2013 2:33 pm

Re: MSI A68HM Grenade usb 3.0 connector not working

Post by marlenejo » Mon May 30, 2016 7:40 pm

songhuijohn wrote:My motherboard does not give me a way to enable iommu - that is why I had to modify the grub file.
I use Linux Mint 17.3 - does it have a Grub Customiser?
No I think you want it "disable" (default). You now force it to disable (soft) through the kernel which it should have done by itself I guess.

Mint, what desktop ? It's not part of the distro, if I remember but you can add the ppa like here. I think it works on all desktop managers. you can add that option in the general parameters/kernel parameters (iommu=soft), then save it. Should work.

http://ubuntuhandbook.org/index.php/201 ... untu-1404/
Linux Mint Cinnamon, AMD FX-6300 (6 x 4Ghz), Nvidia GTX-650 TI, 8 Gig DDR3 1600, SSD Seagate + Samsung 840 EVO, Seagate 1GB 7200rpm, Gigabyte Motherboard GA-970A.

User avatar
songhuijohn
Level 3
Level 3
Posts: 177
Joined: Thu Apr 28, 2016 5:00 pm
Location: Arlington, Texas USA

Re: MSI A68HM Grenade usb 3.0 connector not working

Post by songhuijohn » Mon May 30, 2016 10:06 pm

My reading of "iommu=soft" is that the hardware does not support iommu, therefore implement iommu via software.

The desktop I am using is Cinnamon.
Linux Mint 19.1 Cinnamon, Mobo MSI A68HM Grenade, AMD A8-7600, 4GIG DDR3 1600, SSD Patriot Blast 120 GB

User avatar
marlenejo
Level 4
Level 4
Posts: 415
Joined: Sun Dec 01, 2013 2:33 pm

Re: MSI A68HM Grenade usb 3.0 connector not working

Post by marlenejo » Tue May 31, 2016 8:51 am

songhuijohn wrote:My reading of "iommu=soft" is that the hardware does not support iommu, therefore implement iommu via software.

The desktop I am using is Cinnamon.
I am far from an expert on the subject but no matter if you have that gizmo or not, it is always disabled by default on AMD boards so the kernel should go "soft" by itself. My board has that feature off but everything works fine without the need for that kernel switch. You don't need it either for all your other IO components except for that VIA chip. I do have a bios switch though to tell the kernel if it look at this. I don't understand the logic fully either.

For those who care understanding ;
http://developer.amd.com/community/blog ... /01/iommu/
https://en.wikipedia.org/wiki/Input%E2% ... ement_unit

It seems to have some advantages. That said I am wondering if i enable it, my windows and linux will blow up. :lol: :wink:
Linux Mint Cinnamon, AMD FX-6300 (6 x 4Ghz), Nvidia GTX-650 TI, 8 Gig DDR3 1600, SSD Seagate + Samsung 840 EVO, Seagate 1GB 7200rpm, Gigabyte Motherboard GA-970A.

User avatar
songhuijohn
Level 3
Level 3
Posts: 177
Joined: Thu Apr 28, 2016 5:00 pm
Location: Arlington, Texas USA

Re: SOLVED - MSI A68HM Grenade usb 3.0 connector not working

Post by songhuijohn » Mon Mar 06, 2017 5:29 pm

Just updating this information - When I upgrade to Linux Mint 18.1, I still had to make this modification to grub to get my front panel USB 3.0 ports to work.
Linux Mint 19.1 Cinnamon, Mobo MSI A68HM Grenade, AMD A8-7600, 4GIG DDR3 1600, SSD Patriot Blast 120 GB

zosimas
Level 1
Level 1
Posts: 24
Joined: Sat Mar 04, 2017 3:24 pm

Re: SOLVED - MSI A68HM Grenade usb 3.0 connector not working

Post by zosimas » Fri Jul 21, 2017 8:30 pm

I have the same motherboard and was hoping the tips in this thread would work. I tried the grub solution but that didn't work.
I'm not sure how to find the 4.4 update from the software manager.

any other suggestions?

thanks.

PS: I plugged in my external HDD to the USB 3.0 port and it powers up, but won't load file manager. So I know the port works for power at least.

User avatar
songhuijohn
Level 3
Level 3
Posts: 177
Joined: Thu Apr 28, 2016 5:00 pm
Location: Arlington, Texas USA

Re: SOLVED - MSI A68HM Grenade usb 3.0 connector not working

Post by songhuijohn » Sat Jul 22, 2017 12:01 am

If you give me a list of your grub file, the output of the command lsusb, and the output of the command inxi -Fzx (F is a capital F), maybe I can see the difference and help you solve your problem.
Linux Mint 19.1 Cinnamon, Mobo MSI A68HM Grenade, AMD A8-7600, 4GIG DDR3 1600, SSD Patriot Blast 120 GB

zosimas
Level 1
Level 1
Posts: 24
Joined: Sat Mar 04, 2017 3:24 pm

Re: SOLVED - MSI A68HM Grenade usb 3.0 connector not working

Post by zosimas » Sat Jul 22, 2017 7:49 am

songhuijohn wrote:If you give me a list of your grub file, the output of the command lsusb, and the output of the command inxi -Fzx (F is a capital F), maybe I can see the difference and help you solve your problem.
  • GRUB_DEFAULT="Linux Mint 18.1 Cinnamon 64-bit"
    #GRUB_HIDDEN_TIMEOUT="0"
    GRUB_HIDDEN_TIMEOUT_QUIET="true"
    GRUB_TIMEOUT="10"
    GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
    GRUB_CMDLINE_LINUX="iommu=soft"

    # Uncomment to enable BadRAM filtering, modify to suit your needs
    # This works with Linux (no patch required) and with any kernel that obtains
    # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
    #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

    # Uncomment to disable graphical terminal (grub-pc only)
    #GRUB_TERMINAL="console"

    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    #GRUB_GFXMODE="640x480"

    # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
    #GRUB_DISABLE_LINUX_UUID="true"

    # Uncomment to disable generation of recovery mode menu entries
    #GRUB_DISABLE_RECOVERY="true"

    # Uncomment to get a beep at grub start
    #GRUB_INIT_TUNE="480 440 1"

    GRUB_SAVEDEFAULT="false"
    export GRUB_COLOR_NORMAL="yellow/black"
    export GRUB_COLOR_HIGHLIGHT="red/black"

User avatar
songhuijohn
Level 3
Level 3
Posts: 177
Joined: Thu Apr 28, 2016 5:00 pm
Location: Arlington, Texas USA

Re: SOLVED - MSI A68HM Grenade usb 3.0 connector not working

Post by songhuijohn » Sat Jul 22, 2017 2:50 pm

before we go any further let make sure your USB memory stick is OK. Put your USB memory stick in one of the USB ports on the back of the computer - Linux Mint should recognize and mount the USB memory stick - if not then maybe your USB memory stick is not OK.
If the USB memory stick is OK then let us continue.
In your BIOS settings\advanced\usb configuration the following should be set to enable:
usb controller
xhci hand-off
ehci hand-off
legacy usb support

If you are still having the problem, I need to see the output of the following commands"

inxi -Fzx (remember upper case F for this command)
lsusb
Linux Mint 19.1 Cinnamon, Mobo MSI A68HM Grenade, AMD A8-7600, 4GIG DDR3 1600, SSD Patriot Blast 120 GB

zosimas
Level 1
Level 1
Posts: 24
Joined: Sat Mar 04, 2017 3:24 pm

Re: SOLVED - MSI A68HM Grenade usb 3.0 connector not working

Post by zosimas » Sat Jul 22, 2017 4:04 pm

songhuijohn wrote:before we go any further let make sure your USB memory stick is OK. Put your USB memory stick in one of the USB ports on the back of the computer - Linux Mint should recognize and mount the USB memory stick - if not then maybe your USB memory stick is not OK.
If the USB memory stick is OK then let us continue.
In your BIOS settings\advanced\usb configuration the following should be set to enable:
usb controller
xhci hand-off
ehci hand-off
legacy usb support

If you are still having the problem, I need to see the output of the following commands"

inxi -Fzx (remember upper case F for this command)
lsusb
USB stick work in the USB 2.0 ports. The rear ports read fine as well.
  • $ inxi -Fzx
    System: Host: charles-MS-7891 Kernel: 4.8.0-53-generic x86_64 (64 bit gcc: 5.4.0)
    Desktop: Cinnamon 3.4.4 (Gtk 3.18.9-1ubuntu3.3)
    Distro: Linux Mint 18.2 Sonya
    Machine: Mobo: MSI model: A68HM GRENADE (MS-7891) v: 1.0
    Bios: American Megatrends v: V1.4 date: 07/27/2016
    CPU: Dual core AMD A8-7600 Radeon R7 10 Compute Cores 4C+6G (-HT-MCP-) cache: 4096 KB
    flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 12376
    clock speeds: max: 3100 MHz 1: 3100 MHz 2: 1400 MHz 3: 1900 MHz
    4: 2800 MHz
    Graphics: Card: Advanced Micro Devices [AMD/ATI] Kaveri [Radeon R7 Graphics]
    bus-ID: 00:01.0
    Display Server: X.Org 1.18.4 drivers: ati,radeon (unloaded: fbdev,vesa)
    Resolution: 1440x900@59.89hz, 1440x900@60.07hz
    GLX Renderer: Gallium 0.4 on AMD KAVERI (DRM 2.46.0 / 4.8.0-53-generic, LLVM 3.8.0)
    GLX Version: 3.0 Mesa 12.0.6 Direct Rendering: Yes
    Audio: Card-1 Advanced Micro Devices [AMD] FCH Azalia Controller
    driver: snd_hda_intel bus-ID: 00:14.2
    Card-2 Advanced Micro Devices [AMD/ATI] Kaveri HDMI/DP Audio Controller
    driver: snd_hda_intel bus-ID: 00:01.1
    Sound: Advanced Linux Sound Architecture v: k4.8.0-53-generic
    Network: Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
    driver: r8169 v: 2.3LK-NAPI port: e000 bus-ID: 01:00.0
    IF: enp1s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
    Drives: HDD Total Size: 2000.4GB (1.0% used)
    ID-1: /dev/sda model: WDC_WD10EZEX size: 1000.2GB
    ID-2: /dev/sdb model: WDC_WD10EZEX size: 1000.2GB
    Partition: ID-1: / size: 251G used: 12G (5%) fs: ext4 dev: /dev/sda2
    ID-2: swap-1 size: 7.47GB used: 0.00GB (0%) fs: swap dev: /dev/sda3
    RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
    Sensors: System Temperatures: cpu: 11.8C mobo: N/A gpu: 11.0
    Fan Speeds (in rpm): cpu: N/A
    Info: Processes: 254 Uptime: 1 min Memory: 1618.4/6998.7MB
    Init: systemd runlevel: 5 Gcc sys: 5.4.0
    Client: Shell (bash 4.3.481) inxi: 2.2.3
  • $ lsusb
    Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 008 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
    Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 004 Device 002: ID 0403:c7d0 Future Technology Devices International, Ltd RR-CirKits LocoBuffer-USB
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 007 Device 002: ID 11b0:6368 ATECH FLASH TECHNOLOGY
    Bus 007 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

User avatar
songhuijohn
Level 3
Level 3
Posts: 177
Joined: Thu Apr 28, 2016 5:00 pm
Location: Arlington, Texas USA

Re: SOLVED - MSI A68HM Grenade usb 3.0 connector not working

Post by songhuijohn » Sun Jul 23, 2017 12:33 am

The major difference is my motherboard is V1.1 date: 4/15/2015 and your motherboard is V1.4 date: 07/27/2016.

Did you check the bios settings that I noted in my last response?
Linux Mint 19.1 Cinnamon, Mobo MSI A68HM Grenade, AMD A8-7600, 4GIG DDR3 1600, SSD Patriot Blast 120 GB

zosimas
Level 1
Level 1
Posts: 24
Joined: Sat Mar 04, 2017 3:24 pm

Re: SOLVED - MSI A68HM Grenade usb 3.0 connector not working

Post by zosimas » Sun Jul 23, 2017 8:40 am

songhuijohn wrote:The major difference is my motherboard is V1.1 date: 4/15/2015 and your motherboard is V1.4 date: 07/27/2016.

Did you check the bios settings that I noted in my last response?
yes, sorry forgot to mention that, but all four were enabled.

Just for fun I installed Linux Korora as a dual boot, the USB 3.0 works fine in that OS (although I really don't like how Korora works, not as easy as mint)

User avatar
songhuijohn
Level 3
Level 3
Posts: 177
Joined: Thu Apr 28, 2016 5:00 pm
Location: Arlington, Texas USA

Re: SOLVED - MSI A68HM Grenade usb 3.0 connector not working

Post by songhuijohn » Sun Jul 23, 2017 1:33 pm

Did you run
sudo update-grub
after modifying grub?
Linux Mint 19.1 Cinnamon, Mobo MSI A68HM Grenade, AMD A8-7600, 4GIG DDR3 1600, SSD Patriot Blast 120 GB

zosimas
Level 1
Level 1
Posts: 24
Joined: Sat Mar 04, 2017 3:24 pm

Re: SOLVED - MSI A68HM Grenade usb 3.0 connector not working

Post by zosimas » Sun Jul 23, 2017 2:28 pm

songhuijohn wrote:Did you run
sudo update-grub
after modifying grub?
Um.... Maybe? :D I'll go do it again...

zosimas
Level 1
Level 1
Posts: 24
Joined: Sat Mar 04, 2017 3:24 pm

Re: SOLVED - MSI A68HM Grenade usb 3.0 connector not working

Post by zosimas » Sun Jul 23, 2017 2:35 pm

songhuijohn wrote:Did you run
sudo update-grub
after modifying grub?
ok, it works now, problem solved, thank you :D

Post Reply

Return to “Hardware Support”