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

Model I 2 Wireless Support #10

Open
tom-ricci opened this issue Nov 12, 2024 · 1 comment
Open

Model I 2 Wireless Support #10

tom-ricci opened this issue Nov 12, 2024 · 1 comment

Comments

@tom-ricci
Copy link

I've been looking for a way to get this working with my Model I, and so far I've determined the following:

  1. the Model I has a different vendor ID (0x093A)
  2. the Model I also has a different interface. It wasn't being detected with 0x02, but 0x01 was detected, although it didn't work
  3. The Model I's product ID is 0x821D

I changed the src/glorious.rs file as such:

use strum_macros::EnumIter;

pub const VENDOR_ID: u16 = 0x093A;
pub const INTERFACE: i32 = 0x01;

#[derive(Debug, EnumIter)]
pub enum Device {
    ModelO = 0x2011,
    ModelD = 0x2012,
    ModelOMinus = 0x2013,
    ModelDMinus = 0x2025,
    WiredModelO = 0x2022,
    WiredModelD = 0x2023,
    WiredModelOMinus = 0x2024,
    ModelD2Pro = 0x2034,
    ModelIWireless = 0x821D,
}

However, when I run report battery or report firmware, I get:

Error: hidapi error: ioctl (SFEATURE): Broken pipe

I also tried messing around with mow to get it to work before I found your fork; I changed the filter in src/main.rs to match the Model I but ended up with this:

thread 'main' panicked at src/report/battery.rs:12:40:
called `Result::unwrap()` on an `Err` value: HidApiError { message: "hid_error is not implemented yet" }
@dxbednarczyk
Copy link
Owner

Devices that are supported by Glorious Core v2 won't work here, unfortunately. See #1 (comment)

I don't have a newer mouse to test with, so I can't help with implementing this

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