Hi,
I'm trying to use a PCAN USB X6 to generate traffic for a developpment board.
The developpment board CANs are configured to work in listen only-mode.
Since the USB PCAN do not support the presume-ack mode, I was wondering if there was a similar option under linux (debian 11) to the "TX self-acknowledge" mode that I saw in the windows PCAN-view app.
Best regards
Selft-Acknowledge and PCAN USB x6
- S.Grosjean
- Software Development
- Posts: 357
- Joined: Wed 4. Jul 2012, 17:02
Re: Selft-Acknowledge and PCAN USB x6
Hello,
At the moment, there is no presume-ack support in the socket-can nor the pcan drivers.
But it should hopefully happen in the next few weeks, at least for the pcan driver.
Regards,
At the moment, there is no presume-ack support in the socket-can nor the pcan drivers.
But it should hopefully happen in the next few weeks, at least for the pcan driver.
Regards,
— Stéphane
-
- Posts: 3
- Joined: Fri 2. Sep 2022, 16:54
Re: Selft-Acknowledge and PCAN USB x6
Hello,
We have noticed that the chardev interface of the driver now supports a "self-ack" option which would work for our needs. However, we have already written our application using the netdev interface (it allows us to share some code with other CAN interfaces on Linux), and in the documentation we didn't find any way to enable the self-ack option while using the driver with the netdev interface.
Are there plans for implementing some way to access the self-ack feature while in netdev mode? Can the chardev APIs be used for this while still receiving the CAN data using netdev APIs?
Thanks for your help!
We have noticed that the chardev interface of the driver now supports a "self-ack" option which would work for our needs. However, we have already written our application using the netdev interface (it allows us to share some code with other CAN interfaces on Linux), and in the documentation we didn't find any way to enable the self-ack option while using the driver with the netdev interface.
Are there plans for implementing some way to access the self-ack feature while in netdev mode? Can the chardev APIs be used for this while still receiving the CAN data using netdev APIs?
Thanks for your help!
Re: Selft-Acknowledge and PCAN USB x6
Hello,
AFAIK this is not an available option in the SocketCAN definitions at the moment (see: https://www.kernel.org/doc/Documentatio ... ng/can.txt), that's why it is not implemented in that driver. And no, you can't use the chardev driver with SocketCAN, these are two different driver flavors.
regards
Michael
AFAIK this is not an available option in the SocketCAN definitions at the moment (see: https://www.kernel.org/doc/Documentatio ... ng/can.txt), that's why it is not implemented in that driver. And no, you can't use the chardev driver with SocketCAN, these are two different driver flavors.
regards
Michael
-
- Posts: 1
- Joined: Mon 31. Mar 2025, 10:37
Re: Selft-Acknowledge and PCAN USB x6
Hello,
I noticed that the presume-ack property, as described in the SocketCAN documentation, is not supported in the current PCAN netdev driver (version 8.20.0).
While it has been mentioned in previous discussions that older versions of the SocketCAN documentation did not include the presume-ack option, the newer version
of the documentation specifies this feature.
I therefor would like to ask:
- Is there any alternative way to enable self-acknowledgment on the PCAN USB X6 hardware that works with the netdev interface / Socket-CAN?
- Are there any plans to implement support for activating self-acknowledgment via the netlink interface in future versions of the PCAN driver?
Linux Kernel version: 6.6.51
Best regards,
Lukas
I noticed that the presume-ack property, as described in the SocketCAN documentation, is not supported in the current PCAN netdev driver (version 8.20.0).
While it has been mentioned in previous discussions that older versions of the SocketCAN documentation did not include the presume-ack option, the newer version
of the documentation specifies this feature.
I therefor would like to ask:
- Is there any alternative way to enable self-acknowledgment on the PCAN USB X6 hardware that works with the netdev interface / Socket-CAN?
- Are there any plans to implement support for activating self-acknowledgment via the netlink interface in future versions of the PCAN driver?
Linux Kernel version: 6.6.51
Best regards,
Lukas
-
- Software Development
- Posts: 305
- Joined: Mon 9. Sep 2013, 12:21
Re: Selft-Acknowledge and PCAN USB x6
Hello,
Thank you for your feedback. I'll follow the information regarding the support of 'presume-ack' property in the PCAN netdriver driver to our development team.
We'll update this thread when more information is available.
Thank you for your feedback. I'll follow the information regarding the support of 'presume-ack' property in the PCAN netdriver driver to our development team.
We'll update this thread when more information is available.
Best regards,
Fabrice
Fabrice