PCAN-USB FD Linux Driver Issues on Yocto Linux PowerPC

This forum covers PCAN-Linux and Linux development issues concerning our products
M.Maidhof
Support
Support
Posts: 1753
Joined: Wed 22. Sep 2010, 14:00

Re: PCAN-USB FD Linux Driver Issues on Yocto Linux PowerPC

Post by M.Maidhof » Mon 7. Aug 2017, 09:48

Hello Austin,

great job! Our developers will have a look on your patch and implement it in the driver asap.

regards

Michael

User avatar
S.Grosjean
Software Development
Software Development
Posts: 357
Joined: Wed 4. Jul 2012, 17:02

Re: PCAN-USB FD Linux Driver Issues on Yocto Linux PowerPC

Post by S.Grosjean » Tue 8. Aug 2017, 15:45

Hi Austin,

Back from my holidays, I'd first like to thank you a lot for all of your hard and detailed work!
We will obviously include the proposed patch that actually seems to fix the endian issue for all of our USB to CAN-FD interfaces. We will next do a whole check of the entire code, to track any other pending u16, and should quickly do a 8.5-beta accordingly.

Many thanks again,

Stéphane
— Stéphane

User avatar
S.Grosjean
Software Development
Software Development
Posts: 357
Joined: Wed 4. Jul 2012, 17:02

Re: PCAN-USB FD Linux Driver Issues on Yocto Linux PowerPC

Post by S.Grosjean » Wed 9. Aug 2017, 13:40

Hi Austin,

We have included your change in a 8.4.1 beta version. As you'll see, it's a bit different than yours, since the HW_SRR flag should be handled in all cases. As you expected, the code works over little endian archs. Anyway, if you're always able to run pcan over your PPC arch, it would be nice if you could install then run this new one (see attachment).

Your feedback will be welcome!

Thanks again and kind regards,

Stéphane
Attachments
peak-linux-driver-8.4.1-beta-20170809.tar.gz
next-8.4.1-RC1
(968.9 KiB) Downloaded 520 times
— Stéphane

austinsteamboat
Posts: 9
Joined: Wed 2. Aug 2017, 17:27

Re: PCAN-USB FD Linux Driver Issues on Yocto Linux PowerPC

Post by austinsteamboat » Thu 10. Aug 2017, 21:05

Hi Stéphane,
I installed the beta version and can confirm it works perfectly for both transmit and receive on my PPC.
I'd say with that driver we can close this topic.
Thanks!
-Austin

Post Reply