Opened 14 years ago

Closed 6 years ago

#35 closed enhancement (fixed)

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)

TTY Layer

  1. Rework our current TTY layer into a module
  2. Create an API that fulfills the need of a serial port
    • traditional RS232
    • serial over USB.
  3. Integrate the new API into the serial drivers that are already in our repository,
  4. Make sure everything works as expected.
  5. 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 (19)

comment:1 by maxim@…, 14 years ago

Summary: Needs a TTY module layerNeeds to be a TTY module layer

comment:2 by diver, 14 years ago

Cc: diver added

comment:3 by wkornewald, 13 years ago

Summary: Needs to be a TTY module layerImplement a TTY module layer

comment:4 by wkornewald, 13 years ago

Type: bugenhancement

comment:5 by jackburton, 12 years ago

Will our tty busmanager be compatible with be's one ?

comment:6 by axeld, 12 years ago

Component: - ApplicationsDrivers

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:7 by axeld, 12 years ago

Owner: maxim@… removed

comment:8 by jonas.kirilla, 12 years ago

Cc: jonas.kirilla added

comment:9 by modeenf, 10 years ago

Component: DriversDrivers/TTY
Version: R1 development

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:10 by jonas.kirilla, 10 years ago

Cc: jonas.kirilla removed

comment:11 by mmadia, 9 years ago

Description: modified (diff)
Milestone: R1R1/beta1
Priority: normalblocker

Setting this as a blocker for entering R1/Beta's.

comment:12 by siarzhuk, 9 years ago

Cc: siarzhuk added

comment:13 by Disreali, 9 years ago

FreeBSD recently re-wrote their tty system. Is it worthwhile to borrow code from that?

http://wiki.freebsd.org/TTYRedesign

comment:14 by diver, 9 years ago

Version: R1/pre-alpha1R1/Development

comment:15 by mmlr, 9 years ago

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 by mmlr, 9 years ago

Owner: set to mmlr
Status: newin-progress

Going to accept the ticket for now.

comment:17 by andreasf, 8 years ago

Cc: andreasf added

comment:18 by andreasf, 8 years ago

Blocking: 5754 added

comment:19 by pulkomandy, 6 years ago

Resolution: fixed
Status: in-progressclosed

As discussed on the ML, the only remaining part of this is #5754. Marking this as fixed.

Note: See TracTickets for help on using tickets.