request for assistance: accessing ttys from kernel space

From: William Hubbs
Date: Mon Jan 25 2010 - 21:02:17 EST


I am the lead developer for gentoo linux's accessibility team[1], and I
am on the development team for the speakup screen reader [2].

I received these addresses from Samuel, and Chris and Kirk are the other
developers on the speakup team.

Currently, speakup is using direct hardware access to communicate with
serial ports. Doing so, however, has limitations since we are hard
coding port addresses and IRQ numbers. For example, we have a user
right now who is wanting to use a PCI Express serial card for his
synthesizer, but the port and IRQ are not standard, so speakup is unable
to use it. He says that the kernel does recognize the card however.

What I would like to discuss is how we can access ttys from kernel
space. If we could do this, it would definitely make things much easier
for us in speakup.

For reference, our git repository is at We are looking to write another
.c file similar to serialio.c but using ttys or some other way to access
the serial ports which works better than hard coading ports and IRQs.

We found another example of attempting this on the web [3], but this
doesn't work any longer according to the thread.

We need to be able to access the ttys as early as possible in the boot
sequence. Any help, suggestions, or guidance you could give us would be
greatly appreciated.

Thanks much,


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at