PCAN USB Pro FD one-shot
Hey list,
I am currently working with the PCAN USB Pro FD device. I wanted to experiment with the "one-shot" mode, which is proposed by "ip":
$ ip link set can0 type can help
Usage: ip link set DEVICE type can
(...)
[ loopback { on | off } ]
[ listen-only { on | off } ]
[ triple-sampling { on | off } ]
[ one-shot { on | off } ]
[ berr-reporting { on | off } ]
[ fd { on | off } ]
[ fd-non-iso { on | off } ]
[ presume-ack { on | off } ]
(...)Unfortunately this seems currently not supported by the SocketCAN driver. Do you have any more information on this topic?
Thanks in advance!
Stefan
Marc Kleine-Budde
maintainerQuoted 16 lines · Stefan Tatschner
I am currently working with the PCAN USB Pro FD device. I wanted to experiment with the "one-shot" mode, which is proposed by "ip":
$ ip link set can0 type can help Usage: ip link set DEVICE type can (...) [ loopback { on | off } ] [ listen-only { on | off } ] [ triple-sampling { on | off } ] [ one-shot { on | off } ] [ berr-reporting { on | off } ] [ fd { on | off } ] [ fd-non-iso { on | off } ] [ presume-ack { on | off } ] (...)
Quoted 2 lines
Unfortunately this seems currently not supported by the SocketCAN driver. Do you have any more information on this topic?
Indeed it's not supported by the driver. Maybe Stephane can tell, if at least the hardware supports this feature.
Marc
Signature · 4 lines
Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
Quoted 4 lines · Marc Kleine-Budde
Indeed it's not supported by the driver. Maybe Stephane can tell, if at least the hardware supports this feature.
Marc
I had emailed the support a while ago. The mode seems to be supported; but they call it "single shot" instead. I assume it is the same as "one-shot", see also [1].
Stefan
[1]:
http://www.peak-system.com/forum/viewtopic.php?f=120&t=1587&p=4725&hilit=single+shot#p4725
Marc Kleine-Budde
maintainerQuoted 7 lines · Stefan Tatschner
Quoted 2 lines · Marc Kleine-Budde
Indeed it's not supported by the driver. Maybe Stephane can tell, if at least the hardware supports this feature.
I had emailed the support a while ago. The mode seems to be supported; but they call it "single shot" instead. I assume it is the same as "one-shot", see also [1].
Yes seems so. Maybe you can get a datasheet to implement theat feature in the linux driver.
Marc
Signature · 4 lines
Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |