JR3pci-linux Code
Brought to you by:
marioprats
File | Date | Author | Commit |
---|---|---|---|
AUTHORS | 2010-04-15 | vkyrki | [r2] Added support to 64-bit linux, 64-bit pointer t... |
COPYING | 2010-02-18 | marioprats | [r1] JR3pci v0.3 release |
Makefile | 2011-11-29 | marioprats | [r3] Fixes for kernels over 2.6.36 |
Makefile-2.4 | 2010-02-18 | marioprats | [r1] JR3pci v0.3 release |
Makefile-2.6 | 2010-02-18 | marioprats | [r1] JR3pci v0.3 release |
README | 2011-12-01 | marioprats | [r4] fixed ioctl fingerprint |
VERSION | 2010-02-18 | marioprats | [r1] JR3pci v0.3 release |
jr3mon.c | 2010-02-18 | marioprats | [r1] JR3pci v0.3 release |
jr3pci-driver.c | 2011-12-01 | marioprats | [r5] minor fix |
jr3pci-driver.h | 2010-02-18 | marioprats | [r1] JR3pci v0.3 release |
jr3pci-firmware.h | 2010-02-18 | marioprats | [r1] JR3pci v0.3 release |
jr3pci-ioctl.c | 2011-12-01 | marioprats | [r4] fixed ioctl fingerprint |
jr3pci-ioctl.h | 2010-02-18 | marioprats | [r1] JR3pci v0.3 release |
jr3pci.idm | 2010-02-18 | marioprats | [r1] JR3pci v0.3 release |
reset.cpp | 2010-02-18 | marioprats | [r1] JR3pci v0.3 release |
test.cpp | 2010-02-18 | marioprats | [r1] JR3pci v0.3 release |
This is a linux driver for the JR3 force/torque sensor (PCI card), under 2.4 kernels. Currently, two cards are supported: - Single channel PCI - Double channel PCI (for two sensors, or one 12DOF sensor) Only filtered reads and zero offsets setup are supported. For compiling it, edit jr3pci-driver.h and set PCI_DEVICE_ID_JR3 to be that of your card. Then, edit the Makefile, and set the path to your kernel sources. Finally, type 'make'. The module is compiled in the file jr3pci-driver.o. For inserting it into the kernel, type 'insmod ./jr3pci-driver.o' for kernels <=2.4, or 'insmod ./jr3pci-driver.ko' for 2.6 kernels After inserting it, look at the green leds of your PCI card. If they are on, you're in chance!!! :) Also included is a simple test program 'jr3mon' which reads force values infinitelly. For user space programs to work, you must first create the device file into /dev directory with the command: mknod /dev/jr3 c 39 0 Alternatively, you can try 'make node'. Problems, suggestions or anything else: mprats@icc.uji.es