linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Motorola Powerstack Parallel Port
@ 1999-05-13  1:32 Jeff Rugen
  1999-05-13  4:35 ` Gary Thomas
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Rugen @ 1999-05-13  1:32 UTC (permalink / raw)
  To: linuxppc-dev


Ok, according to the book that came with my Motorola PowerStack, I have a
parallel port that is compatible with IEEE standard 1284, including the
Extended Capability Port (ECP) and Enhanced Parallel Port (EPP).  However,
the driver (parport_pc) doesn't recognize it as ECP and EPP, and says its
only SPP.  I haven't played around the parallel port much, so I figured I'd
ask first, to see if anyone else had looked into this before.  Does the
kernel need to do some sort of initialization before the parallel port is
recognized as such?   (I do have a B&W quickcam plugged into the port now,
but I don't think that should affect the detection).

I have one of the old 100MHz 604 machines.  I'm trying to get the quickcam
drivers working with the 2.2.x/2.3.x kernel (I had one of the drivers
working with the 2.0.x kernel, but I don't know if it was in EPP or SPP
mode).

Any help, pointers, or advice on this topic would be much appreciated.
If you know what specific chip is used to implement the parallel
port, I can look around for a data book on it as well.  Thanks for any help.

----------------------------------------------------------------------------
Jeff Rugen                      jrugen@primenet.com

...Had this been an actual emergency, we would have fled in terror, and you 
would not have been informed.


[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Motorola Powerstack Parallel Port
  1999-05-13  1:32 Motorola Powerstack Parallel Port Jeff Rugen
@ 1999-05-13  4:35 ` Gary Thomas
  1999-05-14  4:02   ` Jeff Rugen
  0 siblings, 1 reply; 3+ messages in thread
From: Gary Thomas @ 1999-05-13  4:35 UTC (permalink / raw)
  To: Jeff Rugen; +Cc: linuxppc-dev



On 13-May-99 Jeff Rugen wrote:
> 
> Ok, according to the book that came with my Motorola PowerStack, I have a
> parallel port that is compatible with IEEE standard 1284, including the
> Extended Capability Port (ECP) and Enhanced Parallel Port (EPP).  However,
> the driver (parport_pc) doesn't recognize it as ECP and EPP, and says its
> only SPP.  I haven't played around the parallel port much, so I figured I'd
> ask first, to see if anyone else had looked into this before.  Does the
> kernel need to do some sort of initialization before the parallel port is
> recognized as such?   (I do have a B&W quickcam plugged into the port now,
> but I don't think that should affect the detection).
> 

It might - those devices do funky things to the port even though they are
supposed to be invisible unless being accessed.

> I have one of the old 100MHz 604 machines.  I'm trying to get the quickcam
> drivers working with the 2.2.x/2.3.x kernel (I had one of the drivers
> working with the 2.0.x kernel, but I don't know if it was in EPP or SPP
> mode).
> 
> Any help, pointers, or advice on this topic would be much appreciated.
> If you know what specific chip is used to implement the parallel
> port, I can look around for a data book on it as well.  Thanks for any help.
>

The parallel port, along with most of the other devices in the system, are
implemented in the PCI-bridge chip (82473 IIRC).
 

------------------------------------------------------------------------
Gary Thomas                              |
email: gdt@linuxppc.org                  | "Fine wine is a necessity of
   ... opinions expressed here are mine  |        life for me"
       and no one else would claim them! |
                                         |      Thomas Jefferson
------------------------------------------------------------------------



[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Motorola Powerstack Parallel Port
  1999-05-13  4:35 ` Gary Thomas
@ 1999-05-14  4:02   ` Jeff Rugen
  0 siblings, 0 replies; 3+ messages in thread
From: Jeff Rugen @ 1999-05-14  4:02 UTC (permalink / raw)
  To: Gary Thomas; +Cc: linuxppc-dev


On Thu, 13 May 1999, Gary Thomas wrote:

> 
> 
> On 13-May-99 Jeff Rugen wrote:
> > 
> > Ok, according to the book that came with my Motorola PowerStack, I have a
> > parallel port that is compatible with IEEE standard 1284, including the
> > Extended Capability Port (ECP) and Enhanced Parallel Port (EPP).  However,
> > the driver (parport_pc) doesn't recognize it as ECP and EPP, and says its
> > only SPP.  I haven't played around the parallel port much, so I figured I'd

<snip -- context above>

> > I have one of the old 100MHz 604 machines.  I'm trying to get the quickcam
> > drivers working with the 2.2.x/2.3.x kernel (I had one of the drivers
> > working with the 2.0.x kernel, but I don't know if it was in EPP or SPP
> > mode).
> > 
> > Any help, pointers, or advice on this topic would be much appreciated.
> > If you know what specific chip is used to implement the parallel
> > port, I can look around for a data book on it as well.  Thanks for any help.
> >
> 
> The parallel port, along with most of the other devices in the system, are
> implemented in the PCI-bridge chip (82473 IIRC).

Ok, now flipping the book that came with the machine over to look at the
other page, I notice that it indicates the Paralell Port is part of the
National Semiconductor PC87303 "Super I/O" controller.  RTFM does wonders,
eh?

So I grabbed the documentation.  It looks like on reset, the parallel port
comes up in SPP mode.  I'd need to twiddle a register or two in the 87303 to
put it in either EPP or ECP mode.  Also, unlike some of the parallel ports
supported by parport_pc, the port can either be in EPP or ECP mode, but not
both (meaning only one of the two sets of additional registeres are
available).

Now, glancing through parport_ax (the Sun Ultra/AX paralell port file), I
notice some calls to ns87303_readb() and ns87303_writeb().  I'm staring to
think that (after some tweaking), the PowerStacks may want to be using that
parallel port driver.  However, I don't know how many of them actually use
the 87303.  Is it common enough that PReP would use it, or is it specific to
a few types of machines?  Or maybe it would be a configuration option.

The include/asm-sparc64/ns87303.h file does look generic enough to fit right
into the asm-ppc directory as well.  Anyone have any ideas on the numbers,
or know the direction the arch/ppc directories are heading well enough to
know if this would be something to pursue?

----------------------------------------------------------------------------
Jeff Rugen                      jrugen@primenet.com

..Had this been an actual emergency, we would have fled in terror, and you 
would not have been informed.


[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-05-14  4:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-05-13  1:32 Motorola Powerstack Parallel Port Jeff Rugen
1999-05-13  4:35 ` Gary Thomas
1999-05-14  4:02   ` Jeff Rugen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).