You are not logged in.
Hi,
I got for sometimes this keyboard
https://spcgear.com/en/product/gk630k-t … brown-rgb/
It works with linux but they have only customization software in windows. I tried wine both with 32 and 64 prefix but it always claim that the device cannot be detected.
lsusb
Bus 001 Device 087: ID 3299:4e5b SONiX GK630 Gaming Keyboarddsmesg | grep GK630
[ 2771.472315] usb 1-6.6: Product: GK630 Gaming Keyboard
[ 2771.499629] input: SONiX GK630 Gaming Keyboard as /devices/pci0000:00/0000:00:01.3/0000:02:00.0/usb1/1-6/1-6.6/1-6.6:1.0/0003:3299:4E5B.008F/input/input221
[ 2771.553918] hid-generic 0003:3299:4E5B.008F: input,hidraw2: USB HID v1.11 Keyboard [SONiX GK630 Gaming Keyboard] on usb-0000:02:00.0-6.6/input0
[ 2771.570553] input: SONiX GK630 Gaming Keyboard as /devices/pci0000:00/0000:00:01.3/0000:02:00.0/usb1/1-6/1-6.6/1-6.6:1.1/0003:3299:4E5B.0090/input/input222
[ 2771.627135] input: SONiX GK630 Gaming Keyboard as /devices/pci0000:00/0000:00:01.3/0000:02:00.0/usb1/1-6/1-6.6/1-6.6:1.1/0003:3299:4E5B.0090/input/input223
[ 2771.627206] input: SONiX GK630 Gaming Keyboard Mouse as /devices/pci0000:00/0000:00:01.3/0000:02:00.0/usb1/1-6/1-6.6/1-6.6:1.1/0003:3299:4E5B.0090/input/input224
[ 2771.627336] hid-generic 0003:3299:4E5B.0090: input,hiddev97,hidraw3: USB HID v1.11 Keyboard [SONiX GK630 Gaming Keyboard] on usb-0000:02:00.0-6.6/input1
[ 5504.895072] usb 1-6.6: Product: GK630 Gaming Keyboard
[ 5504.922472] input: SONiX GK630 Gaming Keyboard as /devices/pci0000:00/0000:00:01.3/0000:02:00.0/usb1/1-6/1-6.6/1-6.6:1.0/0003:3299:4E5B.0092/input/input225
[ 5504.977345] hid-generic 0003:3299:4E5B.0092: input,hidraw2: USB HID v1.11 Keyboard [SONiX GK630 Gaming Keyboard] on usb-0000:02:00.0-6.6/input0
[ 5504.994179] input: SONiX GK630 Gaming Keyboard as /devices/pci0000:00/0000:00:01.3/0000:02:00.0/usb1/1-6/1-6.6/1-6.6:1.1/0003:3299:4E5B.0093/input/input226
[ 5505.050510] input: SONiX GK630 Gaming Keyboard as /devices/pci0000:00/0000:00:01.3/0000:02:00.0/usb1/1-6/1-6.6/1-6.6:1.1/0003:3299:4E5B.0093/input/input227
[ 5505.050613] input: SONiX GK630 Gaming Keyboard Mouse as /devices/pci0000:00/0000:00:01.3/0000:02:00.0/usb1/1-6/1-6.6/1-6.6:1.1/0003:3299:4E5B.0093/input/input228
[ 5505.050767] hid-generic 0003:3299:4E5B.0093: input,hiddev97,hidraw3: USB HID v1.11 Keyboard [SONiX GK630 Gaming Keyboard] on usb-0000:02:00.0-6.6/input1Any idea?
Thx
Last edited by kamelie1706 (2022-02-20 11:03:50)
Offline
Set up a VM and pass the device through. Wine does not expose low level hardware details and doesn't even have this level of control in general that it would work for this. other than that I've found https://github.com/pixeltris/GK6X however https://github.com/pixeltris/GK6X/issue … -903141677
Offline
Thx … that’s a bummer just for a keyboard configurator. I was hoping a simple USB/serial bridge ;-)
For such kind of low level integration challenge what is the most straight forward nowadays? Qemu, VMware, other …?
Offline
pretty sure that doesn't really matter, all of those should be able to pass through a USB port. But definitely not an expert here so maybe wait for a second opinion-
Offline
Tried "quickly" qemu-system-x86_64 with win10_21H2_x32 (to keep space low) ... everything goes fine until first reboot where it gets stuck to "Preparing" .... no error shows in the console, just stuck forever.
Last edited by kamelie1706 (2022-02-21 08:17:17)
Offline
Almost there!
I managed to install win10 in QEMU and pass the usb port but ... it works only if I launch Qemu with sudo. Without sudo keyboard works but the SPC software does not detect (probably the usb pass then fails and the keyboard is emulated).
Strange ... any hint? I kind of not like running qemu with sudo ...
No error/warning shown in qemu console.
Last edited by kamelie1706 (2022-02-22 18:57:10)
Offline
found something here ....
https://bbs.archlinux.org/viewtopic.php?id=209185
Offline
Almost there!
..snip...
Strange ... any hint? I kind of not like running qemu with sudo ...
Read the warning https://wiki.archlinux.org/title/QEMU#R … zed_system
In fact don't read only that piece, study the whole page...
Offline
Well if I get it right I have to write udev rule for the device I want to passthough, right?
There are 2 problems anyway if I use passthough method:
- the keyboard gets stuck to the VM until I quit it
- it makes my keyboard buggy (windows key stops, repeating does not work,~ does not show ...) until I unplug/replug it
Seems to be known bug
https://www.qemu.org/docs/master/system … s/usb.html
in the console I see my device and it works normally
info usbhost
Bus 5, Addr 2, Port 3, Speed 480 Mb/s
Class 00: USB device 0781:5567
Bus 1, Addr 5, Port 7, Speed 12 Mb/s
Class e0: USB device 8087:0029
Bus 1, Addr 54, Port 6.7.1, Speed 12 Mb/s
Class 00: USB device 05ac:1392
Bus 1, Addr 55, Port 6.6, Speed 12 Mb/s
Class 00: USB device 3299:4e5b
Bus 1, Addr 3, Port 5, Speed 1.5 Mb/s
Class 00: USB device 30fa:1230
Bus 1, Addr 2, Port 1, Speed 480 Mb/s
Class 00: USB device 174c:5106but scp software sees it only if root ... or udev (have not tested that)
my script (using xhci)
#!/bin/sh
exec qemu-system-x86_64 -enable-kvm \
-machine type=q35 \
-cpu host,hv-relaxed,hv-vapic,hv-spinlocks=0x1fff,hv-time \
-device qemu-xhci,id=xhci -device usb-tablet \
-device usb-host,bus=xhci.0,vendorid=0x3299,productid=0x4e5b \
-drive file=qemu_win1064.img,format=qcow2,if=virtio \
-drive file=Win10_21H2_French_x64.iso,media=cdrom \
-drive file=virtio-win-0.1.215.iso,media=cdrom \
-boot menu=on \
-net nic -net user,hostname=windows1064 \
-m 4G \
-monitor stdio \
-name "Windows 10 64 bits" \
"$@"Last edited by kamelie1706 (2022-02-22 20:30:01)
Offline
I don't recognize the problem you have and never had to pass-trough my keyboard.
If my mouse somehow(even this ain't *just* possible) gets caught a simple 'Ctrl+Alt+g' will release it.
So maybe someone how had to deal with your issue has a remedy, I don't!
Offline
There is no particular driver for the keyboard.
There might be some hope still with wine
https://www.phoronix.com/scan.php?page= … usb-Merged
[EDIT]
actually when recognized there is a new device in windows called "HID"
using 2 drivers:
- kbdclass.sys
- kbdhid.sys
and nice reading about the subject related to wine
https://wiki.winehq.org/images/6/61/WineConf-HID.pdf
Last edited by kamelie1706 (2022-02-24 09:00:44)
Offline
Futur might be even brighter and I could ditch the software all in all!
https://github.com/SonixQMK
Someone has already got the factory firmware there
https://github.com/SonixQMK/Mechanical- … ckFWs/240B
Offline