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

Support for Model O2 Wireless #14

Open
Karagra opened this issue May 2, 2023 · 4 comments
Open

Support for Model O2 Wireless #14

Karagra opened this issue May 2, 2023 · 4 comments

Comments

@Karagra
Copy link

Karagra commented May 2, 2023

Hey there! Tool looks amazing, I was wondering what needs to be done to add support for the Model O2 Wireless. If theres any info I need to collect let me know!

I grabbed these from dmesg.. not sure if they are identical but did one plugged in, and one unplugged
Wireless

[    1.292958] usb 7-1: New USB device found, idVendor=093a, idProduct=822d, bcdDevice= 2.43
[    1.292960] usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.292961] usb 7-1: Product: Model O 2 Wireless
[    1.292962] usb 7-1: Manufacturer: Glorious
[    1.892049] input: Glorious Model O 2 Wireless as /devices/pci0000:00/0000:00:08.1/0000:31:00.3/usb7/7-1/7-1:1.0/0003:093A:822D.0001/input/input2
[    1.943368] hid-generic 0003:093A:822D.0001: input,hidraw0: USB HID v1.10 Keyboard [Glorious Model O 2 Wireless] on usb-0000:31:00.3-1/input0
[    1.947116] input: Glorious Model O 2 Wireless Mouse as /devices/pci0000:00/0000:00:08.1/0000:31:00.3/usb7/7-1/7-1:1.1/0003:093A:822D.0002/input/input3
[    1.947169] input: Glorious Model O 2 Wireless Consumer Control as /devices/pci0000:00/0000:00:08.1/0000:31:00.3/usb7/7-1/7-1:1.1/0003:093A:822D.0002/input/input4
[    1.969283] usb 3-4: new full-speed USB device number 5 using xhci_hcd
[    1.998331] input: Glorious Model O 2 Wireless System Control as /devices/pci0000:00/0000:00:08.1/0000:31:00.3/usb7/7-1/7-1:1.1/0003:093A:822D.0002/input/input5
[    1.998376] hid-generic 0003:093A:822D.0002: input,hiddev96,hidraw1: USB HID v1.10 Mouse [Glorious Model O 2 Wireless] on usb-0000:31:00.3-1/input1
[ 2071.978315] usb 7-1: USB disconnect, device number 2
[ 2074.379093] usb 7-1: new full-speed USB device number 4 using xhci_hcd
[ 2074.517633] usb 7-1: New USB device found, idVendor=093a, idProduct=822a, bcdDevice= 2.43
[ 2074.517638] usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2074.517639] usb 7-1: Product: Model O 2 Wireless
[ 2074.517641] usb 7-1: Manufacturer: GLORIOUS
[ 2074.529813] input: GLORIOUS Model O 2 Wireless as /devices/pci0000:00/0000:00:08.1/0000:31:00.3/usb7/7-1/7-1:1.0/0003:093A:822A.0009/input/input23
[ 2074.582506] hid-generic 0003:093A:822A.0009: input,hidraw0: USB HID v1.10 Keyboard [GLORIOUS Model O 2 Wireless] on usb-0000:31:00.3-1/input0
[ 2074.586784] input: GLORIOUS Model O 2 Wireless Mouse as /devices/pci0000:00/0000:00:08.1/0000:31:00.3/usb7/7-1/7-1:1.1/0003:093A:822A.000A/input/input24
[ 2074.592124] input: GLORIOUS Model O 2 Wireless Consumer Control as /devices/pci0000:00/0000:00:08.1/0000:31:00.3/usb7/7-1/7-1:1.1/0003:093A:822A.000A/input/input25
[ 2074.645225] input: GLORIOUS Model O 2 Wireless System Control as /devices/pci0000:00/0000:00:08.1/0000:31:00.3/usb7/7-1/7-1:1.1/0003:093A:822A.000A/input/input26
[ 2074.646263] hid-generic 0003:093A:822A.000A: input,hiddev96,hidraw1: USB HID v1.10 Mouse [GLORIOUS Model O 2 Wireless] on usb-0000:31:00.3-1/input1
[ 4672.732431] usb 7-1: USB disconnect, device number 4
[ 4676.282144] usb 7-1: new full-speed USB device number 5 using xhci_hcd
[ 4676.457396] usb 7-1: New USB device found, idVendor=093a, idProduct=822d, bcdDevice= 2.43
[ 4676.457400] usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4676.457401] usb 7-1: Product: Model O 2 Wireless
[ 4676.457403] usb 7-1: Manufacturer: Glorious
[ 4676.469445] input: Glorious Model O 2 Wireless as /devices/pci0000:00/0000:00:08.1/0000:31:00.3/usb7/7-1/7-1:1.0/0003:093A:822D.000B/input/input28
[ 4676.522474] hid-generic 0003:093A:822D.000B: input,hidraw0: USB HID v1.10 Keyboard [Glorious Model O 2 Wireless] on usb-0000:31:00.3-1/input0
[ 4676.526477] input: Glorious Model O 2 Wireless Mouse as /devices/pci0000:00/0000:00:08.1/0000:31:00.3/usb7/7-1/7-1:1.1/0003:093A:822D.000C/input/input29
[ 4676.526533] input: Glorious Model O 2 Wireless Consumer Control as /devices/pci0000:00/0000:00:08.1/0000:31:00.3/usb7/7-1/7-1:1.1/0003:093A:822D.000C/input/input30
[ 4676.579193] input: Glorious Model O 2 Wireless System Control as /devices/pci0000:00/0000:00:08.1/0000:31:00.3/usb7/7-1/7-1:1.1/0003:093A:822D.000C/input/input31
[ 4676.579328] hid-generic 0003:093A:822D.000C: input,hiddev96,hidraw1: USB HID v1.10 Mouse [Glorious Model O 2 Wireless] on usb-0000:31:00.3-1/input1

