As other people have mentioned, you haven't told us what part is not working. Joypads and USB devices can be difficult because of Linux's permissions and the way hotplugging works (device drivers can claim control of the device).
These pages on the wiki is a good place to start... http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Simple_Remote_Pendant http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?HereIsHowToCheck They show you how to find your device and test if it is working, using halrun and halmeter to test the joypad. Once you know that, you can script your own hal file to make it work. Start simple, and just get a button working before you try a complex example using an activate button or using the latching components. Some ways to debug... Running dmesg will show if the device has been plugged in. When I plug my joypad in, I get... fra...@workshoppc:~/emc2/config/sim$ dmesg [595732.955973] usb 1-2.4: new low speed USB device using uhci_hcd and address 9 [595733.091836] usb 1-2.4: configuration #1 chosen from 1 choice [595733.117785] input: DragonRise Inc. Generic USB Joystick as /devices/pci0000:00/0000:00:1d.0/usb1/1-2/1-2.4/1-2.4:1.0/input/input8 [595733.142178] input,hidraw0: USB HID v1.10 Joystick [DragonRise Inc. Generic USB Joystick ] on usb-0000:00:1d.0-2.4 The last line shows input,hidraw0 (input and HID Raw) device drivers have claimed the device. This means /dev/input/js0 should work, although the line doesn't tell us that it is device /dev/input/js0. lsusb will list the devices... fra...@workshoppc:~/emc2/config/sim$ lsusb Bus 004 Device 002: ID 05e3:0606 Genesys Logic, Inc. D-Link DUB-H4 USB 2.0 Hub Bus 004 Device 001: ID 0000:0000 Bus 003 Device 001: ID 0000:0000 Bus 002 Device 001: ID 0000:0000 Bus 001 Device 009: ID 0079:0006 Bus 001 Device 008: ID 1c40:04d9 Bus 001 Device 007: ID 413c:2010 Dell Computer Corp. Bus 001 Device 006: ID 1532:0101 Bus 001 Device 004: ID 413c:1003 Dell Computer Corp. Bus 001 Device 003: ID 2001:f103 D-Link Corp. [hex] Bus 001 Device 002: ID 05e3:0606 Genesys Logic, Inc. D-Link DUB-H4 USB 2.0 Hub Bus 001 Device 001: ID 0000:0000 My device is 0079:0006, but the details aren't being shown because of permission problems. lsusb -vvv will provide a very verbose output. You may need to use sudo to get all the details. > -----Original Message----- > From: sani.broy...@free.fr [mailto:sani.broy...@free.fr] > Sent: Tuesday, 7 July 2009 2:35 AM > To: Enhanced Machine Controller (EMC) > Subject: [Emc-users] Joypad ? > > Hi all. > Anybody using a USB joypad that works ? > Regards. > > > -------------------------------------------------------------- > ---------------- > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users