Project

General

Profile

Actions

Emulator Issues #5442

closed

OS X 10.8 breaks Real Wiimote support

Added by apricot.beetle almost 12 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:

Description

  1. Game Name and ID (as it appears in right click > properties: "GZ2P01",
    "RSBE01", etc):
    Any

2) What is the expected output? What do you see instead?
Expected: "1 connected", remote buzz, first led lit and none flashing, remote usable in wii games
Actual: remote buzzes, dolphin crashes.

3) Did the game ever work correctly (i.e. not have this problem) on an
earlier version of dolphin? Please specify the exact revision when the
problem began.
Games work fine, and remote support worked in OS X 10.7

4) What steps will reproduce the problem?

  1. Open Dolphin
  2. Click 'Wiimote' toolbar button
  3. Change Wiimote 1 to "Real Wiimote"
  4. Press 'Refresh' within "Real Wiimotes" section
  5. Wait half a second
  6. Press and hold (1) and (2) buttons on wiimote until wiimote buzzes or dolphin crashes.

5) What version of dolphin are you using (32bit/64bit along with the
version as it appears in the title bar, etc)? Do not say 'latest version'
this changes multiple times a day.
On what operating system, drivers, and hardware? Be sure to list OS,
graphics driver information, and video card model if you are having
graphics problems, for example.
Version: Dolphin 3.0-655 build from dolphin website for OS X.
Operating System: OS X 10.8 Build 12A206j ("Developer Preview 3")
Machine: Mid 2011 Mac Mini BTO:

  • 2.7 GHz Intel Core i7
  • 8 GB 133 MHz DDR3 ram (2x4gb)
  • AMD Radeon HD 6630M 256 MB

6) Please provide any additional information below.

  1. Attachments:
    Terminal output of Dolphin binary: http://d.pr/n/EKCS
    Crash log: http://d.pr/n/OwqP

Related issues 1 (0 open1 closed)

Has duplicate Emulator - Emulator Issues #5684: Dolphin crashes when connecting wiimoteDuplicate

Actions
Actions #1

Updated by apricot.beetle almost 12 years ago

*typo: should read - 8 GB 1333 MHz DDR3 ram (2x4gb)

Actions #2

Updated by Anonymous almost 12 years ago

  • Status changed from New to Duplicate
Actions #3

Updated by apricot.beetle almost 12 years ago

The primary feature of this bug report is not the crash (which happens most, but not every time), but the broken wiimote support. This brokenness is also present in DarwiinRemote, Wiiji, and Remote Buddy - three other Mac apps which interface with wii remotes. Something has changed in the bluetooth stack which will need to be addressed. I feel merging this issue with a crash report isn't useful. This bug also cannot be reproduced on versions of OS X prior to 10.8 - quite distinct from the bug this was marked a duplicate of.

Actions #4

Updated by Anonymous almost 12 years ago

well you included none of that reasoning in your issue report. this d.pr site makes me want to stab my eyes out, and no one is going to fix one without fixing the other.

also apparently 10.8 changed to "golden master seed" status just yesterday, whatever that means. in any case, it's still not a stable release from apple so i care even less than normal about it.

Actions #5

Updated by apricot.beetle almost 12 years ago

Gold Master is a stable release seeded to developers a week or two before it's widely distributed to general users. They exist specifically so developers can test their apps and work on fixes to any minor bugs (like this one) before users begin upgrading to the new system. Mac OS users tend to upgrade to new operating systems much faster than windows users so this will likely be more of an issue. This bug remains present in the Gold Master. It's rare for a gold master to be replaced before release - only extremely severe bugs cause this.

Actions #6

Updated by Anonymous almost 12 years ago

the real issue is that we have no os x devs

Actions #7

Updated by Anonymous almost 12 years ago

  • Status changed from Duplicate to Accepted