Wired


[    1.149615] usb 7-1: new full-speed USB device number 2 using xhci_hcd
[    1.292958] usb 7-1: New USB device found, idVendor=093a, idProduct=822d, bcdDevice= 2.43
[    1.292960] usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.292961] usb 7-1: Product: Model O 2 Wireless
[    1.292962] usb 7-1: Manufacturer: Glorious
[    1.892049] input: Glorious Model O 2 Wireless as /devices/pci0000:00/0000:00:08.1/0000:31:00.3/usb7/7-1/7-1:1.0/0003:093A:822D.0001/input/input2
[    1.943368] hid-generic 0003:093A:822D.0001: input,hidraw0: USB HID v1.10 Keyboard [Glorious Model O 2 Wireless] on usb-0000:31:00.3-1/input0
[    1.947116] input: Glorious Model O 2 Wireless Mouse as /devices/pci0000:00/0000:00:08.1/0000:31:00.3/usb7/7-1/7-1:1.1/0003:093A:822D.0002/input/input3
[    1.947169] input: Glorious Model O 2 Wireless Consumer Control as /devices/pci0000:00/0000:00:08.1/0000:31:00.3/usb7/7-1/7-1:1.1/0003:093A:822D.0002/input/input4
[    1.969283] usb 3-4: new full-speed USB device number 5 using xhci_hcd
[    1.998331] input: Glorious Model O 2 Wireless System Control as /devices/pci0000:00/0000:00:08.1/0000:31:00.3/usb7/7-1/7-1:1.1/0003:093A:822D.0002/input/input5
[    1.998376] hid-generic 0003:093A:822D.0002: input,hiddev96,hidraw1: USB HID v1.10 Mouse [Glorious Model O 2 Wireless] on usb-0000:31:00.3-1/input1
[ 2071.978315] usb 7-1: USB disconnect, device number 2
[ 2074.379093] usb 7-1: new full-speed USB device number 4 using xhci_hcd
[ 2074.517633] usb 7-1: New USB device found, idVendor=093a, idProduct=822a, bcdDevice= 2.43
[ 2074.517638] usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2074.517639] usb 7-1: Product: Model O 2 Wireless
[ 2074.517641] usb 7-1: Manufacturer: GLORIOUS
[ 2074.529813] input: GLORIOUS Model O 2 Wireless as /devices/pci0000:00/0000:00:08.1/0000:31:00.3/usb7/7-1/7-1:1.0/0003:093A:822A.0009/input/input23
[ 2074.582506] hid-generic 0003:093A:822A.0009: input,hidraw0: USB HID v1.10 Keyboard [GLORIOUS Model O 2 Wireless] on usb-0000:31:00.3-1/input0
[ 2074.586784] input: GLORIOUS Model O 2 Wireless Mouse as /devices/pci0000:00/0000:00:08.1/0000:31:00.3/usb7/7-1/7-1:1.1/0003:093A:822A.000A/input/input24
[ 2074.592124] input: GLORIOUS Model O 2 Wireless Consumer Control as /devices/pci0000:00/0000:00:08.1/0000:31:00.3/usb7/7-1/7-1:1.1/0003:093A:822A.000A/input/input25
[ 2074.645225] input: GLORIOUS Model O 2 Wireless System Control as /devices/pci0000:00/0000:00:08.1/0000:31:00.3/usb7/7-1/7-1:1.1/0003:093A:822A.000A/input/input26
[ 2074.646263] hid-generic 0003:093A:822A.000A: input,hiddev96,hidraw1: USB HID v1.10 Mouse [GLORIOUS Model O 2 Wireless] on usb-0000:31:00.3-1/input1
[ 4672.732431] usb 7-1: USB disconnect, device number 4
[ 4676.282144] usb 7-1: new full-speed USB device number 5 using xhci_hcd
[ 4676.457396] usb 7-1: New USB device found, idVendor=093a, idProduct=822d, bcdDevice= 2.43
[ 4676.457400] usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4676.457401] usb 7-1: Product: Model O 2 Wireless
[ 4676.457403] usb 7-1: Manufacturer: Glorious
[ 4676.469445] input: Glorious Model O 2 Wireless as /devices/pci0000:00/0000:00:08.1/0000:31:00.3/usb7/7-1/7-1:1.0/0003:093A:822D.000B/input/input28
[ 4676.522474] hid-generic 0003:093A:822D.000B: input,hidraw0: USB HID v1.10 Keyboard [Glorious Model O 2 Wireless] on usb-0000:31:00.3-1/input0
[ 4676.526477] input: Glorious Model O 2 Wireless Mouse as /devices/pci0000:00/0000:00:08.1/0000:31:00.3/usb7/7-1/7-1:1.1/0003:093A:822D.000C/input/input29
[ 4676.526533] input: Glorious Model O 2 Wireless Consumer Control as /devices/pci0000:00/0000:00:08.1/0000:31:00.3/usb7/7-1/7-1:1.1/0003:093A:822D.000C/input/input30
[ 4676.579193] input: Glorious Model O 2 Wireless System Control as /devices/pci0000:00/0000:00:08.1/0000:31:00.3/usb7/7-1/7-1:1.1/0003:093A:822D.000C/input/input31
[ 4676.579328] hid-generic 0003:093A:822D.000C: input,hiddev96,hidraw1: USB HID v1.10 Mouse [Glorious Model O 2 Wireless] on usb-0000:31:00.3-1/input1
[ 5842.653635] usb 7-1: USB disconnect, device number 5
[ 5844.687575] usb 7-1: new full-speed USB device number 6 using xhci_hcd
[ 5844.829736] usb 7-1: New USB device found, idVendor=093a, idProduct=822a, bcdDevice= 2.43
[ 5844.829740] usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 5844.829741] usb 7-1: Product: Model O 2 Wireless
[ 5844.829742] usb 7-1: Manufacturer: GLORIOUS
[ 5844.841830] input: GLORIOUS Model O 2 Wireless as /devices/pci0000:00/0000:00:08.1/0000:31:00.3/usb7/7-1/7-1:1.0/0003:093A:822A.000D/input/input33
[ 5844.893671] hid-generic 0003:093A:822A.000D: input,hidraw0: USB HID v1.10 Keyboard [GLORIOUS Model O 2 Wireless] on usb-0000:31:00.3-1/input0
[ 5844.898023] input: GLORIOUS Model O 2 Wireless Mouse as /devices/pci0000:00/0000:00:08.1/0000:31:00.3/usb7/7-1/7-1:1.1/0003:093A:822A.000E/input/input34
[ 5844.898097] input: GLORIOUS Model O 2 Wireless Consumer Control as /devices/pci0000:00/0000:00:08.1/0000:31:00.3/usb7/7-1/7-1:1.1/0003:093A:822A.000E/input/input35
[ 5844.949608] input: GLORIOUS Model O 2 Wireless System Control as /devices/pci0000:00/0000:00:08.1/0000:31:00.3/usb7/7-1/7-1:1.1/0003:093A:822A.000E/input/input36
[ 5844.949651] hid-generic 0003:093A:822A.000E: input,hiddev96,hidraw1: USB HID v1.10 Mouse [GLORIOUS Model O 2 Wireless] on usb-0000:31:00.3-1/input1
@dxbednarczyk
Copy link

