[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 777
  • Last Modified:

Linux Kernel 2.4.20-6 / 3M TouchWare Drivers

Driver:
http://solutions.3m.com/wps/portal/3M/en_US/3MTouchSystems/TS/CustomerSupport/TouchDrivers/
ReadMe:
http://multimedia.mmm.com/mws/mediawebserver.dyn?6666660Zjcf6lVs6EVs66SdGOCOrrrrQ-

This is a 2 parter.
We have touch screen monitors that use the 3M TouchWare controller. After some reading, I've found that these drivers contain a calibration tool that i would like to have available and are something I'd like to roll out.
Problem A:
Currently the installed drivers came with the distribution. i would like to uninstall those drivers and install the new drivers i have found.
Problem B:
These drivers were designed for Kernel 2.4, i am using 2.4.20-6. I am under the impression that i  must REcompile these drivers before they are useful to me.  The linked ReadMe at the top is where im getting my information from, but if someone has more insight, please let me in.
Also, if you need any other information about the machine im installing these drivers on, please let me know.
Thank you in advance.

PS... im not a Linux guy, please take it easy on me.
0
service_desk_lwi
Asked:
service_desk_lwi
  • 2
1 Solution
 
service_desk_lwiAuthor Commented:
after trying to follow through with the instructions, i've come to the point where i have to compile the drivers for my kernal, 2.4.20-6, but the compile process bombs. the error being thrown is not something i am familiar with, so ANY assistance would be appreciated.

 

[root@lwi0283 SPECS]# KERNEL_RELEASE=2.4.20-6
[root@lwi0283 SPECS]# export KERNEL_RELEASE
[root@lwi0283 SPECS]# rpmbuild -ba --define "kernel $KERNEL_RELEASE" TWDrv.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.43998
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ cd /usr/src/redhat/BUILD
+ rm -rf TWDrv-5.64
+ /bin/mkdir -p TWDrv-5.64
+ cd TWDrv-5.64
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/TWDrvSources.tgz
+ tar -xvvf -
drwxr-xr-x root/root         0 2006-04-11 14:47:06 bin/
-rwxr-xr-x root/root     12166 2006-04-11 14:48:39 bin/MultiMonitorTool
-rwxr-xr-x root/root     35075 2006-04-11 14:48:40 bin/TwCalib
drwxr-xr-x root/root         0 2006-04-11 14:48:39 common/
-rw-r--r-- root/root      7677 2006-04-11 14:48:39 common/tw_ioctl.h
-rw-r--r-- root/root      1497 2006-04-11 14:48:39 common/TWEvents.h
drwxr-xr-x root/root         0 2006-04-11 14:47:06 controlXInput/
-rw-r--r-- root/root      6439 2006-04-11 14:45:12 controlXInput/controlXInput.c
-rw-r--r-- root/root       344 2006-04-11 14:45:12 controlXInput/makefile
drwxr-xr-x root/root         0 2006-04-11 14:47:04 daemon/
-rwxr-xr-x root/root     19587 2006-04-11 14:48:39 daemon/TWDrvStartup
-rwxr-xr-x root/root       554 2006-04-11 14:48:37 install
drwxr-xr-x root/root         0 2006-04-11 14:47:06 lib/
-rwxr-xr-x root/root     14131 2006-04-11 14:48:39 lib/libMultiMonitor.so
-rwxr-xr-x root/root     40709 2006-04-11 14:48:40 lib/libTwCaliblib.so
-rwxr-xr-x root/root    461488 2006-04-11 14:48:40 lib/libTwGraphics.so
-rw-r--r-- root/root      5887 2006-04-11 14:48:39 License.txt
drwxr-xr-x root/root         0 2006-04-11 14:47:06 mmtool/
-rw-r--r-- root/root       838 2006-04-11 14:48:39 mmtool/Makefile
-rw-r--r-- root/root      1725 2006-04-11 14:48:39 mmtool/TwMMTool.h
-rw-r--r-- root/root       414 2006-04-11 14:48:39 mmtool/Tool.cpp
-rw-r--r-- root/root     11376 2006-04-11 14:48:39 Readme.txt
drwxr-xr-x root/root         0 2006-04-11 14:47:06 TWCalib/
-rw-r--r-- root/root       926 2006-04-11 14:48:40 TWCalib/Makefile
-rw-r--r-- root/root      1700 2006-04-11 14:48:40 TWCalib/TwCalib.h
-rw-r--r-- root/root       391 2006-04-11 14:48:40 TWCalib/Calib.cpp
drwxr-xr-x root/root         0 2006-04-11 14:48:39 TwDrvKit/
-rw-r--r-- root/root     16894 2006-04-11 14:48:39 TwDrvKit/common.o.save
-rw-r--r-- root/root     48754 2006-04-11 14:48:39 TwDrvKit/TWDriver.c
-rw-r--r-- root/root      8663 2006-04-11 14:48:39 TwDrvKit/TWDriver.h
-rw-r--r-- root/root       736 2006-04-11 14:48:39 TwDrvKit/Makefile24
-rw-r--r-- root/root       916 2006-04-11 14:48:39 TwDrvKit/Makefile26
-rw-r--r-- root/root      1031 2006-04-11 14:48:39 TwDrvKit/makefile
-rwxr-xr-x root/root      1993 2006-04-11 14:48:37 TWDrvStartup
-rwxr-xr-x root/root      5882 2006-04-11 14:48:37 TWXinputInstall.perl
drwxr-xr-x root/root         0 2006-04-11 14:48:21 Xfree4.0.3/
-rw-r--r-- root/root     10158 2006-04-11 14:47:57 Xfree4.0.3/TWXinput_drv.o
+ STATUS=0
+ '[' 0 -ne 0 ']'
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.43998
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd TWDrv-5.64
+ LANG=C
+ export LANG
+ '[' -z 2.4.20-6 ']'
+ echo 'using 2.4.20-6'
using 2.4.20-6
+ echo ''
 
+ rm -rf /var/tmp/TWDrv-5.64-root
+ KVER=2.4.20-6
+ export KVER
+ cd TwDrvKit
+ make clean
+ make
Makefile:9: /lib/modules/2.4.20-6/build/.config: No such file or directory
make[1]: *** No rule to make target `/lib/modules/2.4.20-6/build/.config'.  Stop.
make: *** [makeit] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.43998 (%build)

Open in new window

0
 
Kerem ERSOYPresidentCommented:
Hi,

It is simply can not locate the directory:

/lib/modules/2.4.20-6/build and/or the file .config under it. This means that you have not yet installed
kernel-headers and kernel-devel packages which creates these directories.

try

yum install kernel-devel
yum install kernel-headers

or up2date istead of yum.

0
 
service_desk_lwiAuthor Commented:
looks like i have a copy of Rehhat that dates back to 03. up2date cannot connect to the repositories as the SSL key has changed. i tried putting a new one in, but no joy.
thanks for your help guys.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now