pncconf errors debian 10 buster
- john_f
 - Offline
 - New Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 2
 - Thank you received: 1
 
			
	
						02 Mar 2022 22:15				#236219
		by john_f
	
	
		
			
	
	
			
			 		
													
	
				pncconf errors debian 10 buster was created by john_f			
			
				I had not used pncconf in the past and now I thought I would try it but I have run into some issues:
1) I invoke the program from the command line ....$pncconf
2) I select start
3) create a new configuation
4) select forward
5) change the machine name to a new name "testpncconf" and leave all other options in the default state
6) select forward
7) leave all axis GUI settings in default state
8) select forward
9) leave all VCP settings in default state
10) select forward
an error dialog window pops up - see attachment.
for kicks I tried running sudo pncconf and then I was able to make a configuration and save it without error. The issue with that was that then I had
to change the owner of the files from root to my_user_name and move the files from roots home directory.
I was then able to run linuxcnc and select the configuration that I saved except I encountered another error:
in my configuration I selected 7i80HD-Internal Data. The error:
./ClausingCNC.hal:10: parameter or pin 'hm2_7i80hd.0.pwmgnen.pwm_frequency' not found
So here the problem seems to be in the generated hal file where line 10 is:
setp [HMOT](CARD0).pwmgen.pwm_frequency 200000
note that the generated ini file has the lines:
[HMOT]
CARD0=hm2_7i80hd.0
but if I edit the ini file so that:
CARD0=hm2_7i80.0
then linuxcnc will start and load the files without errors.
I searched the forum and I didn't see anyone else with these issues. The first one seem seems like it should happen a lot.
 			
					1) I invoke the program from the command line ....$pncconf
2) I select start
3) create a new configuation
4) select forward
5) change the machine name to a new name "testpncconf" and leave all other options in the default state
6) select forward
7) leave all axis GUI settings in default state
8) select forward
9) leave all VCP settings in default state
10) select forward
an error dialog window pops up - see attachment.
for kicks I tried running sudo pncconf and then I was able to make a configuration and save it without error. The issue with that was that then I had
to change the owner of the files from root to my_user_name and move the files from roots home directory.
I was then able to run linuxcnc and select the configuration that I saved except I encountered another error:
in my configuration I selected 7i80HD-Internal Data. The error:
./ClausingCNC.hal:10: parameter or pin 'hm2_7i80hd.0.pwmgnen.pwm_frequency' not found
So here the problem seems to be in the generated hal file where line 10 is:
setp [HMOT](CARD0).pwmgen.pwm_frequency 200000
note that the generated ini file has the lines:
[HMOT]
CARD0=hm2_7i80hd.0
but if I edit the ini file so that:
CARD0=hm2_7i80.0
then linuxcnc will start and load the files without errors.
I searched the forum and I didn't see anyone else with these issues. The first one seem seems like it should happen a lot.
Please Log in or Create an account to join the conversation.
- tommylight
 - 
				
											 - Away
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 20860
 - Thank you received: 7113
 
			
	
						21 Mar 2022 07:12		 -  23 Mar 2022 22:26		#237883
		by tommylight
	
	
		
			
	
	
			 		
													
	
				Replied by tommylight on topic pncconf errors debian 10 buster			
			
				How did you install LinuxCNC?
Permission issue in the home folder usually mean using sudo where there was no need for it.
>>>>>>>>>Or maybe you used the official ISO and typed in a root password ?
-Edit:
Official 2.8.2 ISO does not ask for root password.
					Permission issue in the home folder usually mean using sudo where there was no need for it.
>>>>>>>>>Or maybe you used the official ISO and typed in a root password ?
-Edit:
Official 2.8.2 ISO does not ask for root password.
		Last edit: 23 Mar 2022 22:26  by tommylight.		Reason: correction	
			Please Log in or Create an account to join the conversation.
- andypugh
 - 
				
											 - Offline
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 19678
 - Thank you received: 4559
 
			
	
						23 Mar 2022 22:13				#238152
		by andypugh
	
	
		
			
				
					
	
	
			 		
													
	
				Replied by andypugh on topic pncconf errors debian 10 buster			
			The LinuxCNC ISO doesn't allow you to do that, the root password is pre-seeded as blank so the installer skips it.Or maybe you used the official ISO and typed in a root password ?
		The following user(s) said Thank You: tommylight 	
			Please Log in or Create an account to join the conversation.
- tommylight
 - 
				
											 - Away
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 20860
 - Thank you received: 7113
 
			
	
						23 Mar 2022 22:25				#238160
		by tommylight
	
	
		
			
				
Corrected, thank you.
					
	
			
			 		
													
	
				Replied by tommylight on topic pncconf errors debian 10 buster			
			
The LinuxCNC ISO doesn't allow you to do that, the root password is pre-seeded as blank so the installer skips it.Or maybe you used the official ISO and typed in a root password ?
Corrected, thank you.
Please Log in or Create an account to join the conversation.
		Moderators: cmorley	
		Time to create page: 0.121 seconds