Studying the hal file shows how the spring loaded wheel changes the jog speed.  
Although the documentation claims percentage of full jog speed that's actually 
not true since 100 creates 100 ipm and 500 creates 150 ipm which is the top 
speed of the Z axis.  (I have a stepper motor on the floor reacting to what I 
do).

The result of that is the scaled value is connected to halui.joint.jog-speed 
and the motor turns.

The inner wheel which is scaled by 1000 is supposed to send 1000 count for each 
click of the wheel to 
axis.z.jog-counts

And it does based on the HAL Meter output.

But nothing moves.
I'm wondering if I have an hold shuttle hal file although 10JUL2020 doesn't 
seem that old.  However I can't seem to find a newer one.  Am I not looking in 
the right place?

Thanks
John




> -----Original Message-----
> From: John Dammeyer [mailto:[email protected]]
> Sent: June-22-21 7:20 PM
> To: 'Enhanced Machine Controller (EMC)'
> Subject: Re: [Emc-users] Shuttle Express
> 
> Ah!  Semi success.  One more reboot of the Pi4.
> Then address the new error messages since this time it actually found the 
> Shuttle Express.
> The hal file I used had commented out
> loadrt or2 count=3
> 
> and worse also did addf for or2.1 or2.2 and or2.3
> So that was broken too.  I changed the count to 4 and now LinuxCNC runs and 
> the jog feature works with the spring loaded outer
> wheel with the first 3 buttons selecting XYZ and the last two doing nothing.
> 
> The inner wheel does not do individual steps as expected so I'm guessing 
> there is more wrong with this hal file.
> 
> John
> 
> 
> > -----Original Message-----
> > From: John Dammeyer [mailto:[email protected]]
> > Sent: June-22-21 7:05 PM
> > To: 'Enhanced Machine Controller (EMC)'
> > Subject: [Emc-users] Shuttle Express
> >
> > I believe I've followed all the instructions on configuring for the Shuttle 
> > Express on the Pi4 using LINUXCNC 2.8.1
> >
> > Entering ls -al /dev/hidr* shows that with the shuttle not plugged in I 
> > have hidraw1..hidraw3
> > Plug in the shuttle and hidraw0 shows up.
> >
> > I've put source shuttle1_2020-07-10.hal into the config folder and added 
> > into postgui_call_list.hal
> > source shuttle1_2020-07-10.hal
> >
> > I've also created the file 99-shuttle.rules to properly set the 
> > permissions.  The USB vender and product are 0B33 and 0020 on this
> > device.
> >
> > The various web sites all show this type of error which is what I am also 
> > seeing:
> >
> > shuttle: error opening /dev/hidraw0: Permission denied
> > shuttle: make sure you have read permission on /dev/hidraw0, read the 
> > shuttle(1) manpage for more info
> > 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: 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: error opening /dev/hidraw3: Permission denied
> > shuttle: make sure you have read permission on /dev/hidraw3, read the 
> > shuttle(1) manpage for more info
> > shuttle: no devices found
> > shuttle1_2020-07-10.hal:11: waitpid failed shuttle shuttle
> > shuttle1_2020-07-10.hal:11: shuttle exited without becoming ready
> >
> > So what could I be missing and what approach do I use to try and find out 
> > what is missing?  I've included the rules file just in case I
> > have a typo that I can't see.
> >
> > And here's the list of sites I've used to try and solve this problem.
> > http://linuxcnc.org/docs/master/html/drivers/shuttle.html
> > https://github.com/LinuxCNC/linuxcnc/commit/ba077f564
> > http://linuxcnc.org/docs/2.8/html/getting-started/updating-linuxcnc.html#_tt_shuttlexpress_tt_driver_renamed_to_tt_shuttle_tt
> > https://forum.linuxcnc.org/24-hal-components/39302-shuttlexpress-pins-not-fond-after-updating-to-2-9-0-pre0-2180-
> ga14b08a70
> >
> > Thanks
> > John
> >
> 
> 
> 
> 
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users



_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to