Dear Customers,

The PolySync Support Center is now just for submitting tickets to our support team. All articles and tutorials have been moved to the new PolySync Help Center and the content below will be removed shortly.

Thank you,
The PolySync Team

List channels error: DEVDESCR_ASCII


When attempting to use listchannels in /usr/src/linuxcan/canlib/examples to detect CAN channels on an ECU there is an error that pops up involving DEVDESCR_ASCII.

Cause Solution
Too few channels are specified in the driver library files.

Modify the files which specify the maximum number of CAN channels which can be active at one time.

Navigate to /usr/src/linuxcan/leaf/ and open leafHWIf.h. Modify "MAX_CHANNELS" to be the number of CAN channels on your ECU +1.

Then run "make" in that folder. Do the same in the PciCanHwIf.h located in /usr/src/linuxcan/pcican

Lastly run make in /usr/src/linuxcan. If listchannels still doesn't work then restart your machine.

Have more questions? Submit a request


Please sign in to leave a comment.