Look up your device in the output of cat /proc/bus/input/devices Select any string you like from any of the properties Bus= Vendor= Product= Version=
No quotes needed, it does not have to be the whole string either. Unfortunately the property Uniq= cannot be used // Lars > -----Original Message----- > From: Michael Jones [mailto:ma...@michaelandholly.com] > Sent: den 17 april 2009 20:17 > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Joypad as a pendant - help? > > When I use this setup, I get a response to the command: > > loadusr -W hal_input -KRAL <name> > > I've replaced the <name> with everything I can think of.. including > various permutations of quotes and the like and get this every > time. Somehow the hal stuff isn't recognizing the name of the device > > Traceback (most recent call last): > File "/usr/bin/hal_input", line 189, in <module> > d.append(HalInputDevice(w, i, f, parts)) > File "/usr/bin/hal_input", line 52, in __init__ > self.device = linux_event.InputDevice(name) > File "debian/tmp/usr/lib/python2.5/site-packages/linux_event.py", > line 700, in __init__ > File "debian/tmp/usr/lib/python2.5/site-packages/linux_event.py", > line 685, in find > LookupError: No input device matching 'Action' was found > <<<<--- This time I used Action in place of <name> > <stdin>:0: hal_input exited without becoming ready > > Suggestions? Fixes? > > Thanks, > > - Michael > > On Apr 17, 2004, at 5:25 AM, John Thornton wrote: > > > > > > > On 17 Apr 2009 at 1:06, Michael Jones wrote: > > > >> Does anyone have a good example of a HAL file for a joypad that I > >> can > >> build on. > > > > This should get you going. > > > > http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Simple_Remote_Pendant > > > > John > > > > --------------------------------------------------------------------- > --------- > > Stay on top of everything new and different, both inside and > > around Java (TM) technology - register by April 22, and save > > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. > > 300 plus technical and hands-on sessions. Register today. > > Use priority code J9JMT32. http://p.sf.net/sfu/p > > _______________________________________________ > > Emc-users mailing list > > Emc-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/emc-users > > > ----------------------------------------------------------------------- > ------- > Stay on top of everything new and different, both inside and > around Java (TM) technology - register by April 22, and save > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. > 300 plus technical and hands-on sessions. Register today. > Use priority code J9JMT32. http://p.sf.net/sfu/p > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users