commaai / openpilot

openpilot is an operating system for robotics. Currently, it upgrades the driver assistance system on 275+ supported cars.
https://comma.ai/openpilot
MIT License
50.01k stars 9.13k forks source link

comma three: get ADB working over USB #34041

Open adeebshihadeh opened 1 week ago

adeebshihadeh commented 1 week ago

I used adb a bunch while doing the ISP debayer, and it's noticably snappier than SSH! Already works over the network using https://github.com/commaai/openpilot/blob/master/selfdrive/debug/adb.sh

Let's treat it the same as SSH:

FYI, you'll need to plug into the auxiliary USB C port (bottom one) to get to the 845. The OBD-C port (main one) goes to the panda for the serial console.

adeebshihadeh commented 1 day ago

These are from a working Ubuntu image with adb up over usb. Not sure it's enough, but should at least point in the right direction.

adbd.txt usb.txt

amoghmunikote commented 12 hours ago

I think that might be enough for me to implement it.