Electronics Repair (sci.electronics.repair) Discussion of repairing electronic equipment. Topics include requests for assistance, where to obtain servicing information and parts, techniques for diagnosis and repair, and annecdotes about success, failures and problems.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to sci.electronics.repair
external usenet poster
 
Posts: 34
Default 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.
  #3   Report Post  
Posted to sci.electronics.repair
external usenet poster
 
Posts: 34
Default 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.

  #4   Report Post  
Posted to sci.electronics.repair
external usenet poster
 
Posts: 40
Default 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.


  #5   Report Post  
Posted to sci.electronics.repair
external usenet poster
 
Posts: 5
Default 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.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Rewrite bios through port serial pahm Electronics Repair 7 June 6th 11 09:14 PM
I need circuit diagram of keyboard and mouse port, USB port, DDR port, IDE port,... fixpc Electronics Repair 6 March 1st 06 02:59 PM
PCMCIA serial port card Sam Goldwasser Electronics Repair 12 September 29th 05 06:06 PM
DRO with serial port [email protected] Metalworking 4 December 22nd 04 12:36 AM
RS232 to 9 pin serial port cable gfulton Electronics Repair 16 September 30th 03 03:58 AM


All times are GMT +1. The time now is 02:59 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 DIYbanter.
The comments are property of their posters.
 

About Us

"It's about DIY & home improvement"