Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Support #18

Open
NardweBonesdog opened this issue Feb 11, 2023 · 2 comments
Open

Windows Support #18

NardweBonesdog opened this issue Feb 11, 2023 · 2 comments

Comments

@NardweBonesdog
Copy link

NardweBonesdog commented Feb 11, 2023

Currently running into two issues

-crates\joycon\src\hid.rs:88:9
(Commenting out the assertion allows it to continue but not sure what is going on here)

 Finished dev [unoptimized + debuginfo] target(s) in 3.81s
     Running `target\debug\joytk.exe camera`
Some([101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
[crates\joycon\src\hid.rs:326] status.ir_mode = ImageTransfer
[crates\joycon\src\hid.rs:326] status.ir_mode = HandAnalysisSilhouetteImage
requesting again packet 12
requesting again packet 15
requesting again packet 18
requesting again packet 21
requesting again packet 24
requesting again packet 26
requesting again packet 29
requesting again packet 32
requesting again packet 35
requesting again packet 38
requesting again packet 42
requesting again packet 45
requesting again packet 48
requesting again packet 51
requesting again packet 54
error: process didn't exit successfully: `target\debug\joytk.exe camera` (exit code: 0xc0000005, STATUS_ACCESS_VIOLATION)

Some of the other functions seem to work but I am trying to get this working for the camera; I did get the camera working on MX Linux but was not sure if it was working properly.

The camera lights appear to turn on (Two Red Lights) for a split moment before the error

@NardweBonesdog
Copy link
Author

NardweBonesdog commented Feb 11, 2023

image
Also when running form MX Linux is this what the camera feed is suppose to look like?

Also when trying to use the relay command in MX Linux I am getting this issue

Error: error during the relay

Caused by:
0: error connecting psm 17
1: Connection refused (os error 111)

@Yamakaky
Copy link
Owner

The assertion is a failsafe, I think it was the same on mac so you can replace it by assert_ge.

Can you run a debugger to get the stacktrace at the segfault?

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

No branches or pull requests

2 participants