![]() |
how to load "CONFIG_SERIO_RAW=y" module to existing kernel?
I am using Debian Buster 10 and picked up that "CONFIG_SERIO_RAW" module is not loaded which actually support a PS/2 Controller for Touch Screen though if check lsmod | grep serio_raw module is loaded. I need to simply add this to kernel and compile it to so that I can able to make use of touch screen device.
I installed all the utilities required libncurses, linux-headers and etc. Kernel Version: Code:
Linux version 4.19.0-6-amd64 (debian-kernel@lists.debian.org) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) Code:
root@s:/usr/src# ls -lah Code:
root@s:/lib/modules# ls -lh Code:
root@s:/lib/modules/4.19.0-6-amd64# cat /boot/config-4.19.0-6-amd64 | grep CONFIG_SERIO_RAW I have also tried download latest kernel from kernel.org and ran "make menuconfig" and managed to add activate settings for CONFIG_SERIO_RAW on existing config but kernel panic error occurred and I had to revert back to previous working kernel. Any assistance ins this regard will be highly appreciated. |
Quote:
Run as root the following command to load it into the kernel: Code:
modprobe serio_raw |
As I mentioned above in my post that module is already loaded.
root@ds:/lib/modules/4.19.0-6-amd64# lsmod | grep serio_raw serio_raw 16384 0 Issue is that I can’t find the “/dev/serio_raw*” though module is loaded therefore I will have to load and compile kernel with following module. Device Driver>Input Device Support> Hardware I/O Ports>[*] raw access to serio ports |
Quote:
Code:
echo -n "serio_raw" > /sys/bus/serio/devices/serioX/drvctl |
I am also baffled see below please output.
root@s:/lib/modules# cat /sys/bus/serio/devices/serio serio0/ serio1/ I am suspecting something is wrong with path or a bug. I made an experiment and installed Ubuntu 10.04 Lucid Lynx and able to get it to work on same device and Touch Screen detected on PS/2 Controller and works without any issue but on Debain Buster 10 with Kernel above mentioned failing. |
I have managed to resolve this issue.
I had to recompile debian kernel and load required modules using make menuconfig and copying existing .config. Also I will have to create /debian/certs folder so that I dont get certificate error. I had to download linux-image and all required libraries. CONFIG_SERIO_RAW=y PS/2 TOUCHKIT=y make deb-pkg sudo dpkg -i *.deb sudo update-grub I could understand that legacy device support is removed in latest kernels to make it more efficient and quicker. |
All times are GMT -5. The time now is 12:40 PM. |