Legion Go S Support

@antheas Hello! I will be receiving a Legion Go S tomorrow, and I would like to help add hardware support to Bazzite (I assume through HHD). Can you already now tell me what you need me to do so that I am prepared? Something about dumping controller info from Windows? I am a software engineer by trade so I am comfortable working with command lines etc. Regards Mads
143 Replies
Mads K
Mads KOPโ€ข2w ago
Yep Had the OG, not a fan... Gotcha
antheas
antheasโ€ข2w ago
What's fyn It's the 16gb unfortunate Well, maybe we can make due. All you need to do is some Wireshark recordings I also don't feel like dual booting tomorrow
HikariKnight
HikariKnightโ€ข2w ago
since antheas is flying today idk when he will be on, but all i do know is you need wireshark with usbpcap and thats where my knowledge stops ๐Ÿ˜… but you can maybe have a look at #Attempt to add MSI Claw support? to see what he needs for basic controller support maybe (sorry its a very long thread and its the one i remember on top of my head)
Mads K
Mads KOPโ€ข2w ago
Alright, cool. I'll check it out if windows update ever completes ๐Ÿ˜‚
Mads K
Mads KOPโ€ข2w ago
here it is btw
No description
Mads K
Mads KOPโ€ข2w ago
Installed bazzite on an external ssd. Controller works once setup is completely done and inside steam Steam does say something about it being unsupported hardware Something about steam deck prototype ev2? ๐Ÿคทโ€โ™‚๏ธ hhd has "Powersave", "Balance" and "per "Performance" profiles audio works fine There is a VRR toggle in the QAM but it says "Display State: VRR Disabled" below it no matter what its set to Fan ramp-up/down seems quite aggressive but it seems to be in Windows as well, maybe a BIOS setting
antheas
antheasโ€ข2w ago
It's not anyway we'll fix it
antheas
antheasโ€ข2w ago
antheas
antheasโ€ข2w ago
Get to master internet is spotty And follow instructions there Then send me the sapientia dll from windows so I can look at the functions Then do Wireshark recordings of messing with the RGB and gyro and take images of legion space. Start with one recording that has a bit of everything If I'm on my computer by then I'll tell you what to do for the other recordings Otherwise start doing the functions one by one and writing down what you changed I also hAve a Jupiter notebook you can use to control the controllers with the sapientia dll So after you use a decompiler to get the function definition you can use Wireshark to find the commands
Mads K
Mads KOPโ€ข2w ago
thx, will take a look
Mads K
Mads KOPโ€ข2w ago
heres the linux bit
Mads K
Mads KOPโ€ข2w ago
i couldnt get any hid output from the dpad As well thats not reckognised by bazzite as is will move on to wireshark
antheas
antheasโ€ข2w ago
we only need the legion buttons that will need a kernel patch and xpad rule send a bug report from hhd
Mads K
Mads KOPโ€ข2w ago
Legion buttons are in hid/controller along with the rest you dont need wireshark then?
antheas
antheasโ€ข2w ago
i need wireshark in windows for rgb and gyro
Mads K
Mads KOPโ€ข2w ago
ah I got gyro output on one of the hids as well but will move on to windows wish me luck ๐Ÿ˜ฌ
antheas
antheasโ€ข2w ago
gl the thing with the gyro is that we need to be able to turn it on
Mads K
Mads KOPโ€ข2w ago
got it
antheas
antheasโ€ข2w ago
thats not a legion feature per say but it should be in the dll
Mads K
Mads KOPโ€ข2w ago
wheres that dll located?
antheas
antheasโ€ข2w ago
its called sapentia something its in legion space somewhere main folder send a bug report before windows actually nvm go to windows
Mads K
Mads KOPโ€ข2w ago
๐Ÿ‘ bug report fails fpaste x 4320 nonzero status but will go to win
antheas
antheasโ€ข2w ago
are you on the internet?
Mads K
Mads KOPโ€ข2w ago
eh doh sorry just came from a popos livecd that was connected
antheas
antheasโ€ข2w ago
i dont think thats the controller gyro you found
Mads K
Mads KOPโ€ข2w ago
oh? it was some kind of gyro tho? changed as i moved the device
antheas
antheasโ€ข2w ago
it might be the display gyro oh we didnt udpate the hid instructions my bad hhd.contrib evdev/hidraw is what you need we have custom tools for it now if you have bazzite on it now
Mads K
Mads KOPโ€ข2w ago
you want me to redo them? i do
antheas
antheasโ€ข2w ago
use it to do a bug report
Mads K
Mads KOPโ€ข2w ago
alright sec
antheas
antheasโ€ข2w ago
then run the hidraw command and show me the device s
Mads K
Mads KOPโ€ข2w ago
๐Ÿ‘ bug report submitted
antheas
antheasโ€ข2w ago
i need the link
Mads K
Mads KOPโ€ข2w ago
50e708aa
antheas
antheasโ€ข2w ago
we are not that advanced yet lol
Mads K
Mads KOPโ€ข2w ago
sorry im on another machine with discord ๐Ÿ˜„ https://paste.centos.org/view/50e708aa hdd.contrib command not found just naively running from a terminal in bazzite desktop mode booting into windows for the dll
antheas
antheasโ€ข2w ago
hhd ah shit its custom
Mads K
Mads KOPโ€ข2w ago
antheas
antheasโ€ข2w ago
thanks can you take some pics from legion space? i need to get an idea what can you edit
Mads K
Mads KOPโ€ข2w ago
you mean screenshots? sure
antheas
antheasโ€ข2w ago
Yea Also one from device manager
Mads K
Mads KOPโ€ข2w ago
iCloud Photos - Apple iCloud
View, organize, and share photos and videos with iCloud Photos on the web. Changes will sync across your devices with iCloud.
Mads K
Mads KOPโ€ข2w ago
sorry for the sideways capture boomer level 300 ๐Ÿคฆโ€โ™‚๏ธ
Mads K
Mads KOPโ€ข2w ago
device manager
No description
antheas
antheasโ€ข2w ago
put view as container find controller screenshot that
Mads K
Mads KOPโ€ข2w ago
๐Ÿ‘
Mads K
Mads KOPโ€ข2w ago
iCloud Photos - Apple iCloud
View, organize, and share photos and videos with iCloud Photos on the web. Changes will sync across your devices with iCloud.
Mads K
Mads KOPโ€ข2w ago
not sure exactly what you wanted so heres a vid note some of the devices is just my docked setup like the lg screen and apple keyboard
antheas
antheasโ€ข2w ago
i wanted the hid device
antheas
antheasโ€ข2w ago
No description
antheas
antheasโ€ข2w ago
go into usb input device
Mads K
Mads KOPโ€ข2w ago
anything specific you want in there?
Mads K
Mads KOPโ€ข2w ago
No description
Mads K
Mads KOPโ€ข2w ago
No description
Mads K
Mads KOPโ€ข2w ago
No description
antheas
antheasโ€ข2w ago
no thats it do an rgb recording and linux
Mads K
Mads KOPโ€ข2w ago
wireshark rgb recording?
antheas
antheasโ€ข2w ago
yes
Mads K
Mads KOPโ€ข2w ago
right legion space crashing on me ๐Ÿ˜‚
Mads K
Mads KOPโ€ข2w ago
No description
Mads K
Mads KOPโ€ข2w ago
amd i doing this right? just selected all usb devices and clicked around in legion space
antheas
antheasโ€ข2w ago
I will look at it in 20m
Mads K
Mads KOPโ€ข2w ago
got it
antheas
antheasโ€ข2w ago
You need to select the hub that has the controller
Mads K
Mads KOPโ€ข2w ago
probably signing off soon, got work tomorrow
antheas
antheasโ€ข2w ago
The pcap
Mads K
Mads KOPโ€ข2w ago
how do I know which one it is?
antheas
antheasโ€ข2w ago
It's this one Then select the hub of the controller and all subdevices
Mads K
Mads KOPโ€ข2w ago
I just have these
No description
antheas
antheasโ€ข2w ago
When you press the gear You can see the devices in it Also very important before you sign off to do the hidraw thing in limix Linux Then let's leave it at that for today
Mads K
Mads KOPโ€ข2w ago
No description
Mads K
Mads KOPโ€ข2w ago
probably this one will give it a shot then go to linux
Mads K
Mads KOPโ€ข2w ago
No description
Mads K
Mads KOPโ€ข2w ago
booting into linux whats the exact command you want me to run in linux?
antheas
antheasโ€ข2w ago
sudo hhd.contrib hidraw Then with evdev instead of hidraw Just show the devices first
Mads K
Mads KOPโ€ข2w ago
hidraw: Available Devices with the Current Permissions - /dev/hidraw0 1a86:e311 Usage Page: 0x0001 Usage: 0x0006 Names: 'wch.cn': 'Legion Go S' - /dev/hidraw1 1a86:e311 Usage Page: 0x0001 Usage: 0x0005 Names: 'wch.cn': 'Legion Go S' - /dev/hidraw2 1a86:e311 Usage Page: 0xff01 Usage: 0x00d6 Names: 'wch.cn': 'Legion Go S' - /dev/hidraw3 1a86:e311 Usage Page: 0xffa0 Usage: 0x0001 Names: 'wch.cn': 'Legion Go S' - /dev/hidraw4 1a86:e311 Usage Page: 0xffa0 Usage: 0x0001 Names: 'wch.cn': 'Legion Go S' - /dev/hidraw5 1a86:e311 Usage Page: 0x0020 Usage: 0x0202 Names: 'wch.cn': 'Legion Go S' - /dev/hidraw6 1a86:e311 Usage Page: 0xffa0 Usage: 0x0001 Names: 'wch.cn': 'Legion Go S' - /dev/hidraw8 0603:f200 Usage Page: 0xff00 Usage: 0x0002 Names: '': 'NVTK0603:00 0603:F200' - /dev/hidraw9 05ac:0250 Usage Page: 0x0001 Usage: 0x0006 Names: 'Apple Inc.': 'Apple Keyboard' - /dev/hidraw10 046d:c53f Usage Page: 0x0001 Usage: 0x0006 Names: 'Logitech': 'USB Receiver' - /dev/hidraw11 046d:c52b Usage Page: 0xff00 Usage: 0x0004 Names: 'Logitech': 'USB Receiver' - /dev/hidraw12 046d:c53f Usage Page: 0xff00 Usage: 0x0004 Names: 'Logitech': 'USB Receiver' - /dev/hidraw13 046d:c53f Usage Page: 0xffbc Usage: 0x0088 Names: 'Logitech': 'USB Receiver' - /dev/hidraw14 046d:4082 Usage Page: 0xff00 Usage: 0x0004 Names: 'Logitech': 'USB Receiver' - /dev/hidraw15 0bda:1100 Usage Page: 0xffda Usage: 0x00da Names: 'Realtek': 'HID Device' - /dev/hidraw16 05ac:0250 Usage Page: 0x000c Usage: 0x0001 Names: 'Apple Inc.': 'Apple Keyboard' - /dev/hidraw17 046d:4074 Usage Page: 0xff00 Usage: 0x0004 Names: 'Logitech': 'USB Receiver' evdev:
antheas
antheasโ€ข2w ago
Can you use a code block Three ampersand
antheas
antheasโ€ข2w ago
Well that's a lot of legion go s devices
Mads K
Mads KOPโ€ข2w ago
yep ๐Ÿ˜ฌ no idea what legion go s keyboard is unless theres a hidden hatch somewhere ๐Ÿ˜‚
antheas
antheasโ€ข2w ago
It's so you can set keyboard shortcuts
Mads K
Mads KOPโ€ข2w ago
ah
antheas
antheasโ€ข2w ago
In any case, what controller does steam see
Mads K
Mads KOPโ€ข2w ago
wch.cn Legion Go S is what it says
antheas
antheasโ€ข2w ago
What buttons does it have How does it look in the tester Take a pic
Mads K
Mads KOPโ€ข2w ago
sec
Mads K
Mads KOPโ€ข2w ago
No description
antheas
antheasโ€ข2w ago
Which of the buttons work
Mads K
Mads KOPโ€ข2w ago
all except dpad
antheas
antheasโ€ข2w ago
What about the legion buttons
Mads K
Mads KOPโ€ข2w ago
legion space is big home button legion quick settings is the share one both work
antheas
antheasโ€ข2w ago
@Kyle Gospo Custom firmware For steamos To use sdl sensor fusion
Kyle Gospo
Kyle Gospoโ€ข2w ago
Lovely
antheas
antheasโ€ข2w ago
Just needs to be patched to sdl
Kyle Gospo
Kyle Gospoโ€ข2w ago
If that's the case I wonder if it's already in valves SDL source
antheas
antheasโ€ข2w ago
They'll probably do it in two weeks Maybe
Mads K
Mads KOPโ€ข2w ago
๐Ÿ˜…
antheas
antheasโ€ข2w ago
Inputplumber stonks down What about legion L and y Does that do anything? Power light is always white?
Mads K
Mads KOPโ€ข2w ago
legion l?
antheas
antheasโ€ข2w ago
Legion space button
Mads K
Mads KOPโ€ข2w ago
ah sorry no changes power states light changes
antheas
antheasโ€ข2w ago
So just white In windows?
Mads K
Mads KOPโ€ข2w ago
white purple blue no in windows it changes
antheas
antheasโ€ข2w ago
Gimped firmware confirmed
Mads K
Mads KOPโ€ข2w ago
i just changed it in legion space, never used that shortcut it also changes in bazzite
antheas
antheasโ€ข2w ago
Oh
Mads K
Mads KOPโ€ข2w ago
with legion L + y
antheas
antheasโ€ข2w ago
It still changes?
Mads K
Mads KOPโ€ข2w ago
yeah sorry yes dont know why I wrote no ๐Ÿ˜‚
antheas
antheasโ€ข2w ago
If you go to windows And close legion space
Mads K
Mads KOPโ€ข2w ago
if legion L + y changes power states in windows? ah
antheas
antheasโ€ข2w ago
Does the legion button become
Mads K
Mads KOPโ€ข2w ago
sec
antheas
antheasโ€ข2w ago
Xbox?
Mads K
Mads KOPโ€ข2w ago
checkng looks like it does nothing when legion space is closed
Kyle Gospo
Kyle Gospoโ€ข2w ago
I suppose that makes sense? This is supposed to be a handheld more akin to a steam deck So dropping the hokie shortcut probably is a step toward that
Mads K
Mads KOPโ€ข2w ago
btw I can change it between xinput and dinput by holding legion L and rb
Kyle Gospo
Kyle Gospoโ€ข2w ago
Never mind, it's as bad as ever lol
antheas
antheasโ€ข2w ago
Does that work in linux
Mads K
Mads KOPโ€ข2w ago
if its in dinput mode steam in windows wants nothing to do with it yes at least I think so will go check oh no windows update itll have to recover it works in linux and it looks like steam in windows and steam can only see the one of them not sure if its the same or different on they see steam in linux
antheas
antheasโ€ข2w ago
But the legion button works in linux That's so weird
Mads K
Mads KOPโ€ข2w ago
it shows in the tester it doesnt work out of the box, but I can map it
antheas
antheasโ€ข2w ago
Xinput is busted in both probably Ok go to hhd.contrib evdev Find that device And see the hz So the mapping is busted
Mads K
Mads KOPโ€ข2w ago
not understood?
antheas
antheasโ€ข2w ago
Run this Actually fuck it Enough for today
Mads K
Mads KOPโ€ข2w ago
alright hope it gave you guys something to go on ๐Ÿ™‚ im out, bye bye
antheas
antheasโ€ข2w ago
Bye So when the mapping worked it was because you messed with it tho ok, you got one out of 3 units theyre gone
Mads K
Mads KOPโ€ข2w ago
Nice yes by work i thought you meant showed up in the tester
antheas
antheasโ€ข2w ago
so ootb its completely busted like the ally nice ally x
Mads K
Mads KOPโ€ข2w ago
just wanted to pop in and say I tried a game and vrr works
antheas
antheasโ€ข2w ago
its disabled in steamui
Mads K
Mads KOPโ€ข2w ago
No enabled Now when i switched it it said enabled ๐Ÿคทโ€โ™‚๏ธ
antheas
antheasโ€ข2w ago
when youre inside steam its disabled automatically to halve the framerate and to prevent flickering
Mads K
Mads KOPโ€ข2w ago
vrr?
antheas
antheasโ€ข2w ago
yes we disable it i might be willing to buy it off you, otherwiise earliest we get is feb 4
Mads K
Mads KOPโ€ข2w ago
what does the vrr toggle do then?
antheas
antheasโ€ข2w ago
it works when youre ingame since you dont want to keep it
Mads K
Mads KOPโ€ข2w ago
No description
Mads K
Mads KOPโ€ข2w ago
ah i get you Hmm let me consider
antheas
antheasโ€ข2w ago
ima be honest, we'll probably not be able to fix it remote the firmware is completely new. Also it probably has the prerelease ids and shit it has 7 devices, just think of the back and forth
WinkTF
WinkTFโ€ข2w ago
Have u tried flashing the steam deck image to it theoretically it should work no ?
antheas
antheasโ€ข2w ago
If you saw the CES demo you'd know that's not true
WinkTF
WinkTFโ€ข2w ago
oh right

Did you find this page helpful?