google-coral / edgetpu

Coral issue tracker (and legacy Edge TPU API source)
https://coral.ai
Apache License 2.0
430 stars 125 forks source link

M.2 Coral TPU inside USB Enclosure #797

Open Swedlund opened 1 year ago

Swedlund commented 1 year ago

I have an M.2 to USB enclosure/adapter. Is it possible to use this for the the Coral M.2? Anyone else that tried this?

The OS recognize the adapter. Not sure how to see the TPU.

lspci 0b:00.0 USB controller: Renesas Technology Corp. uPD720201 USB 3.0 Host Controller (rev 03)

lsusb Bus 001 Device 004: ID 0bda:9210 Realtek Semiconductor Corp. RTL9210 M.2 NVME Adapter

c-93 commented 1 year ago

Cross-reference to frigate: https://github.com/blakeblackshear/frigate/issues/2348

W-y-v-e-r-n commented 1 month ago

Hi,

Unfortunately it does not work. I tested an A+E key TPU + an passive adapter to M key in two USB-PCIe adapter. One with RTL9210B and another with JMS953 controller. Neither Windows or Debian recognized the Coral TPU in any of the cases.

I suspect that the issue is with their firmware. Because even without anything install in them both show up as storage devices. Out of curiosity I even tried to add an m.2 pcie to sata controller and connect an SSD to that. Windows recognized a drive but it id not have capacity and could not be initialized.

So even if both chip described as USB to PCIe, without firmware modification it won't going to work if it is possible at all.