Project

General

Profile

Actions

Emulator Issues #8330

closed

Real wiimote not working since dolphin 4.0-2241

Added by borgon23 over 9 years ago. Updated over 8 years ago.

Status:
Invalid
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:

Description

I can connect my real wiimote normally until the 2238 version, but from that version I can not connect my wiimote with or without dolphinbar. I tried many solutions but I can not fix it. When I press the refresh button, dolphin freezes. I think it may be due to my bluetooth driver, but I don't know really. I use official wiimote.

PC specifications

Sony Vaio SVE1512I1E
Windows 8.1 64-bit
Intel(R) Core(TM) i3-3110M CPU @ 2.40GHz
6.0 GB RAM
AMD Radeon HD 7500M/7600M Series
Bluetooth driver: Qualcomm Atheros AR3012 Bluetooth(R) Adapter

Actions #1

Updated by JMC4789 over 9 years ago

  • Status changed from New to Questionable

I can't reproduce, it connects fine for me I was just playing it earlier today. Dolphin freezing when you hit the refresh button does sound familiar to me though...

Maybe someone else has ran into this and found a solution? Any takers?

Actions #2

Updated by borgon23 over 9 years ago

I've searched for solutions but none worked me, and I know that it works fine because my brother can play with his laptop perfectly, but it doesn't work for me. By this reason I think that it is due to my PC but I don't know what can I do, and maybe you would know just how to fix it. Thanks anyway.

Actions #3

Updated by JMC4789 over 9 years ago

I think the problem is your bluetooth owns the Wiimote, and you have a DolphinBar plugged in. Disable your bluetooth and sync up the Wiimote with hte DolphinBar and put it on mode 4 for newer builds.

Actions #4

Updated by MayImilae over 9 years ago

I just unplugged my Dolphinbar and connected my wiimote with the Toshiba Stack. It worked exactly as it always has!

4.0-2241 -> https://dolphin-emu.org/download/dev/master/4.0-2241/

Actions #5

Updated by borgon23 over 9 years ago

Thanks for the help, but I already tried these solutions and not work for me. At first I thought it needed the dolphinbar to connect the wiimote in 2241 version and I bought it, but I saw that was not the problem. I just disable my bluetooth and connect through dolphinbar but it didn't work. I've tried installing Toshiba Stack several times but my PC seems not supported because I think I need an external bluetooth device and I don't have it. I don't know if there may be a solution or not.

Actions #6

Updated by JMC4789 over 9 years ago

Nothing changed with non-dolphinbar stuff though. If you unplug the DolphinBar, you can still connect, right?

Actions #7

Updated by borgon23 over 9 years ago

No, that's the problem that I don't understand. Without dolphinbar I can connect my wiimote in previous versions, but not in later versions. So I bought the Dolphinbar, but I saw that that was not the problem. I can play only on older revisions, connecting wiimote and dolphinbar separately, but I would play with the latest updates.

Actions #8

Updated by Buddybenj over 9 years ago

Can you try to follow the instructions in this thread? -> https://forums.dolphin-emu.org/Thread-mayflash-dolphinbar-guide

Actions #9

Updated by borgon23 over 9 years ago

Thanks, but I tried this and it didn't work me.

Actions #10

Updated by woodspire over 9 years ago

I don't have a dolphin bar and I can confirm with revision 4.0.2238, my original wiimote can be connected in Dolphin (when I press refresh in the controller menu and then press the 1 & 2 button on the wiimote, the wiimote shake).

With revision 4.0.2241, dolphin will hang and the wiimote will not shake at all. Dolphin does not hang right away after I press the refresh button.
In the controller panel, I also have checked:

  • enable speaker data
  • continuous scanning
  • wiimote motor

I revision 4.0.2238, I have the same options checked and it works right away.

