Search found 6 matches

by Gabriel Guilbert
Wed 21. Dec 2022, 19:03
Forum: PCAN-USB Pro FD
Topic: Update PCAN-USB Pro FD from Firmware Version 1.x or 2.x to 3.x
Replies: 2
Views: 6102

Re: Update PCAN-USB Pro FD from Firmware Version 1.x or 2.x to 3.x

Hi, looking to update the firmware of my device. Is support for updating the device under Windows 10 planned?
by Gabriel Guilbert
Fri 16. Dec 2022, 22:11
Forum: Beta: LIN Device Driver for Linux
Topic: Weird poll() behavior on the character device
Replies: 1
Views: 8299

Re: Weird poll() behavior on the character device

I found the issue, it was caused by the way I read things in my application. The driver seems to be working as expected with the poll() interface. Thanks anyway!
by Gabriel Guilbert
Fri 16. Dec 2022, 17:01
Forum: Beta: LIN Device Driver for Linux
Topic: Weird poll() behavior on the character device
Replies: 1
Views: 8299

Weird poll() behavior on the character device

Hi all, We have a thread that does many things, including reading frame from the PLIN device. In order not to block, we poll() the character device and then read() the frame if polling was successful. For a LIN master with a disabled schedule table, I am not expecting poll() to return a positive num...
by Gabriel Guilbert
Wed 10. Aug 2022, 17:37
Forum: Beta: LIN Device Driver for Linux
Topic: Understanding the character device
Replies: 2
Views: 2863

Re: Understanding the character device

I found out that the Linux driver work in really similar way to the PLIN-API library for Windows. For anyone wondering how the ioctl()read()/write() system call work, the documentation for the PLIN-API should be good reference.
by Gabriel Guilbert
Fri 5. Aug 2022, 21:02
Forum: Beta: LIN Device Driver for Linux
Topic: Understanding the character device
Replies: 2
Views: 2863

Understanding the character device

Hi all, I'm trying to get a better understanding of the API this LIN linux driver. I've read the lin/linread/linwrite examples, but we'll have our own application use the device directly. I understand that in "manual" mode, we can send/receive messages with write/read system calls on the character d...
by Gabriel Guilbert
Fri 5. Aug 2022, 15:14
Forum: Beta: LIN Device Driver for Linux
Topic: PLIN Module problem
Replies: 2
Views: 2674

Re: PLIN Module problem

From what I understand, the macro MODULE_SUPPORTED_DEVICE has always been unused in Linux [1]. I got it to work (on ArchLinux) by redefining an empty one rather than deleting its usage. [1] https://github.com/torvalds/linux/commit/6417f03132a6952cd17ddd8eaddbac92b61b17e0 Edit by ADMIN - please, do n...