canonical / pi-gadget

Universal pi (pi2,pi3,pi4,cm3,cm4 and future) gadget snap for Ubuntu Core and classic systems.
37 stars 62 forks source link

Add slot for /dev/ttyS0 and add pi0 section to config.txt #82

Closed jawn-smith closed 2 years ago

jawn-smith commented 2 years ago

Some hats use /dev/ttyS0. It should be safe to include in the gadget, and then can be connected to a snap with the snap connect command.

jawn-smith commented 2 years ago

@waveform80 I think this is all that we will want to expose with existing snapd interfaces. If there's anything you think is missing from this list that may mean snapd needs additional changes to expose more types of slots.

waveform80 commented 2 years ago

Looks perfect -- thanks! I'll cherry-pick it across to where it needs to be.