Welcome, Guest
Username: Password: Remember me

TOPIC: gadget mode (serial)

gadget mode (serial) 1 year 2 months ago #1080

  • Mickey
  • Mickey's Avatar
  • OFFLINE
  • New Member
  • Posts: 13
  • Thank you received: 6
  • Karma: 1
As processor hogging WiFi is out, I was looking for a way to easily connect to Pedal-Pi while still having some ability to process sound.
At first I thought of a serial terminal via the GPIO but the necessary pins are taken. Then I thought of gadget mode.

I've set my Pedal-Pi up as a serial gadget using this guide.
The only change I made was instead of using a serial cable to enter commands I put this in the crontab
@reboot sudo systemctl enable getty@ttyGS0.service

Now I can connect to the Pedal-Pi using a standard micro USB cable and PuTTY.
The administrator has disabled public write access.
The following user(s) said Thank You: Ray

gadget mode (serial) 1 year 2 months ago #1104

  • valvusmusicus
  • valvusmusicus's Avatar
  • OFFLINE
  • New Member
  • Posts: 5
  • Thank you received: 2
  • Karma: 0
I followed the instructions in the guide up to the verification step and reboot, but I'm not seeing a new serial port. It seems active when I run: sudo systemctl is-active This email address is being protected from spambots. You need JavaScript enabled to view it., but nothing shows up. I also added your step in the crontab, but for troubleshooting right now I'm still using VNC and wi-fi until I can get it to run serial. Is there something I need to update in Windows to see this in the Device Manager as port 83? Thanks!
The administrator has disabled public write access.

gadget mode (serial) 1 year 2 months ago #1107

  • Mickey
  • Mickey's Avatar
  • OFFLINE
  • New Member
  • Posts: 13
  • Thank you received: 6
  • Karma: 1
Hi, I'm not sure what the problem is. It just worked for me.

I'll see if I can shrink my image down small enough to upload somewhere.

Bruce
The administrator has disabled public write access.
The following user(s) said Thank You: Ray

gadget mode (serial) 1 year 2 months ago #1108

  • Mickey
  • Mickey's Avatar
  • OFFLINE
  • New Member
  • Posts: 13
  • Thank you received: 6
  • Karma: 1
Try this image
www.dropbox.com/s/mr4h33yvldu2gee/PPGadget.zip?dl=0

it will expand to the full size of the SD card on first boot, give it a few minutes and it should present a serial connection on the USB. Speed 115200
The administrator has disabled public write access.

gadget mode (serial) 1 year 2 months ago #1109

  • valvusmusicus
  • valvusmusicus's Avatar
  • OFFLINE
  • New Member
  • Posts: 5
  • Thank you received: 2
  • Karma: 0
Thanks BruceR. I found out the Pi image wasn't the main issue after all. It was communication from my PC. I had to install Bonjour and update the RNDIS drivers which seemed to solve the issue.
The administrator has disabled public write access.
The following user(s) said Thank You: Ray
Time to create page: 0.133 seconds
Powered by Kunena Forum
Joomla SEF URLs by Artio

Our Instagram

Follow us

You can also follow us on:

facebook   google   instagram

pinterest   youtube   twitter