nate270 / wjoy

Automatically exported from code.google.com/p/wjoy
0 stars 0 forks source link

Feature Request: Continuous Discovery #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Feature Request:

Ability to connect the Wiimote without having to interact with the TV.   For 
example, I have a HTPC.  Would love an option to always be in discovery mode 
when a Wiimote is disconnected.   This way I would only need to hit the Sync 
button from the Couch to connect.

What steps will reproduce the problem?
1.   Restart Computer
2.   Click Sync Button on Wiimote
3.   Have to click "Begin Discovery"

What is the expected output? What do you see instead?
Be able to connect from the Sync button alone.

What version of the product are you using? On what operating system?
OS - 10.8.3
Ver - 0.6

Please provide any additional information below.

Using a Datel Wii Retro Wireless...  It works great. 

Original issue reported on code.google.com by j...@advancedstick.com on 5 May 2013 at 6:06

GoogleCodeExporter commented 8 years ago
Great idea :) May be in future i will implement this.

Original comment by alexandr.serkov on 6 May 2013 at 8:55

GoogleCodeExporter commented 8 years ago
Hello, John!

I implemented this feature, can you test it? 
(http://wjoy.googlecode.com/issues/attachment?aid=200005000&name=WJoy.zip&token=
Rad09feU4tNVuiGvizLIn-aZYlo%3A1372761405037)

In this build you need pair with device only once. After what, if you press any 
button on wiimote (sometimes two-tree pressed), it connects to mac (and WJoy) 
without "discovery" function. If WJoy started, of course. But it's very 
experimental function, and may be it's not work. :)

Original comment by alexandr.serkov on 2 Jul 2013 at 10:38

GoogleCodeExporter commented 8 years ago
Hi Alexandr 

I just pulled you out of my Spam filter.  I know I am 4 months late getting 
back to you (sorry).

The link below is invalid, and it doesn't look like you added it to V7 of the 
build.  If its not to much trouble for you, I have this white listed and am 
willing to test. 

Original comment by j...@advancedstick.com on 18 Oct 2013 at 9:34

GoogleCodeExporter commented 8 years ago
Sorry for link, i remove this file :( But today i will release new 0.7.1 with 
this ability and support of OS X 10.9. It's still experimental, but it works 
fine on my computers. :)

Original comment by alexandr.serkov on 25 Oct 2013 at 6:59

GoogleCodeExporter commented 8 years ago
Please, try to test 0.7.1 with One-Button-Click-Connection option.

Original comment by alexandr.serkov on 25 Oct 2013 at 5:13

GoogleCodeExporter commented 8 years ago
Thanks, it works great!.

Installed, Tested, and Beat Megaman X2.   Was using the Datel Retro Wireless 
(Wii).   It installed, detected the controller, and I was able to map the 
buttons using Controller Mate with no issue.   I am able to power down, and 
back up and reconnect also with no issue.   The setup also survives a reboot.

The only problem I hit was that the first time I ran wjoy 0.7.1 and connected 
the controller (no system password prompt).   My Mac Crashed.   The second 
time, I was prompted for a password.   I did have an older version installed. 

Original comment by j...@advancedstick.com on 27 Oct 2013 at 8:06

GoogleCodeExporter commented 8 years ago
Ops, i never seen kernel panic, produced by WJoy O_o Can you attach here panic 
log (usually can be finded in Console.app in /Library/Diagnostic Reports 
section)?

Original comment by alexandr.serkov on 27 Oct 2013 at 8:46

GoogleCodeExporter commented 8 years ago
I think this is it…  

