ShuttleXpress pins not fond after updating to 2.9.0-pre0-2180-ga14b08a70
- JetForMe
 - 
				
									Topic Author
											 - Offline
 - Elite Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 309
 - Thank you received: 27
 
			
	
						11 Jun 2020 09:18				#171099
		by JetForMe
	
	
		
			
	
			
			 		
													
	
				ShuttleXpress pins not fond after updating to 2.9.0-pre0-2180-ga14b08a70 was created by JetForMe			
			
				Prior to this I had 2.9.0 7xx-something. The ShuttleXpress was found and installed just fine. Now it finds it, but it doesn't seem to create the pins for it.:
My HAL:
Is there a way to get LinuxCNC to log the pins as it creates them?
					Found file(REL): ./custom.hal
shuttle: checking /dev/hidraw0
shuttle: found Contour Design ShuttleXpress on /dev/hidraw0
shuttle: checking /dev/hidraw1
shuttle: error opening /dev/hidraw1: Permission denied
shuttle: make sure you have read permission on /dev/hidraw1, read the shuttle(1) manpage for more info
shuttle: checking /dev/hidraw2
shuttle: error opening /dev/hidraw2: Permission denied
shuttle: make sure you have read permission on /dev/hidraw2, read the shuttle(1) manpage for more info
shuttle: checking /dev/hidraw3
shuttle: error opening /dev/hidraw3: Permission denied
shuttle: make sure you have read permission on /dev/hidraw3, read the shuttle(1) manpage for more info
./custom.hal:19: Pin 'shuttlexpress.button-0' does not existMy HAL:
#
#	Contour ShuttleXpress
#
loadusr -W shuttle
LINE 19: net select-axis-x		halui.joint.0.select									<=	shuttlexpress.0.button-0
net select-axis-y		halui.joint.1.select									<=	shuttlexpress.0.button-1
net select-axis-z		halui.joint.3.select									<=	shuttlexpress.0.button-2
net sxp.continuous														<=	shuttlexpress.0.spring-wheel-s32Is there a way to get LinuxCNC to log the pins as it creates them?
Please Log in or Create an account to join the conversation.
- rodw
 - 
				
											 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 11472
 - Thank you received: 3848
 
			
	
						11 Jun 2020 09:44				#171103
		by rodw
	
	
		
			
	
			
			 		
													
	
				Replied by rodw on topic ShuttleXpress pins not fond after updating to 2.9.0-pre0-2180-ga14b08a70			
			
				My guess is you need to change permissions as mentioned in the error message. Because you cannot open files and/or devices, the relevant pins cannot exist. It should be a simple fix.			
					Please Log in or Create an account to join the conversation.
- tommylight
 - 
				
											 - Away
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 20860
 - Thank you received: 7113
 
			
	
						11 Jun 2020 11:34				#171123
		by tommylight
	
	
		
			
	
			
			 		
													
	
				Replied by tommylight on topic ShuttleXpress pins not fond after updating to 2.9.0-pre0-2180-ga14b08a70			
			
				Search for arduino permission denied, the the user has to be added to dialout group to be able to access it.			
					Please Log in or Create an account to join the conversation.
- dgarrett
 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 492
 - Thank you received: 297
 
			
	
						11 Jun 2020 12:17		 -  11 Jun 2020 12:42		#171124
		by dgarrett
	
	
		
			
				
linuxcnc.org/docs/2.8/html/getting-start...med_to_tt_shuttle_tt
github.com/LinuxCNC/linuxcnc/commit/ba077f564
edit: rereading, you have correct loadusr line so the messages about
permission are most relevant, maybe this helps:
linuxcnc.org/docs/master/html/drivers/shuttle.html
					
	
	
			 		
													
	
				Replied by dgarrett on topic ShuttleXpress pins not fond after updating to 2.9.0-pre0-2180-ga14b08a70			
			./custom.hal:19: Pin 'shuttlexpress.button-0' does not existlinuxcnc.org/docs/2.8/html/getting-start...med_to_tt_shuttle_tt
github.com/LinuxCNC/linuxcnc/commit/ba077f564
edit: rereading, you have correct loadusr line so the messages about
permission are most relevant, maybe this helps:
linuxcnc.org/docs/master/html/drivers/shuttle.html
		Last edit: 11 Jun 2020 12:42  by dgarrett.			
	
		The following user(s) said Thank You: tommylight 	
			Please Log in or Create an account to join the conversation.
- bbsr_5a
 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 544
 - Thank you received: 105
 
			
	
						11 Jun 2020 13:02				#171130
		by bbsr_5a
	
	
		
			
	
			
			 		
													
	
				Replied by bbsr_5a on topic ShuttleXpress pins not fond after updating to 2.9.0-pre0-2180-ga14b08a70			
			
				you also need to be member of the Dialout group to get this pins viewed in Hal			
					sudo usermod -a -G dialout $USERPlease Log in or Create an account to join the conversation.
- JetForMe
 - 
				
									Topic Author
											 - Offline
 - Elite Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 309
 - Thank you received: 27
 
			
	
						11 Jun 2020 23:26				#171188
		by JetForMe
	
	
		
			
	
			
			 		
													
	
				Replied by JetForMe on topic ShuttleXpress pins not fond after updating to 2.9.0-pre0-2180-ga14b08a70			
			
				I do have it configured as shown in the man page. If you look you can see it found the ShuttleXpress on /dev/hidraw0. That one is world-readable. The other three devices are the keyboard and mouse and one other thing I can't remember. Those are owned by the system and only root-readable. Not sure why it would need to find those.
Unless I misinterpreted what I saw, in which case all I can say is I *do* have the udev stuff configured as specified in the man page, so I'm not sure why it's not changing the rest of it to readable.
Note that this worked before I updated to the latest build, and I haven't changed any configuration. I also updated from Stretch 9.11 to 9.12.
					Unless I misinterpreted what I saw, in which case all I can say is I *do* have the udev stuff configured as specified in the man page, so I'm not sure why it's not changing the rest of it to readable.
Note that this worked before I updated to the latest build, and I haven't changed any configuration. I also updated from Stretch 9.11 to 9.12.
Please Log in or Create an account to join the conversation.
- JetForMe
 - 
				
									Topic Author
											 - Offline
 - Elite Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 309
 - Thank you received: 27
 
			
	
						11 Jun 2020 23:27				#171189
		by JetForMe
	
	
		
			
	
			
			 		
													
	
				Replied by JetForMe on topic ShuttleXpress pins not fond after updating to 2.9.0-pre0-2180-ga14b08a70			
			
				Sorry, missed the other replies. Let me try that again. Not sure why it broke, though.			
					Please Log in or Create an account to join the conversation.
- JetForMe
 - 
				
									Topic Author
											 - Offline
 - Elite Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 309
 - Thank you received: 27
 
			
	
						14 Jun 2020 11:24				#171590
		by JetForMe
	
	
		
			
	
			
			 		
													
	
				Replied by JetForMe on topic ShuttleXpress pins not fond after updating to 2.9.0-pre0-2180-ga14b08a70			
			
				Yeah, so it has proper permissions. The problem seems to be that the name changed to "shuttle", not "shuttlexpress" or "shuttlepro". I thought I tried "shuttle" earlier (it was the first thing I did), but I must've typed it wrong.			
					Please Log in or Create an account to join the conversation.
		Time to create page: 0.161 seconds