On 7/28/20 6:33 AM, Mike Looijmans wrote:
I had a hard time getting a serial attached bluetooth device to work,
untilI discovered that systemd is running a "getty" on that port (which
happens tobe "ttyS0").
The cause is that "systemd-getty-generator" detects that the port comes
online (runtime, it's inside an FGPA) and then dynamically adds a
service for it and starts a getty on it.
So when I went to solve that, I found that OE already attempted to solve
that. There's a "systemd-getty-generator" PACKAGECONFIG that suggests
that it should not be installed by default, but it gets installed
anyway, even though this config is not set.
Is this something that needs fixing in OE?
Any better pointers at preventing systemd starting a getty on ttyS0?
you need to add serial-getty-generator to systemd PACKAGECONFIG to
ignore the oe provided serial getty recipe.
I think it also has to do with SERIAL_CONSOLES setting for machine,
perhaps it contains ttyS0 in your case.
Met vriendelijke groet / kind regards,
Mike Looijmans
System Expert
TOPIC Embedded Products B.V.
Materiaalweg 4, 5681 RJ Best
The Netherlands
T: +31 (0) 499 33 69 69
E: [email protected]
W: www.topicproducts.com
Please consider the environment before printing this e-mail
Met vriendelijke groet / kind regards,
Mike Looijmans
System Expert
TOPIC Embedded Products B.V.
Materiaalweg 4, 5681 RJ Best
The Netherlands
T: +31 (0) 499 33 69 69
E: [email protected]
W: www.topicproducts.com
Please consider the environment before printing this e-mail
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#141115):
https://lists.openembedded.org/g/openembedded-core/message/141115
Mute This Topic: https://lists.openembedded.org/mt/75843935/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-