Project

General

Profile

Actions

Emulator Issues #11763

closed

GC Adapter Sending LIBUSB_HOTPLUG_EVENT_DEVICE_LEFT on Game Start

Added by mangooses almost 5 years ago. Updated almost 4 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:
5.0-12263

Description

Game Name?

Super Smash Brothers Melee 20XX

Game ID? (right click the game in the game list, Properties, Info tab)

GALE01

MD5 Hash? (right click the game in the game list, Properties, Verify tab, Verify Integrity button)

17756217401a39227feea1ebb8542376

What's the problem? Describe what went wrong.

Dolphin detects the Gamecube adapter when plugging in, but once game is started the adapter disconnects. This is after installation of the custom .kext for post 10.11 versions of OSX. The adapter is not the official Nintendo model.

What steps will reproduce the problem?

Plug in adapter with one controller in port 1. Seems to break with the launch of any game.

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

[Version number here]

Is the issue present in the latest stable version?

yes, 5.0

If the issue isn't present in the latest stable version, which is the first broken version? (You can find the first broken version by bisecting. Windows users can use the tool https://forums.dolphin-emu.org/Thread-green-notice-development-thread-unofficial-dolphin-bisection-tool-for-finding-broken-builds and anyone who is building Dolphin on their own can use git bisect.)

[First broken version number here (if applicable)]

If your issue is a graphical issue, please attach screenshots and record a three frame fifolog of the issue if possible. Screenshots showing what it is supposed to look like from either console or older builds of Dolphin will help too. For more information on how to use the fifoplayer, please check here: https://wiki.dolphin-emu.org/index.php?title=FifoPlayer

[Attach any fifologs if possible, write a description of fifologs and screenshots here to assist people unfamiliar with the game.]

What are your PC specifications? (CPU, GPU, Operating System, more)

CPU - 2.8 GHz Intel Core i7
GPU - NVIDIA GeForce GT 330M 512 MB
OS - MacOS 10.13.6 High Sierra

Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)

The logs look like this:

25:48:154 /Users/osxguest/release/Source/Core/InputCommon/GCAdapter.cpp:228 N[SI]: Found GC Adapter with Vendor: 57E Product: 337 Devnum: 1
25:58:504 /Users/osxguest/release/Source/Core/InputCommon/GCAdapter.cpp:365 N[SI]: GC Adapter detached

If the adapter is plugged while the game is already running this process is immediate.

30:56:596 /Users/osxguest/release/Source/Core/InputCommon/GCAdapter.cpp:228 N[SI]: Found GC Adapter with Vendor: 57E Product: 337 Devnum: 1
30:56:626 /Users/osxguest/release/Source/Core/InputCommon/GCAdapter.cpp:365 N[SI]: GC Adapter detached

Looking through the code it looks like the code is calling Reset() in https://github.com/dolphin-emu/dolphin/blob/8d8ed37e275766beedf9ff2fb447c95acf7bb0eb/Source/Core/InputCommon/GCAdapter.cpp#L133 when the adapter is sending LIBUSB_HOTPLUG_EVENT_DEVICE_LEFT in the hotplug handling callback.

I assume this is an issue with the adapter, but why would launching a game cause this event? Is there a way to disable hotplugging? Thank you for any help you can offer.

Actions

Also available in: Atom PDF