Skip to content
This repository has been archived by the owner on May 3, 2021. It is now read-only.

PSMoveService crash if PSNavi is connected via USB #215

Closed
magadan opened this issue Sep 22, 2016 · 8 comments
Closed

PSMoveService crash if PSNavi is connected via USB #215

magadan opened this issue Sep 22, 2016 · 8 comments

Comments

@magadan
Copy link

magadan commented Sep 22, 2016

Hello,

Bug found: If 'PS3 Move Motion Left Hand Controller' (Navigation Controller) is connected to USB the PSMoveservice not open on Windows 10 here, just close.

@HipsterSloth
Copy link
Collaborator

Can you launch PSMoveService from the command line? If so, what is the error you are getting before the service shuts down? It sounds like you are hitting an exception at start-up (probably related to opening the USB connected controller) and then the service is exiting immediately.

@magadan
Copy link
Author

magadan commented Sep 24, 2016

Hello, i can run in the 'cmd' window but when i enter command psmoveservice.exe another cmd prompt window opens and desapear (close) very fast.

@cboulay
Copy link
Collaborator

cboulay commented Sep 24, 2016

Are you running psmoveservice.exe in the cmd window?
Probably it won't work right away because you have to cd into the correct directory.
You'll have to do a quick self-teaching on how to use Windows' "Command Prompt". It's not difficult.

@rodrigost23
Copy link

@magadan Run cmd as administrator first.

@magadan
Copy link
Author

magadan commented Sep 29, 2016

Now working. Bellow the message (when 'navigation controller' as attached in usb)

D:\PSMoveService-v0.9alpha5_0_0\Win64>PSMoveService.exe
[2016-09-29 14:41:43.775]: main - Starting PSMoveServiceConfig file name: "C:\Users\crist\AppData\Roaming\PSMoveService\ControllerManagerConfig.json"
[2016-09-29 14:41:43.778]: bluetooth_get_host_address - Found a bluetooth radio[2016-09-29 14:41:43.779]: bluetooth_get_host_address - Retrieved radio infoConfig file name: "C:\Users\crist\AppData\Roaming\PSMoveService\TrackerManagerConfig.json"
[2016-09-29 14:41:43.811]: PSNaviController::open - Opening PSNaviController(?\hid#vid_054c&pid_042f#6&34a0d99a&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030})[2016-09-29 14:41:43.814]: PSNaviController::open - with EMPTY serial_number[2016-09-29 14:41:43.815]: EXCEPTION - PSMoveService - invalid string positionConfig file name: "C:\Users\crist\AppData\Roaming\PSMoveService\ControllerManagerConfig.json"
[2016-09-29 14:41:43.818]: ClientConnection::stop - Stopping client connection id 0
D:\PSMoveService-v0.9alpha5_0_0\Win64>

This is the problem: PSNaviController::open - with EMPTY serial_number[2016-09-29 14:41:43.815]: EXCEPTION

@HipsterSloth
Copy link
Collaborator

Oh ha! Yeah that explains it. Thanks for the log by the way. The PSNavi support is half implemented (framework is all in place but not debugged). I though I had the controller iterator disabled for that type of controller, but apparently not. I hadn't tried to test with a Navi controller in quite a while so it wouldn't surprise me if there was a crash with that. I can fix it so that it wont attempt to open a Navi until I have that feature actually working.

Thanks for the catch!

@HipsterSloth HipsterSloth changed the title PS3 Move Motion Left Hand Controller PSMoveService crash if PSNavi is connected via USB Sep 29, 2016
HipsterSloth added a commit that referenced this issue Oct 4, 2016
* Disable the PSNavi in the controller iterator
@HipsterSloth
Copy link
Collaborator

I just checked in a fix for this crash in master. It'll be in the next release.

@HipsterSloth
Copy link
Collaborator

This fix is now in the latest release (https://github.com/cboulay/PSMoveService/releases/tag/v0.9-alpha5.3)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants