Bugs item #1951768, was opened at 2008-04-25 18:11 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=106744&aid=1951768&group_id=6744
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Jan Van Gilsen (janvangilsen) Assigned to: Nobody/Anonymous (nobody) Summary: parport: in-mode Initial Comment: When using the parallel port data bits as input, bit 5 (or 7) of the control register is set. This setting is done in the write_port function. If a port is only used as inputdevice, and write_port isn't added to a thread, the data inputs won't work. (not tested) This control bit should be set at least once outside the write_port function, if the data bits are configured as inputs. --------------------------- "A few ports use bit 7 instead of bit 5 as direction control. To ensure compatibility with al ports, software can toggle both bits 5 and 7 to set direction" - The Parallel Port Complete - Jan Axelson (ISBN 096508191-5) pg. 24 atm only bit 5 is set: (hal_parport.c) /* prepare to build control port byte, with direction bit set */ outdata = 0x20; this could be changed into: outdata = 0xA0; ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=106744&aid=1951768&group_id=6744 ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