placing the blame on apple for now :p
(you're welcome to submit a patch, btw)

a good first step would just be just to look at the docs and see if they have any compat notes listed - or look for other bluetooth devices which have stopped working with this release.

Actions #8

Updated by khiansweb almost 12 years ago

I have the same problem with the final version of ML :(

Actions #9

Updated by lagreze81 almost 12 years ago

Same issues with ML from Applestore. The bluetooth extension has changed since Lion (4.0 -> 4.09). I had to reconnect my mouse with the new OSX. Dolphin recognize the wiimote but it doesn't appear in the list of bluetooth device in Sytem preference after the crash.
I put the crash report from OSX, I don't know if useful ?

Thread 7 Crashed:
0 libsystem_kernel.dylib 0x0000000008fff212 __pthread_kill + 10
1 libsystem_c.dylib 0x0000000008e97b34 pthread_kill + 90
2 libsystem_c.dylib 0x0000000008edbdfa abort + 143
3 com.dolphin-emulator.dolphin 0x00000000005537ae wxFatalSignalHandler + 30
4 libsystem_c.dylib 0x0000000008e8492a _sigtramp + 26
5 libobjc.A.dylib 0x0000000006fbb2d0 objc_msgSend + 16
6 com.dolphin-emulator.dolphin 0x000000000023aaf7 WiimoteReal::Wiimote::IOWrite(unsigned char*, int) + 55
7 com.dolphin-emulator.dolphin 0x00000000001d9099 WiimoteReal::Wiimote::ThreadFunc() + 169
8 com.dolphin-emulator.dolphin 0x000000000023ab4f void* std::thread::RunAndDelete<std::thread::FuncArg<std::mem_fun_t<void, WiimoteReal::Wiimote>, WiimoteReal::Wiimote*> >(void*) + 63
9 libsystem_c.dylib 0x0000000008e96782 _pthread_start + 327
10 libsystem_c.dylib 0x0000000008e831c1 thread_start + 13

Actions #10

Updated by weemickmurray almost 12 years ago

I got the same issue but I kept trying to connect my WiiMote & my entire mac crash & rebooted.
When it rebooted it launched Dolphin & the WiiMote was connected.
This was a one time thing but it let me use it to play the games.

Actions #11

Updated by john almost 12 years ago

Was able to fix Darwiin Remote by proper retain/release of channels. See:

http://stream.weiv.co/mountain-lion-bluetooth-woes-and-its-fix

Actions #12

Updated by weemickmurray almost 12 years ago

Today I got my WiiMote connected a second time by chance as my Dolphin was glitching while I was trying to sync & then the WiiMote synced & Dolphin didn't crash so I am able to fully use it untill it disconnects.

Actions #13

Updated by lagreze81 almost 12 years ago

@
Interesting article... There are something like that.
After trying, I've remarked that if I sync the wiimote just before click on "refresh", it work sometimes... But in game it stay hazardous to maintain the connection. I must explain that i've sync my wiimote with sytem preference before, so ML knew it.

Actions #14

Updated by mwessel over 11 years ago

Easiest patch ever.

Basically what #11 says is exactly right.

Actions #15

Updated by marco over 11 years ago

I put up a binary with the above patch here: http://www.cyberhq.nl/~marco/Dolphin-ML.dmg

Actions #16

Updated by MJDurkin19 over 11 years ago

Can anyone explain what I have to do here? I'm lost.

Actions #17

Updated by Mouseymice over 11 years ago

Comment 15's download link worked well enough for now. The remote pairs and stays paired but you have to sync it twice. I haven't been able to use game saves at all either. I was wondering if anyone knew how to open dolphin and see its code and edit it. I've made a clone but I don't know how to access the actual code.

Actions #18

Updated by george.cairns over 11 years ago

Thanks Marco, I got this issue and am using your binary. I have gotten past the crash, but I dont think dolphin is getting my wiimote's keypresses - I'm stuck on the 'Put on and tighten the wrist strap' screen. I attached my terminal output. Is there anything I might be missing here...?

Actions #19

Updated by alexanderayoung over 11 years ago

Ok so i used comment 15's patch and sadly it does piar one real wiimote without crashing... BUT.. when i try and link a 2nd real wiimote, it crashes and crap

Actions #20

Updated by jordan over 11 years ago

Why hasn't this patch been committed to the trunk? As of build 3.0-799 this issue still hasn't been fixed.

Actions #21

Updated by skidau over 11 years ago

Issue 5684 has been merged into this issue.

Actions #22

Updated by celgilles over 11 years ago

Ok I can confirm on OS X 10.7.5 that your patch works by retaining the 2 L2Cap channels ichan and cchan, it syncs my 3rd party Wiimote immediately, and doesn't loose the connection.

Actions #23

Updated by bradenb95 over 11 years ago

  • Status changed from Accepted to Fixed

fixed by revision a024d0458366

Actions

Also available in: Atom PDF