LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 11-21-2020, 04:02 AM   #1
mansoorbabbar
LQ Newbie
 
Registered: Feb 2007
Location: Johannesburg
Posts: 5

Rep: Reputation: 0
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:
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)

==================================================================
root@s:/usr/src# ls -lah
total 24K
drwxr-xr-x 6 root root 4.0K Nov 21 10:46 .
drwxr-xr-x 13 root root 4.0K Oct 7 2019 ..
lrwxrwxrwx 1 root root 37 Nov 21 10:46 linux -> /usr/src/linux-headers-4.19.0-6-amd64
drwxr-xr-x 4 root root 4.0K Nov 20 21:07 linux-headers-4.19.0-12-amd64
drwxr-xr-x 4 root root 4.0K Nov 20 21:07 linux-headers-4.19.0-12-common
drwxr-xr-x 4 root root 4.0K Nov 20 15:40 linux-headers-4.19.0-6-amd64
drwxr-xr-x 4 root root 4.0K Nov 21 10:55 linux-headers-4.19.0-6-common
============================================================================
root@s:/lib/modules# ls -lh
total 8.0K
drwxr-xr-x 2 root root 4.0K Nov 20 21:07 4.19.0-12-amd64
drwxr-xr-x 3 root root 4.0K Nov 20 15:34 4.19.0-6-amd64
============================================================================
root@s:/lib/modules/4.19.0-6-amd64# ls -lh
total 4.4M
lrwxrwxrwx 1 root root 37 Nov 11 2019 build -> /usr/src/linux-headers-4.19.0-6-amd64
drwxr-xr-x 12 root root 4.0K Oct 7 2019 kernel
-rw-r--r-- 1 root root 1.1M Nov 20 15:34 modules.alias
-rw-r--r-- 1 root root 1.1M Nov 20 15:34 modules.alias.bin
-rw-r--r-- 1 root root 4.8K Nov 11 2019 modules.builtin
-rw-r--r-- 1 root root 6.0K Nov 20 15:34 modules.builtin.bin
-rw-r--r-- 1 root root 424K Nov 20 15:34 modules.dep
-rw-r--r-- 1 root root 578K Nov 20 15:34 modules.dep.bin
-rw-r--r-- 1 root root 434 Nov 20 15:34 modules.devname
-rw-r--r-- 1 root root 137K Nov 11 2019 modules.order
-rw-r--r-- 1 root root 800 Nov 20 15:34 modules.softdep
-rw-r--r-- 1 root root 494K Nov 20 15:34 modules.symbols
-rw-r--r-- 1 root root 610K Nov 20 15:34 modules.symbols.bin
lrwxrwxrwx 1 root root 38 Nov 11 2019 source -> /usr/src/linux-headers-4.19.0-6-common
=================================================================
root@s:/lib/modules/4.19.0-6-amd64# cat /boot/config-4.19.0-6-amd64 | grep CONFIG_SERIO_RAW
CONFIG_SERIO_RAW=m




I just need to know how to load and compile this module in Debain and documents available on Debain is outdated.

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 in this regard will be highly appreciated.
 
Old 11-21-2020, 08:19 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

https://www.linuxquestions.org/quest...el-4175685577/
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] how to load "CONFIG_SERIO_RAW=y" module to existing kernel? mansoorbabbar Linux - Hardware 5 12-02-2020 12:31 AM
program camorama issues an error "failed to load module "canberra-gtk-module" hawanam Linux - Newbie 3 07-20-2018 01:27 AM
rt61pci kernel module fails to load in -current "Invalid module format" Interject Slackware 6 03-20-2010 01:48 AM
Help With Java Problem Please"""""""""""" suemcholan Linux - Newbie 1 04-02-2008 06:02 PM
Dual boot "merge" from existing 98 & existing Linux atsmith Linux - Newbie 4 07-13-2003 03:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration