https://bugs.dolphin-emu.org/https://bugs.dolphin-emu.org/favicon.ico?12017-07-24T15:54:27ZDolphin bug trackerEmulator - Emulator Issues #10412: ES_Launch not working with Bluetooth Passthrough. https://bugs.dolphin-emu.org/issues/10412?journal_id=7294362017-07-24T15:54:27ZJosJuice
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-1 status-13 priority-2 priority-default closed" href="/issues/10413">Emulator Issues #10413</a>: Two step launching not working with Bluetooth Passthrough</i> added</li></ul> Emulator - Emulator Issues #10412: ES_Launch not working with Bluetooth Passthrough. https://bugs.dolphin-emu.org/issues/10412?journal_id=7294382017-07-24T15:55:03ZJosJuice
<ul><li><strong>Subject</strong> changed from <i>Two Step Launcher Games not Working with Bluetooth Passthrough. </i> to <i>ES_Launch not working with Bluetooth Passthrough. </i></li></ul> Emulator - Emulator Issues #10412: ES_Launch not working with Bluetooth Passthrough. https://bugs.dolphin-emu.org/issues/10412?journal_id=7294432017-07-28T06:28:28Zleoetlino
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Questionable</i></li><li><strong>Operating system</strong> <i>Windows</i> added</li><li><strong>Operating system</strong> deleted (<del><i>N/A</i></del>)</li></ul><p>Can't reproduce here throughout many IOS reloads. Dolphin does ask libusb to release the adapter, which is working here and for most people, so it looks like something may be taking ownership of your adapter or not releasing it correctly. That would be out of Dolphin's control.</p>
Emulator - Emulator Issues #10412: ES_Launch not working with Bluetooth Passthrough. https://bugs.dolphin-emu.org/issues/10412?journal_id=7294442017-07-28T11:39:20Zpurechoasspurechoas@hotmail.co.uk
<ul></ul><p>leoetlino wrote:</p>
<blockquote>
<p>Can't reproduce here throughout many IOS reloads. Dolphin does ask libusb to release the adapter, which is working here and for most people, so it looks like something may be taking ownership of your adapter or not releasing it correctly. That would be out of Dolphin's control.</p>
</blockquote>
<p>Hi, Thank you for the reply.</p>
<p>Is there anything else I can do to provide you with more information that might help? I actually reinstalled windows to make sure nothing else was interfering. I plugged in the bluetooth adapter (which is a genuine wii one as described earlier), windows recognised it as a generic bluetooth adapter. Then I installed libusbk as mentioned in the dolphin wiki guide.</p>
<p>It's really odd that it works fine with older versions of dolphin. Never get a disconnect or any problems, remember sync after quitting or changing games. And even on the newer dolphin everything works except ES_Launch games like Metroid Prime Trilogy. </p>
<p>I have no other bluetooth devices plugged into the computer and made sure not to after the windows reinstall so no other drivers where installed. </p>
<p>Do you have any recommendations on how I could proceed?</p>
<p>Thanks,</p>
<p>-Amir</p>
Emulator - Emulator Issues #10412: ES_Launch not working with Bluetooth Passthrough. https://bugs.dolphin-emu.org/issues/10412?journal_id=7294452017-07-28T11:42:36Zleoetlino
<ul></ul><p>Have you tried using WinUSB as the driver instead?</p>
Emulator - Emulator Issues #10412: ES_Launch not working with Bluetooth Passthrough. https://bugs.dolphin-emu.org/issues/10412?journal_id=7294832017-08-01T16:21:04Zpurechoasspurechoas@hotmail.co.uk
<ul></ul><p>leoetlino wrote:</p>
<blockquote>
<p>Have you tried using WinUSB as the driver instead?</p>
</blockquote>
<p>Sorry for the late reply, my email notifications where going into my junk folder.</p>
<p>Yes I have just tried WinUSB and I get the exact same error. </p>
Emulator - Emulator Issues #10412: ES_Launch not working with Bluetooth Passthrough. https://bugs.dolphin-emu.org/issues/10412?journal_id=7299632017-08-11T08:11:42ZJMC4789JMC4789@gmail.com
<ul></ul><p>Can you try the latest development version and maybe switch to another adapter and go through the process again? This really sounds like a Windows bug we can't control.</p>
Emulator - Emulator Issues #10412: ES_Launch not working with Bluetooth Passthrough. https://bugs.dolphin-emu.org/issues/10412?journal_id=7300642017-08-12T05:42:35Zvolfyelisbeth.nexus7@gmail.com
<ul></ul><p>I'm having the same issue, except with the Mii channel. The system menu loads fine (and all games load fine) but when I try to load the Mii channel after the system menu, I get the LIBUSB_ERROR_OTHER. I have also soldered my own bluetooth passthrough adapter from a real Wii module. I tried using system restore to see if any drivers were the problem and I tried reinstalling drivers and disconnecting/reconnecting. Nothing helped.</p>
Emulator - Emulator Issues #10412: ES_Launch not working with Bluetooth Passthrough. https://bugs.dolphin-emu.org/issues/10412?journal_id=7300662017-08-12T06:00:53Zvolfyelisbeth.nexus7@gmail.com
<ul></ul><p>I have no idea, but is this related? <a href="https://github.com/daynix/UsbDk/issues/43" class="external">https://github.com/daynix/UsbDk/issues/43</a></p>
Emulator - Emulator Issues #10412: ES_Launch not working with Bluetooth Passthrough. https://bugs.dolphin-emu.org/issues/10412?journal_id=7300672017-08-12T06:14:06Zvolfyelisbeth.nexus7@gmail.com
<ul></ul><p>I'm imagining that the device gets reset on close and that Dolphin is trying to open it too quickly and not waiting for the right event to know it's ready. I may try to recompile Dolphin and add a sleep to see if that fixes the issue.</p>
Emulator - Emulator Issues #10412: ES_Launch not working with Bluetooth Passthrough. https://bugs.dolphin-emu.org/issues/10412?journal_id=7300752017-08-12T10:30:15Zpurechoasspurechoas@hotmail.co.uk
<ul></ul><p>JMC4789 wrote:</p>
<blockquote>
<p>Can you try the latest development version and maybe switch to another adapter and go through the process again? This really sounds like a Windows bug we can't control.</p>
</blockquote>
<p>Hey,</p>
<p>So I have been using the latest development version. I re download the latest build maybe every couple days.</p>
<p>I tried using a bluetooth adapter I had. It is a finiky one but it did work with bluetooth passthrough but I had the exact same problem as with the wii bluetooth adapter. </p>
<p>I also have tried using all the usb ports on my computer. In case one of them was the culprit (I installed the drivers each time as well). Still no luck. </p>
<p>Thanks for trying to work through this with me :)</p>
Emulator - Emulator Issues #10412: ES_Launch not working with Bluetooth Passthrough. https://bugs.dolphin-emu.org/issues/10412?journal_id=7300762017-08-12T10:33:12Zpurechoasspurechoas@hotmail.co.uk
<ul></ul><p>volfye wrote:</p>
<blockquote>
<p>I'm imagining that the device gets reset on close and that Dolphin is trying to open it too quickly and not waiting for the right event to know it's ready. I may try to recompile Dolphin and add a sleep to see if that fixes the issue.</p>
</blockquote>
<p>Any chance you have an ES_launch game such as wii sports resort or metroid prime trilogy? Just to make sure this is the same issue or whether your problem is exclusive to the mii channel.</p>
<p>If you do manage to fix this with a recompile you will be a god among men! This issue has been driving me nuts! :-)</p>
Emulator - Emulator Issues #10412: ES_Launch not working with Bluetooth Passthrough. https://bugs.dolphin-emu.org/issues/10412?journal_id=7300772017-08-12T10:38:03Zpurechoasspurechoas@hotmail.co.uk
<ul></ul><p>Also I know a few of you have said it is a windows issue. But there must be something Dolphin can do to get round this? I say this because as mentioned above Bluetooth Passthrough works perfectly with Revision 5.0-2341 and prior. So I wonder what changed since then that brings this error?</p>
Emulator - Emulator Issues #10412: ES_Launch not working with Bluetooth Passthrough. https://bugs.dolphin-emu.org/issues/10412?journal_id=7300782017-08-12T10:48:56ZJMC4789JMC4789@gmail.com
<ul></ul><p>The "bug" was added by that version due to giving the option to use usbdk instead of WinUSB.</p>
<p>If you're still using WinUSB it should work. </p>
<p>Volfye - you're probably correct. If a simple sleep fixes it... that'd be great.</p>
Emulator - Emulator Issues #10412: ES_Launch not working with Bluetooth Passthrough. https://bugs.dolphin-emu.org/issues/10412?journal_id=7300792017-08-12T11:07:53Zpurechoasspurechoas@hotmail.co.uk
<ul></ul><p>JMC4789 wrote:</p>
<blockquote>
<p>The "bug" was added by that version due to giving the option to use usbdk instead of WinUSB.</p>
<p>If you're still using WinUSB it should work. </p>
<p>Volfye - you're probably correct. If a simple sleep fixes it... that'd be great.</p>
</blockquote>
<p>The wiki mentions that you must use libusbk so perhaps that needs to be changed to WinUSB? <a href="https://wiki.dolphin-emu.org/index.php?title=Bluetooth_Passthrough#Windows" class="external">https://wiki.dolphin-emu.org/index.php?title=Bluetooth_Passthrough#Windows</a></p>
<p>And yeah I have been using WinUSB since you mentioned it a while back, to no avail. </p>
Emulator - Emulator Issues #10412: ES_Launch not working with Bluetooth Passthrough. https://bugs.dolphin-emu.org/issues/10412?journal_id=7300802017-08-12T11:10:26ZJMC4789JMC4789@gmail.com
<ul></ul><p>The bug is outside of Dolphin, as this issue doesn't happen on Linux.</p>
<p>It's just a question of if and how we should work-around this on Windows.</p>
Emulator - Emulator Issues #10412: ES_Launch not working with Bluetooth Passthrough. https://bugs.dolphin-emu.org/issues/10412?journal_id=7300812017-08-12T11:15:02Zleoetlino
<ul></ul><p>The only thing that may have broken some Windows setups is the change to only use a single libusb context, but that was reverted (as it ended up causing issues on some Windows systems), so I really can't see what could go wrong here...</p>
<p>And it doesn't seem like Dolphin is doing anything wrong.</p>
<p>If you are able to build Dolphin yourself, could you enable debug logging in libusb and use a program to view debug messages from libusb?</p>
Emulator - Emulator Issues #10412: ES_Launch not working with Bluetooth Passthrough. https://bugs.dolphin-emu.org/issues/10412?journal_id=7300822017-08-12T11:27:14Zmimimi
<ul></ul><p>It might be an adapter compatibility issue, or some SYSCONF issue? I can run the mii channel with passthrough on windows 7, but i get the error when i exit the mii channel and try to go back to the system menu. My adapter isn't good enough to remember the pairing, or some SYSCONF issue is interfering, and i have to do tricks to get my wiimote to sync at all, and it never remembers the pairing between 2 runs.</p>
<p>I'm using the usbdk driver installed to the system, instead of installing the right driver to the adapter. The adapter is using the ps3 to xinput wrapper driver.</p>
Emulator - Emulator Issues #10412: ES_Launch not working with Bluetooth Passthrough. https://bugs.dolphin-emu.org/issues/10412?journal_id=7300832017-08-12T11:28:04Zleoetlino
<ul></ul><p>Neither, it's really an issue with libusb and how it interacts with the operating system :/</p>
Emulator - Emulator Issues #10412: ES_Launch not working with Bluetooth Passthrough. https://bugs.dolphin-emu.org/issues/10412?journal_id=7301092017-08-12T15:16:30Zvolfyelisbeth.nexus7@gmail.com
<ul></ul><p>I recompiled Dolphin and got a build that works. I added SendHCIResetCommand and WaitforHCICommandComplete calls:</p>
<p>ReturnCode BluetoothReal::Close(u32 fd)<br>
{<br>
if (m_handle)<br>
{<br>
SendHCIResetCommand();<br>
WaitForHCICommandComplete(HCI_CMD_RESET);</p>
<pre><code>libusb_release_interface(m_handle, 0);
StopTransferThread();
libusb_unref_device(m_device);
m_handle = nullptr;
</code></pre>
<p>}</p>
<p>return Device::Close(fd);<br>
}</p>
<p>This fixes the issue but I think the code is wrong because I get warning dialogs about scheduleevent from the wrong thread non-cpu. I'm not sure what to do to get the reset called from the right thread.</p>
<p>Could you try this build purechoass to see if it fixes your issue:</p>
<p><a href="https://drive.google.com/open?id=0B_U2gU3vy1_zWFNTQU4xeFpWaFk" class="external">https://drive.google.com/open?id=0B_U2gU3vy1_zWFNTQU4xeFpWaFk</a></p>
Emulator - Emulator Issues #10412: ES_Launch not working with Bluetooth Passthrough. https://bugs.dolphin-emu.org/issues/10412?journal_id=7310462017-11-04T10:16:43Zkiu
<ul></ul><p>Hi, </p>
<p>I am facing the exact same problem using win10 x64 and a Wii BT Module with passthrough. The last release that works is 5.0-2341.</p>
<p>The version modified by volfye "works" (I also have the warnings about schedule events).<br>
When loading the Mii channel from Menu, I can see in the device manager that the BT module is released and used again. That is not the case with the Master branch.</p>
Emulator - Emulator Issues #10412: ES_Launch not working with Bluetooth Passthrough. https://bugs.dolphin-emu.org/issues/10412?journal_id=7310472017-11-04T15:37:29Zkiu
<ul></ul><p>JMC4789 wrote:</p>
<blockquote>
<p>The "bug" was added by that version due to giving the option to use usbdk instead of WinUSB.</p>
<p>If you're still using WinUSB it should work. </p>
</blockquote>
<p>So I've cleaned all libusb drivers and removed usbdk. <br>
After a reboot, my Wii BT was recognized as a normal BT device by windows and passthrough was not working anymore.<br>
I went through the Zadig process to replace the Windows BT driver by the WinUSB one and passthrough is not working at all.<br>
Installing Usbdk makes passthrough work again.<br>
I also tried removing any libusbk and winusb driver and having only usbdk installed. Passthrough worked</p>
<p>Using UsbDk does not seems to be an option. Dolphin requires it now and it was not the case till version 2341</p>
Emulator - Emulator Issues #10412: ES_Launch not working with Bluetooth Passthrough. https://bugs.dolphin-emu.org/issues/10412?journal_id=7310482017-11-04T16:10:33Zleoetlino
<ul></ul><p>It's possible libusb is still seeing an incomplete usbdk install in your case. Have you tried uninstalling it using the driver controller instead? <a href="https://github.com/daynix/UsbDk/blob/master/Documentation/Uninstallation.txt#L11-L13" class="external">https://github.com/daynix/UsbDk/blob/master/Documentation/Uninstallation.txt#L11-L13</a></p>
<p>A forum user has reported that this is the only reliable way to uninstall usbdk completely.</p>
Emulator - Emulator Issues #10412: ES_Launch not working with Bluetooth Passthrough. https://bugs.dolphin-emu.org/issues/10412?journal_id=7310502017-11-05T11:45:28Zkiu
<ul></ul><p>Hi Leoetlino and thanks for your answer.</p>
<p>You were right, usbDk was not uninstalled correctly. It requires a 2 step uninstall :<br>
1- boot in safe mode and uninstall it with the driver controller<br>
2- boot in normal mode and use uninstaller to clean the remaining files</p>
<p>Then I cleaned all remaining winusb and libusbk drivers (Zadig install a new driver each time you use it) using pnputil. After that step, Windows should identify the BCM2045A as a normal bluetooth device when you plug it. </p>
<p>I replaced the original windows drivers by Libusbk using Zadig for both WiiU controller adapter and BCM2045A... And TADA, it works !</p>
Emulator - Emulator Issues #10412: ES_Launch not working with Bluetooth Passthrough. https://bugs.dolphin-emu.org/issues/10412?journal_id=7311322017-11-13T14:02:24ZJosJuice
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-1 status-13 priority-2 priority-default closed" href="/issues/10635">Emulator Issues #10635</a>: Bluetooth Passthrough crash in Metroid Prime Trilogy (Win)</i> added</li></ul> Emulator - Emulator Issues #10412: ES_Launch not working with Bluetooth Passthrough. https://bugs.dolphin-emu.org/issues/10412?journal_id=7331672018-05-18T18:43:57Zaidenn
<ul></ul><p>I can confirm that the issue exists (IOGear GBU421). I can also confirm that installing WinUSB over libusbK fixes the issue (proper safe-mode uninstall of usbdk is crucial).</p>
<p>Why is installing libusbK a required step in the wiki?</p>
Emulator - Emulator Issues #10412: ES_Launch not working with Bluetooth Passthrough. https://bugs.dolphin-emu.org/issues/10412?journal_id=7333352018-05-23T10:30:03ZJMC4789JMC4789@gmail.com
<ul><li><strong>Status</strong> changed from <i>Questionable</i> to <i>Won't fix</i></li></ul><p>These issues are all happening outside of Dolphin and don't occur on Linux or various WinUSB drivers. There's nothing we can do besides try to hack around it and there doesn't appear to be anyone interested in banging their head on it.</p>
Emulator - Emulator Issues #10412: ES_Launch not working with Bluetooth Passthrough. https://bugs.dolphin-emu.org/issues/10412?journal_id=7343892018-08-07T02:22:59ZJMC4789JMC4789@gmail.com
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-1 status-13 priority-2 priority-default closed" href="/issues/11327">Emulator Issues #11327</a>: Rayman Raving Rabbids Party Collection - LIBUSB_ERROR_OTHER</i> added</li></ul>