netdev with PCAN-USB FD, wrong error frames

This forum covers PCAN-Linux and Linux development issues concerning our products
User avatar
S.Grosjean
Software Development
Software Development
Posts: 302
Joined: Wed 4. Jul 2012, 17:02

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

Post by S.Grosjean » Fri 19. Mar 2021, 16:48

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,
— Stéphane

ckeydel
Posts: 26
Joined: Thu 4. Nov 2010, 16:06

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

Post by ckeydel » Fri 19. Mar 2021, 16:54

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.

Post Reply