USB Passthrough: Difference between revisions

Jump to navigation Jump to search
m
Fixed a minor spelling mistake on 'Vendor ID'
m (Fixed a minor spelling mistake on 'Vendor ID')
(29 intermediate revisions by 5 users not shown)
Line 1: Line 1:
Since {{revision|4.0.2}}, Dolphin has the ability to passthrough USB HID devices designed for use with Wii software. This gives emulated Wii software full control of a hardware device connected to your PC.  This is very useful for devices not currently emulated by Dolphin and games that highly depend on extra hardware.
Since {{revision|4.0.2}}, Dolphin has the ability to passthrough USB HID devices designed for use with Wii software. {{revision|5.0-2352}} enables USB passthrough for all devices. This gives emulated Wii software full control of a hardware device connected to your PC.  This is very useful for devices not currently emulated by Dolphin and games that highly depend on extra hardware.
 
== List of Devices and IDs ==


== List of Wii Devices and IDs ==
{|class="wikitable sortable width=100%"
{|class="wikitable sortable width=100%"
! Device !! VID !! PID !! Compatibility
! Device !! VID !! PID !! Type !! Compatibility
|-
|-
|EA Active Dongle
|Disney Infinity Reader (Portal Device)
|?
|0E6F
|?
|0129
|Supported
| rowspan="2" | HID
| rowspan="12" | Supported
|-
|-
|EA Active NFL Training Camp Dongle
|EA Active NFL Training Camp Dongle
|?
|21A4
|?
|AC40
|Supported
|-
|Karaoke Joysound Wii Microphone
|?
|?
|Not Supported
|-
|-
|Logitech Vantage USB Microphone
|Logitech Vantage USB Microphone
|046D
|046D
|0A03
|0A03
|Not Supported
|OH0/VEN
|-
|-
|Harmonix Guitar Controller for Nintendo Wii
|Harmonix Guitar Controller for Nintendo Wii
|1BAD
| rowspan="3" | 1BAD
|0004
|0004
|Supported
| rowspan="7" | HID
|-
|-
|Rock Band 3 Mustang Guitar Dongle
|Rock Band 3 Mustang Guitar Dongle
|1BAD
|3430
|3430
|Supported
|-
|-
|Rock Band Drum Set
|Rock Band Drum Set
|1BAD
|3110
|3110
|Supported
|-
|-
|Skylanders Giants Portal
|Skylanders Giants Portal
| rowspan="4" | 1430
| rowspan="4" | 1430
| rowspan="3" | 0150
| rowspan="3" | 0150
| Supported
|-
|-
|Skylanders Swap Force Portal
|Skylanders Swap Force Portal
| Supported
|-
|-
|Skylanders Wireless Receiver for Wii
|Skylanders Wireless Receiver for Wii
|?
|-
|-
|Tony Hawk Ride Skateboard
|Tony Hawk Ride Skateboard
|0100
|0100
| Supported
|-
|Ubisoft Motion Tracking Camera
|?
|?
|Not Supported
|-
|USB Microphone for Wii
|046D
|0A03
|Not Supported
|-
|-
|Wii Speak Module
|Wii Speak Module
|057E
| rowspan="3" | 057E
|0308
|0308
|Not Supported
|OH0
|-
|-
|Your Shape Camera
|YourShape Camera
|057E
|030A
|030A
|Not Supported
|VEN
|-
|Internal Bluetooth dongle
|0305
|OH1
|See [[Bluetooth Passthrough]]
|-
|-
|}
|}


== Setting up ==
== Setting up ==
=== Linux ===
=== Linux ===
Linux support does not require any special drivers. However, a udev rule must be created to allow access to the devices.  Note, the Vender ID and Product ID SHOULD be verified from the device itself before creating the rule.
Linux support does not require any special drivers. However, a udev rule must be created to allow access to the devices.  Note, the Vendor ID and Product ID SHOULD be verified from the device itself before creating the rule.


