Error in device opening /dev/apex_0 on kernel 6.6.28 #846
Labels
comp:model
Model related isssues
Hardware:M.2 Accelerator with dual Edge TPU
Coral M.2 Accelerator with Dual Edge TPU issues
subtype:ubuntu/linux
Ubuntu/Linux Build/installation issues
type:bug
Bug
Description
Upgraded my Rasbperry Pi 5 to kernel
Linux raspberrypi 6.6.28+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.28-1+rpt1 (2024-04-22) aarch64 GNU/Linux
.Trying to launch an edgetpu example in docker accessing
/dev/apex_0
device causes problems.Build gasket-dkms as in #808, worked fine with 6.5 kernel.
run container
sudo docker run -it --device /dev/apex_0:/dev/apex_0 coral /bin/bash
run test in container
python3 /usr/share/edgetpu/examples/classify_image.py --model /usr/share/edgetpu/examples/models/mobilenet_v2_1.0_224_inat_bird_quant_edgetpu.tflite --label /usr/share/edgetpu/examples/models/inat_bird_labels.txt --image /usr/share/edgetpu/examples/images/bird.bmp
crash
also tested with Frigate NVR and
/dev/apex_0
can't be reached also if device is mapped.As you can see
/dev/apex_0
is available and visible as pi userlsmod | grep apex
lspci -nn | grep 089a
ls /dev/apex_0
Click to expand!
Issue Type
Bug
Operating System
Linux
Coral Device
M.2 Accelerator with dual Edge TPU
Other Devices
No response
Programming Language
Python 3.9
Relevant Log Output
No response
The text was updated successfully, but these errors were encountered: