google-coral / edgetpu

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

FTDI VCP support #145

Open zhangziran-ucb opened 4 years ago

zhangziran-ucb commented 4 years ago

Any plan to bring FTDI VCP support to mendel?

Namburger commented 4 years ago

Could you elaborate?

zhangziran-ucb commented 4 years ago

The device I plan to interface with Coral.ai dev board via USB uses an FTDI chip to emulate COM ports. The driver is available in the Ubuntu by default, but not appeared in Mendel. https://www.ftdichip.com/Drivers/VCP.htm

Namburger commented 4 years ago

@zhangziran-ucb I believe you should be able to install it. Mendel day(current release) is just a fork of Debian 10. I was able to installed the driver with the same instructions but I can't test since I don't have the HW

FYI, I used their 1.4.8 ARMv8 package, and there is a Readme instructions

Namburger commented 4 years ago

Hi again - I did some more digging, it looks like the above instructions is for D2XX, apologies. Could you try installing the one from debian buster?

$ echo "deb http://ftp.de.debian.org/debian buster main" | sudo tee /etc/apt/sources.list.d/libftdi.list
$ sudo apt update
$ sudo apt install libftdi1
zhangziran-ucb commented 4 years ago

Negative, I got the following return from dmesg: [ 252.963831] usb 1-1.4: new low-speed USB device number 4 using xhci-hcd [ 253.134292] input: Logitech USB Keyboard as /devices/platform/usb@38200000/38200000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1.4/1-1.4:1.0/0003:046D:C326.0003/input/input4 [ 253.209222] hid-generic 0003:046D:C326.0003: input: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-xhci-hcd.0.auto-1.4/input0 [ 253.227633] input: Logitech USB Keyboard as /devices/platform/usb@38200000/38200000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1.4/1-1.4:1.1/0003:046D:C326.0004/input/input5 [ 253.301127] hid-generic 0003:046D:C326.0004: input: USB HID v1.10 Device [Logitech USB Keyboard] on usb-xhci-hcd.0.auto-1.4/input1 [ 253.611890] usb 1-1.3: new low-speed USB device number 5 using xhci-hcd [ 253.772079] input: Logitech USB Laser Mouse as /devices/platform/usb@38200000/38200000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1.3/1-1.3:1.0/0003:046D:C069.0005/input/input6 [ 253.787811] hid-generic 0003:046D:C069.0005: input: USB HID v1.10 Mouse [Logitech USB Laser Mouse] on usb-xhci-hcd.0.auto-1.3/input0 [ 1307.847974] usb 1-1.3: USB disconnect, device number 5 [ 1308.359859] usb 1-1.4: USB disconnect, device number 4 [ 1336.247400] [drm] HDMI/DP Cable Plug Out [15313.660153] usb 1-1.4: new high-speed USB device number 6 using xhci-hcd [15500.488481] usb 1-1.4: USB disconnect, device number 6 [15594.009958] usb 1-1.4: new high-speed USB device number 7 using xhci-hcd No ttyUSBX showed up. This driver should be standard in the Linux kernel. Maybe it gets optimized out when compiled by google?

Namburger commented 4 years ago

Possible, do you know if maybe there's a def config to switch on in order to turn on kernel supports for this? If so compiling and loading the new kernel is quite easy for mendel

zhangziran-ucb commented 4 years ago

Hmm, No, i don't know if there's def config to switch it on. Where should look for it?