This is a discussion on Configure 2nd Parallel Port - how? within the Linux Operating System forums, part of the Unix Operating Systems category; --> I'm running Fedora Core 2 (i686), kernel 2.67-1.494.2.2. The PC has a motherboard Parallel Port at I/O port 0x378. ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I'm running Fedora Core 2 (i686), kernel 2.67-1.494.2.2. The PC has a motherboard Parallel Port at I/O port 0x378. I installed a PCI Parallel Port add-on card for some control (not printing) applications. Kudzu automatically configured parport1 at I/O port 0x9800 per the following output from '/sbin/lspci -v': 02:02.0 Communication controller: NetMos Technology: Unknown device 9805 (rev 01) Subsystem: LSI Logic / Symbios Logic: Unknown device 0010 Flags: medium devsel, IRQ 9 I/O ports at 9800 I/O ports at 9c00 [size=8] I/O ports at a000 [size=8] I/O ports at a400 [size=8] I/O ports at a800 [size=8] I/O ports at ac00 [size=16] Port 0x9800 works fine for some apps, but other apps require an I/O port address below 0x3FF. How can I configure parport1 for I/O port 0x278 (as it would be jumper-configured if this card were on an ISA bus)? Thanks for your help. Regards, Charles Sullivan |
| |||
| "Charles Sullivan" <cwsulliv@triad.rr.com> wrote in message news > I'm running Fedora Core 2 (i686), kernel 2.67-1.494.2.2. > > The PC has a motherboard Parallel Port at I/O port 0x378. > > I installed a PCI Parallel Port add-on card for some control > (not printing) applications. Kudzu automatically > configured parport1 at I/O port 0x9800 per the following > output from '/sbin/lspci -v': > > 02:02.0 Communication controller: NetMos Technology: Unknown device 9805 > (rev 01) > Subsystem: LSI Logic / Symbios Logic: Unknown device 0010 > Flags: medium devsel, IRQ 9 > I/O ports at 9800 > I/O ports at 9c00 [size=8] > I/O ports at a000 [size=8] > I/O ports at a400 [size=8] > I/O ports at a800 [size=8] > I/O ports at ac00 [size=16] > > Port 0x9800 works fine for some apps, but other apps require an > I/O port address below 0x3FF. > > How can I configure parport1 for I/O port 0x278 (as it would be > jumper-configured if this card were on an ISA bus)? > > Thanks for your help. > > Regards, > Charles Sullivan You follow the exact same proceedure as if it was windoze: You don't, it's a plug and pray device - you get a parallel port that's all you don't get the ISA options. Randy |
| |||
| On Thu, 21 Apr 2005 00:17:40 GMT, Charles Sullivan <cwsulliv@triad.rr.com> posted: > The PC has a motherboard Parallel Port at I/O port 0x378. > > I installed a PCI Parallel Port add-on card for some control > (not printing) applications. Kudzu automatically > configured parport1 at I/O port 0x9800 per the following > output from '/sbin/lspci -v': > > 02:02.0 Communication controller: NetMos Technology: Unknown device 9805 (rev 01) > Subsystem: LSI Logic / Symbios Logic: Unknown device 0010 > Flags: medium devsel, IRQ 9 > I/O ports at 9800 > I/O ports at 9c00 [size=8] > I/O ports at a000 [size=8] > I/O ports at a400 [size=8] > I/O ports at a800 [size=8] > I/O ports at ac00 [size=16] > > Port 0x9800 works fine for some apps, but other apps require an > I/O port address below 0x3FF. > > How can I configure parport1 for I/O port 0x278 (as it would be > jumper-configured if this card were on an ISA bus)? Can you reconfigure the motherboard port for what you need, and use the ports the other way around? I should have thought, that by now, only assembly language programming would be addressing hardware correctly. Other things would be using the operating system to access *the port*, and let the OS worry about how that works. -- If you insist on e-mailing me, use the reply-to address (it's real but temporary). But please reply to the group, like you're supposed to. This message was sent without a virus, please delete some files yourself. |
| |||
| On Thu, 21 Apr 2005 21:06:59 +0930, Tim wrote: > On Thu, 21 Apr 2005 00:17:40 GMT, > Charles Sullivan <cwsulliv@triad.rr.com> posted: > >> The PC has a motherboard Parallel Port at I/O port 0x378. >> >> I installed a PCI Parallel Port add-on card for some control >> (not printing) applications. Kudzu automatically >> configured parport1 at I/O port 0x9800 per the following >> output from '/sbin/lspci -v': >> >> 02:02.0 Communication controller: NetMos Technology: Unknown device 9805 (rev 01) >> Subsystem: LSI Logic / Symbios Logic: Unknown device 0010 >> Flags: medium devsel, IRQ 9 >> I/O ports at 9800 >> I/O ports at 9c00 [size=8] >> I/O ports at a000 [size=8] >> I/O ports at a400 [size=8] >> I/O ports at a800 [size=8] >> I/O ports at ac00 [size=16] >> >> Port 0x9800 works fine for some apps, but other apps require an >> I/O port address below 0x3FF. >> >> How can I configure parport1 for I/O port 0x278 (as it would be >> jumper-configured if this card were on an ISA bus)? > > Can you reconfigure the motherboard port for what you need, and use the > ports the other way around? > > I should have thought, that by now, only assembly language programming > would be addressing hardware correctly. Other things would be using the > operating system to access *the port*, and let the OS worry about how that > works. Thanks for your response Tim. Yes, I could use the motherboard parallel port, but I need direct port access and I'm connecting some experimental circuitry to the port. I'm willing to risk smoking this (relatively inexpensive) add-on card but am reluctant to risk my motherboard. Regards, Charles Sullivan |
| |||
| On Wed, 20 Apr 2005 19:47:07 -0500, Randy McLaughlin wrote: > "Charles Sullivan" <cwsulliv@triad.rr.com> wrote in message > news >> I'm running Fedora Core 2 (i686), kernel 2.67-1.494.2.2. >> >> The PC has a motherboard Parallel Port at I/O port 0x378. >> >> I installed a PCI Parallel Port add-on card for some control >> (not printing) applications. Kudzu automatically >> configured parport1 at I/O port 0x9800 per the following >> output from '/sbin/lspci -v': >> >> 02:02.0 Communication controller: NetMos Technology: Unknown device 9805 >> (rev 01) >> Subsystem: LSI Logic / Symbios Logic: Unknown device 0010 >> Flags: medium devsel, IRQ 9 >> I/O ports at 9800 >> I/O ports at 9c00 [size=8] >> I/O ports at a000 [size=8] >> I/O ports at a400 [size=8] >> I/O ports at a800 [size=8] >> I/O ports at ac00 [size=16] >> >> Port 0x9800 works fine for some apps, but other apps require an >> I/O port address below 0x3FF. >> >> How can I configure parport1 for I/O port 0x278 (as it would be >> jumper-configured if this card were on an ISA bus)? >> >> Thanks for your help. >> >> Regards, >> Charles Sullivan > > You follow the exact same proceedure as if it was windoze: You don't, it's > a plug and pray device - you get a parallel port that's all you don't get > the ISA options. > > Randy Thanks for your response Randy. I guess I don't understand how this Plug 'N Pray stuff works. In any event, I'm very surprised to find that Linux isn't powerful enough to remap the port address to another unused address. Regards, Charles Sullivan |
| |||
| "Charles Sullivan" <cwsulliv@triad.rr.com> wrote in message news <snip> >> You follow the exact same proceedure as if it was windoze: You don't, >> it's >> a plug and pray device - you get a parallel port that's all you don't get >> the ISA options. >> >> Randy > > Thanks for your response Randy. > > I guess I don't understand how this Plug 'N Pray stuff works. > > In any event, I'm very surprised to find that Linux isn't powerful > enough to remap the port address to another unused address. > > Regards, > Charles Sullivan There is no such ability in PC's. No OS gives that ability. If you have an ISA slot you can go that route otherwise you must use Plug and Pray. As per your other post stating that you don't want to fry your MB you have two easy choices: Add a buffer to your circuit (always smart). Buy an 8051 USB adapter which is designed for design work ($40 and up). Randy |
| ||||
| On Thu, 21 Apr 2005 18:23:22 GMT, Charles Sullivan <cwsulliv@triad.rr.com> posted: > Yes, I could use the motherboard parallel port, but I need direct > port access and I'm connecting some experimental circuitry to the > port. I'm willing to risk smoking this (relatively inexpensive) > add-on card but am reluctant to risk my motherboard. If it's an experiment (i.e. something temporary), can you try disabling the motherboard port, and seeing if your port card ends up with the addressing that you need to play way? -- If you insist on e-mailing me, use the reply-to address (it's real but temporary). But please reply to the group, like you're supposed to. This message was sent without a virus, please delete some files yourself. |