Re: Serial methods in speakup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/19/2016 10:48 AM, Samuel Thibault wrote:
> Hello,
> 
> Peter Hurley, on Tue 19 Apr 2016 10:24:59 -0700, wrote:
>> 1. a tty device (aliased as /dev/console)
>> 2. struct console. For printk() messages.
> 
> Ok, so you were talking about the second.
> 
>> So if you want to hear boot messages, hooking up a line
>> discipline isn't going to work.
> 
> See the beginning of the thread: in this thread, we are not talking
> about line disciplines to get the boot messages. We already have hooks
> for that, see register_vt_notifier and notify_write to get text on the
> fly, as well as screen_pos to get already-printed text.
> 
> In this thread, we are talking about line disciplines to be able to
> write the text on the serial port. That's the only way I'm aware of for
> kernel drivers to do that, used e.g. by pcmouse, ppp, etc.
> 
> We also need to be able to read, to know the progression of the
> speech synthesis.
> 
>> A clear statement of what you want to achieve will help me
>> help you.
> 
> From the kernel, open a serial port, and write/read text to/from it,
> before /dev is mounted.

Ok, good luck with that.

Regards,
Peter Hurley
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux