Hello,
I use:
Debian 12
Peak Linux Driver 8.17.0
PCAN-M.2 Card 3.5.7
I have two PC test setups with the described versions, on one PC all is ok and I can use the cards as expected. (OK_Example_1.PNG)
On the other when I want to tx / rx I get no frames but also no error / the driver seams to work (notOK_Example_1.PNG) the bus stays in CLOSED never the less
When I switch the Cards the behavior stays at the notOK PC so I suspect the error in some setting or option I´m not aware of.
Thanks a lot for any hints in advance!
BR
Tobias
Bus state stays CLOSED, no Messages but no Errors also
Bus state stays CLOSED, no Messages but no Errors also
- Attachments
-
- notOK_Example_1.PNG (45.51 KiB) Viewed 3300 times
-
- OK_Example_1.PNG (57.84 KiB) Viewed 3300 times
-
- Sales & Support
- Posts: 1083
- Joined: Fri 20. Sep 2019, 13:31
Re: Bus state stays CLOSED, no Messages but no Errors also
Hello,
This sounds like an IRQ-related behavior, please see the following post:
viewtopic.php?f=218&t=7193
Best Regards
Marvin
This sounds like an IRQ-related behavior, please see the following post:
viewtopic.php?f=218&t=7193
Best Regards
Marvin
---
Marvin Heidemann
PEAK-Support Team
Marvin Heidemann
PEAK-Support Team
Re: Bus state stays CLOSED, no Messages but no Errors also
Hello,
your linked post starts out with NETDEV interface,
I forgot to mention I use the Chardev interface, so I want to point out the solution also worked out in that case!
thanks a lot for the quick reply!!!
RB Tobias
here again the solution:
please edit /etc/modprobe.d/pcan.conf and add the red line, to enable MSI support:
# pcan - automatic made entry, begin --------
# if required add options and remove comment
# options pcan type=isa,sp
options pcan fdusemsi=1
install pcan modprobe --ignore-install pcan
# pcan - automatic made entry, end ----------
Reboot your system once to load the driver with that new option.
check that cat /proc/pcan will show differnt IRQs for the card channels and make your test again.
your linked post starts out with NETDEV interface,
I forgot to mention I use the Chardev interface, so I want to point out the solution also worked out in that case!
thanks a lot for the quick reply!!!
RB Tobias
here again the solution:
please edit /etc/modprobe.d/pcan.conf and add the red line, to enable MSI support:
# pcan - automatic made entry, begin --------
# if required add options and remove comment
# options pcan type=isa,sp
options pcan fdusemsi=1
install pcan modprobe --ignore-install pcan
# pcan - automatic made entry, end ----------
Reboot your system once to load the driver with that new option.
check that cat /proc/pcan will show differnt IRQs for the card channels and make your test again.
-
- Sales & Support
- Posts: 1083
- Joined: Fri 20. Sep 2019, 13:31
Re: Bus state stays CLOSED, no Messages but no Errors also
Hello Tobias,
Thank you for letting us know!
Best Regards
Marvin
- Closed -
Thank you for letting us know!
Best Regards
Marvin
- Closed -
---
Marvin Heidemann
PEAK-Support Team
Marvin Heidemann
PEAK-Support Team