[SOLVED] why doesn't linux work with my usb ports?

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
Minty_64
Level 3
Level 3
Posts: 101
Joined: Mon Jun 30, 2014 3:18 am

[SOLVED] why doesn't linux work with my usb ports?

Post by Minty_64 »

first off, hello!
-
my motherboard has usb ports a plenty yet only 2 are being recognised in mint and ubuntu but they work in windows, this leaves me with only a keyboard and mouse. after some troubleshooting I thought it was the motherboard but after replacing the motherboard with the same make and model I still have the same issue, I have made a clean install and replaced the motherboard but still no luck.
-
please help!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
We cannot solve our problems with the same thinking we used in creating them - Albert Einstein
User avatar
Minty_64
Level 3
Level 3
Posts: 101
Joined: Mon Jun 30, 2014 3:18 am

Re: why doesn't linux work with my usb ports?

Post by Minty_64 »

inxi -Fxz

Code: Select all

System:    Host: PC-1 Kernel: 4.15.0-29-generic x86_64 bits: 64 gcc: 7.3.0
           Desktop: MATE 1.20.1 (Gtk 3.22.30-1ubuntu1)
           Distro: Linux Mint 19 Tara
Machine:   Device: desktop System: Gigabyte product: N/A serial: N/A
           Mobo: Gigabyte model: 970A-DS3P serial: N/A
           BIOS: American Megatrends v: FD date: 02/26/2016
CPU:       8 core AMD FX-8350 Eight-Core (-MCP-) 
           arch: Bulldozer rev.0 cache: 16384 KB
           
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 64301
           clock speeds: max: 4000 MHz 1: 1405 MHz 2: 1404 MHz 3: 1406 MHz
           4: 1405 MHz 5: 1405 MHz 6: 1403 MHz 7: 1431 MHz 8: 1653 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 470/480]
           bus-ID: 01:00.0
           Display Server: x11 (X.Org 1.19.6 )
           drivers: ati,amdgpu (unloaded: modesetting,fbdev,vesa,radeon)
           Resolution: 1920x1080@60.00hz
           OpenGL: renderer: AMD Radeon RX 480 Graphics (POLARIS10 / DRM 3.23.0 / 4.15.0-29-generic, LLVM 6.0.0)
           version: 4.5 Mesa 18.0.5 Direct Render: Yes
Audio:     Card-1 Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 580]
           driver: snd_hda_intel bus-ID: 01:00.1
           Card-2 Advanced Micro Devices [AMD/ATI] SBx00 Azalia (Intel HDA)
           driver: snd_hda_intel bus-ID: 00:14.2
           Sound: Advanced Linux Sound Architecture v: k4.15.0-29-generic
Network:   Card-1: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: d000 bus-ID: 03:00.0
           IF: enp3s0 state: up speed: 100 Mbps duplex: full mac: <filter>
           Card-2: Realtek RTL8169 PCI Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: c000 bus-ID: 04:06.0
           IF: enp4s6 state: down mac: <filter>
Drives:    HDD Total Size: 4000.8GB (26.2% used)
           ID-1: /dev/sda model: WDC_WD2002FYPS size: 2000.4GB
           ID-2: /dev/sdb model: WDC_WD2003FZEX size: 2000.4GB
Partition: ID-1: / size: 140G used: 16G (12%) fs: ext4 dev: /dev/sda5
           ID-2: /home size: 1.6T used: 908G (59%) fs: ext4 dev: /dev/sda7
           ID-3: swap-1 size: 60.66GB used: 0.00GB (0%)
           fs: swap dev: /dev/sda6
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 25.5C mobo: N/A gpu: 32.0
           Fan Speeds (in rpm): cpu: N/A
           
           
Info:      Processes: 225 Uptime: 28 min Memory: 1481.8/32191.0MB
           Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56
lsusb

Code: Select all

Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 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 005 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 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 008 Device 004: ID 0e8f:0021 GreenAsia Inc. Multimedia Keyboard Controller
Bus 008 Device 003: ID 1d57:ad17 Xenta 
Bus 008 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
We cannot solve our problems with the same thinking we used in creating them - Albert Einstein
User avatar
Pjotr
Level 23
Level 23
Posts: 19888
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: why doesn't linux work with my usb ports?

Post by Pjotr »

Worth a try: check the support section of the motherboard manufacturer for a newer BIOS. When available, install it.
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
User avatar
Minty_64
Level 3
Level 3
Posts: 101
Joined: Mon Jun 30, 2014 3:18 am

Re: why doesn't linux work with my usb ports?

Post by Minty_64 »

currently the latest version
We cannot solve our problems with the same thinking we used in creating them - Albert Einstein
User avatar
Pjotr
Level 23
Level 23
Posts: 19888
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: why doesn't linux work with my usb ports?

Post by Pjotr »

Are you perhaps using a (KVM) switch?
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
User avatar
Minty_64
Level 3
Level 3
Posts: 101
Joined: Mon Jun 30, 2014 3:18 am

Re: why doesn't linux work with my usb ports?

Post by Minty_64 »

nope
We cannot solve our problems with the same thinking we used in creating them - Albert Einstein
ClixTrix

Re: why doesn't linux work with my usb ports?

Post by ClixTrix »

Might be an IOMMU problem. Does this post seem relevant?

https://ubuntuforums.org/showthread.php?t=2326722

I know that board also has VIA USB 3.0 chip.
User avatar
Minty_64
Level 3
Level 3
Posts: 101
Joined: Mon Jun 30, 2014 3:18 am

Re: why doesn't linux work with my usb ports?

Post by Minty_64 »

that did the trick!
i fallowed these steps:

1 open grub

Code: Select all

sudo xed /etc/default/grub
2 Find the line that says GRUB_CMDLINE_LINUX="" and change it to GRUB_CMDLINE_LINUX="iommu=soft"
3 Find the line that says GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" to GRUB_CMDLINE_LINUX_DEFAULT="quiet splash iommu=soft"

4 save

update grub

Code: Select all

sudo update-grub
reboot and all is well, also it's worth mentioning they said you might have to disable iommu in the bios but i didn't have to
We cannot solve our problems with the same thinking we used in creating them - Albert Einstein
User avatar
Pjotr
Level 23
Level 23
Posts: 19888
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: [SOLVED] why doesn't linux work with my usb ports?

Post by Pjotr »

Don't use sudo for Xed. Ever. :shock:

1. First fix your (currently spoilt) permissions:

Code: Select all

sudo chown -R $USER:$USER $HOME
2. If you ever need to edit /etc/default/grub again, do this:

Code: Select all

xed admin:///etc/default/grub
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
smaus13

Re: [SOLVED] why doesn't linux work with my usb ports?

Post by smaus13 »

Similar issue occurred here. Gigabyte 970A-DS3P Mobo, dual boot Win10 and Mint 19. USB 3.0 ports worked for and after installation of Mint but not 2.0/1.1. 2.0/1.1 ports showed power was coming to them but no data transfer. This grub fix did the trick. Thanks!
Locked

Return to “Hardware Support”