rnayabed / rangoli

Free, Open Source, Lightweight, Cross-platform Software for Royal Kludge Keyboards
https://rnayabed.github.io/rangoli_website
GNU General Public License v3.0
298 stars 15 forks source link

258a:49 not working #34

Open hramrach opened 1 year ago

hramrach commented 1 year ago

Hello,

I have a rebranded board by some local manufacturer that is no longer available for purchase, and it is recognized by the software as RK (probably correctly) but the communication fails.

Rangoli 2 Graphics: Hardware Authorization required, but no authorization protocol specified Platform: "xcb" Qt 6.5.1

ERROR: No native SystemTrayIcon implementation available. Qt Labs Platform requires Qt Widgets on this setup. Add 'QT += widgets' to .pro and create QApplication in main().

ERROR: No native Menu implementation available. Qt Labs Platform requires Qt Widgets on this setup. Add 'QT += widgets' to .pro and create QApplication in main().

Register profiles Load settings Apply visual settings to Main Window Set System theme Init HID Connection Worker Refresh keyboards HID Device found: /dev/hidraw0 HID Device found: /dev/hidraw1 HID Device found: /dev/hidraw2 HID Device found: /dev/hidraw2 HID Device found: /dev/hidraw2 HID Device found: /dev/hidraw2 HID Device found: /dev/hidraw2 HID Device found: /dev/hidraw2 HID Device found: /dev/hidraw3 HID Device found: /dev/hidraw3 HID Device found: /dev/hidraw3 HID Device found: /dev/hidraw6 HID Device found: /dev/hidraw6 HID Device found: /dev/hidraw6 HID Device found: /dev/hidraw6 HID Device found: /dev/hidraw4 HID Device found: /dev/hidraw5 HID Device found: /dev/hidraw5 HID Device found: /dev/hidraw5 HID Device found: /dev/hidraw5 HID Device found: /dev/hidraw5 HID Device found: /dev/hidraw5 HID Device found: /dev/hidraw5 HID Device found: /dev/hidraw5 HID Device found: /dev/hidraw9 HID Device found: /dev/hidraw10 HID Device found: /dev/hidraw7 HID Device found: /dev/hidraw7 HID Device found: /dev/hidraw7 HID Device found: /dev/hidraw7 HID Device found: /dev/hidraw7 HID Device found: /dev/hidraw7 HID Device found: /dev/hidraw7 HID Device found: /dev/hidraw7 HID Device found: /dev/hidraw7 HID Device found: /dev/hidraw8 HID Device found: /dev/hidraw8 HID Device found: /dev/hidraw8 HID Device found: /dev/hidraw8 HID Device found: /dev/hidraw8 HID Device found: /dev/hidraw8 HID Device found: /dev/hidraw8 HID Device found: /dev/hidraw8 HID Device found: /dev/hidraw8 HID Device found: /dev/hidraw8 HID Device found: /dev/hidraw8 HID Device found: /dev/hidraw8 Add keyboard 258a:49 libpng warning: iCCP: known incorrect sRGB profile Load keyboard 258a:49 Load colours from profile "Default Profile" libpng warning: iCCP: known incorrect sRGB profile Load settings from profile "Default Profile" Clear custom colours for all key indexes Clear all custom mapped keys for all key indexes Save to keyboard 258a:49 Sending 10 feature reports to keyboard at HID path "/dev/hidraw5" Each buffer is of size 65 Unable to send report 0

olivatooo commented 1 year ago

Same here, anyone have a clue?

hramrach commented 1 year ago

You can build and flash the QMK firmware and use the QMK tools.

Did not test it yet, YMMV.

rnayabed commented 1 year ago

Please attach screenshots of the Software. Note that I should be able to see the full list of lighting modes as well. That is very important.

It looks like the protocol is also different, so please do the following

You need to record some tests and send the output (.pcap) of the tests to me. You need to use Windows for this.

Setting up:

  1. install USBPCAP from https://desowin.org/usbpcap/

How to record:

  1. launch RK Keyboard Software
  2. launch USBPcapCMD.exe from C:\Program Files\USBPcap
  3. select the hub that you have connected your RK keyboard to. Generally it shows up as "HID Keyboard Device"
  4. enter file name as test_.pcap. After you enter it will start recording.
  5. proceed with the test steps.
  6. when test is done, do Ctrl+C to exit the program. The recording will stop.
  7. send over the .pcap files over

Note: Follow all the steps AT ONCE. For example, if you are asked to set x to 2 you should set x to 2 from the previous value AT ONCE, and not stopping midway at 3 or something.

Test 1

Before Recording, do the following:

  1. Open RK Software
  2. Select the first lighting mode (Mention the name as well from the screenshot)
  3. Set brightness to 5 (max)
  4. Set animation to 5 (max)
  5. Set sleep as No Sleep (max)

== Start Recording ==

Tests:

  1. Select explode light mode
  2. Select sleep at middle (3)
  3. Select Animation Speed as 2
  4. Select Sleep Time as 10 minutes

Test 2

BEFORE Testing, do the following:

  1. Select "Customize" Light effect mode.
  2. Turn off EVERY KEY
  3. Set sleep as 30 minutes

== Start Recording ==

  1. Select the custom lighting mode (Mention the name as well from the screenshot)
  2. Click on Q Key.
  3. Click on Esc Key.
  4. Click on Right Arrow Key.
  5. Set sleep to 20 minutes
  6. Select "Glittering" Light effect mode
  7. Select "Ripples" Light effect mode

After your tests are done, send me the 2 .pcap files. Also, send me the exact model name, Vendor ID and product ID of your keyboard.

rnayabed commented 1 year ago

Also provide pictures of the keyboard software, and link to it.