HHD Touch gestures

@azu lets discuss here
85 Replies
azu
azu5mo ago
👍
antheas
antheasOP5mo ago
run ujust _hhd-dev and see if that does anything im mainly concerned about the touch gesture side being wrong im doing cursed heuristics to find the touchscreen
azu
azu5mo ago
got
Failed to stop [email protected]: Unit [email protected] not loaded.
error: Recipe `_hhd-dev` was terminated by signal 15
Failed to stop [email protected]: Unit [email protected] not loaded.
error: Recipe `_hhd-dev` was terminated by signal 15
but it continued doing stuff but now it looks like it stopped on
Successfully built adjustor hhd
Installing collected packages: hhd, adjustor
Successfully installed adjustor-3.3.1 hhd-3.3.0

[notice] A new release of pip is available: 23.3.2 -> 24.1.2
[notice] To update, run: python -m pip install --upgrade pip
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 105M 100 105M 0 0 23.6M 0 0:00:04 0:00:04 --:--:-- 26.8M
Successfully built adjustor hhd
Installing collected packages: hhd, adjustor
Successfully installed adjustor-3.3.1 hhd-3.3.0

[notice] A new release of pip is available: 23.3.2 -> 24.1.2
[notice] To update, run: python -m pip install --upgrade pip
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 105M 100 105M 0 0 23.6M 0 0:00:04 0:00:04 --:--:-- 26.8M
you know its gonna be great when you run into an issue before actually starting :seemsgoodman: well, I have touchscreen options in hhd desktop atleast Does not seem to be working Options show up but cant do the gestures
antheas
antheasOP5mo ago
sorr yjust show seen one second curl https://raw.githubusercontent.com/hhd-dev/hhd/master/hhd_cmd.sh | sh try this?
azu
azu5mo ago
ok, command ran fine
azu
azu5mo ago
No description
azu
azu5mo ago
I need to run to the store for a bit, back in a bit
antheas
antheasOP5mo ago
lol, thanks fixed
azu
azu5mo ago
and Im back
antheas
antheasOP5mo ago
rerun cmd plz?
azu
azu5mo ago
no error this time
antheas
antheasOP5mo ago
swipe all sides of the device, both top side and bottom side
azu
azu5mo ago
touchscreen, key: left_top
OVRL INFO Executing overlay command: __init__.py:194
'open_expanded'
OVRL INFO UI: Focusing window. base.py:80
OVRL INFO Gesture: swipe_left_bottom, section: __init__.py:173
touchscreen, key: left_bottom
OVRL INFO Opening steam expanded. __init__.py:185
OVRL INFO Gesture: swipe_right_bottom, section: __init__.py:173
touchscreen, key: right_bottom
OVRL INFO Opening steam qam. __init__.py:182
OVRL INFO Gesture: swipe_right_top, section: __init__.py:173
touchscreen, key: right_top
OVRL INFO Executing overlay command: 'open_qam' __init__.py:194
OVRL INFO UI: Focusing window.
touchscreen, key: left_top
OVRL INFO Executing overlay command: __init__.py:194
'open_expanded'
OVRL INFO UI: Focusing window. base.py:80
OVRL INFO Gesture: swipe_left_bottom, section: __init__.py:173
touchscreen, key: left_bottom
OVRL INFO Opening steam expanded. __init__.py:185
OVRL INFO Gesture: swipe_right_bottom, section: __init__.py:173
touchscreen, key: right_bottom
OVRL INFO Opening steam qam. __init__.py:182
OVRL INFO Gesture: swipe_right_top, section: __init__.py:173
touchscreen, key: right_top
OVRL INFO Executing overlay command: 'open_qam' __init__.py:194
OVRL INFO UI: Focusing window.
and top right opens hhd desktop program :pepehype:
antheas
antheasOP5mo ago
the sections are correct? ie top left is top left? theres a bug with minimizing if you reswipe, its fixed in the new hhd-ui but it doesnt load as part of thsi command
azu
azu5mo ago
right and left are swapped
antheas
antheasOP5mo ago
and top and bottom?
azu
azu5mo ago
they are fine
antheas
antheasOP5mo ago
how, well rip what display does the v3 have? is it portrait?
azu
azu5mo ago
I think so.. or hmm not sure tbh
antheas
antheasOP5mo ago
so swiping from the top brings up the kbd hhd.contrib evdev find the touchscreen and send? or evtest is better i was afraid of that, rip rip rip
azu
azu5mo ago
azu@azuMV3:~$ hhd.contrib evtest
Command `evtest` not supported.
azu@azuMV3:~$ hhd.contrib evdev
Available Devices with the Current Permissions
- device /dev/input/event2, name "AT Translated Set 2 keyboard", phys "isa0060/serio0/input0"
- device /dev/input/event3, name "Google LLC Stadia Controller rev. A", phys "usb-0000:c6:00.3-1/input1"
- device /dev/input/event23, name "Microsoft X-Box 360 pad 0", phys ""

