Skip to content

Add support for Nreal Light and Rokid Air #8

Open

Description

@FullstackSensei

Hi,
The current API supports only the Air. What would you need to add support for the Light and Rokid Air? Both use a very similar HID magic packet to switch from 2D to SBS 3D mode.

I have a USB 2.0 sniffer. I have some dumps that I could share of you want. They were taken with (an old) Lecroy USB Analyzer, and require Lecroy's USB Protocol suite

I'm not able to record new ones as Nebula refuses to open now asking me to update, but Nreal hasn't made Nebula available in the Netherlands :\ I don't currently have the Rokids with me. I'm not sure if I have any dumps from them either.

The Light's HID device VID is 0x0486 and the PID is 0x573C.

The Rokid's HID VID is 0x04D2 and the PID is 0x162F.

Activity

  1. MSmithDev commented on Apr 22, 2023

    @MSmithDev
    Owner
  2. spirodonfl commented on Apr 22, 2023

    @spirodonfl

    I have two pairs of light (dev kits) so I am happy to help out. I'm also a programmer (although mostly web) but not afraid to get into lower level code (I've picked up a bit of Zig recently) if that helps too. If I have some guidance on what to do, I can help out.

    Edit: I should also add - I run Windows 11 with WSL (subsystem Linux - Ubuntu) and I have a Macbook Pro. I also have an iPad Air, an older iPhone, some android phones & tablets. Lots of devices for me to test on/with.

  3. FullstackSensei commented on Apr 22, 2023

    @FullstackSensei
    Author

    The Light and the Air share the same sensor fusion code in Nebula. Whatever works on one will work on the other :)

  4. MSmithDev commented on Nov 7, 2023

    @MSmithDev
    Owner

    We are working on improving some of the code, we will try and add support for the lights in the next version

  5. Kabouik commented on Jan 2, 2025

    @Kabouik

    Just chiming in here to check if this is still on the todo. I am wondering if the dll supports the Xreal Air 2 Ultras, but I guess not since their data is not received by PhoenixHeadTracker (which uses AirAPI_Windows.dll) when I connect them, and I don't know if the issue steams from the dll itself or from PhoenixHeadTracker.

    I really would like to make them work in that program, be it in 3-dof as a start or maybe to take advantage of the 6-dof at some point.

  6. MSmithDev commented on Jan 2, 2025

    @MSmithDev
    Owner

    Just chiming in here to check if this is still on the todo. I am wondering if the dll supports the Xreal Air 2 Ultras, but I guess not since their data is not received by PhoenixHeadTracker (which uses AirAPI_Windows.dll) when I connect them, and I don't know if the issue steams from the dll itself or from PhoenixHeadTracker.

    I really would like to make them work in that program, be it in 3-dof as a start or maybe to take advantage of the 6-dof at some point.

    I don't have a pair of ultras so i can't really mess around with it to add them. Its possible all it needs is the new PID/VID's for the api to detect them but not sure if anything else changed with them.

    This project kind of died out because of lack of support from XReal and without their support we cant really fix the yaw drift issues. I lost interest in them because of this so i haven't worked on it any further.

    The linux driver that was made for the steamdeck uses a similar codebase so you could check and see what he did to get the ultras to work (pretty sure they do) and possibly make those changes to this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions