oneXplayer gamepad not detected
Hi all, I have a oneXplayer mini (original AMD 5800u midel). I installed bazzite to usb hdd and it all loads fine, correct orientation and everything, however the built in gamepad isn't being detected by steam or the OS.
HHD has nothing under the controller menu either.
Pretty new to Linux in general. Is there something I can do to get it to detect the gamepad?
111 Replies
@antheas
https://paste.centos.org/view/87d396ff
seems it finds the built in "x-box 360 controller" but fails to load it
Installed chimeraOS and built in gamepad works fine
the controller is misbehaving
its one of those cheapo android controllers that needs a workaround
if chimeraos works use chimeraos
It's the built-in controller to the oneXplayer mini
well its that
Any instructions on the workaround?
running reveals the x-box 360 gaming controller in the list
when selecting it, button presses respond accordingly
Hhd does not support anything about your device
So the controller will work like a standard Xbox controller
Does it show emulation modes?
in HHD UI? no it doesnt even detect anything
but running the commands you were sending to another user in their OneXFly thread reveals that on some level, the controller is detected and button presses are detected
im looking at this, buit the VID and PID dont match what im getting in the log
Yeah but according to the logs you sent it keeps disconnecting
ok i'll see what adding those quirks and environment variables does
Look up rpm ostree kargs
If that works we will bake it in for your device
Looks correct to me
That's a Microsoft Xbox 360 controler
but its not detected as a gamepad/controller in the OS or steam
Look up xpad udev controller
There's one rule for the legion go and one for the msi claw
On hhd repo
Although with that vid and pid it should be recognized
It's the standard Xbox 360 wired combo
if i hold the button to switch it to mouse mode, it works, the "A" button works as left click and "B" as right click
I don't know what chimeraos does different tbh
I just know you're the only one with that device
it worked in chimera completely fine, but i dont want to use that
so yeh
will keep trying to get this going
Which version of chimera worked
the latest version
Look at their kernel
There is some ancient stuff we don't carrybthere
6.9 chimera kernel tag on their GitHub Linux repository
can you check if this will work
sudo modprobe xpad && echo "045e 028e" | sudo tee /sys/bus/usb/drivers/xpad/new_id'
steam might need a restart to register it
if force loading it like that doesnt work then its something kernel relatedShow hhd
If it's tryin to connect it disappeared the controller
Although your logs don't show that
sorry its taking a bit because im fumbling with inputs
this just echoes the VID and PID, doesnt seem to have any effect on anything else
@antheas
thats the output of
tee
it echoes out what it writes to the sysfs, it is normal.
issue is not in xpad specifically thenahh ok
any other thoughts then?
yeah no controller
support
uh
close steam and use a gamepad tester
yeh nothing
https://hardwaretester.com/gamepad keeps saying connect a controller
Gamepad Tester - Check Controllers and Joysticks Online
Displays info about all gamepads connected to your computer. Check buttons, joystick axes, drift, and more. Works with all controllers and joysticks in a modern browser.
lsmod | fpaste
so, xpad is loaded
hhd.contrib works
but you cant see the controller in steam
or when you close steam on firefox
wait wait wait
WTH
a device is now found in the system settings
never was before
And in gamepad tester now too
what did you change? close steam?
steam was already closed
i didnt change anything after trying the gamepad tester
just the lsmod | paste command
going to reboot and retrace steps
well now it works after reboot too...
did you do the karg?
nope
cat /sys/devices/virtual/dmi/id/product_name
cat /sys/devices/virtual/dmi/id/sys_vendor
ONE XPLAYER
space?
i hate them
ONE-NETBOOK TECHNOLOGY CO., LTD.
yrp
how much tdp can this do
25w
cat /proc/cpuinfo | fpaste
ideally I will also need you to run something else
shoot
https://github.com/hhd-dev/hwinfo/tree/master/devices#acpi-collection PR me the ACPI section here
GitHub
hwinfo/devices at master · hhd-dev/hwinfo
Contribute to hhd-dev/hwinfo development by creating an account on GitHub.
your device might not have a STT profile bc its too old so it might need some changes
and it might be risky to try to write
ujust _hhd-dev
will now activate tdp on your devicemight take me a bit. first time working with linux
you can also zip and wetransfer
The tools required to dump the ACPI tables of a computer can be found in the packages acpica-tools in Debian and acpica in Arch. Save them in a directory named ./acpi in the device folder.
GitHub
Release G20240827 · acpica/acpica
acpica-unix2-20240827.tar.gz
acpica-unix-20240827.tar.gz
acpica-win-20240827.zip
acpitests-unix-20240827.tar.gz
acpitests-win-20240827.zip
iasl-win-20240827.zip
changes.txt
This is the GitHub relea...
did kyle add them to bazzite?
dl from there
run the command
first
and if it doesnt run
command not found
sudo rpm-ostree install acpica-tools
@Kyle Gospo acpica not yet?i can pr it into the deck image then he just needs to approve or disapprove, only place we would need it anyway
check out how large it is first
if its like 4mb its worth
2.9 mb
totally
sent you the acpi extract
its a directory
zip it and drop it here
the files are where you ran it
remove acpica, @HikariKnight how
otherwise your updates will take longer
so dont add it? or you tagged the wrong person
remove it
well
he needs to remove it
oh looks like onexplayer might have some wmi
i thought they didnt
oh yeah @ba114 you need to remove acpica-tools now so your updates dont take forever (plus it will most likely be included in a future bazzite update and will cause conflicts and the update will fail once we include it)
??
it wont cause conflicts but yeah
looks like just your device has some WMI, so TDP might be a tiny bit unreliable
if you find that is the case do tell
yep
the EC of the device can set TDP
other than that TDP controls will work now
thinking about it, perhaps its the turbo button
so if you press the turbo button tdp might change
food for thought
thank you to all of you for your help
does everything work with
ujust _hhd-dev
everything appears
TDP goes up to 30 though
cant confirm if its doing anything though
Oh well I'll fix that later
Should only go up to 25 on hhd if the code is correct
once everything is ready i can issue a new build if neccessary once im done making food
Nah it'll take a bit for me to push
ok just give me an @ then
as long as its not in the middle of the night i can do it 🙂
did you confirm?
Sorry fell asleep. Was late in Australia
I assume I can verify using some sort of performance overlay?
the performance overlay thats there yes
in steam menu
well im going to sleep too now
Will try it today. Unfortunately the overlay settings are only available in steam, can't change in game. Does that matter?
TDP has some effect
On 10w the batt usage says 20w
On 30w it says 35w
20w says 31w
30w + TDP boost says around 43w
That's about right
yep, looks right to me
ok just confirming the steps i took to get the controller working:
what happens if you skip step 1 now is it still detected?
because if step 1 is still required i can make a udev rule that will auto do that step
can i undo that step?
ok i just rebooted
no more gamepad
give me 2 sec i will dig up the udev rule file and tell you where to put it
i had previoulsy tried the hhd-dev without luck
add the contents below to
/etc/udev/rules.d/99-onexplayer-controller.rules
then run sudo udevadm control --reload-rules && sudo udevadm trigger
to see if the controller gets added
if yes then reboot and see if it is applied automaticallyit seems the issue is something to do with HHD aswell
the udev rule uses echo instead of tee as it is already running as admin
how so?
hhd wont open unless it can detect the controller keypresses
either way that udev rule should automate the modprobe and adding the controller to xpad step
its a standard pair
it is always supported
yes hhd needs to be updated
probably will happen today or tomorrow
Yes but it's odd that it's not even detected on steam or by the system before they add the ID
Hello
Actually?
Send me model you one x player plz! 👇🏻
Hey there, full functionality of all the buttons and TDP settings etc only work after running
is there a way to make this persistent?
OneXplayer Mini 5800u
Yeah you're right, I haven't pushed the version yet
I'll try later today
Then it should be in bazzite in 1-2 days
Thank you once again 🙂
just updated bazzite, pulled in the HHD updates. thanks @antheas and @HikariKnight
all working great after reboot