Enter device path (/dev/input/event# or #):
azu@azuMV3:~$ hhd.contrib evtest
Command `evtest` not supported.
azu@azuMV3:~$ hhd.contrib evdev
Available Devices with the Current Permissions
- device /dev/input/event2, name "AT Translated Set 2 keyboard", phys "isa0060/serio0/input0"
- device /dev/input/event3, name "Google LLC Stadia Controller rev. A", phys "usb-0000:c6:00.3-1/input1"
- device /dev/input/event23, name "Microsoft X-Box 360 pad 0", phys ""

Enter device path (/dev/input/event# or #):
antheas
antheasOP5mo ago
actually can you cat /proc/bus/input/devices that has everything
azu
azu5mo ago
discord wont let me send a txt ;_;
antheas
antheasOP5mo ago
do fpaste
antheas
antheasOP5mo ago
looks the same thats rough i need to have a thunk
azu
azu5mo ago
:thonk3d:
antheas
antheasOP5mo ago
quirk table to the rescue, rip rip rip so for you only y is flipped
azu
azu5mo ago
does it work just fine on the legion go?
antheas
antheasOP5mo ago
i mean yeah but i coded it for the legion go
azu
azu5mo ago
fair
antheas
antheasOP5mo ago
if it didnt we would have issues
azu
azu5mo ago
swipe bottom is fine
antheas
antheasOP5mo ago
what what no way theres no way so wait left and right are swapped? so x is flipped
azu
azu5mo ago
Very beautiful video
azu
azu5mo ago
antheas
antheasOP5mo ago
thinking through this for f in /sys/class/dmi/id/*; do echo "$f:"; sudo cat $f; done | fpaste plz? copilot is trying to fill in the quirks for me
azu
azu5mo ago
https://paste.centos.org/view/fb7d8613 lel if only your keyboard had a copilot button would make everything so much easier :HaHaa:
antheas
antheasOP5mo ago
whats a nice name for the tablet
azu
azu5mo ago
non-apple ipad :seemsgoodman:
antheas
antheasOP5mo ago
Y3?
azu
azu5mo ago
y3? why?
antheas
antheasOP5mo ago
whats the name of the tablet
azu
azu5mo ago
V3
antheas
antheasOP5mo ago
by MiniForum?
azu
azu5mo ago
think its MinisForum
antheas
antheasOP5mo ago
ok ill ping you in 10 or so min after i whip this up @azu ate some dinner too, ready for you to try
azu
azu5mo ago
give a a couple of minutes
antheas
antheasOP5mo ago
you will never see this menu, but i went through the effort of making it
No description
azu
azu5mo ago
sorry re
- 'PNP0C50:00 222A:550D' (Touchscreen[auto,
portrait=False])
- 'PNP0C50:00 222A:550D' (Touchscreen[auto,
portrait=False])
antheas
antheasOP5mo ago
so its broken rip one sec fixed, used the wrong product name
azu
azu5mo ago
- 'PNP0C50:00 222A:550D'
(Touchscreen[MinisForum V3])
- 'PNP0C50:00 222A:550D'
(Touchscreen[MinisForum V3])
antheas
antheasOP5mo ago
does it work? actually no ok pushed again
azu
azu5mo ago
sick seems to be working or well its working
antheas
antheasOP5mo ago
hhd-ui not unfocusing properly is fixed, you just have the old ver does tdp work/
azu
azu5mo ago
No description
azu
azu5mo ago
doesnt look like it?
antheas
antheasOP5mo ago
use lower? do we have the minisforum acpi?
azu
azu5mo ago
No description
azu
azu5mo ago
some stuff changed
antheas
antheasOP5mo ago
but not all of it got it apu-slow-limit i should set tbh looks correct to me if you test it in a game we will know whats the max tdp for it?
azu
azu5mo ago
28w by default
antheas
antheasOP5mo ago
the thing is an important param is missing for it which is the tcl limit if thats set correctly we're god good you can press the eye and put the fast boost to 40w and the slow to 30 then put the tcl limit or how i named it to 5w and see if its 5w or 30w for example
azu
azu5mo ago
No description
antheas
antheasOP5mo ago
set the stapm limit and the skin temp limit low and then try doing something heay to see if the tdp is working correctly then use mangohud or something to check
azu
azu5mo ago
No description
azu
azu5mo ago
mangohud cpu+gpu is about 10w
antheas
antheasOP5mo ago
do something heavy if its not going to 20W+ its working let me lower the v3 to 28w
azu
azu5mo ago
No description
antheas
antheasOP5mo ago
now if you increase the sliders does it increase? is it an 8840u?
azu
azu5mo ago
y
antheas
antheasOP5mo ago
to both?
azu
azu5mo ago
it goes down if you set the tdp to something low
antheas
antheasOP5mo ago
but not the boosts right/
azu
azu5mo ago
but it stops at 10 when you increase it
antheas
antheasOP5mo ago
ok so its broken can you send me a log when it sets tdp?
azu
azu5mo ago
ASMU INFO Sending SMU command with 7 parameters: alib.py:74
- fast_limit (0x06): 41
- slow_limit (0x07): 32
- skin_limit (0x2e): 30
- stapm_limit (0x05): 30
- temp_target (0x03): 90
- slow_time (0x08): 10
- stapm_time (0x01): 200
ASMU INFO Executing ACPI call: acpi.py:42
'\_SB.ALIB 0x0c
b25000628a0000007007d00002e307500000530750000035a000000
080a00000001c8000000'
ASMU INFO Sending SMU command with 7 parameters: alib.py:74
- fast_limit (0x06): 41
- slow_limit (0x07): 32
- skin_limit (0x2e): 30
- stapm_limit (0x05): 30
- temp_target (0x03): 90
- slow_time (0x08): 10
- stapm_time (0x01): 200
ASMU INFO Executing ACPI call: acpi.py:42
'\_SB.ALIB 0x0c
b25000628a0000007007d00002e307500000530750000035a000000
080a00000001c8000000'
antheas
antheasOP5mo ago
and when you do that its not 30w - skin_limit (0x2e): 30
- stapm_limit (0x05): 30 just checked those and thats what the legion go uses
azu
azu5mo ago
ASMU INFO Sending SMU command with 7 parameters: alib.py:74
- fast_limit (0x06): 17
- slow_limit (0x07): 16
- skin_limit (0x2e): 14
- stapm_limit (0x05): 14
- temp_target (0x03): 90
- slow_time (0x08): 10
- stapm_time (0x01): 200
ASMU INFO Executing ACPI call: acpi.py:42
'\_SB.ALIB 0x0c
b2500066842000007803e00002eb036000005b0360000035a000000
080a00000001c8000000'
ASMU INFO Sending SMU command with 7 parameters: alib.py:74
- fast_limit (0x06): 17
- slow_limit (0x07): 16
- skin_limit (0x2e): 14
- stapm_limit (0x05): 14
- temp_target (0x03): 90
- slow_time (0x08): 10
- stapm_time (0x01): 200
ASMU INFO Executing ACPI call: acpi.py:42
'\_SB.ALIB 0x0c
b2500066842000007803e00002eb036000005b0360000035a000000
080a00000001c8000000'
14w
antheas
antheasOP5mo ago
when you do that though its not 14w its 10? in mangohud
azu
azu5mo ago
let me doublecheck did the ctrl+c on accident
antheas
antheasOP5mo ago
yeah i dont have the acpi for the v3 ignore the memory dump on ryzenadj manjaro dev said the same thing, the values there are wrong in general i was told from testing it works but wyd. You can also turn off add tdp to /sys for steam and reboot then use the sensors command to see the avg ppt which is much more accurate than mangohud
azu
azu5mo ago
PPT: 19.24 W (avg = 29.25 W)
PPT: 19.24 W (avg = 29.25 W)
when set to 28w now did the thing and rebooted seems to be working now
antheas
antheasOP5mo ago
This breaks sensors Not tdp itself
azu
azu5mo ago
I mean, Im getting more fps now when set to 28w than before :P but yeah, mangohud is at like 50w now so makes sense :P aka borked
Want results from more Discord servers?
Add your server