From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 3445 invoked from network); 15 Aug 1999 12:59:18 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 15 Aug 1999 12:59:18 -0000 Received: from adler.unix-ag.uni-siegen.de (root@adler.unix-ag.uni-siegen.de [141.99.42.52]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id IAA10884 for ; Sun, 15 Aug 1999 08:59:17 -0400 Received: from vmax.unix-ag.uni-siegen.de (vmax.unix-ag.uni-siegen.de [141.99.42.43]) by adler.unix-ag.uni-siegen.de (Mailhost) with ESMTP id OAA09336 for ; Sun, 15 Aug 1999 14:59:14 +0200 Received: (from nils@localhost) by vmax.unix-ag.uni-siegen.de (Spoolhost) id OAA56130 for axp-list@redhat.com; Sun, 15 Aug 1999 14:59:13 +0200 From: Nils Faerber Message-Id: <199908151259.OAA56130@vmax.unix-ag.uni-siegen.de> Subject: SX164 parport biderectional? To: axp-list@redhat.com (Linux AXP Mailinglist) Date: Sun, 15 Aug 1999 14:59:13 +0200 (MESZ) X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Hello all! Last night I tried to set the 164SX's parallel port to bidirectional mode but very obviously failed. The only value I get back from it is 0x04. That's for sure one of the values I might want to read but on the long run very monotone ;) What I did was the normal way, I set bit 5 of the control register (base + 2) to enable "PS/2 byte mode". The bit is set properly, i.e. I can read it back, but the port remains output only. So my question is, is the 164SX parport indeed just a SPP port? If not how can I set it to bidirectional ECP mode? Just FYI I will have to do this by hand because this will be incorporated into a small application that will do the data transfer. The application already exists and works on Linux Intel with ECP enabled in BIOS. Thanks for any tips, hints and clues ;) CU nils -- Nils Faerber (Linux Nils) eMail: nils@unix-ag.org Student of computer science http://www.si.unix-ag.org/~nils/ Unix user group, University of Siegen, Germany Siegen ... the arctic rain forest! --