* Generic CONFIG_SERIAL_DEV_CTRL_TTYPORT to be disabled to enable BBB overlay /dev/ttySC0
@ 2020-05-22 5:57 Zoran Stojsavljevic
0 siblings, 0 replies; only message in thread
From: Zoran Stojsavljevic @ 2020-05-22 5:57 UTC (permalink / raw)
To: linux-serial
Hello list,
I have an interesting problem, which is described here:
https://www.spinics.net/lists/linux-serial/msg22566.html
I experienced the same problem on BeagleBone Black platform (armv7 A8:
am335x silicon), and the overlay is shown here:
https://github.com/ZoranStojsavljevic/MikroE_BeagleBone-Black_BSP-Integration/blob/master/BBB-debian_buster/Master_Example_i2c2_sc16is740.md
And the overlay written for /dev/ttySC0 is given here:
https://github.com/ZoranStojsavljevic/MikroE_BeagleBone-Black_BSP-Integration/blob/master/BBB-debian_buster/overlay_examples/i2c2_sc16is740/BB-I2C2-SC16IS740-00A0.dts
In order to solve this problem, I disabled the following option in
kernel .config:
## CONFIG_SERIAL_DEV_CTRL_TTYPORT is not set
But I am unsure why keeping enabled generic serial tty bus, and
disabling the generic serial tty device driver enables /dev/ttySC0 on
the target BBB platform.
https://github.com/ZoranStojsavljevic/MikroE_BeagleBone-Black_BSP-Integration/blob/master/BBB-debian_buster/overlay_examples/KERNEL.md
Just disabling CONFIG_SERIAL_DEV_CTRL_TTYPORT gives a working /dev/ttySC0 :
│ Symbol: SERIAL_DEV_CTRL_TTYPORT [=n]
│ Type : bool
│ Prompt: Serial device TTY port controller
│ Location:
│ -> Device Drivers
│ -> Character devices
│ (1) -> Serial device bus (SERIAL_DEV_BUS [=y])
│ Defined at drivers/tty/serdev/Kconfig:14
│ Depends on: TTY [=y] && SERIAL_DEV_BUS [=y]=y
Again, appears that the generic serial tty bus is enabled, but the
solution of the problem is to disable generic tty driver (not sure
why)!
I hope somebody already encounter this problem from this list.
Thank you in advance,
Zoran Stojsavljevic
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-05-22 5:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-22 5:57 Generic CONFIG_SERIAL_DEV_CTRL_TTYPORT to be disabled to enable BBB overlay /dev/ttySC0 Zoran Stojsavljevic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).