John, EMC did work, but the "input" module was not loading and neither the input section nor its pins appeared in the list under hal configuration.
As I recall, /var/log/messages reported *could not find "Dual"* or whichever of the other names and ids I tried to use. I will be at the shop later today, and I'll copy the hal files and upload them for review. I also cannot tell you from memory exactly which version is on that machine. We have a half-dozen EMC2 boxes in the shop. I'll check. I do know my hal file included: loadusr hal_input -W -KRAL Dual And my ini file included: HALUI = halui Then, as instructed, ran EMC to locate the pin names under hal configuration. When I discovered it wasn't finding the device, I also tried other words to replace "Dual" that I scraped from /proc/bus/input/devices as per the hal_input man page. What I did to get it to work was to follow the other example: loadusr hal_joystick -d /dev/input/js0 -p joypad So basically it is not even a problem anymore, but I am curious as to why it wouldn't work. I suppose it will never be an issue, as I wouldn't expect js0 to change unless maybe I had a second joystick type device plugged in. What exactly is the file that hal_input parses to identify the input devices? Because if it is reading /proc/bus/input/devices, then the parser is broken for certain, at least on that particular version. >Len -----Original Message----- From: John Thornton [mailto:[EMAIL PROTECTED] Sent: Sunday, December 07, 2008 7:19 AM To: Enhanced Machine Controller EEMC" Subject: Re: [Emc-users] Logitech Gamepad When you followed the tutorial exactly did EMC work and the joystick did not work or did EMC throw an error and not load at all? If EMC loaded then go to Machine/Show HAL Configuration and see what the pin names are... your joystick might be different. and as Steven suggests post your .hal file on pastebin.ca so we can look at it... It is very difficult to diagnose when you don't provide specific info... like what you added to your hal file, what you expected to happen, what actually happened... John On 6 Dec 2008 at 21:27, Len Shelton wrote: > I followed that tutorial exactly. In fact, the way I got it to work > was to > swap out the hal_input line with the hal_joystick line from: > http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?HereIsHowToCheck > > ...and to rename the hal pins appropriately. > > Hal joystick works fine, but hal_input does not. I put EMC into > debug mode > to watch what was happening, and it could not find the device by > parsing the > lines that hal_input is supposed to be parsing. > > >Len > > > > -----Original Message----- > From: John Thornton [mailto:[EMAIL PROTECTED] > Sent: Saturday, December 06, 2008 6:42 PM > To: Enhanced Machine Controller EEMC" > Subject: Re: [Emc-users] Logitech Gamepad > > I use the game pad and wrote an article on the steps I used to get > it up and > running here. > > http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Simple_Remote_Pendant > > What did you add to your .hal file use the gamepad? and which file > did you > add it to? > > John > > On 6 Dec 2008 at 7:51, Len Shelton wrote: > > > I have installed a Logitech Gamepad on my machine recently. I > could > > not get > > EMC to recognize it using hal_input, but it works fine using > > hal_joystick. > > The error was that it could not find "Dual" even though I > confirmed > > it was > > initializing as "Logitech Logitech Dual Action". I also tried > > using > > "Action", the product id, and the Phys string, but it would > never > > locate it. > > Any ideas? > > > > > > > > >Len > > > > > -------------------------------------------------------------------- > > ---------- > > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las > Vegas, > > Nevada. > > The future of the web can't happen without you. Join us at MIX09 > to > > help > > pave the way to the Next Web now. Learn more and register at > > > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visit > > mix.com/ > > _______________________________________________ > > Emc-users mailing list > > Emc-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/emc-users > > > > > > -------------------------------------------------------------------- > -------- > -- > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, > Nevada. > The future of the web can't happen without you. Join us at MIX09 to > help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visit > mix.com/ > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > > > -------------------------------------------------------------------- > ---------- > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, > Nevada. > The future of the web can't happen without you. Join us at MIX09 to > help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visit > mix.com/ > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > ---------------------------------------------------------------------------- -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users