PATCH: tty ldisc work version 4
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 11 lines · Alan Cox
New features this time
- Fix synclink layers - Paul Fulghum
- Usetty_wakeupinternally totty_io
- Add initial termios locking
- Add ldisc hangup method for notification athangup()
- Fixed close to wait for running driver side eventsThe big changes this time are locking/ordering rules for termios changes. As well as various feature changes I've also begun commenting
n_tty.cso 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.
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.cso we can start tackling the ldisc internal issues.This gives me "
init_devbut 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
Quoted 8 lines · Alan Cox
Quoted 2 lines · Andrew Morton
This gives me "
init_devbut 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]
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 toN_TTYldisc 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.