| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 57351 | 2005-04-30 04:06:00 | Unix / linux com port | robsonde (120) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 350673 | 2005-04-30 04:06:00 | I want to open a termanial type session to a device on a com port. how? I have a UPS connected to the com port of a unix box, i want to use the serial interface to get info from it. what is the unix/linux command to do this? I know that you can get UPS manager programs but i dont want to go down that track. |
robsonde (120) | ||
| 350674 | 2005-04-30 04:29:00 | minicom is a comport thing IIRC | ILikeLinux (1669) | ||
| 350675 | 2005-04-30 04:52:00 | You'll probably have to get into the system a bit. minicon is a fairly primitive terminal emulator, so if you want to get stuff out for shell processing you might have to do some coding. ;) The ports are, of course, owned by root, so users should use the library routines to get IO access. There is provision in /etc/inittab for UPS control. I would install powerd (and have a look at the HOWTOs for UPS. ;)) |
Graham L (2) | ||
| 1 | |||||