Re: Capturing Parallel Port Data

2006-12-18 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Mr CW [EMAIL PROTECTED] writes: : Thank you for the pointers. It sounds like reading data back from the : parallel port is not a common thing to do, although I thought parallel port : projects might have done this. Then I realized that most PIC

Re: Capturing Parallel Port Data

2006-12-16 Thread Bernd Walter
On Sat, Dec 16, 2006 at 11:12:44AM +1030, Daniel O'Connor wrote: On Saturday 16 December 2006 10:24, Mr CW wrote: Thank you for the pointers. It sounds like reading data back from the parallel port is not a common thing to do, although I thought parallel port projects might have done this.

Re: Capturing Parallel Port Data

2006-12-15 Thread Daniel O'Connor
On Friday 15 December 2006 05:32, Mr CW wrote: Now, my real question is: how do I read data from the parallel port on the FreeBSD computer that is coming from the tester which is trying to 'print' to the FBSD computer's parallel port? Is there a suggested pinout for a parallel crossover

Re: Capturing Parallel Port Data

2006-12-15 Thread Mr CW
Thank you for the pointers. It sounds like reading data back from the parallel port is not a common thing to do, although I thought parallel port projects might have done this. Then I realized that most PIC programmers, parallel port displays, etc. usually only receive data, not send it back

Re: Capturing Parallel Port Data

2006-12-15 Thread soralx
No, I didn't try that but I certainly will now. I wasn't sure you could just cat the port and read the data back. I will let you know how this works. Well, you should certainly try it, but don't count on it: Daniel says that lpt returns only printer status (BTW, this means full 5 bits,

Re: Capturing Parallel Port Data

2006-12-15 Thread Daniel O'Connor
On Saturday 16 December 2006 10:24, Mr CW wrote: Thank you for the pointers. It sounds like reading data back from the parallel port is not a common thing to do, although I thought parallel port projects might have done this. Then I realized that most PIC programmers, parallel port displays,

Capturing Parallel Port Data

2006-12-14 Thread Mr CW
Hi Guys, I have been reading the ppi man page and have searched Google but have not found an answer to my problem: I work at a business which uses cable testers that output plain text to a dot matrix printer (any old DMP will work). (Cirris cable testers) The paper trail is getting huge so

Re: Capturing Parallel Port Data

2006-12-14 Thread soralx
Now, my real question is: how do I read data from the parallel port on the FreeBSD computer that is coming from the tester which is trying to 'print' to the FBSD computer's parallel port? Is there a did you try to set LPT0 mode to bi-directional in the BIOS, and then `cat /dev/lpt0`?