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

Cupola on Linux: keepalive and "Transfer stalled" #2

Open
jjsmclaughlin opened this issue Jun 2, 2014 · 0 comments
Open

Cupola on Linux: keepalive and "Transfer stalled" #2

jjsmclaughlin opened this issue Jun 2, 2014 · 0 comments

Comments

@jjsmclaughlin
Copy link

At the moment, Cupola doesn't seem able to correctly send keepalive messages to the Rift on Linux. The error given by chrome.usb is "Transfer stalled".

If I comment out line 206 in cupola_server.js, start Cupola, unplug the Rift's USB connection from my machine and then plug it back in, then immediately click "Connect To Rift", Cupola will work for about 10 seconds (until Cupola tries to send the next keepalive message).

If I comment out both lines 206 and 209 so no keepalive messages are ever sent, the Rift works for about the same amount of time. I guess it eventually stops sending orientation data if it doesn't get a keepalive for a while.

So, basically, the whole thing should work great on Linux if it can be figured out why the keepalive message gives a "Transfer stalled". The orientation data messages are working great.

I notice that vr.js's experimental usb driver works well, so maybe there's a clue in there:

https://github.com/benvanik/vr.js/blob/master/experimental/usb-driver/driver.js

I'll be able to experiment more next weekend.

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

1 participant