Re: [PARPORT] Upgrade 2.4.4 to 2.4.18 lost parallel port

From: Andreas Nowatzyk (Andreas_Nowatzyk@onsis.sp.ri.cmu.edu)
Date: Tue Jul 16 2002 - 20:20:37 EDT

  • Next message: Votruba Petr: "RE: [PARPORT] Upgrade 2.4.4 to 2.4.18 lost parallel port"

    Gunther.Mayer@t-online.de said:
    > As a workaround follow instructions in "setsuperio-experts_only.c"
    > from http://home.t-online.de/home/gunther.mayer/lssuperio/lssuperio-0.67.tar.bz2

    Thanks so much for your patience!

    After running your workaround (with slight modifications) I get:

    lssuperio V0.67 (EXPERIMENTAL)

    Winbond Super-IO detection, now testing ports 3F0,370,250,4E,2E ...
    SMSC Super-IO detection, now testing Ports 2F0, 370, 2E, 4E ...
    SMSC chip at EFER=0x4e key=0x55 id=54 rev=04
    oldid=0x00 oldrev=0x00
     LDN 0( FDC): io=0x3f0, irq= 6, dma= 2
     LDN 1(reserved): Disabled.
     LDN 2(reserved): Disabled.
     LDN 3( LPT): io=0x378, irq= 7, dma= 3
     LDN 4( UART_A): io=0x3f8, irq= 4, dma=No
     LDN 5( UART_B): io=0x300, irq=10, dma=No
     LDN 6(reserved): Disabled.
     LDN 7( KBC): io=0x0, irq= 1, irq2=12, dma=No
     LDN 8(reserved): Disabled.
     LDN 9(Gameport): io=0x201, irq=No, dma=No
     LDN a( PME): io=0x400, irq=No, dma=No
     LDN b( MPU-401): Disabled.
    LPT mode=ECP+EPP1.9 FIFO thresh.=7
    SMSC chip type 47u32/33
    National Semiconductor Super-IO detection,now testing port 2E,4E,15C,26E,398
    ...
    ITE Super-IO detection testing ports 2E,4E,279,370/371 ...
    ALI Super-IO detection testing ports 370,398,3F0 ...
    Intel Super-IO detection testing ports 26E, 398 ...

    No crash and everything else appears to be normal. Unfortunately, parport_pc
    still does not see the parallel port:

    Jul 16 16:27:36 timesink kernel: parport 0x378 (WARNING): CTR: wrote 0x0c,
    read 0xff
    Jul 16 16:27:36 timesink kernel: parport 0x378 (WARNING): DATA: wrote 0xaa,
    read 0xff
    Jul 16 16:27:36 timesink kernel: parport 0x378: You gave this address, but
    there is probably no parallel port there!
    Jul 16 16:27:36 timesink kernel: parport0: PC-style at 0x378 [PCSPP,TRISTATE]
    Jul 16 16:27:36 timesink kernel: parport0: cpp_daisy: aa5500ff87(b8)
    Jul 16 16:27:36 timesink kernel: parport0: assign_addrs: aa5500ff87(b8)
    Jul 16 16:27:36 timesink kernel: parport0: cpp_daisy: aa5500ff87(b8)
    Jul 16 16:27:36 timesink kernel: parport0: assign_addrs: aa5500ff87(b8)

    After this parport_pc load attempt, lssuperio still lists LPT as above: OK,
    so it is not that case that part of the insmod-attempt disabled the LPT port.

    However, I had to guess the address for the last outb:
    outb(0xAA, efer+1); // magic seal
    I tried first "efer", which produced the outcome described above. Then
    I tried "efer+1", which made the superio-chip to disappear from lssuperio
    (but without any other effects: everything else is cool. I guess this is
    the magic disappera from sight feature described in your comments).

    Unfortunately, parport_pc still does not find the port.

    Is the documentation (description of the registers of this superio chip)
    anywhere online? Playing with these bits may hold the answer to this problem.

      Thanks a lot!
      -- A. Nowatzyk

    -- To unsubscribe, send mail to: linux-parport-request@torque.net --
    -- with the single word "unsubscribe" in the body of the message. --



    This archive was generated by hypermail 2b29 : Tue Jul 16 2002 - 20:23:00 EDT