mattwenger
Posts: 5
Joined: Tue May 16, 2017 3:46 pm
Location: Seattle, WA, USA

ssh over usb to a Compute Module 3

Sat Feb 10, 2018 11:29 pm

Is it possible to ssh over usb to a Compute Module 3 using the Compute Module IO Board V3 in a similar way to how it is done on a Pi Zero?

Here is information on how it can be done on a Pi Zero - https://www.thepolyglotdeveloper.com/20 ... cable-ssh/.

I'm using Raspbian Stretch Lite (Nov. 2017 release). I followed the information given for connecting to the Pi Zero, but add dtoverlay=dwc2 to the config.txt file causes an error while booting (it scrolls too fast to see), and also prevents me from logging in directly to the Pi.

gsh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 1263
Joined: Sat Sep 10, 2011 11:43 am

Re: ssh over usb to a Compute Module 3

Sun Feb 11, 2018 3:38 pm

If you use the dwc2 driver, it supports both device and host modes, but uses the OTG_ID pin to decide on which mode to choose, we currently have a pull down on the OTG_ID pin to default it to host mode...

What you'll need to do is to force it into peripheral mode using dtoverlay=dwc2,dr_mode=peripheral

That will then set it up as a peripheral...

Think that's likely to be your problem
--
Gordon Hollingworth PhD
Raspberry Pi - Director of Software Engineering

mattwenger
Posts: 5
Joined: Tue May 16, 2017 3:46 pm
Location: Seattle, WA, USA

Re: ssh over usb to a Compute Module 3

Mon Mar 05, 2018 6:02 pm

Thanks gsh, I will give that a try.

Return to “Compute Module”

Who is online

Users browsing this forum: No registered users and 4 guests