hhd-dev / hhd

Handheld Daemon, a tool for configuring handheld devices.
GNU General Public License v3.0
76 stars 11 forks source link

GPD Win 3 #66

Closed DocMAX closed 1 month ago

DocMAX commented 1 month ago

Can you add GPD Win 3 support?

antheas commented 1 month ago

I would need help with reverse engineering it. Does the win app for remapping the 2 extra buttons work in windows?

DocMAX commented 1 month ago

Sorry, i'm on Linux only...

antheas commented 1 month ago

I assume if you bought the device you'd know if it works or not. You don't need to use it.

Does the device have 2 extra buttons?

antheas commented 1 month ago

Seems like the device has no extra buttons, the most I can do for it is gyro. Otherwise it should fully work without hhd.

Post the following:

for f in /sys/class/dmi/id/*; do echo "$f:"; sudo cat $f; done > dmi.txt
sudo dmesg > dmesg.txt
ls /sys/bus/iio/devices/

Sanitize where appropriate by removing serial numbers, if you care for that sort of thing.

TDP controls for intel devices are not planned at the moment.

DocMAX commented 1 month ago

dmesg.txt dmi.txt ls: cannot access '/sys/bus/iio/devices/': No such file or directory

antheas commented 1 month ago

https://github.com/hhd-dev/hwinfo/tree/master/devices#acpi-collection

Your device does not load a IMU driver right now, I need to look at the ACPI tables to see what they put in there, if they put something in there. I only need the ACPI section, you can skip WMI and below

DocMAX commented 1 month ago

I think the Win 3 has no gyro encoded.zip

antheas commented 1 month ago

Hope dies last but you are indeed correct. Does not seem to have Intel ISH (not that I have added support for it) or an off the shelf IMU unit.

That means that i can only do the paddles for it, and for those see here: https://github.com/hhd-dev/hhd/commit/ea9119734ffc5ec63ff359dea50af1da5a920bb0

antheas commented 1 month ago

Hopefully it at least partly worked