I'd be willing to help with this in my fork at dxbednarczyk/mxw. Just to make sure - most of the previous mice models used a vendor ID of 0x258A, while in the logs you've provided it shows (what I'm assuming is hex, I'm not a Linux/dmesg pro) 0x093a. Support should be as easy as just adding the product ID to the list in main.rs.

@Karagra
Copy link
Author

Karagra commented May 14, 2023

I'd be willing to help with this in my fork at dxbednarczyk/mxw. Just to make sure - most of the previous mice models used a vendor ID of 0x258A, while in the logs you've provided it shows (what I'm assuming is hex, I'm not a Linux/dmesg pro) 0x093a. Support should be as easy as just adding the product ID to the list in main.rs.

Amazing.. That would be great. Is there any extra info you need from me to add this in?

@x1y
Copy link

x1y commented Sep 1, 2023

I'd be willing to help with this in my fork at dxbednarczyk/mxw. Just to make sure - most of the previous mice models used a vendor ID of 0x258A, while in the logs you've provided it shows (what I'm assuming is hex, I'm not a Linux/dmesg pro) 0x093a. Support should be as easy as just adding the product ID to the list in main.rs.

Amazing.. That would be great. Is there any extra info you need from me to add this in?

If you are still interested in this, you could provide the vendor ID (VID) and product ID (PID) of your mouse, one time with the cable plugged into your computer and mouse and one time as wireless version.

To do so, type lsusb and search the line where your mouse is mentioned and paste the whole line here. It may look something like:

Bus 001 Device 001: ID 258a:2024 Glorious Model O- Wireless

Do this one time with the cable connected and one time without. Don't forget to label which one is with cable and which one without.

In this example, the "258a:2024" is the VID:PID, where the second part - the PID - is changing depending if the mouse is wireless or wired to a computer, so both PIDs are needed. Feel free to post it under dxbednarczyk#1.

@TomFaulkner
Copy link

TomFaulkner commented May 16, 2024

I'm not OP, but I tried changing the VID and adding the PID for the Wireless I 2 on @dxbednarczyk 's fork, but the mouse isn't seen.

Wireless dongle:

Bus 005 Device 095: ID 093a:821d Pixart Imaging, Inc. Model I 2 Wireless

Wire:

Bus 005 Device 115: ID 093a:821a Pixart Imaging, Inc. Model I 2 Wireless

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

4 participants