Paste the following in the '''/etc/udev/rules.d/52-dolphin.rules''' file (/lib/udev/rules.d/52-dolphin.rules if making a package):
1. Paste the following into '''/etc/udev/rules.d/52-dolphin.rules''' (/lib/udev/rules.d/52-dolphin.rules if making a package). Do not forget to replace the XXXX with the appropriate Vendor and Product IDs.


<code>SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="XXXX", ATTRS{idProduct}=="XXXX", MODE="0666"</code>
<code>SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="XXXX", ATTRS{idProduct}=="XXXX", MODE="0666"</code>


Replace the XXXX with the appropriate Vendor and Product IDs.
2. Reload udev rules with:
<code>sudo udevadm control --reload-rules</code>


Reload udev rules with:
3. Reinsert the accessory.
<code>sudo udevadm control --reload-rules</code>
 
=== Windows ===
 
For users wishing to use the USB Microphone, USB Camera, or Wii Speak, it is highly recommended to use {{revision|5.0-10617}} or newer.  It contains important fixes to both libusb and Dolphin that fix crashes and fix support in devices across many games.


Then reinsert the accessory. When the game is booted it should be able to access the accessory as if it were plugged into a Wii.
==== Install Dedicated Driver ====


If you want to change the rule, links for instructions are available on the [https://github.com/libusb/libusb/wiki/FAQ#Can_I_run_libusb_applications_on_Linux_without_root_privilege libusb FAQ].
===== Single Interface Devices =====


=== Windows ===
Download and open [http://zadig.akeo.ie/ Zadig], then:
Download and open [http://zadig.akeo.ie/ Zadig], then:


1. In the "Options" menu in Zadig, make sure "List All Devices" is enabled.
1. In the "Options" menu in Zadig, make sure "List All Devices" is enabled.


2. Look through the devices and find the devic
2. Look through the devices for the device to passthrough.
 
3. On the right column, select "libusbk" then click "Replace Driver". Select "Yes" to modify the system driver.
 
===== Multi Interface Devices =====


3. On the right column, select "WinUSB" then click "Replace Driver". Select "Yes" to modify the system driver.
For Microphone, Wii Speak, and USB Camera Passthrough, installing over the composite parent device is required.


The game will then be able to detect the device on next boot.
Download and open [http://zadig.akeo.ie/ Zadig], then:
 
1. In the "Options" menu in Zadig, make sure "List All Devices" is enabled and "Ignore Hubs or Composite Parents" is disabled.
 
2. Look through the composite parent of the device you wish to passthrough.
 
3. On the right column, select "libusbk" then click "Replace Driver". It may warn you that you're modifying a kernel driver, but, this is normal.  Select "Yes" to modify the kernel driver.
 
==== Uninstalling Dedicated Driver ====
 
If for some reason you wish to restore the default driver to the device, open up "Device Manager."  In the last, expand "libusbK devices" and find the device you wish to restore.  Uninstall the device, then unplug the device and plug it back in.  It will now be restored to its original state.
 
If you were using the WinUSB driver, the device will be located under "Universal Serial Bus Devices" instead, but the instructions are identical otherwise.
 
==== usbdk driver ====
 
usbdk is no longer supported nor recommended. While it provides the ability to simply install a driver without any further instructions, usbdk suffers severe instability issues.  For legacy purposes, you can still use the [https://github.com/daynix/UsbDk/releases x64 usbdk driver] in older builds.


=== macOS ===
=== macOS ===
Line 112: Line 114:
=== Android ===
=== Android ===
This feature is not supported on Android.
This feature is not supported on Android.
== Configuring Dolphin ==
In {{revision|5.0-2352}}, an additional step was added for USB Passthrough.  Because some devices being plugged into your computer can potentially hang or crash a game, you now must whitelist the emulated Wii so it can access this device.  This is not required for Bluetooth Passthrough.
=== Guide to Whitelist a USB Device in Dolphin ===
1. Open Dolphin's configuration dialog.
2. Click on the Wii tab.
3. In the "Whitelisted USB passthrough devices", click on the "Add..." button.
4. Select the device you wish to passthrough.
[[Category: Tutorials]]

Navigation menu