Attempt to add MSI Claw support?
Hey @R3ZEN is the controller in desktop mode or gamepad mode when you are in the bazzite desktop?
also @antheas for tracking
71 Replies
It is in desktop mode
Only the mouse works with r3 and rt and lt for Zoom in on web
what does
hhd.contrib evdev
show?Bro I just uninstall it and installed windows
I am happy to help
But you will need to help me get it to dual boot
Cus I don't know how to do that
its ok
windows is more useful
How come
if you want to use wireshark
ok i will leave you in antheas hands then 😄
we need to record the commands for msi center
but its a pain
so maybe windows it is
?
?
i dont use windows so i am of little to no help, if he says its better to grab the data from windows i trust him
Guys also one thing to note I live in india and it's currently 12:33 in the night so we are going to have a timezone issue
Just tell me how to dual boot and I will help
you dont need to dualboot
this is fine, it just adds time. it is what happens when working across timezones
just install wireshark
with USBPcap
then do recordings of MSI Center
K I will
or not, is the Claw cheaper in india or sth
whats going on with that
No I got it from dubai
whats the logic behind buying it
I heavnt even checked the indian market price
Man the shop owner said it's the best and it's also performing really good for me
The stats are old and before the latest bios update
seems like shop owner decided to offload old product
It performs really well now
Atleast for me it does
its just not worth the money its not bad
tbf i did hear msi and intel did do some elbow grease to improve it, idk by how much though as the comparisons i saw was against just the msi claws old updates not against the other handhelds
Comeon man I spend a good amount on it
I don't appreciate this
I can't just afford a gaming beast every single day
It good enough for me
its not bad
but the Ally is cheaper
Plus I only for it for the mods on some games I already have a ps5
and is faster soooo nobody bought it
and we have no support for it
Well I can't do anything about it now can i
if you can get some recordings switching between mouse mode and gamepad mode, i can fix that
Its good enough for me so I would just have to wilve through it
it would be nice to get support for it if possible though 🙂
i would need a device or someone to to the research for it
On windows you mean
It's just a click of a button
antheas is the dev of HHD which handles all the handheld controls, so if you can get him the readings he needs through wireshark then he should hopefully be able to add controller support
K I will try my best
And pardon me if I am not available all the time
I have a pretty busy schedule
But I will try my best
https://www.wireshark.org/
install it with USBPcap like he said and get some recordings of msi center switching the controls like he said
this is fine, having someone willing to help test and get the info needed is still huge. it will take the time it takes so there is no rush
we are busy ourselves too 🙂
had to go through a very similar process with the ally x too when we got approached with wanting support for it.
Thanks
You really are friendly people
BTW I am Rishik
i mostly just go by HK or Hikari, antheas is antheas
Nice to meet you Hikari
thats my name
except new manufacturer means everything is new
we tease luke but he did the heavy lifting for asus
anyways im off the store, need to go there before they close, you have a nice day/night and we will catch up again when you got the readings for antheas 🙂
i dont know how to use wireshark myself so i think antheas probably has to guide you on that 😅
K
GN
gn
goodnight
so just installed all the drivers now what am I supposed to do?
Wireshark recordings
K
Guys sorry I will send the info you need tomorrow I had a busy day today and wasn't able to send it
dont sweat it, if you are busy you are busy 🙂 people have lives (i am busy myself atm too)
Hey I installed Wireshark but I don't know how to use it
Guys ?
Windows program, just open and make it do its thing
I did it shows nothing I don't understand
just to make sure (i dont know how to use wireshark myself)
but you installed it usbpcap checked off right?
actually @antheas i just installed wireshark just to look around myself in it, with usbpcap installed it doesnt show a way to capture usb hence the confusion perhaps?
Usbpcap needs to be installed
it was selected to be installed during wireshark install though?
should be but hey windows
give me a sec and i will fire up the windows system and install it manually
nothing, reinstalled usbpcap
gonna see if i can try an older wireshark release
nothing, went back to 4.2.5 which should be the version that fanthedeck used and there is no usb option even with usbpcap installed 🤔
I installed usbpcap and the other optional thing their was to install at the first time
Guys ?
antheas is the one familiar with it, i couldnt even get the usb capture option to show up myself when i tried to set it up to try help guide you through it
its very tough and we have other priorities now, im sorry about that. I think it will be hard to test for both of us. If you manage to capture the gamepad switching between keyboard and gamepad i can look into that, otherwise i cant help
at least the gamepad would work
@R3ZEN i got usb capture to show up
copy the
USBPcapCMD.exe
from C:\Program Files\USBPcap
into C:\Program Files\Wireshark\extcap
then run wireshark
you should now have the USBPcap option, double click it
no idea to filter it to only look at what we want, but this should at least get us 1 step closerK will try thanks
sorry i cant be of more guidance
poking around on my claw, the device for the controller is VID_0DB0&PID_1901, though doing the wireshark usb capture doesnt seem to provide much when i trigger a mode switch.
My best guess is that it is one of the bazillion HID devices, or I'm doing the capture wrong. I'll continue investigating since I am interested in HHD support for the claw.
https://github.com/NeroReflex/hid-msi-claw-dkms
I found this. I quickly installed ubuntu on my claw and built, installed, and loaded the module. It seems to put the controller in gamepad mode, but i can't get xpad to load the /dev/input/js0 device for testing.
GitHub
GitHub - NeroReflex/hid-msi-claw-dkms
Contribute to NeroReflex/hid-msi-claw-dkms development by creating an account on GitHub.
we dont use kernel drivers for hid devices, it is unnecessary and complicated, however
sudo hhd.contrib hidraw
on bazzite will show you the msi claw hid devices
list them here when you do that
also in ubuntu, but you will have to figure out how to install it there and access the command. not that tough if you know python
then, according to the kernel driver you sent, the command for gamepad mode is
0f00006036010000
for macro back keys
and 0f00006036010100
for combination
whatever that means
so, at your own risk, after identifying which hidraw device has vid and pid of 0x0BD0, 0x1901
and has a usage page starting from 0xff and hopefully there is just one of those
you can do sudo hhd.contrib hidraw X 0f00006036010000
to enable gamepad mode on your device, where X is hidrawX the number
if that works, I can add it to hhd
if you are in ubuntu
https://github.com/hhd-dev/hhd/blob/2f8f2d143ebe9a712733eaac709fd62d6acab38c/usr/lib/udev/rules.d/83-hhd.rules#L31
echo 0db0 1901 | sudo tee /sys/bus/usb/drivers/xpad/new_id
to get xpad to read the gamepad
this rule is already part of bazzite
if you do that and verify the command works, I can add it to hhdOk. I can try that probably tomorrow.
And makes sense (re: kernel drivers)
what timezone are you in ie whats tomorrow
Oh sorry. EST so Friday
ok, lmk