Serial Port Plug/Interface issue with Ubuntu-core 16.04 (#2557)

Oliver Grawert ogra at ubuntu.com
Wed Jan 11 18:37:20 UTC 2017


hi,
Am Mittwoch, den 11.01.2017, 17:59 +0000 schrieb Mritunjai Singh:
> Hi All,
>  
> Kindly refer to: https://github.com/snapcore/snapd/issues/2557
>  
> We are trying to get a head start on Core Snappy working with our RF
> Mesh network card. It connects over serial and needs to be available
> at boot. We first tried this using snap approach but due to missing
> hotplugging serial-interface in current(latest) version of snapcraft,
> serial i/o requests are being denied even if the snap has the
> permission to use serial port.
>  
> We have been suggested the gadget snap approach in order to expose
> /dev/ttyS0 to the serial port interface for tunnccd snap to access
> it. It would be very helpful if someone can point me to the working
> example of a gadget snap with access to serial interface or any end
> to end gadget snap example and its build steps.

note that all our gadgets offer a console on serial by default, if you
drive some external device via serial you might want to drop this
console tty option. 

all our official gadgets are under https://github.com/snapcore/ ..
namely the pi2-gadget, pi3-gadget, pc-gadget and dragonboard-gadget
sub-trees if you want to take a look ...

ciao
	oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170111/2ab49130/attachment.sig>


More information about the Snapcraft mailing list