Re: [Emc-users] joypad quit working when upgrading from 2.3.5 to 2.4
Looks like this is your problem: > Debug file information: > Can not find -sec EMC -var NML_FILE -num 1 > Unrecognized line skipped: POC FMS LEN DIAMCOMMENT > standard_pinout.hal:22: Warning: linkpp command is deprecated, use 'net' > HAL: ERROR: pin_new called after hal_ready > joypad.hal:19: Pin 'joypad.axis.0' does not exist Looks like you've got a bunch of deprecated stuff. How many versions ago are those files from? Looks like a comment line isn't commented out for the "Unrecognized line skipped:" stuff. can you call out the new pin in line 19 before hal_ready is called out? Mark On 05/18/2010 11:39 PM, kirk wrote: > I upgraded my system from 2.3 to 2.4. I read on the wiki to take out > the line: NML_FILE = emc.nml. I did this and started emc2. > > The errors located in the file emc23_error_nonml were observed. > > I then included the line with NML_FILE and the errors in the > emc24_error.txt were observed. > > If I comment out the "HALFILE = joypad.hal" ecm2.4 runs ok. > > I am including my ini file with this post. The joypad ran fine before > the upgrade. > > Any ideas? > > Kirk -- ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] joypad quit working when upgrading from 2.3.5 to 2.4
The "hal_joystick" component was deprecated in emc 2.2[1] and was intended to be removed in emc 2.4. Instead, use hal_input[2], which will require additional modifications to joypad.hal due to different pin names. hal_input, which has existed since emc2.2, supports more devices than hal_joystick, and also does not suffer from the "race condition" bug that led us to deprecate hal_joystick. Since in emc 2.4 hal_joystick will never succesfully load, it will be removed for the upcoming 2.4.1 release. Jeff [1] http://linuxcnc.org/docs/2.2/html/man/man1/hal_joystick.1.html [2] http://linuxcnc.org/docs/html/man/man1/hal_input.1.html -- ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] joypad quit working when upgrading from 2.3.5 to 2.4
On 05/19/2010 10:15 AM, Jeff Epler wrote: > The "hal_joystick" component was deprecated in emc 2.2[1] and was intended > to be removed in emc 2.4. Instead, use hal_input[2], which will require > additional modifications to joypad.hal due to different pin names. > > hal_input, which has existed since emc2.2, supports more devices than > hal_joystick, and also does not suffer from the "race condition" bug > that led us to deprecate hal_joystick. > > Since in emc 2.4 hal_joystick will never succesfully load, it will be > removed for the upcoming 2.4.1 release. > > Jeff > [1] http://linuxcnc.org/docs/2.2/html/man/man1/hal_joystick.1.html > [2] http://linuxcnc.org/docs/html/man/man1/hal_input.1.html > > -- > > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > > Thanks for the info. I'll try using hal_input. -- ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] joypad quit working when upgrading from 2.3.5 to 2.4
On 05/19/2010 03:52 AM, Mark Wendt wrote: > Looks like this is your problem: > > >> Debug file information: >> Can not find -sec EMC -var NML_FILE -num 1 >> Unrecognized line skipped: POC FMS LEN DIAMCOMMENT >> standard_pinout.hal:22: Warning: linkpp command is deprecated, use 'net' >> HAL: ERROR: pin_new called after hal_ready >> joypad.hal:19: Pin 'joypad.axis.0' does not exist >> > Looks like you've got a bunch of deprecated stuff. How many versions > ago are those files from? Looks like a comment line isn't commented out > for the "Unrecognized line skipped:" stuff. > > can you call out the new pin in line 19 before hal_ready is called out? > > Mark > > > On 05/18/2010 11:39 PM, kirk wrote: > >> I upgraded my system from 2.3 to 2.4. I read on the wiki to take out >> the line: NML_FILE = emc.nml. I did this and started emc2. >> >> The errors located in the file emc23_error_nonml were observed. >> >> I then included the line with NML_FILE and the errors in the >> emc24_error.txt were observed. >> >> If I comment out the "HALFILE = joypad.hal" ecm2.4 runs ok. >> >> I am including my ini file with this post. The joypad ran fine before >> the upgrade. >> >> Any ideas? >> >> Kirk >> > -- > > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > > I've been using a joypad for at least three years. I have kept up with all versions of emc2. Thanks for the help. Kirk -- ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users