I'm a student of Politecnico di Torino and i'm working on my master Thesis. In particular I have to use a Linux pc (kernel version 2.6.32.11, RT, and is not running UDEV) that has a PCAN-PCI board (IPEH 002065) installed. Before me other people used and installed correctly the driver (chardev) to work with a Schunk arm and all worked perfectly. Then I was trying to use the second channel to work with a force torque sensor but I couldn't find /dev/pcan1, so I tried to reinstall the driver (bad idea). The installation went fine but seems that the command pcan_make_devices 2 doesn't see that the module pcan.ko is inserted, in fact I discovered later that the workframe for the arm, the first time that is launched, automatically perfom the modprobe and pcan_make_devices, but now it doesn't work anymore since pcan_make_devices 2 gives this output:
Code: Select all
Info: Please do first a "modprobe pcan.o or modprobe pcan.ko .. (depends on kernel version)"
Code: Select all
Module Size Used by
pcan 20587 0
rtai_rtdm 108697 1 pcan
rtai_serial 10869 0
rtai_msg 15610 0
rtai_mbx 7498 0
rtai_sem 13815 4 pcan,rtai_rtdm,rtai_serial,rtai_mbx
rtai_lxrt 83828 6 pcan,rtai_rtdm,rtai_serial,rtai_msg,rtai_mbx,rtai_sem
rtai_hal 185442 6 rtai_rtdm,rtai_serial,rtai_msg,rtai_mbx,rtai_sem,rtai_lxrt
uinput 5028 0
serio_raw 3216 0
joydev 7004 0
parport 17072 1 pcan
pcspkr 1302 0
iTCO_wdt 7484 0
iTCO_vendor_support 1939 1 iTCO_wdt
e1000e 99541 0
nvidia 8469978 28
ata_piix 17960 3
ata_generic 2347 0
pata_acpi 2187 0
dm_mirror 9518 0
dm_region_hash 7359 1 dm_mirror
dm_log 6880 2 dm_mirror,dm_region_hash
dm_mod 46622 2 dm_mirror,dm_log
Code: Select all
*------------- PEAK-System CAN interfaces (www.peak-system.com) -------------
*------------- Release_20130131_n (7.8.0) Feb 14 2020 11:50:48 --------------
*------------------- [mod] [isa] [pci] [dng] [par] [rt] ---------------------
*--------------------- 2 interfaces @ major 000 found -----------------------
*n -type- ndev --base-- irq --btr- --read-- --write- --irqs-- -errors- status
0 pci -NA- fbfe0000 017 0x001c 00000000 00000000 00000000 00000000 0x0000
1 pci -NA- fbfe0400 017 0x001c 00000000 00000000 00000000 00000000 0x0000
Code: Select all
Character devices:
1 mem
4 /dev/vc/0
4 tty
4 ttyS
5 /dev/tty
5 /dev/console
5 /dev/ptmx
7 vcs
10 misc
13 input
21 sg
128 ptm
136 pts
166 ttyACM
180 usb
189 usb_device
195 nvidia
202 cpu/msr
203 cpu/cpuid
251 hidraw
252 usbmon
253 bsg
254 rtc
Block devices:
1 ramdisk
259 blkext
7 loop
8 sd
11 sr
65 sd
66 sd
67 sd
68 sd
69 sd
70 sd
71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd
PLEASE HELP ME!!