Ticket #35 (in-progress enhancement)
Implement a TTY module layer
| Reported by: | maxim@… | Owned by: | mmlr |
|---|---|---|---|
| Priority: | blocker | Milestone: | R1/beta1 |
| Component: | Drivers/TTY | Version: | R1/Development |
| Keywords: | Cc: | diver, siarzhuk, andreasf | |
| Blocked By: | Blocking: | #5754 | |
| Has a Patch: | no | Platform: | All |
Description (last modified by mmlr) (diff)
TTY Layer
- Rework our current TTY layer into a module
- Create an API that fulfills the need of a serial port
- traditional RS232
- serial over USB.
- Integrate the new API into the serial drivers that are already in our repository,
- Make sure everything works as expected.
- Until now the serial port was reserved for kernel debugging, but it is now time for proper userland support.
Additional information may be at the haiku ML thread Drivers on TTY Layer
Change History
comment:1 Changed 7 years ago by maxim@…
- Summary changed from Needs a TTY module layer to Needs to be a TTY module layer
comment:3 Changed 5 years ago by wkornewald
- Summary changed from Needs to be a TTY module layer to Implement a TTY module layer
comment:6 Changed 5 years ago by axeld
- Component changed from - Applications to Drivers
If it easily can, I would think it should. But it depends a bit on who is going to work on this, of course :-)
comment:9 Changed 3 years ago by modeenf
- Version set to R1 development
- Component changed from Drivers to Drivers/TTY
Don't know what a TTY are but there are a component called TTY in tracker. Moving this to that one. This didn't answer my questions. http://en.wikipedia.org/wiki/Tty
comment:11 Changed 18 months ago by mmadia
- Priority changed from normal to blocker
- Description modified (diff)
- Milestone changed from R1 to R1/beta1
Setting this as a blocker for entering R1/Beta's.
comment:13 Changed 18 months ago by Disreali
FreeBSD recently re-wrote their tty system. Is it worthwhile to borrow code from that?
comment:15 Changed 18 months ago by mmlr
- Description modified (diff)
I've implemented a generic tty module based on the tty driver in hrev39760 and ported over usb_serial to it in hrev39762. The pc_serial (RS232) driver still needs to be ported and the tty driver should now be reworked to use the tty module and only provide the driver specific code that was left out in the generic module. I'm going to work on the tty driver but will leave the pc_serial driver alone. François still wanted to keep backwards compatibility for now and I myself don't have any real serial ports where I could test it on anymore.
comment:16 Changed 18 months ago by mmlr
- Status changed from new to in-progress
- Owner set to mmlr
Going to accept the ticket for now.
