Re: Serial methods in speakup

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

 



On 04/19/2016 09:31 AM, Samuel Thibault wrote:
> Peter Hurley, on Tue 19 Apr 2016 09:26:41 -0700, wrote:
>> On 04/19/2016 09:15 AM, Samuel Thibault wrote:
>>> Peter Hurley, on Tue 19 Apr 2016 09:11:24 -0700, wrote:
>>>>>> The question is: how does speakup set the line discipline from kernel
>>>>>> land? One of the goals of speakup is to be available before userland
>>>>>> works (otherwise we could as well just move the drivers to userland), so
>>>>>> we don't have any userland helper to set the line disciline up.
>>>>
>>>> Can you help me understand why "one of the goals of speakup is to be available
>>>> before userland"?
>>>
>>> For exactly the same reasons that we have a VGA driver before the
>>> installed system or initrd can take hand.
>>
>> Hmmm. I don't have a VGA "driver" before initrd.
>> I have VGA output
> 
> Then you have a VGA driver.
> 
>> but that goes through console write, not through tty.
> 
> The console *is* a tty.

Console has two meanings which appear to be the same thing
but are not:

1. a tty device (aliased as /dev/console)
2. struct console. For printk() messages.


The second meaning only indirectly interacts with the tty core,
so for example, there is no way to specify a line discipline for
struct console output.

So if you want to hear boot messages, hooking up a line
discipline isn't going to work.

A clear statement of what you want to achieve will help me
help you.

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