Re: ioperm question

From: Antoine Mathys (Antoine_DOT_Mathys_at_unifr_DOT_ch)
Date: 06/19/03


Date: Thu, 19 Jun 2003 23:18:26 +0200


> ...
> int ioperm(unsigned long from, unsigned long num, int turn_on);
> ...
> My question is: can someone explain to me what a port is?

A port is an adress in the separate address space used for devices
communicating over the system bus.

> How many bytes
> does it have?

1 to 4.

> How do I know how many ports a device has?

This vary for every device. Consult the documentation. Usually, if a
device use, say, three ports, there will be consecutive but the number
of the first one may be set to anything (though there are defaults).

> Is there a
> difference between the ports of my ,say, parallel connector and my
> serial one? Differences between my serial connector and my sound card
> port?

No.

> I'm totally confused...
Indeed. What are you trying to do ?

A.M.



Relevant Pages

  • Re: Strange RS232 Wiring
    ... Was recognised by the system as a COM port, ... > no signals coming out of the serial connector! ... I too bought a suspicously similar looking USB->RS-232 cable. ...
    (sci.electronics.misc)
  • Re: Strange RS232 Wiring
    ... Was recognised by the system as a COM port, ... > no signals coming out of the serial connector! ... I too bought a suspicously similar looking USB->RS-232 cable. ...
    (sci.electronics.design)
  • ioperm question
    ... i'd like to ask a simple, yet confusing to me, question about ... can someone explain to me what a port is? ... difference between the ports of my,say, parallel connector and my ... Differences between my serial connector and my sound card ...
    (comp.unix.programmer)
  • Yes, this is definitely a 9-pin serial...
    ... this is a 9-pin serial connector with 2 screw-in holders to tighten it ... down to the port on the back of the tower. ... Are you sure it's not a USB cable you're trying to eyeball..? ... settings altogether now, and my system restore is unsuccessful??? ...
    (microsoft.public.windowsxp.hardware)
  • Serial to USB Adapter; ActiveSync trouble
    ... I have a glucose meter with a 9-pin serial connector. ... have a serial to usb adaptor attached. ... When I plug it ... this port" I cannot find that anywhere. ...
    (microsoft.public.windowsxp.hardware)