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

add experimental SCIMITAR ELITE WIRELESS support #997

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

gilvbp
Copy link

@gilvbp gilvbp commented Sep 29, 2023

Fixes: #993
PS: Need help to get the wheel to work

image

image

@gilvbp
Copy link
Author

gilvbp commented Sep 30, 2023

Using -DCMAKE_BUILD_TYPE=Debug got this output:

ckb-next-daemon 0.5.0-181-gc88501b
[I] Root controller ready at /dev/input/ckb0
[I] Adding device with vendor = 0x1b1c, product = 0x1b3b, path = /dev/bus/usb/009/007, syspath = /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.2/9-3.2.1
[I] Adding device with vendor = 0x1b1c, product = 0x1bdc, path = /dev/bus/usb/009/008, syspath = /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.2/9-3.2.2
[I] Adding device with vendor = 0x1b1c, product = 0x1b2d, path = /dev/bus/usb/009/006, syspath = /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.3
[I] Connecting Corsair Gaming MM800 RGB POLARIS at /dev/input/ckb1
[I] Claiming interfaces. name=Corsair Gaming MM800 RGB POLARIS, firmware=0102, ep_str= 2
[I] ckb1: Claiming 2 interfaces
[I] Connecting CORSAIR SLIPSTREAM WIRELESS USB Receiver at /dev/input/ckb2
[I] Claiming interfaces. name=CORSAIR SLIPSTREAM WIRELESS USB Receiver, firmware=0504, ep_str= 6
[I] ckb2: Claiming 6 interfaces
[I] Connecting Corsair Gaming K95 RGB PLATINUM Keyboard at /dev/input/ckb3
[I] Claiming interfaces. name=Corsair Gaming K95 RGB PLATINUM Keyboard, firmware=0329, ep_str= 2
[I] ckb3: Claiming 2 interfaces
[I] Starting input thread for /dev/input/ckb1
[I] Found EP 0x81 at /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.2/9-3.2.1/9-3.2.1:1.0/ep_81
[I] Endpoint path /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.2/9-3.2.1/9-3.2.1:1.0/ep_81 has wMaxPacketSize 64
[I] Received identification packet: 0e 01 00 00 00 01 00 00 02 01 03 00 1c 1b 3b 1b 08 00 00 00 c2 ff 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
[I] Attached Devices: 1: 0x1b3b; 2: 0x1bdc; 3: 0x1b2d; 4: 0x0; 5: 0x0; 6: 0x0; 7: 0x0; 8: 0x0; 
[I] Setup finished for /dev/input/ckb1
[I] Starting input thread for /dev/input/ckb3
[I] Starting input thread for /dev/input/ckb2
[I] Found EP 0x81 at /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.3/9-3.3:1.0/ep_81
[I] Endpoint path /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.3/9-3.3:1.0/ep_81 has wMaxPacketSize 64
[I] Found EP 0x82 at /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.2/9-3.2.2/9-3.2.2:1.0/ep_82
[I] Endpoint path /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.2/9-3.2.2/9-3.2.2:1.0/ep_82 has wMaxPacketSize 64
[I] Found EP 0x84 at /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.2/9-3.2.2/9-3.2.2:1.1/ep_84
[I] Endpoint path /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.2/9-3.2.2/9-3.2.2:1.1/ep_84 has wMaxPacketSize 64
[I] Found EP 0x83 at /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.2/9-3.2.2/9-3.2.2:1.2/ep_83
[I] Endpoint path /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.2/9-3.2.2/9-3.2.2:1.2/ep_83 has wMaxPacketSize 64
[I] Found EP 0x81 at /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.2/9-3.2.2/9-3.2.2:1.3/ep_81
[I] Endpoint path /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.2/9-3.2.2/9-3.2.2:1.3/ep_81 has wMaxPacketSize 64
[I] Found EP 0x85 at /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.2/9-3.2.2/9-3.2.2:1.4/ep_85
[I] Endpoint path /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.2/9-3.2.2/9-3.2.2:1.4/ep_85 has wMaxPacketSize 64
[I] Found EP 0x86 at /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.2/9-3.2.2/9-3.2.2:1.5/ep_86
[I] Endpoint path /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.2/9-3.2.2/9-3.2.2:1.5/ep_86 has wMaxPacketSize 64
[W] bragi_get_property (bragi_common.c:13): Failed to get property 0x15. Device said it's not supported.
[W] bragi_get_property (bragi_common.c:13): Failed to get property 0x16. Device said it's not supported.
[W] bragi_get_property (bragi_common.c:13): Failed to get property 0x2. Device said it's not supported.
[W] bragi_get_property (bragi_common.c:13): Failed to get property 0x44. Device said it's not supported.
[I] ckb2: Pairing id: 7b cf 34 d3 a0 c3 07 21 
[I] Found new bragi subdevice 1
[I] ckb4: Subkb vendor: 0x1b1c, product: 0x1bdb
[I] Setup finished for /dev/input/ckb2
[W] bragi_process_notification (bragi_notification.c:36): ckb2: Unknown bragi notification for dev 4
[W] bragi_get_property (bragi_common.c:13): Failed to get property 0x15. Device said it's not supported.
[W] bragi_get_property (bragi_common.c:13): Failed to get property 0x16. Device said it's not supported.
[I] ckb4: Pairing id: 7b cf 34 d3 a0 c3 07 21 
[I] Setup finished for /dev/input/ckb4
[W] nxp_usb_read (via firmware.c:45): ckb3: Timeout while waiting for response
[I] Received identification packet: 0e 01 00 00 01 01 00 01 29 03 03 03 1c 1b 2d 1b 01 01 00 01 c0 ff 40 02 03 00 00 00 02 40 02 02 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
[I] Attached Devices: 1: 0x1b3b; 2: 0x1bdc; 3: 0x1b2d; 4: 0x1bdb; 5: 0x0; 6: 0x0; 7: 0x0; 8: 0x0; 
[I] Setup finished for /dev/input/ckb3
[W] bragi_process_notification (bragi_notification.c:36): ckb2: Unknown bragi notification for dev 4

