When I: cat /proc/bus/input/devices
it returns: I: Bus=0003 Vendor=046d Product=c216 Version=0110 N: Name="Logitech Logitech Dual Action" P: Phys=usb-0000:02:00.0-1/input0 S: Sysfs=/devices/pci0000:00/0000:00:11.0/0000:02:00.0/ usb1/1-1/1-1:1.0/input/input5 U: Uniq= H: Handlers=event4 js0 B: EV=1b B: KEY=fff 0 0 0 0 0 0 0 0 0 B: ABS=30027 B: MSC=10 when I go into Halrun or try to enter this into my hal file: loadusr -W hal_input -KRAL c216 or loadusr -W hal_input -KRAL Product=c216 I get: 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 'Product=c216' was found <stdin>:1: hal_input exited without becoming ready Now, I do have a different method working.. loadusr hal_joystick -d /dev/input/js0 -p joypad can this method be interchanged? Does it make a difference? - Michael On Apr 17, 2009, at 11:47 AM, Lars Andersson wrote: > 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 ------------------------------------------------------------------------------ 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