Search found 14 matches

by altran
Wed 20. Sep 2017, 09:32
Forum: PCAN-LIN
Topic: CAN ID for Slave Activation
Replies: 1
Views: 3150

CAN ID for Slave Activation

I am trying to figure out what this field does? I read the manual, but I still do not understand its purpose, can somebody explain what it does?
by altran
Wed 22. Feb 2017, 23:11
Forum: PCAN-USB X6
Topic: Unable to use PCAN-USB X6 with SocketCAN under Linux
Replies: 1
Views: 5341

Unable to use PCAN-USB X6 with SocketCAN under Linux

Is this device supported for use with the Linux SocketCAN drivers?
by altran
Sun 12. Feb 2017, 21:03
Forum: Linux
Topic: pcan-usb Device number
Replies: 1
Views: 3355

pcan-usb Device number

When I plug in a PCAN-USB device and run dmesg, Linux recognizes the device number that is flashed to it and correlates it with a can network device number. Is there any way I can programatically get this info (can0 -> device 8)? It would be useful when I attached multiple PCAN-USB devices.

*Note ...
by altran
Tue 27. Dec 2016, 23:49
Forum: Linux
Topic: Error after computer restart
Replies: 2
Views: 5251

Re: Error after computer restart

Reinstalled new drivers (8.2) Seems to be working. Thank you.
by altran
Tue 27. Dec 2016, 23:05
Forum: Linux
Topic: occasionally getting Error on CAN channels
Replies: 1
Views: 2966

occasionally getting Error on CAN channels

Hi,

I have some code that allows me to read data off multiple CAN buses (I have 4 PCAN-USB Pro FD devices); however, sometimes I would be unable to read from some of the CAN buses and I would have to unplug and replug the devices to get it to reset. (Is there any way I can reset the channel without ...
by altran
Thu 22. Dec 2016, 23:33
Forum: Linux
Topic: Error after computer restart
Replies: 2
Views: 5251

Error after computer restart

Every time I restart my machine and try to access the devices using the API, I get the following error:

1482445262.149631: ERROR: failed to scan directory (errno=2) '/sys/class/pcan'
1482445262.149641: ERROR: failed to open file (errno=2) '/sys/class/pcan/version'

In order to get it to work again ...
by altran
Mon 5. Dec 2016, 23:30
Forum: Linux
Topic: LIN solution for Linux?
Replies: 5
Views: 8312

Re: LIN solution for Linux?

I read the PCAN-LIN protocol definition and it looks like LIN messages can be written/read through the CAN interface.

So to be clear, would this setup work for a linux environment:

Linux computer -> PCAN-USB Pro FD -> [PCAN-LIN device] -> LIN Device

I would have to write code on the Linux side ...
by altran
Mon 14. Nov 2016, 22:07
Forum: PCAN-Basic
Topic: PCAN USB Hardware ID - Python
Replies: 14
Views: 25014

Re: PCAN USB Hardware ID - Python

I've attached two screenshots. One with PCAN-USB Pro (Successful) and the other with PCAN-USB (Unsuccessful)

PCAN-USB Pro
PCAN-USB Pro
Screenshot from 2016-11-14 12-02-19.png (161.16 KiB) Viewed 8201 times
PCAN-USB
PCAN-USB
Screenshot from 2016-11-14 13-00-47.png (120.56 KiB) Viewed 8201 times
by altran
Fri 11. Nov 2016, 19:01
Forum: Linux
Topic: LIN solution for Linux?
Replies: 5
Views: 8312

Re: LIN solution for Linux?

Hi Michael,

Thanks for the reply. Are there examples on how this would work? If I wanted to send and receive LIN messages using this PCAN-LIN module?
by altran
Thu 10. Nov 2016, 22:08
Forum: PCAN-Basic
Topic: PCAN USB Hardware ID - Python
Replies: 14
Views: 25014

Re: PCAN USB Hardware ID - Python

FYI: I installed 4 PCAN-USB Pro devices (but I removed them when I ran these commands).


uadmin@dslab-nuc2:~/projects/Test$ dmesg | grep pcan
[667636.564289] pcan: unhandled read data stream turned off (err -71)
[667686.675477] pcan: PCAN-USB Pro FD (01h PCB02h) fw v2.1.0
[667686.675630] pcan ...