My guess is that something changed in revision 2239, 2240 or 2241 can is causing this problem. And if only dolphin bar code changed in those revision, then revision 4.0.2238 wiimote IS using the dolphin bar code (when it shouldn't) but by luck, it can still sync !

I know it is written that the changes between both revision is supposed to only be related to dolphin bar stuff, but I am telling you it is not.

I have windows 8.1 64 bit, sony laptop with intel bluetooth hardware running toshiba bluetooth stack 9.10.32.

The wiimote is correctly linked in the toshiba bluetooth stack.

Actions #11

Updated by woodspire over 9 years ago

Correction: Dolphin DOES hang right after I press the refresh button.

Actions #12

Updated by MayImilae over 9 years ago

Unfortunately there is a great many possibilities that could be causing this problem, and until we can narrow it down we won't be able to find a solution. :(

woodspire borgon: If you are up to it, come onto the IRC (#dolphin-emu on Freenode), and maybe we can help you there. The IRC will let us do the rapid back and forth required to try to narrow this down.

Actions #13

Updated by woodspire over 9 years ago

Did a preliminary IRC chat with MaJoRoesch and with both the toshiba and microsoft stack, revision 2241 and up hang when cliking the refresh button to scan for real wiimotes.

I not even necessary to have a wiimote to hang dolphin this way.

So the wiimote detection code might be correct, but dolphin somehow hang before calling it.

And it seems the change in the file Source/Core/Core/HW/WiimoteReal/IOWin.cpp
is what is causing the hang or direct the code execution somewhere is that is hanging.

will try to install VS2013 and compile the latest dolphin source for windows from github but while reverting changes to IOWin.cpp to see if I am able to at least, not hang dolphin while scanning for the wiimote.

Actions #14

Updated by woodspire over 9 years ago

I tried ubuntu 15.04 x64 on a usb stick and dolphin 4.0.6112.

No problem finding the wiimote, so it's not an hardware problem on my sony vaio S laptop.

Will try another os (windows 7 or 8 x64) to see if I can pinpoint the problem.

Currently, my guest is that a fresh windows 8.1 x64 install might work; it's that I did to many bluetooth stack|driver install|uninstall that what is shown to dolphin mess up the wiimote refresh search.

Actions #15

Updated by woodspire over 9 years ago

I created a "windows to go" windows 8.1 usb hdd drive and installed:

  • intel bluetooth driver
  • dolphin 4.0.6112

the wiimote was detected by the bluetooth stack, and dolphin did NOT crash when I clicked the refresh button; and it found the wiimote and the remote shaked (and the light #1 stayed on while the other 3 stopped flashing)

So it's not a windows 8.1 x64 or hardware problem, but a software | windows update | driver that is causing this 'hang' problem in dolphin.

Will try to do a cleanup in my main windows 8.1 installation and will report back if I am able to found the software that is causing this problem. Maybe it's the SCP driver that I used previously to use the ps3 controller as a wiimote.

SCP takes complete control of the bluetooth adapter, so it must be installed to use a ps3 controller and uninstall when trying to use anything else over bluetooth. Maybe some stuff are confusing dolphin wiimote detection...

Actions #16

Updated by woodspire over 9 years ago

Updated windows to go 8.1 enterprise x64 and dolphin still works correctly. Must be a driver or setting I did in windows since I installed it. My main windows OS was upgraded from 7 to 8 and then 8.1 so it might be the cause of the problem.

Actions #17

Updated by woodspire over 9 years ago

I finally found the problem (at least, on my pc)

It's sony wireless state device driver, which create an HID entry in device manager called: Sony wireless device

The installer can be found here: http://esupport.sony.com/CA/p/swu-download.pl?mdl=SVS151190S&upd_id=7869&os_group_id=24

It seems to related to usb HID device detection; that my be why it is crashing dolphin and that the code modification to detect the dolphin bar might be involved.

I cannot simply disabled the device in device manager, but uninstalling it fix the problem in dolphin (must uninstall the whole software bundle because on next boot, the device will be detected again and will be reinstalled)

If you want, I can give you screenshots and information about the device.

Actions #18

Updated by woodspire over 9 years ago

Here is the name of the sony wireless state device:

ACPI\SNYA008\4&512D3B4&0

Apart from an unknown device in windows device manager, I can't find the usage for it.

Sony vaio smart network works (toggle wireless features on|off), as vaio control center (change settings, like volume, brightness, hybrid graphic, lock trackpad)

I am 90% sure that the code change to handle the dolphin bar also affect this device, and it is treated as a dolphin bar so the wrong code path is taken and dolphin is waiting for a response from the dolphin bar that it will never receive.

Actions #19

Updated by woodspire over 9 years ago

I went back to my default windows 8.1 x64 installation, uninstall the sony wireless state device driver (not from the device manager but from the uninstall program list, it's listed as windows update sony croporation (typo!) HIDClass)

and now, dolphin 4.0.6112 works !

didn't test dolphin 4.0.2241, but I am 99% sure it will work.

Conclusion: 4.0.2241 code for the dolphin bar does not handle the sony wireless state device driver, and since the device cannot be disabled in device manager, the software currently must be removed.

Impact, unknown since I have no idea of the usage of this software
But in device manager, I know have an unknown device.

Can you review the code to see what can be wrong ?

I am betting it's this code: (from https://github.com/dolphin-emu/dolphin/pull/661/files)

else if (err != 0x1F) // Some third-party adapters (DolphinBar) use this

  •   		                       // error code to signal the absence of a WiiMote
    
  •   		                       // linked to the HID device.
    
Actions #20

Updated by borgon23 over 9 years ago

Do you think that Windows 10 update will fix the problem?

Actions #21

Updated by borgon23 over 9 years ago

Finally after so long, I was able to solve the problem. You were right, it was definitely the Sony Wireless Device State that is not supported by Dolphin bar. At last I was able to find it and uninstall it, and so Dolphin recognize my wiimote at last. Thank you very much for the help.

Actions #22

Updated by ivicamarkovic1975 over 9 years ago

Hmm, I also have this problem on Win 8.1 and I knew that the problem was on my side. Thanks for the pointer.

Actions #23

Updated by ivicamarkovic1975 over 9 years ago

Here's one thing I noticed. In Win 8.1 my Bluetooth recognize wiimote but post 2241 Dolphin won't unless I first connect it on older Dolphin. After that I can connect to newer emulators normally. Strange.

Actions #24

Updated by JMC4789 almost 9 years ago

Could you see if this is fixed in the latest builds of Dolphin? It's very possible the Wiimote fixes from the latest build fix this as well.

Actions #25

Updated by JMC4789 over 8 years ago

  • Status changed from Questionable to Invalid

There doesn't seem to be any way for us to help you with this issue. I hope that this doesn't pop up in the future, but if it does, feel free to make a new issue or ask for this issue to be reopened.

Actions

Also available in: Atom PDF