Cannot connect a Pixhawk 6x to a Dev Board Mini via USB
Description
I have a dev board mini and Pixhawk 6x. I assumed that when I connect my Pixhawk to Coral I will be able to connect to it with /dev/ttyUSB0 path however, I do not see any USB serial ports when running ls /dev/tty*
I installed a package from this issue: https://github.com/google-coral/edgetpu/issues/128 . Had no effect.
I am connected to board via SSH from MacBook 16" 2019 with OS Monterey. Previously I successfully connected it from my Mac directly.
To connect to Pixhawk I am using Python and dronekit library. My board is freshly flashed so not much of stuff installed there.
Click to expand!
Issue Type
Bug, Support
Operating System
Mendel Linux, Mac OS
Coral Device
Dev Board Mini
Other Devices
No response
Programming Language
Python 3.7
Relevant Log Output
Here is the output from usb-devices:
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1209 ProdID=5740 Rev=02.00
S: Manufacturer=ArduPilot
S: Product=Pixhawk6X
S: SerialNumber=2E0027000C51303433333837
C: #Ifs= 4 Cfg#= 1 Atr=c0 MxPwr=100mA
I: If#=0x0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=02 Prot=01 Driver=(none)
I: If#=0x1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
I: If#=0x2 Alt= 0 #EPs= 1 Cls=02(commc) Sub=02 Prot=01 Driver=(none)
I: If#=0x3 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
lsmod | grep usb returns empty line
can you please share the output of ls /dev/tty* and have you tried connecting the board with MDT.
@hjonnala thank you for fast response. Below is the output of the command ls /dev/tty* . Honestly I did connect only once with MDT directly after had flashed the board.
/dev/tty /dev/tty12 /dev/tty17 /dev/tty21 /dev/tty26 /dev/tty30 /dev/tty35 /dev/tty4 /dev/tty44 /dev/tty49 /dev/tty53 /dev/tty58 /dev/tty62 /dev/ttyGS0 /dev/ttyp1 /dev/ttyp6 /dev/ttypb
/dev/tty0 /dev/tty13 /dev/tty18 /dev/tty22 /dev/tty27 /dev/tty31 /dev/tty36 /dev/tty40 /dev/tty45 /dev/tty5 /dev/tty54 /dev/tty59 /dev/tty63 /dev/ttyS0 /dev/ttyp2 /dev/ttyp7 /dev/ttypc
/dev/tty1 /dev/tty14 /dev/tty19 /dev/tty23 /dev/tty28 /dev/tty32 /dev/tty37 /dev/tty41 /dev/tty46 /dev/tty50 /dev/tty55 /dev/tty6 /dev/tty7 /dev/ttyS1 /dev/ttyp3 /dev/ttyp8 /dev/ttypd
/dev/tty10 /dev/tty15 /dev/tty2 /dev/tty24 /dev/tty29 /dev/tty33 /dev/tty38 /dev/tty42 /dev/tty47 /dev/tty51 /dev/tty56 /dev/tty60 /dev/tty8 /dev/ttyS2 /dev/ttyp4 /dev/ttyp9 /dev/ttype
/dev/tty11 /dev/tty16 /dev/tty20 /dev/tty25 /dev/tty3 /dev/tty34 /dev/tty39 /dev/tty43 /dev/tty48 /dev/tty52 /dev/tty57 /dev/tty61 /dev/tty9 /dev/ttyp0 /dev/ttyp5 /dev/ttypa /dev/ttypf
Does the board LED showing green light? If it so, you should be able to see ls/dev/ttyACM0 to connect via serial console: https://coral.ai/docs/dev-board-mini/serial-console/#connect-over-usb-otg
If its not the case, please check with Linux community on why ttyACM0 is missing. Thanks!
hemanth@hemanth-glaptop7:~$ ls /dev/ttyACM*
/dev/ttyACM0
Yes, it is showing green light. I will search further, thank you for your help 👍