Using Hailo8 on Ubuntu host through Thunderbolt connection keeps requiring authorization when disconnecting and reconnecting the device.
To resolve this, install boltctl via terminal:
sudo apt update
sudo apt install bolt
Inspect the connected thunderbolt devices and locate the Hailo8 by running the following command (once connected and once disconnected):
sudo boltctl list
The entry should look like this:
● Intel Ash Creek
├─ type: peripheral
├─ name: Ash Creek
├─ vendor: Intel
├─ uuid: d4030000-0090-8708-a3f1-f22590111325
├─ generation: Thunderbolt 3
├─ status: connected
│ ├─ domain: cb228780-b036-1910-ffff-ffffffffffff
│ ├─ rx speed: 40 Gb/s = 2 lanes * 20 Gb/s
│ ├─ tx speed: 40 Gb/s = 2 lanes * 20 Gb/s
│ └─ authflags: boot
├─ authorized: Sun 14 Jan 2024 03:01:50 PM UTC
├─ connected: Sun 14 Jan 2024 03:01:50 PM UTC
└─ stored: Thu 16 Nov 2023 12:40:28 PM UTC
├─ policy: iommu
└─ key: no
(The bullet before “Intel Ash Creek” is orange when device status is connected and will turn green once authorized)
Run the following commands (fill in uuid as listed in the boltctl list command):
sudo boltctl forget “uuid”
sudo boltctl enroll “uuid”
sudo boltctl list
The bullet should turn green now and policy should change from “iommu” to “auto”.
● Intel Ash Creek
├─ type: peripheral
├─ name: Ash Creek
├─ vendor: Intel
├─ uuid: d4030000-0090-8708-a3f1-f22590111325
├─ generation: Thunderbolt 3
├─ status: authorized
│ ├─ domain: cb228780-b036-1910-ffff-ffffffffffff
│ ├─ rx speed: 40 Gb/s = 2 lanes * 20 Gb/s
│ ├─ tx speed: 40 Gb/s = 2 lanes * 20 Gb/s
│ └─ authflags: boot
├─ authorized: Sun 14 Jan 2024 03:01:50 PM UTC
├─ connected: Sun 14 Jan 2024 03:01:50 PM UTC
└─ stored: Thu 16 Nov 2023 12:40:28 PM UTC
├─ policy: auto
└─ key: no