public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* Line discipline
@  Okash Khawaja
   ` Samuel Thibault
   ` Okash Khawaja
  0 siblings, 2 replies; 29+ messages in thread
From: Okash Khawaja @  UTC (permalink / raw)
  To: Samuel Thibault; +Cc: Speakup is a screen review system for Linux.

Hi,

Just to be sure, this is what we want for speakup_dummy.

1. register ldisc structure in spk_tty_probe().
2. in spk_tty_probe(), attach line discipline - like you would for
/dev/ttyX from user space
3. in open() method of ldisc structure, take the tty_struct and cache it.
4. in spk_serial_out_tty() call tty->ops->write() instead of outb().

What have a I missed here?

Thanks,
Okash

^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 Line discipline Okash Khawaja
 ` Samuel Thibault
   ` Okash Khawaja
     ` Samuel Thibault
       ` Okash Khawaja
         ` Samuel Thibault
           ` Okash Khawaja
     [not found]             ` <CAOtcWM3X6Mq6fPKsNEDchBsn=m1Rn+nfF2+oXeZq7-xD=B_kcg@mail.gmail.com>
               ` Okash Khawaja
 ` Okash Khawaja
   ` Samuel Thibault
     ` Okash Khawaja
       ` Okash Khawaja
         ` Samuel Thibault
           ` Okash Khawaja
             ` Samuel Thibault
               ` Okash Khawaja
                 ` Samuel Thibault
                   ` Okash Khawaja
                     ` Samuel Thibault
                       ` Okash Khawaja
                         ` Samuel Thibault
                           ` Okash Khawaja
     [not found]                             ` <CAOtcWM3z9cTZPYw0j59LbRsZ05Jw+DDNhNf_vKRwLKRbmfyiuw@mail.gmail.com>
                               ` Okash Khawaja
                               ` Samuel Thibault
                                 ` Samuel Thibault
                                   ` Okash Khawaja
                                     ` Okash Khawaja
         ` Samuel Thibault
           ` Okash Khawaja

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).