Kernel configuration issue
19 Jul 2018 13:45 #114529
by deemoss
Kernel configuration issue was created by deemoss
Hi Guys,
I am trying to install drivers for a touchscreen (eGalax) but for this I need to use "make menuconfig" to add a module (hidraw?). The problem is that when I run the above command I get errors.
I What is problem? Am I missing some files?
My kernel sources
The result I get
Thanks!
I am trying to install drivers for a touchscreen (eGalax) but for this I need to use "make menuconfig" to add a module (hidraw?). The problem is that when I run the above command I get errors.
I What is problem? Am I missing some files?
My kernel sources
root@LCNC:/usr/src# ls
linux-headers-3.4-9-common-rtai linux-headers-3.4-9-rtai-686-pae linux-kbuild-3.4
The result I get
root@LCNC:/usr/src/linux-headers-3.4-9-rtai-686-pae# make menuconfig
/usr/src/linux-headers-3.4-9-common-rtai/scripts/Makefile.build:44: /usr/src/linux-headers-3.4-9-common-rtai/scripts/basic/Makefile: No such file or directory
make[3]: *** No rule to make target `/usr/src/linux-headers-3.4-9-common-rtai/scripts/basic/Makefile'. Stop.
make[2]: *** [scripts_basic] Error 2
make[1]: *** [sub-make] Error 2
make: *** [all] Error 2
Thanks!
Please Log in or Create an account to join the conversation.
- InMyDarkestHour
- Offline
- User is blocked
Less
More
- Posts: 701
- Thank you received: 111
20 Jul 2018 03:47 - 20 Jul 2018 03:52 #114560
by InMyDarkestHour
Replied by InMyDarkestHour on topic Kernel configuration issue
They are only the Linux headers, you are going to need the full source to compile a kernel.
No need to rebuild for HIDRAW as this has been compiled into the kernel.
If you search the forums for tecno's thread on touchscreen there is a bit of info about the eGalax.
(found it for stretch but more less the same setup for X)
forum.linuxcnc.org/18-computer/33224-str...hscreen?limitstart=0
when it's plugged in what is the result of
I get this result
You can also try
Which gives me
No need to rebuild for HIDRAW as this has been compiled into the kernel.
cat /boot/config-3.4-9-rtai-686-pae | grep HIDRAW
If you search the forums for tecno's thread on touchscreen there is a bit of info about the eGalax.
(found it for stretch but more less the same setup for X)
forum.linuxcnc.org/18-computer/33224-str...hscreen?limitstart=0
when it's plugged in what is the result of
sudo dmesg | grep eGalax
I get this result
[ 1132.971700] usb 5-2: Manufacturer: eGalax Inc.
[ 1133.010825] input: eGalax Inc. USB TouchController Pen as /devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/0003:0EEF:0001.0003/input/input15
[ 1133.011152] input: eGalax Inc. USB TouchController as /devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/0003:0EEF:0001.0003/input/input16
[ 1133.011523] hid-multitouch 0003:0EEF:0001.0003: input,hiddev0,hidraw2: USB HID v1.00 Pointer [eGalax Inc. USB TouchController] on usb-0000:00:1d.0-2/input0
You can also try
sudo dmesg | grep hidraw
Which gives me
[ 6.936080] hidraw: raw HID events driver (C) Jiri Kosina
[ 7.157058] hid-generic 0003:046D:C52F.0001: input,hidraw0: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:1d.0-1/input0
[ 7.226050] hid-generic 0003:046D:C52F.0002: input,hiddev0,hidraw1: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:1d.0-1/input1
[ 1133.011523] hid-multitouch 0003:0EEF:0001.0003: input,hiddev0,hidraw2: USB HID v1.00 Pointer [eGalax Inc. USB TouchController] on usb-0000:00:1d.0-2/input0
Last edit: 20 Jul 2018 03:52 by InMyDarkestHour.
Please Log in or Create an account to join the conversation.
23 Jul 2018 14:23 #114706
by andypugh
Replied by andypugh on topic Kernel configuration issue
I have used eGalax a couple of times and never needed to recompile the kernel to do so.
What makes you think this is necessary?
What makes you think this is necessary?
Please Log in or Create an account to join the conversation.
11 Dec 2018 23:36 #122240
by celalcnc
Replied by celalcnc on topic Kernel configuration issue
Can you please explain how did you add the egalax driver to your wheezy or another kernel?
Please Log in or Create an account to join the conversation.
12 Dec 2018 09:02 #122254
by deemoss
Replied by deemoss on topic Kernel configuration issue
I quit the idea of compiling the kernel and installed the latest version of Linux Mint. That solved the problem. The touchscreen is detected automatically even during setup.
Please Log in or Create an account to join the conversation.
14 Feb 2019 14:45 #126462
by celalcnc
Replied by celalcnc on topic Kernel configuration issue
I tried with Mint. latency test gives 10000 ns at debian wheezy and 100000 ns at Mint. Can you please explain shortly how can get full source of wheezy and add eGalax driver?
Please Log in or Create an account to join the conversation.
Time to create page: 0.108 seconds