Q: what is the need for console write callback if there is serial tx (start_tx) ?

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Thu Sep 15 16:50:02 EDT 2016


On Thu, 15 Sep 2016 23:19:51 +0300, Ran Shalit said:

> Isn't writing to console, the same as outputing chars to serial ?

No.  For instance, consider any laptop where "console" is an LCD screen,
and if it's recent hardware, there isn't a UART anywhere in the device, nor
is there a serial port to connect to.  Or any system where virtual terminals
are in the config, for that matter.

Then there's netconsole, console-over-USB, and heaven knows what other
variations.

See Documentation/console/console.txt  for more information.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 484 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160915/bd2c1b9a/attachment.bin 


More information about the Kernelnewbies mailing list