Search found 5 matches

by jwillnetwork
Mon 2. Aug 2021, 19:19
Forum: Linux
Topic: Pcan adapter with docker container, set KERNEL_LOCATION variable to the root directory of your own built kernel
Replies: 3
Views: 1187

Re: Pcan adapter with docker container, set KERNEL_LOCATION variable to the root directory of your own built kernel

Getting the can messages over socketcan worked instead of pcan_usb using the docker container. During device setup in the container this code was used: self.ecu.connect(bustype='socketcan', channel='can0') #self.ecu.connect(bustype='pcan', channel='PCAN_USBBUS1', bitrate=250000) Running this script ...
by jwillnetwork
Mon 2. Aug 2021, 19:03
Forum: Linux
Topic: Cannot find device "can0" while setting up socketcan for a candump
Replies: 1
Views: 987

Cannot find device "can0" while setting up socketcan for a candump

Entering the commands:

sudo modprobe peak_usb
sudo ip link set can0 up type can bitrate 250000

Gives the error: Cannot find device "can0"

lsmod | grep peak

shows this:
peak_usb 45056 0
can_dev 32768 1 peak_usb

How should I debug this?
by jwillnetwork
Thu 22. Jul 2021, 16:37
Forum: Linux
Topic: Pcan adapter with docker container, set KERNEL_LOCATION variable to the root directory of your own built kernel
Replies: 3
Views: 1187

Pcan adapter with docker container, set KERNEL_LOCATION variable to the root directory of your own built kernel

FROM amd64/python:3.7-slim-buster WORKDIR /app ADD cisco_umbrella_root_ca.crt /usr/local/share/ca-certificates/cisco_umbrella_root_ca.crt RUN chmod 644 /usr/local/share/ca-certificates/cisco_umbrella_root_ca.crt && update-ca-certificates RUN apt-get update RUN apt-get install make -y #RUN apt-get i...
by jwillnetwork
Mon 14. Jun 2021, 16:48
Forum: Linux
Topic: Cannot install peak-linux-driver
Replies: 3
Views: 1255

Re: Cannot install peak-linux-driver

cat /proc/pcan *------------- PEAK-System CAN interfaces (www.peak-system.com) ------------- *------------- Release_20210505_n (8.12.0) Jun 14 2021 10:41:02 -------------- *---------------------- [mod] [isa] [pci] [pec] [usb] ----------------------- *--------------------- 1 interfaces @ major 237 fo...
by jwillnetwork
Mon 14. Jun 2021, 15:47
Forum: Linux
Topic: Cannot install peak-linux-driver
Replies: 3
Views: 1255

Cannot install peak-linux-driver

I extracted the peak-linux-driver-8.12.0 folder in the home folder Here's output for sudo make clean all : make[1]: Entering directory '/home/qo313/peak-linux-driver-8.12.0/driver' rm -f src/*o src/*~ src/.*cmd *o *ko *~ .*cmd pcan.mod.c Module.symvers modules.order .cache.mk make[1]: Leaving direct...