ttymon

ttymon

Post by Richard Pat » Tue, 03 May 1994 00:11:17



Please please;  Does any one know whether it's possible to get ttymon working on
a device that has only one minor number (ie doesn't have a cuao and a tty0, only
a cua0?).   I have a device driver for the asynch port, but there is only one
minor number per port.  /var/saf/bla/log says

Sun May  1 22:50:38 1994; 267; set_termio: set_ttymode failed, errno = 22
Sun May  1 22:50:38 1994; 267; initial termio on (/dev/sio) failed
Sun May  1 22:51:54 1994; 267; set_termio: get_ttymode failed, errno = 6
Sun May  1 22:51:54 1994; 267; initial termio on (/dev/sio) failed

The errno=22 (EINVAL: invalid argument) I put down to a lack of documentation on
the stermio.h file (preventing me from having a valid argument), and errno=6
(ENXIO: no such device or address) suggests that ttymon is looking for another
minor number that unfortunately doesn't exist.

If anyone has any info on how to implement a serial driver that is acceptable to
ttymon, I'd love to know.

Cheers

---
Richard Paton

 
 
 

1. ttymon error:ttymon cannot allocate controlling tty on /dev/console

I can't at the moment make a console login to my Sun Solaris 2.7 box,
but only login remotely by way of ssh or rlogin.
    If I try to make a console login, it gives the following messages:

        Warning -- ttymon cannot allocate controlling tty on
"/dev/console". There may be another session active on this port.

Have any one got any ideas for the solution to this problem?

--
S?ren V. Carlsen (Teknisk ansvarlig for den elektroniske
pligtaflevering)
Digitaliserings- og Webafdelingen (DWA)
Det Kongelige Bibliotek
Postboks 2149
DK-1016 K?benhavn K
Tlf: 33 47 48 41

Hjemme-adresse (Home):
============
S?ren V. Carlsen
Gammel Kongevej 142, 1. tv
DK-1850 Frederiksberg C
tlf: 33 31 45 49

##################################################################
non omnia possumus omnes
Macrobius Saturnalia VI, 1, 35
##################################################################

2. problems with temp. html from cgi-script

3. bi-direction ttymon setting (AT&T SV 4.0)

4. Dual boot

5. ttymon strangeness

6. help with Makefile

7. x86: restart !@$?^* ttymon without rebooting?

8. ppp trouble?

9. Sol 2.4 - ttymon woes

10. Console ttymon problem.

11. ttymon trouble

12. Solaris 2.5.1 & ttymon

13. Bug in ttymon or serial device driver with Solaris 2.6