Reg: Application after Booting

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Reg: Application after Booting

1,043件の閲覧回数
vishvapathi
Contributor V

Hi All,

I have developed a QT application. i want to this application to start after booting, before login.

I tried to adding my file to /etc/profile and /etc/rc.d/rc.local... but didnt succeed..

kindly share your suggestions

DaianeAngolini

Raybiztech

shanmugamsundar

ラベル(2)
4 返答(返信)

765件の閲覧回数
shanmugamsundar
Contributor IV

hi

can you send me your rcS file folder path in your sd card

Thanks

shan

0 件の賞賛
返信

765件の閲覧回数
vishvapathi
Contributor V

path /etc/rc.d/rcS

0 件の賞賛
返信

766件の閲覧回数
shanmugamsundar
Contributor IV

hi,

Add your script file in init.d folder and reboot, put some echo messages to find whether it is loading or not

send me your rcs file also

Thanks

shan

766件の閲覧回数
vishvapathi
Contributor V

Hi,

As you suggested i coped my script to /init.d

added below line to rcS

echo Program Starting

./etc/rc.d/init.d/sample.sh

my script file sample.sh

echo Program Starting

insmod /g_webcam.ko

insmod /uvcvideo.ko

export VSALPHA=1

chmod a+x /root/user/my_qt_prog

./root/user/my_qt_prog -qws

While linux booting i get the following message

Program Starting

Program Starting

g_webcam gadget: uvc_function_bind

g_webcam gadget: Webcam Video Gadget

g_webcam gadget: g_webcam ready


But QT program is not running.....


Kindly point out my mistake...

  I have attached my rcS file.

0 件の賞賛
返信