forcing eHCI over xHCI

Optimize your system for ultimate performance.

Moderators: MattKingUSA, khz

Post Reply
tatch
Established Member
Posts: 662
Joined: Fri Nov 16, 2012 3:18 pm

forcing eHCI over xHCI

Post by tatch »

viewtopic.php?f=27&t=12073
viewtopic.php?f=6&t=7543&p=72202

Haven't posted in a while but re:the two aforementioned threads I recently found what seems to be a functional alternative to disabling xHCI in BIOS:

https://www.systutorials.com/qa/1908/ho ... e-in-linux

so to force ehci you run this as root:

Code: Select all

lspci -nn | grep USB \
| cut -d '[' -f3 | cut -d ']' -f1 \
| xargs -I@ setpci -H1 -d @ d0.l=0
and to reenable xhci you can set d0.l=1:

Code: Select all

lspci -nn | grep USB \
| cut -d '[' -f3 | cut -d ']' -f1 \
| xargs -I@ setpci -H1 -d @ d0.l=1
you can check your kernel logs to verify that it works. I think you can also set individual USB ports to use one driver or another. Anyway I'm not even sure if this is still an issue for anyone, but if it is then you can try this, it's a bit more convenient than having to reboot into BIOS and switching that parameter every time you want to use xHCI.
Post Reply