Skip to contentSkip to conversation

PATCH: tty ldisc work version 4

DISCUSSION Andrew Morton 4 participants 4 messages Sep 23, 2004 – Sep 24, 2004 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 11 lines · Alan Cox

New features this time
- Fix synclink layers - Paul Fulghum
- Use tty_wakeup internally to tty_io
- Add initial termios locking
- Add ldisc hangup method for notification at hangup()
- Fixed close to wait for running driver side events

The big changes this time are locking/ordering rules for termios changes. As well as various feature changes I've also begun commenting n_tty.c so we can start tackling the ldisc internal issues.

This gives me "init_dev but no ldisc" when initscripts start playing with the USB keyboard. The machine then stops.

#2 lore raw
Quoted 6 lines · Andrew Morton
Quoted 3 lines

The big changes this time are locking/ordering rules for termios changes. As well as various feature changes I've also begun commenting n_tty.c so we can start tackling the ldisc internal issues.

This gives me "init_dev but no ldisc" when initscripts start playing with the USB keyboard. The machine then stops.

Intriguing. Does this go way if you uncomment the lines below "Switchg the line discipline back" in tty_io.c.

I'll stick a USB keyboard on my box later today and chase that down.

Alan

#3 lore raw
Quoted 8 lines · Alan Cox
Quoted 2 lines · Andrew Morton

This gives me "init_dev but no ldisc" when initscripts start playing with the USB keyboard. The machine then stops.

Intriguing. Does this go way if you uncomment the lines below "Switchg the line discipline back" in tty_io.c.

I'll stick a USB keyboard on my box later today and chase that down.

Andrew, Alan:

Did this turn out to be related to the code in release_dev() that switches back a tty struct back to N_TTY ldisc before freeing the tty struct?

Signature · 2 lines
Paul Fulghum
[email protected]
#4 lore raw
Quoted 3 lines · Paul Fulghum

Did this turn out to be related to the code in release_dev() that switches back a tty struct back to N_TTY ldisc before freeing the tty struct?

No it was just a stupid mistake in my code. I'll propogate the other changes back in now I've found it.