I would like to enable PCAN cards write mode. Here it shows (I guess) it is closed because the value is 0. I am currently using jetson tx2.
I checked the usermanuel for the parameters and added options pcan txqsize=64
I tried some other parameters on the manual fdusemsi which I found then it's not related. txqprealloc and other txq related things but couldn't make this write section other than value 0.$uname -a
Linux fenasikerim 4.9.140-tegra #1 SMP PREEMPT Tue Jan 19 12:44:36 EST 2021 aarch64 aarch64 aarch64 GNU/Linux
$ cat /proc/pcan
*------------- PEAK-System CAN interfaces (www.peak-system.com) -------------
*------------- Release_20200701_n (8.10.2) Jul 9 2021 02:30:17 --------------
*------------- [mod] [isa] [pci] [pec] [dng] [usb] --------------
*--------------------- 4 interfaces @ major 505 found -----------------------
*n -type- -ndev- --base-- irq --btr- --read-- --write- --irqs-- -errors- status
0 pcifd -NA- aa51000 380 0x001c 00000001 00000000 00000001 00000000 0x0000
1 pcifd -NA- aa52000 380 0x001c 00000001 00000000 00000001 00000000 0x0000
2 pcifd -NA- aa53000 380 0x001c 00000001 00000000 00000001 00000000 0x0000
3 pcifd -NA- aa54000 380 0x001c 00000001 00000000 00000001 00000000 0x0000
I tried updating my driver too but that didn't solve the problem too.
Sorry for my basic level question but I am really new to CANBus and trying to understand how it works.