Wii Hardware/USB
The Wii features 3 USB Host Controllers:
- 1x "EHCI" USB 2.0 controller, managing the 2 user-accessible ports on the back of the console.
- 2x "OHCI" USB 1.1 controllers, 1 managing the internal Broadcom 4318 Wi-Fi chipset, and the other handling when legacy devices are plugged into the 2 back ports.
Wii-Linux has had support for USB since the beginning. gc-linux added support for it in MIKEp1, the first release. Unfortunately, in more recent versions, support has gotten a bit odd. Due to changes that are as of yet unidentified, USB hubs can sometimes cause strange behavior, and sometimes the driver throws -EINVAL
(error -22) when a device is inserted. It is as of yet unknown why these occur, but they seem to have been caused at some point between gc-linux and Techflash's 4.5 port.