On 09/13/2011 11:00 AM, Jon Elson wrote:
>
>> On Tuesday, September 13, 2011 12:04:09 PM doug metzler did opine:
>>
>>
>>> I'll ship the machine to WV with a $50 bill taped to the top for beer
>>> acquisition :-)
>>>
> How do you know the card doesn't work?  You mentioned Ubuntu, did you
> try printing
> with it?  EMC doesn't use any Ubuntu drivers when using a parallel port
> card for controlling
> steppers, so it is NOT Ubuntu's fault.
>

While not using the default drivers, it's possible that

> Finding the CORRECT I/O port address for these cards is often a guessing
> game, as the

Not necessarily. Linux commands will help you with this. Here's how I 
would approach this problem:
- use commands
dmesg | less
or
dmesg |grep parport

which in my case results in

[    8.181311] parport_pc 00:09: reported by Plug and Play ACPI
[    8.181369] parport0: PC-style at 0x378 (0x778), irq 7, dma 3 
[PCSPP,TRISTATE,COMPAT,ECP,DMA]
[    8.256909] lp0: using parport0 (interrupt-driven).

This tells me that my parallel port uses physical address 0x378, 
interrupt 7, and DMA channel 3. It also tells me what the BIOS setup for 
parallel port is. The same information ends up in /var/log/syslog I believe.

Let me mention the following link on this list again:
http://www.epanorama.net/circuits/parallel_output.html

it might help you actively troubleshoot the problem faster than have any 
of us drive or fly to Seattle area. Circuit to test the pport on that 
page is simple enough to put it together in a few minutes. Compiling 
related code should be trivial also.

> chips have 2 parallel and 2 serial ports on them, the difference between
> the options is
> which ports are actually brought out to connectors.  The addresses
> change depending
> on what other cards are in the system, so the manufacturer can't give
> static numbers,
> either.
>
> Jon

Doug, you may want to send us related segments of dmesg or 
/var/log/kern.log.

We'll collect beer later.

-- 
Rafael

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to