Hi there to everyone,
After spending the entire weekend I thought it was time to ask for a help.
Trying to install 3m touchware serial controller drivers for the Ubuntu Netbook edition I have,
I downloaded the linux drivers from the 3M site.
It was a .bin file which I managed to run the correct commands to g create a tar.gz file and then I run command
tar xzvf twscreen.7.12.5.tar.gz -C /opt
whioch first didnt work and kept reading on the internet and managed to change chmod for the file directories etc and I got the command to work
Run install script: /opt/twscreen/Install
brings out this result
root@ubuntu:/opt/twscreen# /opt/twscreen/Install
update-rc.d: warning: /etc/init.d/TWDrvStartup missing LSB keyword 'required-start'
update-rc.d: warning: /etc/init.d/TWDrvStartup missing LSB keyword 'required-stop'
update-rc.d: warning: TWDrvStartup start runlevel arguments (2 3 4 5) do not match LSB Default-Start values (2 5)
update-rc.d: warning: TWDrvStartup stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (0 1 3 4 6)
root@ubuntu:/opt/twscreen#
AND here is the TWDrvStartup
#!/bin/bash
#
# Copyright 2003-2009 3M. All rights reserved.
#
# TWDrvStartup
#
# Author: 3M Touch Systems, Inc., Methuen, MA 01488 USA
#
# processname: TWDrvStartup
# chkconfig: 5 20 05
# description: Installs X input driver for the MicroTouch MT 7 Software system
#
### BEGIN INIT INFO
# Provides: TwDriver
# Default-Start: 2 5
# Default-Stop: 0 1 3 4 6
# Description: Start the MT 7 touch screen driver
### END INIT INFO
#
# Define the install scripts
#
TWDRV_STARTSTOP=""
if test -f /etc/init.d/functions
then
. /etc/init.d/functions
START_DAEMON=daemon
CHECK_STATUS=status
elif test -f /etc/init.d/functions
then
. /etc/init.d/functions
START_DAEMON=daemon
CHECK_STATUS=status
elif test -f /lib/lsb/init-functions
then
. /lib/lsb/init-functions
START_DAEMON=start_daemon
CHECK_STATUS=checkproc
elif perl /opt/twscreen/TwIsThere.perl start-stop-daemon
then
TWDRV_STARTSTOP="1"
else
START_DAEMON=""
CHECK_STATUS=""
fi
TWDRV_OPTIONS=""
#
# Make sure everything is there
#
[ -d /opt/twscreen ] || exit 5
[ -x /opt/twscreen/TwDriver ] || exit 5
[ -x /opt/twscreen/TWXinputInstall.perl ] || exit 5
#
# Do what we were asked to do
#
case "$1" in
start)
echo "Starting TwDriver"
/opt/twscreen/TWXinputInstall.perl
[ x != x ] && [ -r ] && .
[ -d /dev/shm ] && rm -f /dev/shm/*TwConfig*
if [ -z $TWDRV_STARTSTOP ]
then
$START_DAEMON /opt/twscreen/TwDriver $TWDRV_OPTIONS
else
[ x$TWDRV_OPTIONS != x ] && TWDRV_OPTIONS="-- $TWDRV_OPTIONS"
start-stop-daemon --start --quiet --exec /opt/twscreen/TwDriver $TWDRV_OPTIONS
fi
RETVAL=$?
;;
stop)
echo "Stopping TwDriver"
/opt/twscreen/TwDriver stop
sleep 1
if [ -z $TWDRV_STARTSTOP ]
then
killproc /opt/twscreen/TwDriver -TERM
else
start-stop-daemon --stop -oknodo --quit --exec /opt/twscreen/TwDriver
fi
RETVAL=$?
/opt/twscreen/TWXinputInstall.perl -remove
;;
status)
echo "Checking for TwDriver"
if [ -z $TWDRV_STARTSTOP ] && [ ! -z $CHECK_STATUS ]
then
/opt/twscreen/TwDriver
RETVAL=$?
else
RETVAL=0
fi
;;
restart)
$0 stop
$0 start
RETVAL=$?
;;
try-restart)
$0 status
if test $? = 0
then
$0 restart
RETVAL=$?
else
RETVAL=0
fi
;;
*)
echo "Usage: $0 {start|stop|status|restart|try-restart}"
exit 1
esac
exit $RETVAL
Unfortunately I HAVE NO idea what it needs changing in order to get the installation work
Please HELP
I was all excited but now feeling rather useless
Thanks for your help
Bookmarks