disablement and enablement of a computer serial port.
Can anyone explain how a computer serial port is disabled and enabled? Many Web pages cover the software topics but I've found nothing explaining how a BIOS disables a port. Is is done by clearing any interrupt assignment to the port? Is the power to the UART shut off? Other ways? Probably more than one technique has been used but not a large number.
Can anyone cite a Web page which answers this? Thanks, ... Peter E. |
disablement and enablement of a computer serial port.
|
disablement and enablement of a computer serial port.
On Sunday, July 26, 2015 at 10:32:05 AM UTC-7, M Philbrook wrote:
if Bios has control of it, it simply flips a bit in a device manager chip on the board. OK, that would be in evidence when the Bios interface allows disabling. From that point, the OS does not see that serial port. There must be a customary way for the OS to read the state of the bit. Otherwise communication software would have to allow for obscure hardware variations. Can software flip the bit? Ie. can a port can be enabled and disabled when the system is running? USB serial ports are a different story. Fortunately I'm only interested in RS-232 style serial ports, for now at least. Thanks! ... Peter E. |
disablement and enablement of a computer serial port.
On 07/26/2015 08:09 PM, Peter Easthope wrote:
On Sunday, July 26, 2015 at 10:32:05 AM UTC-7, M Philbrook wrote: if Bios has control of it, it simply flips a bit in a device manager chip on the board. OK, that would be in evidence when the Bios interface allows disabling. From that point, the OS does not see that serial port. There must be a customary way for the OS to read the state of the bit. Otherwise communication software would have to allow for obscure hardware variations. Can software flip the bit? Ie. can a port can be enabled and disabled when the system is running? Depends what you mean by software. The ancient vt1211 superi/o chip does its configuration via port writes. You may need to be in kernel context to be allowed to do that(or ioperm()). You may have to browse datasheets, to find out if others are similar or if there's a de-facto standard. Having a look at intels LPC bus specs may be necessary, too. (they're available online) USB serial ports are a different story. Fortunately I'm only interested in RS-232 style serial ports, for now at least. Thanks! ... Peter E. |
disablement and enablement of a computer serial port.
On Sunday, July 26, 2015 at 11:42:59 AM UTC-4, Peter Easthope wrote:
Can anyone explain how a computer serial port is disabled and enabled? Many Web pages cover the software topics but I've found nothing explaining how a BIOS disables a port. Is is done by clearing any interrupt assignment to the port? Is the power to the UART shut off? Other ways? Probably more than one technique has been used but not a large number. Can anyone cite a Web page which answers this? Thanks, ... Peter E. What exactly are you tring to do? If you are using Windows, you should be able to disable it using the device manager. |
All times are GMT +1. The time now is 06:15 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004 - 2014 DIYbanter