Fatih Etkileşimli Tahtada Dokunmatik Ekran

Başlatan mutlucan96, 08 Mayıs 2013 - 18:20:00

« önceki - sonraki »

0 Üyeler ve 2 Ziyaretçi konuyu incelemekte.

mutlucan96

Tahtanın dokunmatik ekranını USB ile bağlamayı veya USB'den başlatarak denedim. Dokunmatik ekran çalışmadı. Tahtada kurulum dosyası vardı Linux için ama çalışmadı.
Markası THEGATE ve internette pek bir şey bulamadım. lsusb çıktısını kaydetmiştim ama kayboldu. Gerekirse tekrar alırım.
Kurulum dosyası intermette yok. Sizinle tamamen paylaşmak yerine README dosyasını paylaşmak neyin nasıl olduğunu anlamaya yeter sanırım:
Note: You must login as root if you want to operate driver.

1. Copy all file to "/usr/local/thegate" directory;

2. Copy "thegate_drv.*o" file to "/usr/lib/xorg/modules/input" or "/usr/X11R6/lib/modules/input" directory;

3. (Only Fedora 6)Run command: chcon -t texrel_shlib_t /usr/lib/xorg/modules/input/thegate_drv.*o

4. copy "thegate" directory to "/etc" directory;

5. Add one line to "/etc/rc.d/rc.local" or "/etc/boot.local":
   "/usr/local/thegate/thegate.init start &"

6. Setup the "/etc/X11/xorg.conf" or "/etc/X11/XF86Config" as fllows:
a). Add one line to "Section ServerLayout":
InputDevice "thegate" "SendCoreEvents"

b). Add one section InputDevice as follows:
Section "InputDevice"
Identifier "thegate"
Driver "thegate"
Option "ScreenNumber" "0"
Option "SendCoreEvents"
Option "MinX" "0"
Option "MinY" "0"
Option "MaxX" "4095"
Option "MaxY" "4095"
Option "SwapXY" "0"
EndSection

7. Plug in touch screen and reboot computer.


Not: rc.d klasörü yoktu ama rc.local dosyası direkt etc kalsöründeydi, işlemi ona yaptım.

Tahtada yüklü olan Pardus'u da inceledim. Kurulum dosyasında calib ve Thegateserver adlarında çalıştırılabilir dosyalar var. Bu dosyaları /usr/local/thegate klasörüne kopyalamayazılıydı. Pardus'ta da "Ekranı Kalibre Et" uygulaması da yönetici haklarıyla bu konumdan çalışıyordu. Ben de bu iki dosyayı yönetici hakkıyla çalıştırdım ve bir şey açılmadı. Uçbirim üzerinden çalıştırmayı denediğimde program açılıyor ve hiçbir çıktı vemeden kapanıyor.

Gerekirse kurulum dosyasını yükleyip özel olarak paylaşabilirim. Dağıtım hakkı nedir bilmiyorum.

cos

Sorunu pardus topluluk sürümü forumunda da sorarsanız geliştiricisi yanıt verebilir.

heartsmagic

Konu Ubuntu üzerine sanırım?

@mutlucan96, işlemleri tek tek yaptın mı hata almadan? Şöyle ki, bazı dizin isimleri, dosya yerleri gördüğün gibi değişik olabilir. Haliyle senin bunu Ubuntu'ya uyarlaman lazım. Örneğin 5. adıma kadar geldiğinde thegate servisi başlıyor mu hata almadan? Orada rc.local dosyasına ekleme yapmanı istemiş ya, o satırı elle yürüttün mü yani? Servis çalıştı mı?
Hayattan çıkarı olmayanların, ölümden de çıkarı olmayacaktır.
Hayatlarıyla yanlış olanların ölümleriyle doğru olmalarına imkân var mıdır?


Böylece yalan, dünyanın düzenine dönüştürülüyor.

mutlucan96

Alıntı yapılan: heartsmagic - 09 Mayıs 2013 - 12:12:43
Konu Ubuntu üzerine sanırım?

