Page 2 of 2

Re: netdev with PCAN-USB FD, wrong error frames

Posted: Fri 19. Mar 2021, 16:48
by S.Grosjean
Hi,

It seems that other drivers work differently when the ERROR_ACTIVE state is back and that this operation is not the one validated in the peak_usb driver. Can you recompile your 5.4.0-66 kernel? If so, please send an email to linux@peak-system.com and we will send you back a patch to apply to a fresh v5.4.

Code: Select all

$ cd linux-5.4
$ patch -p 1 < 0001-Fix-back-to-error-active-error-msg-5.4.patch
$ make...
If this patch turns out to be correct, we can then send it to the layer maintainers to integrate it as soon as possible.

Regards,

Re: netdev with PCAN-USB FD, wrong error frames

Posted: Fri 19. Mar 2021, 16:54
by ckeydel
S.Grosjean wrote:
Fri 19. Mar 2021, 16:48
It seems that other drivers work differently when the ERROR_ACTIVE state is back and that this operation is not the one validated in the peak_usb driver. Can you recompile your 5.4.0-66 kernel? If so, please send an email to linux@peak-system.com and we will send you back a patch to apply to a fresh v5.4.

Code: Select all

$ cd linux-5.4
$ patch -p 1 < 0001-Fix-back-to-error-active-error-msg-5.4.patch
$ make...
If this patch turns out to be correct, we can then send it to the layer maintainers to integrate it as soon as possible.
Not at the moment, will set this up later when I get the chance and let you know.