Fri Oct 25 17:02:07 2013
panic(cpu 2 caller 0xffffff800524450e): "a freed zone element has been modified 
in zone: kalloc.16"@/SourceCache/xnu/xnu-2050.48.12/osfmk/kern/zalloc.c:219
Backtrace (CPU 2), Frame : Return Address
0xffffff80f6333a50 : 0xffffff800521d636  
0xffffff80f6333ac0 : 0xffffff800524450e  
0xffffff80f6333b00 : 0xffffff8005243d52  
0xffffff80f6333be0 : 0xffffff800522465d  
0xffffff80f6333c10 : 0xffffff80055f8214  
0xffffff80f6333c30 : 0xffffff80055f8295  
0xffffff80f6333c50 : 0xffffff8005632836  
0xffffff80f6333cb0 : 0xffffff8005635028  
0xffffff80f6333ce0 : 0xffffff7f8578b330  
0xffffff80f6333d00 : 0xffffff7f8578d0e2  
0xffffff80f6333d40 : 0xffffff800564fdd1  
0xffffff80f6333d80 : 0xffffff7f8578d024  
0xffffff80f6333dc0 : 0xffffff800566dbb7  
0xffffff80f6333e30 : 0xffffff800529876f  
0xffffff80f6333e80 : 0xffffff8005220b4d  
0xffffff80f6333eb0 : 0xffffff8005210448  
0xffffff80f6333f00 : 0xffffff800521961b  
0xffffff80f6333f70 : 0xffffff80052a6546  
0xffffff80f6333fb0 : 0xffffff80052cf473  
      Kernel Extensions in backtrace:
         com.apple.iokit.IOHIDFamily(1.8.1)[DC213619-FB05-3FAF-B906-2CE76E7B9FF1]@0xffffff7f85788000->0xffffff7f857f4fff
            dependency: com.apple.driver.AppleKeyStore(28.21)[A07AF045-127B-3CD5-90C9-7ED8AE353525]@0xffffff7f8577a000

BSD process name corresponding to current thread: ControllerMateHe

Mac OS version:
12F45

Kernel version:
Darwin Kernel Version 12.5.0: Sun Sep 29 13:33:47 PDT 2013; 
root:xnu-2050.48.12~1/RELEASE_X86_64
Kernel UUID: EA38B02E-2B88-309F-BA68-1DE29F605DD8
Kernel slide:     0x0000000005000000
Kernel text base: 0xffffff8005200000
System model name: Macmini6,2 (Mac-F65AE981FFA204ED)

