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
287 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
ok, so running bazzite, there is a single HID device called "Xbox360 controller for windows" , with device id 0db0:1901, usage page: 0xffa0, usage: 0x0001. sending the command to the device is successful, but it doesn't change the mode.
there are three hid devices with the same name, but hidraw2 is the one with usage page 0xffa0
Send the devices
/dev/hidraw0 0db0:1901 Usage Page: 0x000d Usage: 0x0022 Names: ' ' : 'Xbox360 Controller for Windows'
/dev/hidraw1 0db0:1901 Usage Page: 0xffa0 Usage: 0x001 Names: ' ' : 'Xbox360 Controller for Windows'
/dev/hidraw2 0db0:1901 Usage Page: 0x0001 Usage: 0x001 Names: ' ' : 'Xbox360 Controller for Windows'
yeah...
maybe the hid id was wrong
no it was correct
but you cant tell from the kernel driver
if you can in windows
with wireshark try to find a command like this 0f00006036010000
It will only be on one of the USBPCaps
Can I help with something? I have the msi claw and I would like to be able to use it with bazzite
just need to figure out the wireshark stuff, I had tried it before but didn't seem to be capturing any commands when the mode was switched. Installing windows right now since I wiped it to install bazzite.
I think controller mouse events overlap gamepad events, causing the gamepad buttons to not work.
https://youtu.be/0i5sccTdtDo
If I can turn off the mouse event commands, I think the gamepad buttons can work as well.
I sent boot log for anyone who can analyze
I try to use command
sudo hhd.contrib hidraw X 0f00006036010000
only Page: 0xffa0 it work but not response
youre not expected to see a response
try also the xpad driver rule
I already set
HHD service not running
Try to run hhd in CLI output here.
Oh tuned is broken
You're missing the xpad rule
How to setup this
.
Put " in echo maybe it helps
I try this but same result.
Reboot require?
Rip
No
I think it's a good news.
https://www.phoronix.com/news/Linux-6.12-rc4-MSI-Claw-A1M
Linux 6.12-rc4 Adding Controller Support For The MSI Claw A1M & 8Bi...
Sent out overnight were a few input subsystem patches ahead of the Linux 6.12-rc4 kernel release tomorrow
That's just the xpad rule
That I'm giving you as a command
Still poking around Wireshark because there's a lot of capture when doing the USB, found a hid event that starts with 0f00, but it's 0f00003c26000000
use a good filter to see all of them
and do apply as column to see them cleanly
some quick testing and sending the command
sudo hhd.contrib hidraw 4 0f00003c24030000
seems to have put it in some sort of controller mode. (for some reason the device is now hidraw4 probably because i have a keyboard and mouse plugged in)
doing some quick testing, navigation around the steam interface seems to work, controller calibration/testing in the settings doesn't work at all (but that's not the fault of HHD as far as i can tell)
Installed a game, and while some of the controller buttons work, the game seems to thilnk its in keyboard mode, and the mappings are all wrong. Left stick works, but d-pad just moves the character as well instead of the expected functions, right stick doesnt do anything.
I'll keep poking around wireguard and noting down hid events that look promising. I have to leave home shortly, but I can continue investigating later tonight (EST, probably around 7pm)i am very dumb
youre right it is hex
so this 0f00006036010000
needs to become
0f00003c24010000
wait
your command is correct, but it needs a 1 instead of a 3
otherwise it will use dinputAh. Ok. I'll try that when I get back home. I have the 0f00000324010000 in my notepad as well. Ran the 2403 first and the joystick was interacting with the terminal, then ran the 2401 and it stopped, but I didn't think to test it in steam gamescope
ok, sending the command
sudo hhd.contrib hidraw 7 0f00003c24010000
(the device was now at hidraw7 for some reason), and switching to gamescope resulted in all the normal controller buttons working both in game (the game now detected a controller and all inputs worked as expected), as well as in the controller test interface. the only buttons that don't work are the two special buttons on the front that normally bring up MSI Center (left side bottom), and the MSI Center quick panel (right side bottom). I'd assume (though I could be wrong), that at least one of those special buttons would open the right side settings panel.
in sudo libinput debug-event
the two front buttons show as KEY_F15 (Left) and KEY_F16 (Right). The back buttons do nothing at all. these mappings might be outside of the realm of HHD though.I tested it and got the same result. I think it should be enabled by default from boot.
And use Steam Input to use on desktop mode
turn on hhd it already has support for those
it just didnt run the command
I found a new problem.Wifi lost when wake up from sleep
I don't know what Bazzite has already implemented this.
https://www.intel.com/content/www/us/en/download/819707/epp-tuning-package-for-linux-on-intel-core-ultra-mobile-processor.html
Intel
EPP Tuning Package for Linux* on Intelยฎ Coreโข Ultra Mobile Processo...
Tune your system to get additional power savings or a performance boost.
This might help a little bit.
https://github.com/Valkirie/HandheldCompanion/blob/main/HandheldCompanion/Devices/MSI/ClawA1M.cs
GitHub
HandheldCompanion/HandheldCompanion/Devices/MSI/ClawA1M.cs at main ...
ControllerService. Contribute to Valkirie/HandheldCompanion development by creating an account on GitHub.
I found device AT Translate Set 2 keyboard to map Quick Access (Right) and MSI Menu (LEFT) key to F15 and F16 key
I try to comment or delete evdev code in file /etc/udev/hwdb.d/83-hhd.hwdb but not work.
AT Translate Set 2 keyboard still appear
its ok
just launch hhd
How do I launch HHD? That's the one part I got confused about
I could open the side menu with swipe, just not the buttons
type hhd in terminal
or start service by command systemctl start hhd@$(whoami)
Interesting. Pretty sure that was one of the things I did. I'll try again tonight.
it will autodetect the controller and fix the buttons
if you set it to xinput mode
unless i made a mistake
yes thats the built in keyboard
you cant get it to dissappear
and you want it to have f15 and f16
Is it possible to change F15 and F16 keyboard to another?
hhd reads those
just let it be
and Is it possible to map combo key ex. CTRL+2?
can you listen to me
tell me the vid and pid of the msi claw
i think i have it
how to get vid and pid?
run
ujust _hhd-dev
i added itis it complete?
still this a long time
Yes it is
I think PID is wrong
1901 not 9101
fixed
already installed
what do yo want? and how to get it
does it work?
the front buttons should work now
Log info show QAM Pressed 1 when I pressed Left button
are you sure its the left?
yes i sure
Right button is not response
thats ok, the right button is xbox
ok I added an initialization, so now hhd will also switch it to xbox mode
I detected a left button
press left button it press xbox button and A button
Is it problem?
Lastest update,It's work correctly.
https://www.youtube.com/watch?v=K7BNYiLYxRs
Does the rumble work? That's the one thing in the test interface that didnt seem to do anything
but still need command sudo hhd.contrib hidraw 2 0f00003c24010000
it's work at first time
I try to test in gaming mode rumble is work
Cool. I'll update my HHD when I get home and test it out.
You dont
I made it write it
Cool.
This might be a topic for a different thread, but if I wanted to contribute RGB or TDP control, where would I start looking? Willing to contribute code and testing efforts.
i think you can do it continue to this thread
how to run it at boot?
When it releases yes
For now you need to run the _hhd-dev command when you revoot
it is running but gamepad mode not work
It's still run in mouse and keyboard mode
Maybe I wrote the wrong xommabd
Run it like before to show an error
I'll tell you later but for now doing Wireshark recordings and messing with contrib hidraw is enough
Perfect!
It's late at night now at my place.
see you again tomorrow
i moved the check
hopefully it runs now
Cool. I'm on my way home now so I'll play with it over dinner.
Did the ujust _hhd-dev command and ran the HHD manually, it detects the QAM button, but the controller is still in mouse mode.
Not throwing any errors to the console log and it's detecting the controller with the correct id
I'll get you a better command later today
It's still not working
curl https://raw.githubusercontent.com/hhd-dev/hhd/master/hhd_cmd.sh | HHD_DEBUG=1 sh
Here's the command to make the latest version runprogram look like work
but controller still in mouse mode
QAM button work
Ok I'll fix it
tune-adm error, I try to add parameter in file adjustor -> driver -> general -> init.py .It's work correctly, no warning line
this is @Kyle Gospo handywork
powerprofilectl error,I think tdp.general.profile not found
Yeah it's probably not gonna find TDP stuff for Intel cpus
yeah youre using the generic plugin for htpcs
that only does power profiles
and it seems like kyle messed that up for tuned
initialization fixed
Not work and have errors
try again
try again
Ran the curl command and everything seems to work. HHD starts and the controller stops being in mouse mode
I'm assuming that QAM will work in Gamescope only after the HHD included with bazzite is updated?
No it will work bow
Just run the command and go to gamemode
Oh ok, let me try it again
Oh the curl command n9
The ujust one
Oh interesting. Now Gamescope says no controllers detected.
Nvm. You meant run the ujust command. Yeah it's all working now
I try to use ujust _hhd-dev It's work correctly
but macro key on backside are not work
Yeah the macro keys on the back are special. Not sure what MSI is doing here since they don't seem to fire hid or evdev events.
You need to find out how to reprogram them in such a way where they can be seen
I'll test out some things today.
Last I heard it wasn't possible tho
Which is part of the reason I gave up on the claw
Yeah. I think the way MSI designed it, the only two things the back buttons can do are macros and combinations.
I'll try and see if I can get any response out of the buttons in bazzite after poking around with Wireshark
Has to be unique and for bonus points allow chording
Can be any button combo
I found new problem,When I enable hhd, volume button doesn't work.
and when I turn off hhd service volume button back to work again.
yes kde will get confused for 1 min or 2
when you start hhd
because it does a switch on the volume keyboard
i have a fix for that for onexplayer i did not apply to the claw
Poking around in Wireshark and in Linux, right now im not sure if the back buttons are possible to map. Regardless of being in combo or macro mode, Linux doesn't seem to see any events and Wireshark only fires stuff in macro, but the events being fired are the key presses defined in the macro. And when setting the mode, the only thing that changes is the 240101 vs 240100. I feel like there is a raw event somewhere, but no idea which device would even fire it.
I'll play around with RGB stuff next, probably late Thursday or Friday EST
power-profiles-daemon already install in bazzite?
I want to use command powerprofilesctl
Yea
But that's not tdp
Actually not anymore
Tuned something
Tuned-adm
powerprofilesctl command not found
in latest version,volume control still not work both desktop mode and gaming mode
Power Profile is working
Edit file from adjustor Project -> src -> adjustor -> drivers -> general
file init .py
Schedule still not work,I will to find and fix this
Schedule should work
I try to choose anything in list,It returns error Schedule from sched_text 'scx_bpfland' closed with error code 101
try lavd instead
It's same 'Schedule from sched_text 'scx_lavd' closed with error code 101'
what build you on/
Well hhd works at least as for sched ext haha
I know that when I tested my kernel on arch with the sched ext package it worked
OK i found solution
Schedule setting require root access
but bpfland not work error: Failed to load BPF program permission denied (os error 13)
My result in 24/10/2024
- when i run hhd,volume control still not work
- Power Profile work by edit adjustor code
- Custom schedule work require root access but bpfland has error
See you again next time.
still working on RGB commands. need to work on my wireshark filtering.
I already sent git pull request both hhd and adjustor for fixed volume control not work and fixed tuned-adm error
hi guys
i need you to follow the instructions here https://github.com/hhd-dev/hwinfo/tree/master/devices
GitHub
hwinfo/devices at master ยท hhd-dev/hwinfo
Contribute to hhd-dev/hwinfo development by creating an account on GitHub.
and either zip or PR me the claw ACPI data
banpotk currently i made a bit of a mess on adjustor for developing
so i cant release a new version the next few days
so your pr will need to wait a bit
i will release a fix for the volume buttons today, that will make it on the tues bazzite version
does the device break after sleep? does the controller still work?
wifi break when wake after sleep
wifi model : killer BE1750x
kernel module load : iwlwifi,wl
and controller not work after wake from sleep too
youre drip feeding me those issues
do the hwinfo dump
and i will try to update the kernel
work in progress
cat /sys/devices/virtual/dmi/id/product_name
run this quickly form e
cat /sys/devices/virtual/dmi/id/board_name
actually thisClaw A1M
im going to start kernel build after you send it with experimental patch
but i need the board_name
is it also Claw A1M?
please tell me im waiting
MS-1T41
thank you
I have collected all the information. I will send it to you soon.
thanks
GitHub
Release 6.11.5-305: Speaker ID fixup & MSI Claw s2idle ยท hhd-dev/ke...
Switches to v3 of the Ally speaker firmware selector patch, adds a generous s2idle delay to the claw to see if that helps with sleep, and tweaks the styling of the handheld patch to make future dif...
Wifi issue same here
https://community.intel.com/t5/Wireless/iwlwifi-issue-with-Intel-R-Killer-TM-Wi-Fi-7-BE1750-and-Ubuntu/td-p/1587301
and here
https://bbs.archlinux.org/viewtopic.php?id=293404
iwlwifi - issue with Intel(R) Killer(TM) Wi-Fi 7 BE1750 and Ubuntu
Hello, Recently I changed laptop for work. Built-in with Windows I wanted to install Ubuntu instead. I tried the LTS version (22.04) and the most recent version (23.10). The MSI prestige EVO 16 comes with this config: disk: NVMe SSD Controller PM9A1/PM9A3/980PRO SAMSUNG MZVL21T0HDLU-00BT7 cpu: I...
Kernel Log when woke from sleep
https://pastebin.com/enrx3wH5
Pastebin
MSI Claw A1M-Bazzite OS kernel log - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
I found MSI Center M Log in Windows
Location : C:\ProgramData\MSI\MSI_Center_M\Log\API
but I'm not sure if this will help you.
I don't have time to help you today
You can try hidra and Ida decompiler although tbh don't expect mich
Best thing you can do is setup a repo with the guys and to start decoding the controller commands with Wireshark
Try the kernel when it comes out later today
I did a fix for the msi claw similar to the ally
Might help the controller
RGB and back buttons are the last two areas I believe need figuring out from a pure controller standpoint. I'll poke around when I have a chance, I just have a lot of stuff going on
Also the controller does not work after zleep
But the kernel patch I made might help
Ah. Ok I'll test that too.
It should be on the next unstable it's building now
It is on the unstable now
How is it doing
Did it help?
I found a way to control RGB lights.
did the patch in unstable help?
I think to 3 lines to set pattern and color
and last line to activate RGB mode
weird pattern
It's probably the three zones. (LStick, RStick, face buttons)
But yeah I found that hid data in my Wireshark, and it looked weird to me
I guess it would be longer than the other commands due to setting colors and stuff
please test sleep when you can
how to use it?
make the device sleep in latest ver
see if controller works afterwards
I use Free USB Analyzer software
https://freeusbanalyzer.com/
FREE USB Sniffer & Software USB Protocol Analyzer for Windows
Free Software USB Sniffer and Protocol Analyzer. Download this Freeware USB Packet Explorer and Protocol Analyser for Windows. Capture and Monitor USB Devices and Applications. Trace and Decode USB Connection Data
It can select specific devices.
I will to test it
Still not work, wifi and controller is broke when device woke up
but MSI Center and QAM button still work correctly
did MSI Center and QAM button work before?
did this update make it better?
I already update to Testing channel
no
In lastest testing update kernel 6.11.5-307
- Device not sleep (LED power always ON and CPU fan still working)
- Wifi and Controller still not work when device woke up
but I try to put command
sudo hhd.contrib hidraw 2 0F00003C24010000
controller come back to work again. no error message
Ok great
That's actually very goo
@BANPOTK send me a log
journalctl -b | fpaste
after you sleep and controllers break
i need to see when to put the commandKernel Log after woke up from sleep
https://paste.centos.org/view/308752be
Log after put command
https://pastebin.com/fCi7BjKj
Pastebin
MSI Claw kernel log after enter command - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
I create script file in /usr/lib/systemd/system-sleep/iwlwifi.sh
#!/bin/sh
case $1/$2 in
pre/)
modprobe -r iwlmvm iwlwifi
;;
post/)
modprobe iwlmvm iwlwifi
;;
esac
test in Nobara OS,Wifi is work correctly when woke up from sleep
but bazzite os /usr isn't writable
These scripts can break suspend
We are not shipping one again
Report bug to kernel
Even if we use dmi to target the device?
no way fix it properly once
๐
We did this before and it bit us so I think I agree it's best to avoid it
This might be a temporary issue anyway I've seen some reports of the newest kernel having bugs like this
i think it was on 6.10 too but yeah
@BANPOTK is there a kernel even older one like 6.9 or 6.6 that has working wifi?
I only encountered the issue of the device freezing, no problem after sleeping.
https://community.intel.com/t5/Wireless/iwlwifi-issue-with-Intel-R-Killer-TM-Wi-Fi-7-BE1750-and-Ubuntu/td-p/1587301
iwlwifi - issue with Intel(R) Killer(TM) Wi-Fi 7 BE1750 and Ubuntu
Hello, Recently I changed laptop for work. Built-in with Windows I wanted to install Ubuntu instead. I tried the LTS version (22.04) and the most recent version (23.10). The MSI prestige EVO 16 comes with this config: disk: NVMe SSD Controller PM9A1/PM9A3/980PRO SAMSUNG MZVL21T0HDLU-00BT7 cpu: I...
use kernel 6.5.0-28
I found a way to enable Gyro sensor command
sudo hhd.contrib hidraw 2 0F00003C2101002901E1000000000000
This command mean set Gyro to Left DPAD mode,Enable and disable by M1 toggle Key
In MSI Center M on windows can set mode to Left Dpad,Right Dpad and Mouse mode
this gyro is useless, you need command to enable sensor measurements
direct
Gyro in MSI Center M config
i hope you mean gyro to joystick, gyro to dpad sounds so utterly useless
you need a way to read the gyro
for example calibration
thats what we need
this gyro behavior stuff is useless to us
Funny enough, I have the calibration menu, but not the gyro options menu. The calibration menu doesn't work at all on my device. need to figure out why, then I can poke and see what if any commands the calibration is sending to the HID device.
turns out there was new firmware.
OK, when running calibration the host sends 0f00003cfd020000 during the gyro calibrate step. in bazzite, how would I test this to see if the gyro starts sending data?
Hhd contib hidraw no command
thanks
currently reinstalling bazzite to test the gyro stuff, but i have a bit of a dumb question. I know on the Ally, the fingerprint reader is not supported. that one is a FocalTech, but on the Claw, it has a Goodix MOC that seems to have support in libfprint. is there anything special I would need to do to enable fingerprint reader on bazzite?
ran sudo hhd.contrib hidraw 6
then in another terminal i ran sudo hhd.contrib hidraw 6 0f00003cfd020000, and in the first terminal i got 1000003cfe00000000000000000 back. not sure if im doing this right. wasnt getting like a stream of data and moving the device around didn't seem to do anything.
ok, so the 3cfe is the calibration acknolwledgement, i need to find the gyro activation command.
No, just test it
The ally has 2 fingeprint readers
One of them has a driver but needs some security stuff and doesn't work
And the focaltech has we don't know
Ah, gotcha. I have the ally X with the focaltech with no Linux support at all. Fixing my dual boot at the moment so I can Wireshark and then switch to bazzite.
Due to the security stuff the other one will not work any time soon
Pastebin
MSI Claw udevadm - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
I found HID device 8087:0AC2 have gyro sensor
DEVNAME=/dev/hidraw4 but hhd.contrib not see this device
I don't know how to read it.
Don't read that one
You want the one from the controller
In Windows OS, the sensor can work immediately without enabling special functions.
If the controller has a built in sensor that's the one you want
We have not worked with Intel sensor fusion hub
But amd sfh on the legion go that is similar was garbage
You don't want it
It weird because USB Capture program can't capture raw data while sensor is working
Wireshark on the controller gives me data when the gyro is active, but I'm not seeing commands to activate it so no idea where they're coming from
but does it give you data about the gyro or about the gyro applciation
e.g. stick
or mouse
I'm not sure, I have to try it again and see what the hid payload is, it might just be the mouse event/joystick event
Which is the same behavior I was seeing with the M keys. I could only get hid events when it was sending other keys
Try calibration
Especially if there is gyro in there
I wish I knew about this. I would've been here to help any way I can.
I have collected the command code for using the RGB lights of the device, which will have a command setting mode and color pattern selection.
Now only the Wave mode remains, which has not been included in this document.
Hi. Is there a list of missing functionalities needed for "normal" operation of Bazzite on MSI Claw?
Yes
Most of them
I own this console and, with guidance, I can help with further bug hunting and development.
That's exactly why I'm asking about the list of missing functionalities
1.Macro Key (back M1 and M2 button) not work
2.Gyro not work.
3.Wifi not work when woke up from sleep.
4.Power LED and CPU fan still work when sleep.
5.TDP control in Quick Access menu not work.
Thank you
These are all problem I think of.
Which model do you have? core ultra 5 or 7
Ultra 7
same me
I created RGB Command code complete
Is there any way for me to help with the first point? I've a windows installed right now
Need to find some way to get the M1/M2 buttons to output some unique event that can be read in bazzite/hhd. I can send the command to switch modes, but I think MSI is doing some weird things with the M Buttons, because even with stock ubuntu, there are no raw events coming off of those buttons.
I think we find to get Gyro sensor work, it be better
I found patch fix iwlwifi fail after resume
https://bugzilla.kernel.org/show_bug.cgi?id=219447
I'm not sure this patch to apply to new kernel
I try to add pcie_port_pm=off to GRUB boot options,wifi is work after resume
and I try to add
iwlmvm.power_scheme=1 pcie_aspm=off pcie_port_pm=off
to boot options
It's fully sleep (all light is off, cpu fan is off) and resume wifi is work again.
but I think iwlmvm.power_scheme=1 is useless,I try to remove it, set only pcie_aspm=off pcie_port_pm=off it still work
but if use pcie_aspm=off , nvme drive fail after resume
hey I'm not a programmer or anything but I wanted to see if anyone has more info on the wifi not working when awake from asleep. I'm on a Ayaneo Next Lite
@antheas Have any events function in HHD service that run before and after sleep?
Controller is easy fix