From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from arkoon.heidolph.de ([195.145.51.19]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1V1G7a-0002Pz-It for ptxdist@pengutronix.de; Mon, 22 Jul 2013 15:25:54 +0200 Received: from [10.100.10.5] (port=44835 helo=hiscmail01.heilab.loc) by arkoon.heidolph.de with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1V1G7Y-0001pa-1a for ptxdist@pengutronix.de; Mon, 22 Jul 2013 15:25:48 +0200 From: Date: Mon, 22 Jul 2013 13:25:47 +0000 Message-ID: <5DDDC2AE1D40D045B973C3CAA4D4CCC74F2D91@HISCMAIL01.HeiLab.loc> Content-Language: de-DE MIME-Version: 1.0 Subject: Re: [ptxdist] rc.d script Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0281675598==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de --===============0281675598== Content-Language: de-DE Content-Type: multipart/alternative; boundary="_000_5DDDC2AE1D40D045B973C3CAA4D4CCC74F2D91HISCMAIL01HeiLabl_" --_000_5DDDC2AE1D40D045B973C3CAA4D4CCC74F2D91HISCMAIL01HeiLabl_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable done | (don't forget the pointercal file) Kind regards Henrik Kraft z.Zt. Heidolph GmbH & Co. KG Walpersdorfer Str. 12 91126 Schwabach 09122 - 99 20 - 58 --_000_5DDDC2AE1D40D045B973C3CAA4D4CCC74F2D91HISCMAIL01HeiLabl_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

d= one | (don’t forget the pointercal file)

<= o:p> 

Kind regards

 

Henrik Kraft

z.Zt. Heidolph GmbH & Co. KG=

Walpersdorfer Str. 12

91126 Schwabach

09122 – 99 20 - 58=

 

--_000_5DDDC2AE1D40D045B973C3CAA4D4CCC74F2D91HISCMAIL01HeiLabl_-- --===============0281675598== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============0281675598==-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from arkoon.heidolph.de ([195.145.51.19]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1V1DUY-0006Ke-OM for ptxdist@pengutronix.de; Mon, 22 Jul 2013 12:37:23 +0200 Received: from [10.100.10.5] (port=39962 helo=hiscmail01.heilab.loc) by arkoon.heidolph.de with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1V1DUW-0000hr-25 for ptxdist@pengutronix.de; Mon, 22 Jul 2013 12:37:20 +0200 From: Date: Mon, 22 Jul 2013 10:37:19 +0000 Message-ID: <5DDDC2AE1D40D045B973C3CAA4D4CCC74F2D2D@HISCMAIL01.HeiLab.loc> References: <5DDDC2AE1D40D045B973C3CAA4D4CCC74F2D13@HISCMAIL01.HeiLab.loc> <51ED08A8.8030009@rsi-elektrotechnik.de> In-Reply-To: <51ED08A8.8030009@rsi-elektrotechnik.de> Content-Language: de-DE MIME-Version: 1.0 Subject: Re: [ptxdist] rc.d script Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Of course they are -----Urspr=FCngliche Nachricht----- Von: ptxdist-bounces@pengutronix.de [mailto:ptxdist-bounces@pengutronix.de]= Im Auftrag von Josef Holzmayr Gesendet: Montag, 22. Juli 2013 12:26 An: ptxdist@pengutronix.de Betreff: Re: [ptxdist] rc.d script Howdy! > What used to be done to have those scripts executed on startup? Primarily, the name must be SxxWhateverYouLike (e.g., start with an upperca= se letter S) Greetz _____________________________________________________________ Josef Holzmayr Dipl-Ing. (FH) Entwicklung Embedded Devices / Software Tel.: +49 8444 9204-48> Fax: +49 8444 9204-50 holzmayr@rsi-elektrotechnik.de R-S-I Elektrotechnik GmbH & Co. KG Woelkestrasse 11 D-85301 Schweitenkirchen www.rsi-elektrotechnik.de _____________________________________________________________ Amtsgericht Ingolstadt - GmbH: HRB 191328 - KG: HRA 170363 Gesch=E4ftsf=FChrer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg USt-IdNr.: DE 128592548 -- ptxdist mailing list ptxdist@pengutronix.de -- = ptxdist mailing list ptxdist@pengutronix.de From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from arkoon.heidolph.de ([195.145.51.19]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1V1EsJ-0000FK-9x for ptxdist@pengutronix.de; Mon, 22 Jul 2013 14:06:00 +0200 Received: from [10.100.10.5] (port=51807 helo=hiscmail01.heilab.loc) by arkoon.heidolph.de with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1V1EsF-00056P-1w for ptxdist@pengutronix.de; Mon, 22 Jul 2013 14:05:56 +0200 From: Date: Mon, 22 Jul 2013 12:05:47 +0000 Message-ID: <5DDDC2AE1D40D045B973C3CAA4D4CCC74F2D71@HISCMAIL01.HeiLab.loc> References: <5DDDC2AE1D40D045B973C3CAA4D4CCC74F2D13@HISCMAIL01.HeiLab.loc> <201307221257.41025.jbe@pengutronix.de> In-Reply-To: <201307221257.41025.jbe@pengutronix.de> Content-Language: de-DE MIME-Version: 1.0 Subject: Re: [ptxdist] rc.d script Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Hello Juergen, even with /etc/init.d script my touch panel does not work. I have if [ -e "/etc/profile" ]; then = . /etc/profile = fi if [ -e "/etc/profile.environment" ]; then = . /etc/profile.environment = fi which also includes /etc/profeil.local in my script but it seems not to set= the right variables. QWS_DISPLAY=3Dlinuxfb QWS_MOUSE_PROTO=3Dtslib:/dev/input/event0 QWS_KEYBOARD=3DUSB:/dev/input/event1 are set. Do you know what to set to which values (and can you tellme)? -----Urspr=FCngliche Nachricht----- Von: J=FCrgen Beisert [mailto:jbe@pengutronix.de] = Gesendet: Montag, 22. Juli 2013 12:58 An: ptxdist@pengutronix.de Cc: Kraft, Henrik Betreff: Re: [ptxdist] rc.d script ..... cut .... -- = ptxdist mailing list ptxdist@pengutronix.de From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from moutng.kundenserver.de ([212.227.17.8]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1V1DUt-0006MC-EX for ptxdist@pengutronix.de; Mon, 22 Jul 2013 12:37:44 +0200 Received: from localhost ([127.0.0.1] helo=idefix.lespocky.dyndns.org) by idefix.lespocky.dyndns.org with esmtpa (Exim 4.80.1) (envelope-from ) id 1V1DUl-0003KD-RI for ptxdist@pengutronix.de; Mon, 22 Jul 2013 12:37:37 +0200 MIME-Version: 1.0 Date: Mon, 22 Jul 2013 12:37:35 +0200 From: Alexander Dahl In-Reply-To: <5DDDC2AE1D40D045B973C3CAA4D4CCC74F2D13@HISCMAIL01.HeiLab.loc> References: <5DDDC2AE1D40D045B973C3CAA4D4CCC74F2D13@HISCMAIL01.HeiLab.loc> Message-ID: <09bbd22f9849aa4c3dec5372e8c69ed2@idefix.lespocky.dyndns.org> Subject: Re: [ptxdist] rc.d script Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de QW0gMjAxMy0wNy0yMiAxMjoxOSwgc2NocmllYiBIZW5yaWsuS3JhZnRAaGVpZG9scGguZGU6Cj4g YXMgSSBoYXZlIGNyZWF0ZWQgc2NyaXB0cyBpbiAvZXRjL3JjLmQgZm9yIGF1dG9tYXRpYyBzdGFy dCBvZgo+IHByb2dyYW1tcyAoYW5kIHNldHRpbmdzKSB0aGVzZSBhcmUgbm90IGV4ZWN1dGVkIG9u IHN0YXJ0dXAuIEkgY2FuJ3QKPiB1c2Ugc3lzdGVtZCBtZWNoYW5pc20gYmVjYXVzZSBpZiBJIHVz ZSBpdCBvdXIgR1VJIGFwcGxpY2F0aW9uIGhhcyBubwo+IGlucHV0IGZyb20gdGhlIHRvdWNoIHBh bmVsLiBXaXRoIChtYW51YWwpIHN0YXJ0IHZpYSAvZXRjL3JjLmQgc2NyaXB0Cj4gdGhpcyB3b3Jr cyB3ZWxsLgo+IAo+IFdoYXQgdXNlZCB0byBiZSBkb25lIHRvIGhhdmUgdGhvc2Ugc2NyaXB0cyBl eGVjdXRlZCBvbiBzdGFydHVwPwoKVGhpcyB2ZXJ5IG11Y2ggZGVwZW5kcyBvbiB5b3VyIHN0YXJ0 dXAgbWV0aG9kLiBJbiBwdHhkaXN0IG1lbnVjb25maWcgeW91CmdpICJSb290IEZpbGVzeXN0ZW0i IC0tLT4gImluaXQiIC0tLT4gImluaXQgbWV0aG9kIi4KCldlIHVzZSBidXN5Ym94IGluaXQgd2hp Y2ggdXNlcyBpbml0IHNjcmlwdHMgcHV0IHRvIC9ldGMvaW5pdC5kLyBhbmQKd2hlcmUgeW91IGhh dmUgc3ltYm9saWMgbGlua3MgaW4gcmMuZCBwb2ludGluZyB0byB0aGUgc2NyaXB0cyBpbgovZXRj L2luaXQuZCAtLSBBdCBzeXN0ZW0gYm9vdCBpZiB5b3UgaGF2ZSB0aGUgZGVmYXVsdCAvZXRjL2lu aXR0YWIgdGhlCnNjcmlwdCAvZXRjL2luaXQuZC9yY1MgaXMgZXhlY3V0ZWQgd2hpY2ggY2FsbHMg YHJ1bi1wYXJ0cyAtYSBzdGFydAovZXRjL3JjLmRgIGJ5IGRlZmF1bHQuICJydW4tcGFydHMiIGlz IHBhcnQgb2YgYnVzeWJveCBpdHNlbGYuIFRoYXQncyBob3cKaXQgZ29lcyB3aXRoIGJ1c3lib3gg aW5pdC4gSSBob3BlIHRoaXMgY29udGFpbnMgc29tZSBoaW50cyBmb3IgeW91IHdoZXJlCnRvIGxv b2suCgpHcmVldHMKQWxleAoKLS0gCsK7V2l0aCB0aGUgZmlyc3QgbGluaywgdGhlIGNoYWluIGlz IGZvcmdlZC4gVGhlIGZpcnN0IHNwZWVjaCBjZW5zdXJlZCwKdGhlIGZpcnN0IHRob3VnaHQgZm9y YmlkZGVuLCB0aGUgZmlyc3QgZnJlZWRvbSBkZW5pZWQsIGNoYWlucyB1cyBhbGwKaXJyZXZvY2Fi bHkuwqsgKEplYW4tTHVjIFBpY2FyZCwgcXVvdGluZyBKdWRnZSBBYXJvbiBTYXRpZSkKKioqIEdu dVBHLUZQOiAwMkM4IEE1OTAgN0ZFNSBDQTVGIDM2MDEgIEQxRDUgOEZCQSA3NzQ0IENDODcgMTBE MCAqKioKCi0tIApwdHhkaXN0IG1haWxpbmcgbGlzdApwdHhkaXN0QHBlbmd1dHJvbml4LmRlCg== From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: =?iso-8859-1?q?J=FCrgen_Beisert?= Date: Mon, 22 Jul 2013 16:03:55 +0200 References: <5DDDC2AE1D40D045B973C3CAA4D4CCC74F2D13@HISCMAIL01.HeiLab.loc> <201307221257.41025.jbe@pengutronix.de> <5DDDC2AE1D40D045B973C3CAA4D4CCC74F2D71@HISCMAIL01.HeiLab.loc> In-Reply-To: <5DDDC2AE1D40D045B973C3CAA4D4CCC74F2D71@HISCMAIL01.HeiLab.loc> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201307221603.55455.jbe@pengutronix.de> Subject: Re: [ptxdist] rc.d script Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Henrik.Kraft@heidolph.de Hi Henrik, On Monday 22 July 2013 14:05:47 Henrik.Kraft@heidolph.de wrote: > even with /etc/init.d script my touch panel does not work. I have > > if [ -e "/etc/profile" ]; then > . /etc/profile > fi > > if [ -e "/etc/profile.environment" ]; then > . /etc/profile.environment > fi > > which also includes /etc/profeil.local in my script but it seems not to s= et > the right variables. QWS_DISPLAY=3Dlinuxfb > QWS_MOUSE_PROTO=3Dtslib:/dev/input/event0 > QWS_KEYBOARD=3DUSB:/dev/input/event1 > are set. > Do you know what to set to which values (and can you tellme)? You can try with the "profile.environment" from my Mini2440 BSP and adapt t= hese = values to your target: MINI2440_FBDEV=3D/dev/fb0 MINI2440_KEYEVENT=3D/dev/input/buttons MINI2440_TOUCHEVENT=3D/dev/input/touchscreen # # These LCDs are known. Use the size values only, if the kernel does # not provide the size information. # # LCD (sizes are meant in [mm]): # - Portrait 240 x 320 display of type "NEC NL2432HC22-23B" (N35) # - Portrait 240 x 320 display of type "Sony ACX502BMU" (X35) # MINI2440_LCD_WIDTH=3D55 and MINI2440_LCD_HEIGHT=3D71 # - Portrait 240 x 320 display of type "STD035STED4" (T35) # MINI2440_LCD_WIDTH=3D53 and MINI2440_LCD_HEIGHT=3D71 # - Landscape 320 x 240 display of type "Sharp LQ035Q1DG06" (W35i) # MINI2440_LCD_WIDTH=3D72 and MINI2440_LCD_HEIGHT=3D54 # - Landscape 640 x 480 display of type "Innolux AT056TN523" (unknown) # MINI2440_LCD_WIDTH=3D113 and MINI2440_LCD_HEIGHT=3D85 # - Landscape 800 x 480 display of type "Innolux AT070TN83" (LCD70) # MINI2440_LCD_WIDTH=3D153 and MINI2440_LCD_HEIGHT=3D92 # - Landscape 480 x 272 display of type "NEC NL4827HC19-01B" (N43) # MINI6410_LCD_WIDTH=3D95 and MINI6410_LCD_HEIGHT=3D54 # # MINI2440_LCD_WIDTH=3D55 # MINI2440_LCD_HEIGHT=3D71 # touchscreen relevant settings export TSLIB_TSDEVICE=3D${MINI2440_TOUCHEVENT} export TSLIB_CONSOLEDEVICE=3Dnone export TSLIB_FBDEVICE=3D${MINI2440_FBDEV} #export TSLIB_CALIBFILE #export TSLIB_CONFFILE #export TSLIB_PLUGINDIR # Qt relevant settings export QWS_MOUSE_PROTO=3DTslib:${MINI2440_TOUCHEVENT} QWS_DISPLAY=3DLinuxFb:nographicsmodeswitch:tty=3Dnone if [ -n "${MINI2440_LCD_WIDTH}" ]; then QWS_DISPLAY=3D${QWS_DISPLAY}:mmWidth=3D${MINI2440_LCD_WIDTH} fi if [ -n "${MINI2440_LCD_HEIGHT}" ]; then QWS_DISPLAY=3D${QWS_DISPLAY}:mmHeight=3D${MINI2440_LCD_HEIGHT} fi export QWS_DISPLAY export QWS_KEYBOARD=3DLinuxInput:${MINI2440_KEYEVENT} But please keep in mind: "/dev/input/buttons" and "/dev/input/touchscreen" = only = exist because a special udev rule creates them. Otherwise they only are nam= ed = as "event0" and "event1". Regards, Juergen -- = Pengutronix e.K. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0| Juergen Beisert =A0 =A0 =A0 =A0 =A0 =A0 | Linux Solutions for Science and Industry =A0 =A0 =A0| Phone: +49-5121-20691= 7-5128 | Peiner Str. 6-8, 31137 Hildesheim, Germany =A0 =A0| Fax: =A0 +49-5121-20691= 7-5555 | Amtsgericht Hildesheim, HRA 2686 =A0 =A0 =A0 =A0 =A0 =A0 =A0| http://www.pe= ngutronix.de/ =A0| -- = ptxdist mailing list ptxdist@pengutronix.de From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from thebe.hi.pengutronix.de ([2001:6f8:1178:2:5e26:aff:fe2b:7cc4]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1V1Fhy-0001aH-G5 for ptxdist@pengutronix.de; Mon, 22 Jul 2013 14:59:22 +0200 Resent-To: ptxdist@pengutronix.de Resent-Message-ID: <201307221500.12071.Henrik.Kraft@heidolph.de> From: Date: Mon, 22 Jul 2013 11:08:59 +0000 Message-ID: <5DDDC2AE1D40D045B973C3CAA4D4CCC74F2D52@HISCMAIL01.HeiLab.loc> References: <5DDDC2AE1D40D045B973C3CAA4D4CCC74F2D13@HISCMAIL01.HeiLab.loc> <201307221257.41025.jbe@pengutronix.de> In-Reply-To: <201307221257.41025.jbe@pengutronix.de> Content-Language: de-DE MIME-Version: 1.0 Subject: Re: [ptxdist] rc.d script Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: jbe@pengutronix.de Thanks Juergen, I don't know which variables this should be and as I need to set gain and o= ffset for the touch panel I need to have a script executed so I will switch= back to good old SystemV Init. Do you know if I can have systemd and init scripts in parallel if I choose = systemd with ptxdist and create /etc/init.d manually? This is just a configuration issue. You must tell systemd to export some to= uchscreen and Qt related environment variables to all new processes it exec= utes. > With (manual) start via /etc/rc.d script this works well. = >From the old INITV days the script is located in "/etc/init.d" and a link e= xists in "/etc/rc.d/" pointing to this script. The name of the link defines= the order to execute this script at runtime. > ls -l /etc/rc.d/ total 0 lrwxrwxrwx 1 jbe ptx 14 Jun 19 12:26 S00udev -> ../init.d/udev lrwxrwxrwx 1= jbe ptx 17 Jun 19 11:16 S01rc-once -> ../init.d/rc-once lrwxrwxrwx 1 jbe p= tx 17 Jun 19 11:29 S16telnetd -> ../init.d/telnetd lrwxrwxrwx 1 jbe ptx 20 = Jun 19 11:30 S21alsa-utils -> ../init.d/alsa-utils lrwxrwxrwx 1 jbe ptx 20 = Jun 19 11:29 S26networking -> ../init.d/networking lrwxrwxrwx 1 jbe ptx 17 = Jun 19 11:29 S98modules -> ../init.d/modules lrwxrwxrwx 1 jbe ptx 17 Jun 19= 11:18 S99startup -> ../init.d/startup > What used to be done to have those scripts executed on startup? Install the script itself to "/etc/init.d" with the help of PTXdist's "inst= all_copy/install_alternative" macro and create the link with "install_link": @$(call install_alternative, [...], 0, 0, 0644, /etc/init.d/yourscript) @$(call install_link, [...], ../init.d/yourscript, /etc/rc.d/S99yourscri= pt) Regards, Juergen -- Pengutronix e.K. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0| Juergen Beisert =A0 =A0 =A0 =A0 =A0 =A0 | Linux Solutions for Science = and Industry =A0 =A0 =A0| Phone: +49-5121-206917-5128 | Peiner Str. 6-8, 31= 137 Hildesheim, Germany =A0 =A0| Fax: =A0 +49-5121-206917-5555 | Amtsgerich= t Hildesheim, HRA 2686 =A0 =A0 =A0 =A0 =A0 =A0 =A0| http://www.pengutronix.= de/ =A0| -- = ptxdist mailing list ptxdist@pengutronix.de From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mo6-p00-ob.rzone.de ([2a01:238:20a:202:5300::1]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1V1DJO-0005pD-63 for ptxdist@pengutronix.de; Mon, 22 Jul 2013 12:25:51 +0200 Received: from mail.rsi.local (p5494F779.dip0.t-ipconnect.de [84.148.247.121]) by smtp.strato.de (josoe mo12) (RZmta 31.29 DYNA|AUTH) with (RC4-MD5 encrypted) ESMTPA id N05c68p6MAAaRd for ; Mon, 22 Jul 2013 12:25:49 +0200 (CEST) Received: from [192.168.1.77] by mail.rsi.local (MDaemon PRO v13.5.1) with ESMTP id md50000262048.msg for ; Mon, 22 Jul 2013 12:25:48 +0200 Message-ID: <51ED08A8.8030009@rsi-elektrotechnik.de> Date: Mon, 22 Jul 2013 12:25:44 +0200 From: Josef Holzmayr MIME-Version: 1.0 References: <5DDDC2AE1D40D045B973C3CAA4D4CCC74F2D13@HISCMAIL01.HeiLab.loc> In-Reply-To: <5DDDC2AE1D40D045B973C3CAA4D4CCC74F2D13@HISCMAIL01.HeiLab.loc> Subject: Re: [ptxdist] rc.d script Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Howdy! Am 22.07.2013 12:19, schrieb Henrik.Kraft@heidolph.de: > What used to be done to have those scripts executed on startup? Primarily, the name must be SxxWhateverYouLike (e.g., start with an = uppercase letter S) Greetz _____________________________________________________________ Josef Holzmayr Dipl-Ing. (FH) Entwicklung Embedded Devices / Software Tel.: +49 8444 9204-48> Fax: +49 8444 9204-50 holzmayr@rsi-elektrotechnik.de R-S-I Elektrotechnik GmbH & Co. KG Woelkestrasse 11 D-85301 Schweitenkirchen www.rsi-elektrotechnik.de _____________________________________________________________ Amtsgericht Ingolstadt - GmbH: HRB 191328 - KG: HRA 170363 Gesch=E4ftsf=FChrer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg USt-IdNr.: DE 128592548 -- = ptxdist mailing list ptxdist@pengutronix.de From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from arkoon.heidolph.de ([195.145.51.19]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1V1DDh-0005YR-0H for ptxdist@pengutronix.de; Mon, 22 Jul 2013 12:19:58 +0200 Received: from [10.100.10.5] (port=40453 helo=hiscmail01.heilab.loc) by arkoon.heidolph.de with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1V1DDe-0008WG-0u for ptxdist@pengutronix.de; Mon, 22 Jul 2013 12:19:54 +0200 From: Date: Mon, 22 Jul 2013 10:19:52 +0000 Message-ID: <5DDDC2AE1D40D045B973C3CAA4D4CCC74F2D13@HISCMAIL01.HeiLab.loc> Content-Language: de-DE MIME-Version: 1.0 Subject: [ptxdist] rc.d script Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1951519301==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de --===============1951519301== Content-Language: de-DE Content-Type: multipart/alternative; boundary="_000_5DDDC2AE1D40D045B973C3CAA4D4CCC74F2D13HISCMAIL01HeiLabl_" --_000_5DDDC2AE1D40D045B973C3CAA4D4CCC74F2D13HISCMAIL01HeiLabl_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, as I have created scripts in /etc/rc.d for automatic start of programms (an= d settings) these are not executed on startup. I can't use systemd mechanis= m because if I use it our GUI application has no input from the touch panel= . With (manual) start via /etc/rc.d script this works well. What used to be done to have those scripts executed on startup? Kind regards Henrik Kraft currently at Heidolph GmbH & Co. KG Walpersdorfer Str. 12 91126 Schwabach 09122 - 99 20 - 58 --_000_5DDDC2AE1D40D045B973C3CAA4D4CCC74F2D13HISCMAIL01HeiLabl_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello,

 

as I have created scripts in /e= tc/rc.d for automatic start of programms (and settings) these are not execu= ted on startup. I can’t use systemd mechanism because if I use it our= GUI application has no input from the touch panel. With (manual) start via /etc/rc.d script this works well.

 

What used to be done to have th= ose scripts executed on startup?

 

Kind regards

 

Henrik Kraft

currently at Heidolph GmbH & Co. KG

Walpersdorfer Str. 12

91126 Schwabach

09122 – 99 20 - 58=

 

--_000_5DDDC2AE1D40D045B973C3CAA4D4CCC74F2D13HISCMAIL01HeiLabl_-- --===============1951519301== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============1951519301==-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from arkoon.heidolph.de ([195.145.51.19] helo=mail.heidrive.de) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1V1IHm-0006hr-KY for ptxdist@pengutronix.de; Mon, 22 Jul 2013 17:44:32 +0200 Received: from [10.100.10.5] (port=25415 helo=hiscmail01.heilab.loc) by mail.heidrive.de with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1V1IHc-00079S-04 for ptxdist@pengutronix.de; Mon, 22 Jul 2013 17:44:20 +0200 From: Date: Mon, 22 Jul 2013 15:44:17 +0000 Message-ID: <5DDDC2AE1D40D045B973C3CAA4D4CCC74F2DC6@HISCMAIL01.HeiLab.loc> References: <5DDDC2AE1D40D045B973C3CAA4D4CCC74F2D13@HISCMAIL01.HeiLab.loc> <201307221257.41025.jbe@pengutronix.de> <5DDDC2AE1D40D045B973C3CAA4D4CCC74F2D71@HISCMAIL01.HeiLab.loc> <201307221603.55455.jbe@pengutronix.de> In-Reply-To: <201307221603.55455.jbe@pengutronix.de> Content-Language: de-DE MIME-Version: 1.0 Subject: Re: [ptxdist] rc.d script Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de We may close this item. I've got it running. Thans for your support. -- ptxdist mailing list ptxdist@pengutronix.de From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: =?iso-8859-15?q?J=FCrgen_Beisert?= Date: Mon, 22 Jul 2013 12:57:41 +0200 References: <5DDDC2AE1D40D045B973C3CAA4D4CCC74F2D13@HISCMAIL01.HeiLab.loc> In-Reply-To: <5DDDC2AE1D40D045B973C3CAA4D4CCC74F2D13@HISCMAIL01.HeiLab.loc> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201307221257.41025.jbe@pengutronix.de> Subject: Re: [ptxdist] rc.d script Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Henrik.Kraft@heidolph.de Hi Henrik, On Monday 22 July 2013 12:19:52 Henrik.Kraft@heidolph.de wrote: > as I have created scripts in /etc/rc.d for automatic start of programms > (and settings) these are not executed on startup. I can't use systemd > mechanism because if I use it our GUI application has no input from the > touch panel. This is just a configuration issue. You must tell systemd to export some = touchscreen and Qt related environment variables to all new processes it = executes. > With (manual) start via /etc/rc.d script this works well. = >From the old INITV days the script is located in "/etc/init.d" and a link = exists in "/etc/rc.d/" pointing to this script. The name of the link define= s = the order to execute this script at runtime. > ls -l /etc/rc.d/ total 0 lrwxrwxrwx 1 jbe ptx 14 Jun 19 12:26 S00udev -> ../init.d/udev lrwxrwxrwx 1 jbe ptx 17 Jun 19 11:16 S01rc-once -> ../init.d/rc-once lrwxrwxrwx 1 jbe ptx 17 Jun 19 11:29 S16telnetd -> ../init.d/telnetd lrwxrwxrwx 1 jbe ptx 20 Jun 19 11:30 S21alsa-utils -> ../init.d/alsa-utils lrwxrwxrwx 1 jbe ptx 20 Jun 19 11:29 S26networking -> ../init.d/networking lrwxrwxrwx 1 jbe ptx 17 Jun 19 11:29 S98modules -> ../init.d/modules lrwxrwxrwx 1 jbe ptx 17 Jun 19 11:18 S99startup -> ../init.d/startup > What used to be done to have those scripts executed on startup? Install the script itself to "/etc/init.d" with the help of = PTXdist's "install_copy/install_alternative" macro and create the link = with "install_link": @$(call install_alternative, [...], 0, 0, 0644, /etc/init.d/yourscript) @$(call install_link, [...], ../init.d/yourscript, /etc/rc.d/S99yourscri= pt) Regards, Juergen -- = Pengutronix e.K. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0| Juergen Beisert =A0 =A0 =A0 =A0 =A0 =A0 | Linux Solutions for Science and Industry =A0 =A0 =A0| Phone: +49-5121-20691= 7-5128 | Peiner Str. 6-8, 31137 Hildesheim, Germany =A0 =A0| Fax: =A0 +49-5121-20691= 7-5555 | Amtsgericht Hildesheim, HRA 2686 =A0 =A0 =A0 =A0 =A0 =A0 =A0| http://www.pe= ngutronix.de/ =A0| -- = ptxdist mailing list ptxdist@pengutronix.de