autostart lib nfc ci raspberry Zero W

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

autostart lib nfc ci raspberry Zero W

1,141件の閲覧回数
marion
Contributor I

jeremygeslin I  tried to autostart a reader skript with editing “/etc/rc.local” with a command analogous to this: 

/bin/su -c "cd /home/pi/dpaZ0/;./main" - pi

/home/pi/dpaZ0/main is the path to the script.

The reader don`t startbecause the program hangs in an erlier ioctl to the display. This is probably not related to the reader but I do not want to exclude any causes. Can this have to do anything with reader?

0 件の賞賛
返信
2 返答(返信)

1,056件の閲覧回数
jeremygeslin
NXP Employee
NXP Employee

Hi Marion,

I suppose your command "/bin/su -c "cd /home/pi/dpaZ0/;./main" - pi" runs fine when executed from a terminal.

Did you tried to add it to .bashrc file for automatic start ? did it work from there ?

Regards,

Jeremy.

1,056件の閲覧回数
marion
Contributor I

Hi Jeremy!

Thank you very much for your urgent reply. 

I will try it @the weekend - today I am celebrating my degree (HTL). 

May I report again if problems arise?  


					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
0 件の賞賛
返信