autostart lib nfc ci raspberry Zero W

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

autostart lib nfc ci raspberry Zero W

885 次查看
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 回复数

800 次查看
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.

800 次查看
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 项奖励