You are not logged in.

#1 2021-08-29 09:57:45

aggressive-support35
Member
Registered: 2021-04-16
Posts: 36

arch linux support for x360 touchscreen laptops

So I have an x360 laptop with touchscreen and I want to first of all not move the cursor when I touch the screen. when I touch the screen I want the mouse cursor to be hidden, and I want to have no cursor for touch or maybe a different one. ubuntu does a good job at this so when I touch the screen it hides the cursor and no matter what I do at the end the mouse cursor's original location will be kept.

Another point would be that I want a way to tell when the laptop has been converted, or even better how much tilt (degrees/percentage) the lid has. I don't know if I can get the tilt but surely I can get if it was converted or whatever the hardware is meant to tell me. maybe not even about tilting but to tell me when the keyboard has been disconnected which is also when I tilt it past 180.

Gestures... What do you recommend? is touchegg good?

edit: on ubuntu there is tilt support(only in "tablet mode" so when the laptop is converted)

Last edited by aggressive-support35 (2021-08-29 12:46:04)

Offline

#2 2021-08-29 12:02:08

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,893

Re: arch linux support for x360 touchscreen laptops

a search for x360 laptop indicates there are atleast 3 HP product lines that use that name : Pavillion , Envy & Spectre .

All of them appear to be convertible laptops and have many variants.

Start by telling us which brand & model your laptop is and decide which of your issues you want to focus on in this thread.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2021-08-29 12:44:45

aggressive-support35
Member
Registered: 2021-04-16
Posts: 36

Re: arch linux support for x360 touchscreen laptops

HP Pavilion x360 Convertible

is the model of the laptop. why must I focus on one issue? do you mean to start with?
ok so an issue I am interested in and I will add it in the original post is that on ubuntu I can tilt the laptop and it will also tilt the screen. maybe there is a way to find out when the laptop is tilted

I think I should add that currently I don't have archlinux installed, though I have installed it on this laptop before, therefore I will not be able to test things

Offline

#4 2021-08-29 12:57:11

loqs
Member
Registered: 2014-03-06
Posts: 18,859

Re: arch linux support for x360 touchscreen laptops

aggressive-support35 wrote:

why must I focus on one issue? do you mean to start with?

Please see General_guidelines#How_to_post,  one topic per thread makes it easier to search for issues and avoids confusion correlating fixes to issues.

Offline

#5 2021-08-29 13:13:39

aggressive-support35
Member
Registered: 2021-04-16
Posts: 36

Re: arch linux support for x360 touchscreen laptops

ok that makes sense so we can focus on the tilt issue. Then I will make a new thread for each of the others

Offline

#6 2021-08-29 13:42:26

loqs
Member
Registered: 2014-03-06
Posts: 18,859

Re: arch linux support for x360 touchscreen laptops

Have a look at the documentation on https://gitlab.freedesktop.org/hadess/iio-sensor-proxy Arch does supply iio-sensor-proxy but without Arch installed on that system I do not know how to determine if that would work.

Offline

#7 2021-08-29 14:01:32

progandy
Member
Registered: 2012-05-17
Posts: 5,307

Re: arch linux support for x360 touchscreen laptops

The lid and tablet mode switches should probably be sent through libinput as switch events, there is no xorg driver to react to those events available, though. For wayland, sway should support it, I have no idea about kde or gnome.

In my case (Spectre X360), there is a hinge sensor for the hinge angle in degrees. It is not exposed through iio-sensor-proxy, though.
You can find and read it through the /sys tree.

head /sys/bus/iio/devices/iio:*/name
head /sys/bus/iio/devices/iio:device5/in_angl0_label
head /sys/bus/iio/devices/iio:device5/in_angl0_raw

Or the tools from libiio:

iio_info -s
iio_info
iio_attr -c hinge angl0 raw

Last edited by progandy (2021-08-29 14:15:02)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#8 2023-02-13 11:58:41

kode54
Member
Registered: 2013-10-21
Posts: 47

Re: arch linux support for x360 touchscreen laptops

My boyfriend bought an HP Pavilion x360 14-dy0505la, which is a variant being sold in Chile.

It is mostly a no-go with any Linux variant, because its wifi doesn't work with any distributions he's tested so far.

It has an Intel Wireless-AC 9461. In device info, it reports as a vendor 8086 device A0F0, subsystem 8086 0264. This appears to be identified as a 9000 series device, but the source says the MAC is more like a 22000 series device. Strange. Firmware and other errors happen on boot.

I should probably report this to the upstream kernel mailing list, or the Intel WiFi list, if there is one.

This article on Intel's site seems to indicate that it's a "pu" series chipset and not "Qu":

https://www.intel.com/content/www/us/en … eless.html

Last edited by kode54 (2023-02-13 13:22:14)

Offline

Board footer

Powered by FluxBB