@mutlucan96, işlemleri tek tek yaptın mı hata almadan? Şöyle ki, bazı dizin isimleri, dosya yerleri gördüğün gibi değişik olabilir. Haliyle senin bunu Ubuntu'ya uyarlaman lazım. Örneğin 5. adıma kadar geldiğinde thegate servisi başlıyor mu hata almadan? Orada rc.local dosyasına ekleme yapmanı istemiş ya, o satırı elle yürüttün mü yani? Servis çalıştı mı?

Kurulum için hata alınacak bir şey yok maalesef. Çünkü her şeyi elle yaptım. rc.local Pardus'ta da Ubuntu ile aynı yerdeymiş zaten.
Tar arşivinin yanında bir de setup.sh diye bir betik koymuşlar önce onu kullanmıştım ama olmamıştı. Biraz eskiye göre hazırlanmış sanki. setup.sh'yi yürüttüğümde aldığım çıktılar:

#######################################################
#                                                     #
#       Linux driver installer for Touchscreen        #
#                                                     #
#######################################################

(I) Check user permission: root, you are the supervisor.

(W) Found the old Touchscreen driver.
(E) It has to be removed before run this installer.
(I) Remove the problematic driver from xorg
rm: `/usr/lib/xorg/modules/drivers/newport_drv.so' silinemedi: Böyle bir dosya ya da dizin yok

X.Org X Server 1.13.3
Release Date: 2013-03-07
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.0-37-generic x86_64 Ubuntu
Current Operating System: Linux custom 3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:16:28 UTC 2013 x86_64
Kernel command line: noprompt cdrom-detect/try-usb=true persistent file=/cdrom/preseed/custom.seed boot=casper initrd=/casper/initrd.gz quiet splash -- BOOT_IMAGE=/casper/vmlinuz
Build Date: 17 April 2013  10:43:13PM
xorg-server 2:1.13.3-0ubuntu6 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.28.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Thu May  9 15:56:10 2013
List of video drivers:
ati
cirrus
vmware
intel
mach64
mga
modesetting
neomagic
nouveau
nvidia
openchrome
qxl
r128
radeon
s3
savage
siliconmotion
sis
sisusb
tdfx
trident
fbdev
vesa
(++) Using config file: "/home/ubuntu/xorg.conf.new"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Number of created screens does not match number of detected devices.
  Configuration failed.
Server terminated with error (2). Closing log file.
cp: `/root/xorg.conf.new' durumlanamadı: Böyle bir dosya ya da dizin yok
(I) Extract Touchscreen driver archive to /usr/local/thegate
/usr/local/thegate.
(I) Copy configuration file to /etc.
(I) Create calib link in /usr/bin.
(E) No local.start file found.
(I) Check X window version: 6.9.0 ~ 7.2.0
(I) Copy X module: x69/thegate_drv.so to /usr/lib/xorg/modules/input.
cp: `/usr/local/thegate/Module/x69/thegate_drv.so' durumlanamadı: Böyle bir dosya ya da dizin yok
(I) Found X configuration file: /etc/X11/xorg.conf.
(I) Removed touch configuration from /etc/X11/xorg.conf.
(I) Add touch configuration into /etc/X11/xorg.conf.

(I) Please reboot the system.


setup.sh betiğinin içeriğini de paylaşayım:
#!/bin/sh
#
# This is a driver installer for Touchscreen.
# Version: 1.40.2
# Released: 04/01/2010
#
 
version="1.40.2"
driverName="thegate.opt.bin.tar.gz"
companyName="thegate"
installPath="/usr/local"

xorgPath="/etc/X11/xorg.conf"
xConfigPath="/etc/X11/XF86Config-4"
xConfigPath2="/etc/X11/XF86Config"

xModulesPath="/usr/X11R6/lib/modules/input"
xModulesPath2="/usr/lib/xorg/modules/input"

localPath="/etc/conf.d/local.start"

trash="/dev/null"
servicePath="/usr/local/thegate/thegate.init"
tsConfigName="thegate/optical.conf"
saveConfigPath="/etc"

ShowTitle() {
    echo ""
    echo "#######################################################"
    echo "#                                                     #"
    echo "#       Linux driver installer for Touchscreen        #"
    echo "#                                                     #"
    echo "#######################################################"
    echo ""
}

CheckPermission() {
    echo -n "(I) Check user permission:"
    account=`whoami`
    if [ ${account} = "root" ]; then
        echo " ${account}, you are the supervisor."
echo ""
    else
        echo " ${account}, you are NOT the supervisor."
        echo "(E) The root permission is required to run this installer."
        echo ""
        exit 1
    fi
}

CheckOldDriver() {
    temppath=`find ${installPath} -name ${companyName}`
    olddriverpath=${temppath%/*}
    if [ -z "${olddriverpath}" ]; then
        echo "(I) Begin to setup the Touchscreen driver."
    else
        echo "(W) Found the old Touchscreen driver."
        echo "(E) It has to be removed before run this installer."
    fi
echo "(I) Remove the problematic driver from xorg"
rm /usr/lib/xorg/modules/drivers/newport_drv.so
Xorg -configure :1
cp /root/xorg.conf.new /etc/X11/xorg.conf
}

ExtractDriver() {
    if [ -e ${installPath}/${driverName} ]; then
        rm -f ${installPath}/${driverName}
    fi
   
    if [ -e ${installPath}/${companyName}} ]; then
        rm -rf ${installPath}/${companyName}
        echo "(I) Found and removed previous Touchscreen driver."
    fi

    cp -f ${driverName} ${installPath}
    ( cd ${installPath}; tar -zxf ${driverName}; rm -f ${driverName} )
    temppath=`find ${installPath} -name ${companyName}`
    driverpath=${temppath%/*}
    echo "(I) Extract Touchscreen driver archive to ${driverpath}."

    cp -af ${installPath}/${companyName}/${companyName} ${saveConfigPath}
    echo "(I) Copy configuration file to /etc."

    ln -sf ${installPath}/${companyName}/calib /usr/bin
    echo "(I) Create calib link in /usr/bin."
}

RemoveDriver() {
    if [ -e ${installPath}/${driverName} ]; then
        rm -rf ${installPath}/${driverName}
    fi

    temppath=`find ${installPath} -name ${companyName}`
    driverpath=${temppath%/*}
    if [ -z "${driverpath}" ]; then
        echo "(E) The driver archive has been removed already."
        echo ""
        exit 1
    elif [ -e ${installPath}/${companyName} ]; then
${installPath}/${companyName}/thegate.init stop
rm -rf ${installPath}/${companyName}
echo "(I) Removed Touchscreen driver archive from ${installPath}/${companyName}."
    fi
}

CheckXorgVersion() {
    checkx="X -version"
    xfile="X.info"
    ${checkx} > ${xfile} 2>&1
    grep -q "X.Org X Server 1.4." ${xfile}
    if [ $? -eq 0 ]; then
        grep -q "X.Org X Server 1.4.99" ${xfile}
        if [ $? -eq 0 ]; then
            echo "(I) Check X window version: 1.4.99.x" # Fedora 9 : 1.4.99.901
            xdirectory="x1499"
        else
            echo "(I) Check X window version: 1.4.x" # openSuSE 11 / Ubuntu 8.04: 1.4.0.90
            xdirectory="x14"
        fi
    else
        grep -q "X Window System Version 1.3." ${xfile} # Fedora 8 / Ubuntu 7.10: 1.3.0
        if [ $? -eq 0 ]; then
            echo "(I) Check X window version: 1.3.x"
            xdirectory="x13"
        else
            grep -q "X.Org X Server 1.5." ${xfile} # Ubuntu 8.10 / Fedora 10
            if [ $? -eq 0 ]; then
                echo "(I) Check X window version: 1.5.x"
                xdirectory="x15"
            else
                grep -q "X.Org X Server 1.6." ${xfile} # Ubuntu 9.04 / Ubuntu 9.10 / Fedora 11
                if [ $? -eq 0 ]; then
                    echo "(I) Check X window version: 1.6.x"
                    xdirectory="x16"
                else
                    grep -q "X.Org X Server 1.7." ${xfile} # Fedora 12 / Ubuntu 10.04
                    if [ $? -eq 0 ]; then
                        echo "(I) Check X window version: 1.7.x"
                        xdirectory="x17"
                    else
grep -q "X.Org X Server 1.8." ${xfile} # Fedora 13
                    if [ $? -eq 0 ]; then
                            echo "(I) Check X window version: 1.8.x"
                            xdirectory="x18"
                        else
    grep -q "X.Org X Server 1.9." ${xfile} # Fedora 14
            if [ $? -eq 0 ]; then
                 echo "(I) Check X window version: 1.9.x"
                 xdirectory="x19"
            else
                grep -q "X Window System Version 6.8.99.900" ${xfile} # Mandriva 2006
                if [ $? -eq 0 ]; then
                     echo "(I) Check X window version: 6.8.99.900"
                     xmodule="thegate_drv.o"
                     xdirectory="x67"
                else
                     echo "(I) Check X window version: 6.9.0 ~ 7.2.0" #Fedora 5
                     xdirectory="x69"
                fi
     fi
fi
                    fi
                fi
            fi
        fi
    fi
    rm -f ${xfile}
}

CopyXorgMudule() {
    if [ -e ${xModulesPath}/mouse_drv.*o ]; then
        mousepath=`find ${xModulesPath} -name mouse_drv.*o`
    elif [ -e ${xModulesPath2}/mouse_drv.*o ]; then
        mousepath=`find ${xModulesPath2} -name mouse_drv.*o`
    else
        echo "(I) Searching the X input modules directory."
        mousepath=`find /usr -name mouse_drv.*o`
        if [ -z "${mousepath}" ]; then
            RemoveDriver
            echo "(E) No X input modules directory found."
            echo ""
            exit 1
        fi
    fi

    mouse=${mousepath##*/}
    if [ ${mouse} = "mouse_drv.so" ]; then
        xmodule="thegate_drv.so"
        CheckXorgVersion
        xpath=${mousepath%/*}
    elif [ ${mouse} = "mouse_drv.o" ]; then
        xmodule="thegate_drv.o"
        xdirectory="x67"
        xpath=${xModulesPath}
        echo "(I) Check X window version: 6.7 ~ 6.8.2"
    else
        RemoveDriver
        echo "(E) Unknown mouse module!"
        echo ""
        exit 1
    fi

    if [ -e ${xpath}/${xmodule} ]; then
        rm -f ${xpath}/${xmodule}
    fi
    echo "(I) Copy X module: ${xdirectory}/${xmodule} to ${xpath}."
    cp -f ${installPath}/${companyName}/Module/${xdirectory}/${xmodule} ${xpath}
}

RemoveXorgModule() {
    xmodule="thegate_drv.*o"
    if [ -e ${xModulesPath}/${xmodule} ]; then
        rm -f ${xModulesPath}/${xmodule}
    elif [ -e ${xModulesPath2}/${xmodule} ]; then
        rm -f ${xModulesPath2}/${xmodule}
    else
        echo "(I) Searching the X module of touch device."
        fullmodulepath=`find /usr -name ${xmodule}`
        if [ -z "${fullmodulepath}" ]; then
            RemoveDriver
            echo "(E) No X module of touch device found."
            echo ""
            exit 1
        elif [ -e ${fullmodulepath} ]; then
            rm -f ${fullmodulepath}
        fi
    fi
    echo "(I) Removed X module."
}

AddConfiguration() {
    echo "(I) Add touch configuration into $1."
    filelines=`cat $1 | wc -l`
    sed -i ''${filelines}'a\### Touch Configuration Beginning ###\
Section "InputDevice"\
        Identifier "'${companyName}'"\
        Driver "thegate"\
        Option "ScreenNumber" "0"\
Option "SendCoreEvents"\
Option "MinX" "0"\
Option "MinY" "0"\
Option "MaxX" "4095"\
Option "MaxY" "4095"\
        Option "SwapXY" "0"\
EndSection\
### Touch Configuration End ###' $1

    grep -q "Section \"ServerLayout\"" $1
    if [ $? -eq 0 ]; then
        sed -i '/Section "ServerLayout"/a\        InputDevice "'${companyName}'" "SendCoreEvents"' $1
    else
        echo "(W) No \"ServerLayout\" section found! It will be appended automatically."
        sed -i '/### Touch Configuration Beginning ###/a\
Section "ServerLayout"\
        Identifier "Default Layout"\
        InputDevice "'${companyName}'" "SendCoreEvents"\
EndSection\
' $1
        screenfile="screen.info"
        sed '/Section "Screen"/,/EndSection/!d' $1 > ${screenfile} 2>&1
        sed -i '/Identifier/!d' ${screenfile} 2>&1
        screen=`sed 's/Identifier/Screen/g' ${screenfile}`
        if [ -n "${screen}" ]; then
            sed -i '/Identifier "Default Layout"/a\'"${screen}"'' $1
        fi
        rm -f ${screenfile}
    fi

    checkx="X -version"
    xfile="X.info"
    ${checkx} > ${xfile} 2>&1
    grep -q "X.Org X Server 1.4.0.90" ${xfile}
    if [ $? -eq 0 ]; then
        grep -q "Build Operating System: Linux Ubuntu" ${xfile} # Add AutoMapping except Ubuntu 8.04
        if [ $? -eq 1 ]; then
            sed -i '/Option "ScreenNo"/a\        Option "AutoMapping" "1"' $1
        fi
    fi

    usbfile="usb.info"
    checkusb="lsusb -v -d 0eef:0001"
    ${checkusb} > ${usbfile} 2> ${trash}
    grep -q "Current Operating System: Linux asus" ${xfile} # for EPC series
    if [ $? -eq 0 ]; then
        grep -q "Human Interface Device" ${usbfile}
        if [ $? -eq 0 ]; then
            sed -i '/Option "ScreenNo"/a\        Option "HidOnEPC" "1"' $1
        else
            grep -q "Vendor Specific Protocol" ${usbfile}
            if [ $? -eq 1 ]; then
                echo "(I) Note that the option \"HidOnEPC\" \"1\" should be appended in the touch"
                echo "    section of X configuration file for HID compliant touch controller."
            fi
        fi
    else
        grep -q "ubuntu" ${xfile} # for Ubuntu series
        if [ $? -eq 0 ]; then
            grep -q "Human Interface Device" ${usbfile}
            if [ $? -eq 0 ]; then
                sed -i '/Option "ScreenNo"/a\        Option "SkipClick" "1"' $1
            fi
        fi
    fi
    rm -f ${usbfile}
    rm -f ${xfile}
}

RemoveXConfiguration() {
    sed -i '/"'${companyName}'" "SendCoreEvents"/d' $1
    sed -i '/### Touch Configuration Beginning ###/,/### Touch Configuration End ###/d' $1
    echo "(I) Removed touch configuration from $1."
}

EditConfigFile() {
    if [ -w ${xorgPath} ]; then
        echo "(I) Found X configuration file: ${xorgPath}."
        grep -q "### Touch Configuration Beginning ###" ${xorgPath}
        if [ $? -eq 1 ]; then
            AddConfiguration ${xorgPath}
        else
            RemoveXConfiguration ${xorgPath}
            AddConfiguration ${xorgPath}
        fi
    elif [ -w ${xConfigPath} ]; then
        echo "(I) Found X configuration file: ${xConfigPath}."
        grep -q "### Touch Configuration Beginning ###" ${xConfigPath}
        if [ $? -eq 1 ]; then
            AddConfiguration ${xConfigPath}
        else
            RemoveXConfiguration ${xConfigPath}
            AddConfiguration ${xConfigPath}
        fi
    elif [ -w ${xConfigPath2} ]; then
        echo "(I) Found X configuration file: ${xConfigPath2}."
        grep -q "### Touch Configuration Beginning ###" ${xConfigPath2}
        if [ $? -eq 1 ]; then
            AddConfiguration ${xConfigPath2}
        else
            RemoveXConfiguration ${xConfigPath2}
            AddConfiguration ${xConfigPath2}
        fi
    else
        RemoveDriver
        RemoveXorgModule
        echo "(E) No X configuration file found."
        echo ""
        exit 1
    fi
}

RestoreXConfigFile() {
    if [ -w ${xorgPath} ]; then
        RemoveXConfiguration ${xorgPath}
    elif [ -w ${xConfigPath} ]; then
        RemoveXConfiguration ${xConfigPath}
    elif [ -w ${xConfigPath2} ]; then
        RemoveXConfiguration ${xConfigPath2}
    else
        echo "(E) No X configuration file found."
        echo ""
        exit 1
    fi
}

EditLocalFile() {
    if [ -w ${localPath} ]; then
        grep -q $servicePath ${localPath}
        if [ $? -eq 1 ]; then
             filelines=`cat ${localPath} | wc -l`
             echo "(I) Add touchscreen Service $1 into ${localPath}."
             sed -i ''${filelines}'a\# added by Touchscreen installer\n'$servicePath' start &' ${localPath}
        else
             echo "(I) The $servicePath has been added in ${localPath}."
        fi
    else
    echo "(E) No local.start file found."
    fi
}

RemoveLocalFile() {
    if [ -w ${localPath} ]; then
        grep -q $servicePath ${localPath}
        if [ $? -eq 0 ]; then
             sed -i '/# added by Touchscreen installer/,/start/d' ${localPath}
             echo "(I) Removed $servicePath from ${localPath}."
        fi
    else
    echo "(E) No local.start file found."
    fi
}

RemoveConfigFile() {
    if [ -e ${saveConfigPath}/${tsConfigName} ]; then
rm -rf ${saveConfigPath}/${companyName}
    echo "(I) Remove configuration file from /etc."
    else
        echo "(I) No configuration file from /etc found."
    fi
}

clear
ShowTitle

if [ $# = 0 ]; then
    CheckPermission
    CheckOldDriver
    ExtractDriver
    EditLocalFile
    CopyXorgMudule
    EditConfigFile
    echo ""
    echo "(I) Please reboot the system."
elif [ $# = 1 ]; then
    if [ $1 = "uninstall" ]; then
        CheckPermission
        echo "(I) Begin to remove Touchscreen driver."
        RemoveDriver
RemoveConfigFile
        RemoveXorgModule
        RestoreXConfigFile
RemoveLocalFile
        echo ""
        echo "(I) The Touchscreen driver has been removed successfully."
        echo "(I) Please reboot the system."
    elif [ $1 = "version" ]; then
        echo "(I) Version: ${version}"
    else
        echo "(I) Usage: [sh $0] to install Touchscreen driver."
echo "           [sh $0 uninstall] to uninstall Touchscreen driver."
    fi
else
    echo "(I) Usage: [sh $0] to install Touchscreen driver."
    echo "           [sh $0 uninstall] to uninstall Touchscreen driver."
fi

echo ""



Uçbirimden "/usr/local/thegate/thegate.init start" diyorum kendim:
Starting thegateServer daemons:   /usr/local/thegate/thegateServer/usr/local/thegate/thegate.init: 10: /usr/local/thegate/thegate.init: /usr/local/thegate/thegateServer: not found
Oysa her şey yerli yerinde.

heartsmagic

/usr/local/thegate/thegateServer/usr/local/thegate/thegate.init diye bir dosya var mı? Yani, /usr/local/thegate içine kopyaladığın şeylerin arasında thegateServer dizini ve altındaki yol mevcut mu? Garip bir şekilde /usr/local/thegate altında bir thegateServer ve onun altında arıyor dosyaları. Kopyalamayı doğru yaptığına emin misin? Bana öyle geliyor ki arşivden açtığın dizin ismi thegateServer ve bunun altında thegate.init falan var. Onların ilgili dizine gitmesi gerekiyor gibi.
Hayattan çıkarı olmayanların, ölümden de çıkarı olmayacaktır.
Hayatlarıyla yanlış olanların ölümleriyle doğru olmalarına imkân var mıdır?


Böylece yalan, dünyanın düzenine dönüştürülüyor.

mutlucan96

Alıntı yapılan: heartsmagic - 09 Mayıs 2013 - 18:00:17
/usr/local/thegate/thegateServer/usr/local/thegate/thegate.init diye bir dosya var mı? Yani, /usr/local/thegate içine kopyaladığın şeylerin arasında thegateServer dizini ve altındaki yol mevcut mu? Garip bir şekilde /usr/local/thegate altında bir thegateServer ve onun altında arıyor dosyaları. Kopyalamayı doğru yaptığına emin misin? Bana öyle geliyor ki arşivden açtığın dizin ismi thegateServer ve bunun altında thegate.init falan var. Onların ilgili dizine gitmesi gerekiyor gibi.

/usr/local/thegate klasörü doğru şekilde kopyalandı. /usr/local/thegate/thegateServer/usr/local/thegate/thegate.init diye dosya araması yanlış bir durum. Çalıştırmak istediğimiz dosyanın klasörü olan /usr/local/thegate/ nin içeriğinde thegateServer diye bir klasör yok thegateServer bir çalıştırılabilir dosya. Ama yine de dediğiniz gibi dosyaları /usr/local/thegate/thegateServer/usr/local/thegate/ diye klasöyler açıp kopyaladım. "sudo /usr/local/thegate/thegate.init start" komutumuz "command not found" ile sonuçlandı çünkü thegate.init yeni klaörlere kopyalamıştım. Haliyle "sudo /usr/local/thegate/thegateServer/usr/local/thegate/thegate.init start" dedim.  :) ve dedi ki:
Starting thegateServer daemons:   /usr/local/thegate/thegateServer/usr/local/thegate/thegateServer/usr/local/thegate/thegate.init: 10: /usr/local/thegate/thegateServer/usr/local/thegate/thegate.init: /usr/local/thegate/thegateServer: Permission denied


İsterseniz incelemeniz için programı yükleyebilirim.

heartsmagic

Yüklesen bile vakit ayırabileceğimi sanmıyorum, o nedenle vaktim oldukça buraya bakmaya çalışıyorum. Elimden fazlaca bir şey gelmiyor gibi ancak şu komut ne döndürüyor:
ls -l /usr/local/thegate/thegateServer

Gerçi servisi çalıştırmaya çalışınca o şekilde bir yol araması pek sağlıklı gelmedi bana.
Hayattan çıkarı olmayanların, ölümden de çıkarı olmayacaktır.
Hayatlarıyla yanlış olanların ölümleriyle doğru olmalarına imkân var mıdır?


Böylece yalan, dünyanın düzenine dönüştürülüyor.

mutlucan96

mutlu@LG-A520:~$ ls -l /usr/local/thegate/thegateServer
-rwxr-xr-x 1 mutlu mutlu 124151 Oca 12  2012 /usr/local/thegate/thegateServer

heartsmagic

Çalıştırma hakkı da var. Gerçi bana hâlâ dosya yollarında bir karışıklık var gibi geliyor :)
Açıkçası bu aşamadan sonra öneri sunamıyorum.
Hayattan çıkarı olmayanların, ölümden de çıkarı olmayacaktır.
Hayatlarıyla yanlış olanların ölümleriyle doğru olmalarına imkân var mıdır?


Böylece yalan, dünyanın düzenine dönüştürülüyor.