How can we map this bragi key event to fix the wheel?

@gilvbp gilvbp changed the title add SCIMITAR ELITE WIRELESS support add experimental SCIMITAR ELITE WIRELESS support Sep 30, 2023
@gilvbp
Copy link
Author

gilvbp commented Oct 2, 2023

Using -DCMAKE_BUILD_TYPE=Debug got this output:

ckb-next-daemon 0.5.0-181-gc88501b
[I] Root controller ready at /dev/input/ckb0
[I] Adding device with vendor = 0x1b1c, product = 0x1b3b, path = /dev/bus/usb/009/007, syspath = /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.2/9-3.2.1
[I] Adding device with vendor = 0x1b1c, product = 0x1bdc, path = /dev/bus/usb/009/008, syspath = /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.2/9-3.2.2
[I] Adding device with vendor = 0x1b1c, product = 0x1b2d, path = /dev/bus/usb/009/006, syspath = /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.3
[I] Connecting Corsair Gaming MM800 RGB POLARIS at /dev/input/ckb1
[I] Claiming interfaces. name=Corsair Gaming MM800 RGB POLARIS, firmware=0102, ep_str= 2
[I] ckb1: Claiming 2 interfaces
[I] Connecting CORSAIR SLIPSTREAM WIRELESS USB Receiver at /dev/input/ckb2
[I] Claiming interfaces. name=CORSAIR SLIPSTREAM WIRELESS USB Receiver, firmware=0504, ep_str= 6
[I] ckb2: Claiming 6 interfaces
[I] Connecting Corsair Gaming K95 RGB PLATINUM Keyboard at /dev/input/ckb3
[I] Claiming interfaces. name=Corsair Gaming K95 RGB PLATINUM Keyboard, firmware=0329, ep_str= 2
[I] ckb3: Claiming 2 interfaces
[I] Starting input thread for /dev/input/ckb1
[I] Found EP 0x81 at /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.2/9-3.2.1/9-3.2.1:1.0/ep_81
[I] Endpoint path /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.2/9-3.2.1/9-3.2.1:1.0/ep_81 has wMaxPacketSize 64
[I] Received identification packet: 0e 01 00 00 00 01 00 00 02 01 03 00 1c 1b 3b 1b 08 00 00 00 c2 ff 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
[I] Attached Devices: 1: 0x1b3b; 2: 0x1bdc; 3: 0x1b2d; 4: 0x0; 5: 0x0; 6: 0x0; 7: 0x0; 8: 0x0; 
[I] Setup finished for /dev/input/ckb1
[I] Starting input thread for /dev/input/ckb3
[I] Starting input thread for /dev/input/ckb2
[I] Found EP 0x81 at /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.3/9-3.3:1.0/ep_81
[I] Endpoint path /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.3/9-3.3:1.0/ep_81 has wMaxPacketSize 64
[I] Found EP 0x82 at /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.2/9-3.2.2/9-3.2.2:1.0/ep_82
[I] Endpoint path /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.2/9-3.2.2/9-3.2.2:1.0/ep_82 has wMaxPacketSize 64
[I] Found EP 0x84 at /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.2/9-3.2.2/9-3.2.2:1.1/ep_84
[I] Endpoint path /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.2/9-3.2.2/9-3.2.2:1.1/ep_84 has wMaxPacketSize 64
[I] Found EP 0x83 at /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.2/9-3.2.2/9-3.2.2:1.2/ep_83
[I] Endpoint path /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.2/9-3.2.2/9-3.2.2:1.2/ep_83 has wMaxPacketSize 64
[I] Found EP 0x81 at /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.2/9-3.2.2/9-3.2.2:1.3/ep_81
[I] Endpoint path /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.2/9-3.2.2/9-3.2.2:1.3/ep_81 has wMaxPacketSize 64
[I] Found EP 0x85 at /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.2/9-3.2.2/9-3.2.2:1.4/ep_85
[I] Endpoint path /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.2/9-3.2.2/9-3.2.2:1.4/ep_85 has wMaxPacketSize 64
[I] Found EP 0x86 at /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.2/9-3.2.2/9-3.2.2:1.5/ep_86
[I] Endpoint path /sys/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:49:00.3/usb9/9-3/9-3.2/9-3.2.2/9-3.2.2:1.5/ep_86 has wMaxPacketSize 64
[W] bragi_get_property (bragi_common.c:13): Failed to get property 0x15. Device said it's not supported.
[W] bragi_get_property (bragi_common.c:13): Failed to get property 0x16. Device said it's not supported.
[W] bragi_get_property (bragi_common.c:13): Failed to get property 0x2. Device said it's not supported.
[W] bragi_get_property (bragi_common.c:13): Failed to get property 0x44. Device said it's not supported.
[I] ckb2: Pairing id: 7b cf 34 d3 a0 c3 07 21 
[I] Found new bragi subdevice 1
[I] ckb4: Subkb vendor: 0x1b1c, product: 0x1bdb
[I] Setup finished for /dev/input/ckb2
[W] bragi_process_notification (bragi_notification.c:36): ckb2: Unknown bragi notification for dev 4
[W] bragi_get_property (bragi_common.c:13): Failed to get property 0x15. Device said it's not supported.
[W] bragi_get_property (bragi_common.c:13): Failed to get property 0x16. Device said it's not supported.
[I] ckb4: Pairing id: 7b cf 34 d3 a0 c3 07 21 
[I] Setup finished for /dev/input/ckb4
[W] nxp_usb_read (via firmware.c:45): ckb3: Timeout while waiting for response
[I] Received identification packet: 0e 01 00 00 01 01 00 01 29 03 03 03 1c 1b 2d 1b 01 01 00 01 c0 ff 40 02 03 00 00 00 02 40 02 02 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
[I] Attached Devices: 1: 0x1b3b; 2: 0x1bdc; 3: 0x1b2d; 4: 0x1bdb; 5: 0x0; 6: 0x0; 7: 0x0; 8: 0x0; 
[I] Setup finished for /dev/input/ckb3
[W] bragi_process_notification (bragi_notification.c:36): ckb2: Unknown bragi notification for dev 4

