(In reply to dl3it from comment #17) > I created > > /etc/systemd/system/touchscreen.service > > > [Unit] > Description=Move touchscreen to correct driver > > [Service] > ExecStart=/etc/tsmove > Type=oneshot > RemainAfterExit=yes > > [Install] > WantedBy=multi-user.target > > > Add this to systemd environment. > It calls /etc/tsmove once at startup. > > /etc/tsmove > > > #!/bin/bash > modprobe i2c_hid > echo "i2c-ELAN0001:00" > /sys/bus/i2c/drivers/elants_i2c/unbind > echo "i2c-ELAN0001:00" > /sys/bus/i2c/drivers/i2c_hid/bind > > > Works for me perfectly; no issues on Ubuntu 20.04 and kernel 5.4.0-33.
I couldn't seem to get this to work.
I used this https://linuxconfig.org/how-to-run-script-on-startup-on-ubuntu-20-04-focal-fossa-server-desktop as a guide.
Followed all steps and rebooted. Touchpad works now :)
Kernel 5.7.5-050705-generic
(In reply to dl3it from comment #17) system/ touchscreen. service /etc/tsmove multi-user. target i2c/drivers/ elants_ i2c/unbind i2c/drivers/ i2c_hid/ bind
> I created
>
> /etc/systemd/
>
>
> [Unit]
> Description=Move touchscreen to correct driver
>
> [Service]
> ExecStart=
> Type=oneshot
> RemainAfterExit=yes
>
> [Install]
> WantedBy=
>
>
> Add this to systemd environment.
> It calls /etc/tsmove once at startup.
>
> /etc/tsmove
>
>
> #!/bin/bash
> modprobe i2c_hid
> echo "i2c-ELAN0001:00" > /sys/bus/
> echo "i2c-ELAN0001:00" > /sys/bus/
>
>
> Works for me perfectly; no issues on Ubuntu 20.04 and kernel 5.4.0-33.
I couldn't seem to get this to work.
I used this https:/ /linuxconfig. org/how- to-run- script- on-startup- on-ubuntu- 20-04-focal- fossa-server- desktop as a guide.
Followed all steps and rebooted. Touchpad works now :)
Kernel 5.7.5-050705- generic