[PARPORT] Computer hangs when outb'ing to parport

From: Christian Reitwiessner (christian@reitwiessner.de)
Date: Tue Sep 30 2003 - 06:50:58 EDT

  • Next message: Tim Waugh: "Re: [PARPORT] Computer hangs when outb'ing to parport"

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Hello!

    I'm trying to write a driver for three stepper motors attached to the
    parallel port for kernel 2.6. I have chosen the direct outb method
    inside of
    a kernel module, because I was not sure if there was a mode to have
    complete
    control over the parallel port in the parport module.

    But both in kernel and in user mode, the computer hangs after some
    output to the ports (I have unloaded all other parallel port drivers,
    BTW). I both use the data and the control port, but the computer hangs
    also when i just use the data port.

    I switched the parport mode in the BIOS from normal (don't know what
    that is) to spp. For normal mode, the computer simply hangs, and for spp, I
    get a kernel panic: "divide error: 0000" and the pc speaker generates a
    contiuous tone.

    Can someone help me?
    Perhaps it would be better to use the parport module, but i do not know
    how to get/if it is possible to get full control about all output and
    input
    lines.

    Best regards,
    Christian Reitwiessner
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.3 (GNU/Linux)

    iD8DBQE/eWASYK0dAlIsb8ARAtMmAKCCrbckZsvd9mDqGpoOq5ikGF/YpACg4BCg
    297xBspBrgJEcT90KotFpp8=
    =hmzu
    -----END PGP SIGNATURE-----

    -- 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 Sep 30 2003 - 07:01:11 EDT