How can we map this bragi key event to fix the wheel?

Got the scroll wheel working. Used the same solution as implemented here: a2cc5cb.

Changing DPI using the value/button isn't working. Also, I still have to map the layout button for that.

gilvbp

This comment was marked as resolved.

@kewur
Copy link

kewur commented Dec 6, 2023

would be nice to get this in

add SCIMITAR ELITE WIRELESS support
@egberts
Copy link

egberts commented Jan 3, 2024

Getting scan codes, a HOWTO

#656 (comment)

@cirk2
Copy link

cirk2 commented Jan 11, 2024

scan code for Thumb Button 12 Should be:

ffff8881086ca240 1912599053 C Ii:1:003:3 0:1 64 = 01020000 01000000 00000000 00000000 00000000 00000000 00000000 00000000

For Comparison Thumb Button 11:

ffff8887c7ecc3c0 2720936352 C Ii:1:003:3 0:1 64 = 01020080 00000000 00000000 00000000 00000000 00000000 00000000 00000000

@egberts
Copy link

egberts commented Feb 7, 2024

Works well for other mouses to me.

@gilvbp
Copy link
Author

gilvbp commented Feb 8, 2024

Only the macro functionality is still not working

@kewur
Copy link

kewur commented Jun 13, 2024

I've checkout this pr and installed with ./quickinstall but ckb-next still says "no devices connected" am I missing some step here?

@cirk2
Copy link

cirk2 commented Jun 17, 2024

you need to start the daemon with --enable-experimental to enable the experimental devices.

@DreiPixel DreiPixel mentioned this pull request Aug 24, 2024
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

Successfully merging this pull request may close these issues.

SCIMITAR ELITE WIRELESS MMO Gaming Mouse - 1bdb
4 participants