Intel® Edge Software Hub
Get answers from community peers to your questions about building Edge Software Hub solutions for edge compute node.
Announcements
Welcome to the Intel Community! If you like the answer to your question, please mark it as 'Accepted Solution' to help others.

The Edge Software Vision Package for Red Hat Enterprise Linux is now available here.

Learn more about developing on Intel® Hardware and Software here.

hid-multitouch

grandixximo
Novice
300 Views

I want to use a touchscreen, but when I install the eci kernel the hid-multitouch driver is not included, could I have the source code of the kernel so that I can build and enable it, or can you make a build available with hid-multitouch enabled, or give me a way to be able to use a touchscreen properly with the eci kernel?

Labels (1)
0 Kudos
1 Solution
grandixximo
Novice
259 Views

I succeded in enabling the hid-multitouch, if anyone needs it this is roughly what I did on Debian 11 bullseye

Steps Taken to Enable hid-multitouch Driver:
Install Linux Source:

Installed the source for the 5.10 kernel using:
bash
Copy code
sudo apt install linux-source-5.10
Build the Kernel:

Built the 5.10.218-1 kernel from source, disabling some certificates during the build process.
Extract Relevant Drivers:

Copied the /drivers/hid folder from the built kernel source.
Created a DKMS module directory at /usr/src/hid-multitouch-1.0.
Adjust Header Files:

Copied necessary .h files from /usr/src/hid-multitouch-1.0/intel-ish-hid/ishtp to /usr/src/hid-multitouch-1.0/intel-ish-hid/ipc.
Create DKMS Configuration:

Created a dkms.conf file in /usr/src/hid-multitouch-1.0 with the following content:
plaintext
Copy code
PACKAGE_NAME="hid-multitouch"
PACKAGE_VERSION="1.0"
BUILT_MODULE_NAME[0]="hid-multitouch"
DEST_MODULE_LOCATION[0]="/updates/dkms"
AUTOINSTALL="yes"
MAKE[0]="make -C ${kernel_source_dir} M=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build CFLAGS=\"-I${kernel_source_dir}/drivers/hid/intel-ish-hid/ishtp\""
CLEAN="make -C ${kernel_source_dir} M=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build clean"
Build and Install DKMS Module:

Added the module to DKMS:
bash
Copy code
sudo dkms add -m hid-multitouch -v 1.0
Built the module for the current vanilla kernel:
bash
Copy code
sudo dkms build -m hid-multitouch -v 1.0
Install Intel ESE Kernel Headers and Kernel:

Installed the headers and kernel for 5.10.179-rt87-intel-ese-standard-lts-rt+. The DKMS install failed initially due to the hid-multitouch driver being disabled in the kernel configuration.
Enable Driver in Kernel Configuration:

Modified the kernel configuration file to enable CONFIG_HID_MULTITOUCH:
bash
Copy code
sudo pluma /usr/src/linux-headers-5.10.179-rt87-intel-ese-standard-lts-rt+/.config
Added or modified the line:
plaintext
Copy code
CONFIG_HID_MULTITOUCH=m
Update Grub and Reboot:

Updated Grub configuration:
bash
Copy code
sudo update-grub
Rebooted into the 5.10.179-rt87-intel-ese-standard-lts-rt+ kernel.
Manually Install DKMS Module:

Ran the DKMS install manually, which succeeded:
bash
Copy code
sudo dkms install -m hid-multitouch -v 1.0
Verify Touchscreen Functionality:

After rebooting, the touchscreen was working as expected.
By following these steps, you successfully enabled and installed the hid-multitouch driver for the 5.10.179-rt87-intel-ese-standard-lts-rt+ kernel.

View solution in original post

2 Replies
grandixximo
Novice
260 Views

I succeded in enabling the hid-multitouch, if anyone needs it this is roughly what I did on Debian 11 bullseye

Steps Taken to Enable hid-multitouch Driver:
Install Linux Source:

Installed the source for the 5.10 kernel using:
bash
Copy code
sudo apt install linux-source-5.10
Build the Kernel:

Built the 5.10.218-1 kernel from source, disabling some certificates during the build process.
Extract Relevant Drivers:

Copied the /drivers/hid folder from the built kernel source.
Created a DKMS module directory at /usr/src/hid-multitouch-1.0.
Adjust Header Files:

Copied necessary .h files from /usr/src/hid-multitouch-1.0/intel-ish-hid/ishtp to /usr/src/hid-multitouch-1.0/intel-ish-hid/ipc.
Create DKMS Configuration:

Created a dkms.conf file in /usr/src/hid-multitouch-1.0 with the following content:
plaintext
Copy code
PACKAGE_NAME="hid-multitouch"
PACKAGE_VERSION="1.0"
BUILT_MODULE_NAME[0]="hid-multitouch"
DEST_MODULE_LOCATION[0]="/updates/dkms"
AUTOINSTALL="yes"
MAKE[0]="make -C ${kernel_source_dir} M=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build CFLAGS=\"-I${kernel_source_dir}/drivers/hid/intel-ish-hid/ishtp\""
CLEAN="make -C ${kernel_source_dir} M=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build clean"
Build and Install DKMS Module:

Added the module to DKMS:
bash
Copy code
sudo dkms add -m hid-multitouch -v 1.0
Built the module for the current vanilla kernel:
bash
Copy code
sudo dkms build -m hid-multitouch -v 1.0
Install Intel ESE Kernel Headers and Kernel:

Installed the headers and kernel for 5.10.179-rt87-intel-ese-standard-lts-rt+. The DKMS install failed initially due to the hid-multitouch driver being disabled in the kernel configuration.
Enable Driver in Kernel Configuration:

Modified the kernel configuration file to enable CONFIG_HID_MULTITOUCH:
bash
Copy code
sudo pluma /usr/src/linux-headers-5.10.179-rt87-intel-ese-standard-lts-rt+/.config
Added or modified the line:
plaintext
Copy code
CONFIG_HID_MULTITOUCH=m
Update Grub and Reboot:

Updated Grub configuration:
bash
Copy code
sudo update-grub
Rebooted into the 5.10.179-rt87-intel-ese-standard-lts-rt+ kernel.
Manually Install DKMS Module:

Ran the DKMS install manually, which succeeded:
bash
Copy code
sudo dkms install -m hid-multitouch -v 1.0
Verify Touchscreen Functionality:

After rebooting, the touchscreen was working as expected.
By following these steps, you successfully enabled and installed the hid-multitouch driver for the 5.10.179-rt87-intel-ese-standard-lts-rt+ kernel.
Iffa_Intel
Moderator
230 Views

Hi,

 

Thanks for sharing.

 

Intel will no longer monitor this thread since this issue has been resolved. If you need any additional information from Intel, please submit a new question. 

 

Cordially,

Iffa

 

0 Kudos
Reply