[SOLVED] Disabling USB Legacy Support from OS level

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
md37
Posts: 7
Joined: Fri Jul 19, 2019 1:03 pm

[SOLVED] Disabling USB Legacy Support from OS level

Post by md37 »

Hello!
Wiki says that USB Legacy Support must be disabled by OS as soon as it initializes USB controller.
But how to do it?
Last edited by md37 on Sat Nov 28, 2020 3:54 am, edited 1 time in total.
Korona
Member
Member
Posts: 1000
Joined: Thu May 17, 2007 1:27 pm
Contact:

Re: Disabling USB Legacy Support from OS level

Post by Korona »

That depends on the controller. UHCI has a simple register to disable SMI generation, while EHCI and XHCI have a semaphore to communicate with the firmware. Check the data sheets.
managarm: Microkernel-based OS capable of running a Wayland desktop (Discord: https://discord.gg/7WB6Ur3). My OS-dev projects: [mlibc: Portable C library for managarm, qword, Linux, Sigma, ...] [LAI: AML interpreter] [xbstrap: Build system for OS distributions].
Post Reply