System uptime in nanoseconds: 772455738084213
last loaded kext at 167921246478903: com.alxn1.driver.wjoy 1 (addr 
0xffffff7f8706d000, size 28672)
last unloaded kext at 449267985451: com.apple.filesystems.msdosfs 1.8.1 (addr 
0xffffff7f8702c000, size 57344)
loaded kexts:
com.alxn1.driver.wjoy 1
com.steelseries.BoardListener 8.39
com.protech.NoSleep 1.3.0
com.mice.driver.WirelessGamingReceiver 1.0.0d12
com.orderedbytes.driver.ControllerMateFamily 4.6.0
com.orderedbytes.driver.CMUSBDevices 4.6.0
com.apple.filesystems.smbfs 1.8.4
com.apple.iokit.IOBluetoothSerialManager 4.1.7f4
com.apple.driver.AudioAUUC 1.60
com.apple.driver.AppleMikeyHIDDriver 124
com.apple.driver.ApplePlatformEnabler 2.0.7d2
com.apple.driver.AGPM 100.13.12
com.apple.driver.X86PlatformShim 1.0.0
com.apple.driver.AppleHDA 2.4.7fc4
com.apple.filesystems.autofs 3.0
com.apple.driver.AppleUpstreamUserClient 3.5.12
com.apple.driver.AppleMCCSControl 1.1.11
com.apple.driver.AppleMikeyDriver 2.4.7fc4
com.apple.driver.AppleIntelHD4000Graphics 8.1.6
com.apple.driver.AppleSMBusPCI 1.0.11d1
com.apple.driver.AppleSMCPDRC 1.0.0
com.apple.driver.AppleLPC 1.6.3
com.apple.iokit.IOUserEthernet 1.0.0d1
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.1.7f4
com.apple.driver.AppleIntelFramebufferCapri 8.1.6
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.ApplePolicyControl 3.4.5
com.apple.driver.AppleIRController 320.15
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 34
com.apple.driver.XsanFilter 404
com.apple.iokit.IOAHCIBlockStorage 2.3.5
com.apple.driver.AppleUSBHub 635.4.0
com.apple.driver.AppleSDXC 1.4.3
com.apple.iokit.AppleBCM5701Ethernet 3.6.2b4
com.apple.driver.AirPort.Brcm4331 615.20.17
com.apple.driver.AppleFWOHCI 4.9.9
com.apple.driver.AppleAHCIPort 2.6.6
com.apple.driver.AppleUSBEHCI 621.4.6
com.apple.driver.AppleUSBXHCI 635.4.0
com.apple.driver.AppleACPIButtons 1.8
com.apple.driver.AppleRTC 1.5
com.apple.driver.AppleHPET 1.8
com.apple.driver.AppleSMBIOS 1.9
com.apple.driver.AppleACPIEC 1.8
com.apple.driver.AppleAPIC 1.7
com.apple.driver.AppleIntelCPUPowerManagementClient 214.0.0
com.apple.nke.applicationfirewall 4.0.39
com.apple.security.quarantine 2.1
com.apple.driver.AppleIntelCPUPowerManagement 214.0.0
com.apple.iokit.IOSerialFamily 10.0.6
com.apple.driver.DspFuncLib 2.4.7fc4
com.apple.iokit.IOAudioFamily 1.9.2fc7
com.apple.kext.OSvKernDSPLib 1.12
com.apple.kext.triggers 1.0
com.apple.iokit.IOAcceleratorFamily 74.15
com.apple.driver.AppleSMBusController 1.0.11d1
com.apple.driver.IOBluetoothHIDDriver 4.1.7f4
com.apple.driver.AppleHDAController 2.4.7fc4
com.apple.iokit.IOHDAFamily 2.4.7fc4
com.apple.iokit.IOFireWireIP 2.2.5
com.apple.iokit.IOSurface 86.0.4
com.apple.iokit.IOBluetoothFamily 4.1.7f4
com.apple.driver.X86PlatformPlugin 1.0.0
com.apple.driver.IOPlatformPluginFamily 5.4.1d13
com.apple.iokit.IOBluetoothHostControllerUSBTransport 4.1.7f4
com.apple.driver.AppleSMC 3.1.5d4
com.apple.driver.AppleGraphicsControl 3.4.5
com.apple.iokit.IONDRVSupport 2.3.7
com.apple.iokit.IOGraphicsFamily 2.3.7
com.apple.iokit.IOSCSIArchitectureModelFamily 3.5.6
com.apple.driver.AppleUSBMergeNub 621.4.6
com.apple.driver.AppleThunderboltDPInAdapter 2.5.0
com.apple.driver.AppleThunderboltDPAdapterFamily 2.5.0
com.apple.driver.AppleThunderboltPCIDownAdapter 1.3.2
com.apple.iokit.IOUSBHIDDriver 623.4.0
com.apple.driver.AppleUSBComposite 621.4.0
com.apple.driver.AppleThunderboltNHI 1.9.2
com.apple.iokit.IOThunderboltFamily 2.7.7
com.apple.iokit.IOEthernetAVBController 1.0.2b1
com.apple.iokit.IO80211Family 530.5
com.apple.iokit.IONetworkingFamily 3.0
com.apple.iokit.IOFireWireFamily 4.5.5
com.apple.iokit.IOUSBUserClient 630.4.4
com.apple.iokit.IOAHCIFamily 2.5.1
com.apple.iokit.IOUSBFamily 635.4.0
com.apple.driver.AppleEFINVRAM 2.0
com.apple.iokit.IOHIDFamily 1.8.1
com.apple.driver.AppleEFIRuntime 2.0
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 220.3
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 7
com.apple.driver.DiskImages 345
com.apple.iokit.IOStorageFamily 1.8
com.apple.driver.AppleKeyStore 28.21
com.apple.driver.AppleACPIPlatform 1.8
com.apple.iokit.IOPCIFamily 2.8
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.corecrypto 1.0

Original comment by j...@advancedstick.com on 29 Oct 2013 at 11:43

GoogleCodeExporter commented 8 years ago
Yes, it's kernel crash log. Thank you.

Looks like ControllerMate did crash kernel. But it may be too old wjoy.kext. 
Anyway, i hope what now all will work fine. :)

Original comment by alexandr.serkov on 30 Oct 2013 at 3:15

GoogleCodeExporter commented 8 years ago
It only happened once, everything has been fine since then.

Thanks for doing this it works great! 

Original comment by j...@advancedstick.com on 30 Oct 2013 at 3:18