Re: [Emc-users] PCI parallel port EPP problem with SUN1888 chipset

2010-01-20 Thread acemi list
I tried to write 0x80 to 0x1002 and 0x101A today. The results are as the followings: # ./epp 0x101a ECR address: 0x101a initial read: 0x00 write: 0x80 final read: 0x00 # ./epp 0x1002 ECR address: 0x1002 initial read: 0x15 write: 0x95 final read: 0x95 There are no change for the parport modes:

Re: [Emc-users] PCI parallel port EPP problem with SUN1888 chipset

2010-01-20 Thread Jeff Epler
On Wed, Jan 20, 2010 at 12:40:43PM +0200, acemi list wrote: # cat /proc/sys/dev/parport/parport1/modes PCSPP,TRISTATE # cat /proc/sys/dev/parport/parport2/modes PCSPP,TRISTATE Hm. These are going to be determined by linux when it loads parport_pc. If you load parport_pc before running any

Re: [Emc-users] PCI parallel port EPP problem with SUN1888 chipset

2010-01-20 Thread Jeff Epler
The Linux parport_pc driver seems to detect epp mode based on whether it is possible to clear the EPP timeout bit: static int parport_EPP_supported(struct parport *pb) { const struct parport_pc_private *priv = pb-private_data; /* * Theory:

Re: [Emc-users] PCI parallel port EPP problem with SUN1888 chipset

2010-01-20 Thread acemi list
Of course, all this code is dependant on CONFIG_PARPORT_1284, and I don't know whether your kernel has that enabled. CONFIG_PARPORT_1284 is enabled $ grep CONFIG_PARPORT_1284 /boot/config-2.6.30.5-rtai CONFIG_PARPORT_1284=y I'm using this card for the soft stepping. It works at 50 KHz

Re: [Emc-users] PCI parallel port EPP problem with SUN1888 chipset

2010-01-20 Thread Jeff Epler
On Thu, Jan 21, 2010 at 01:52:19AM +0200, acemi list wrote: I'm using this card for the soft stepping. It works at 50 KHz without any problem (base_period=2 and double stepping). Does this means that there is no need to force it to EPP mode? Will it cause problem in the production time?

Re: [Emc-users] PCI parallel port EPP problem with SUN1888 chipset

2010-01-20 Thread acemi list
On Thu, Jan 21, 2010 at 01:52:19AM +0200, acemi list wrote: I'm using this card for the soft stepping. It works at 50 KHz without any problem (base_period=2 and double stepping). Does this means that there is no need to force it to EPP mode? Will it cause problem in the production time?

[Emc-users] PCI parallel port EPP problem with SUN1888 chipset

2010-01-19 Thread acemi list
Hi all, I have a PCI parallel port card with SUN1888 chipset (Digitus). There are two ports on it. I can't switch it to EPP mode. Port1 is at 0x1018 and Port2 is at 0x1008 I tried to write 0x80 to base_address + 0x402 using the base address 0x1018 and 0x1008 but it doesn't work. I always read

Re: [Emc-users] PCI parallel port EPP problem with SUN1888 chipset

2010-01-19 Thread Jeff Epler
What does linux parport_pc say about ports? Presumably the base and base_hi ports all have to be from the set of I/O ports named in lspci, so the base_hi ports must be the 1000 and 1010 addresses if the xxx8 addresses are the bases. Jeff

Re: [Emc-users] PCI parallel port EPP problem with SUN1888 chipset

2010-01-19 Thread acemi list
On 1/19/10, Jeff Epler jep...@unpythonic.net wrote: What does linux parport_pc say about ports? Presumably the base and base_hi ports all have to be from the set of I/O ports named in lspci, so the base_hi ports must be the 1000 and 1010 addresses if the xxx8 addresses are the bases. #

Re: [Emc-users] PCI parallel port EPP problem with SUN1888 chipset

2010-01-19 Thread Jeff Epler
Shouldn't you be writing at base_hi + 2, not at base_hi? Jeff -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference

Re: [Emc-users] PCI Parallel port

2009-04-10 Thread Lars Andersson
Snip from thread: Serial controller: Titan Electronics Inc VScom 010L 1 port parallel adaptor (prog-if 02 [16550]) I tried short time ago the VSCOM-10 board with no success. IRC it was not IEEE 1284 compatible. --

Re: [Emc-users] PCI Parallel port

2009-04-10 Thread William Baden
this. I might take you up on that offer. Thanks, Will Baden From: emc2usrl...@distinctperspectives.com To: emc-users@lists.sourceforge.net Date: Thu, 9 Apr 2009 22:26:06 -0400 Subject: Re: [Emc-users] PCI Parallel port Will - Where about are you located at? With Chris' comment in mind

Re: [Emc-users] PCI Parallel port

2009-04-10 Thread William Baden
Lars, Ahh. Thanks for the information. Maybe that is the problem I am having with the PCI 010l VSCom board. Thanks, Will Baden From: l...@larsandersson.com To: emc-users@lists.sourceforge.net Date: Fri, 10 Apr 2009 09:27:30 +0200 Subject: Re: [Emc-users] PCI Parallel port Snip from

Re: [Emc-users] PCI Parallel port

2009-04-09 Thread William Baden
To: emc-users@lists.sourceforge.net From: p.blo...@dreki.de Subject: Re: [Emc-users] PCI Parallel port William, if you can't find the correct memory addresses of your card then try the hard way: remove all PCI or ISA cards and everything else that's not necessary to run the bare PC. Boot

Re: [Emc-users] PCI Parallel port

2009-04-09 Thread Chris Radek
On Fri, Apr 10, 2009 at 02:05:15AM +, William Baden wrote: Peter, Thanks for the idea, I have tried it and still come up with device or resource busy of one address and no output on the other three addresses. Will have to wait til after this weekend, taking a vacation with the wife!

Re: [Emc-users] PCI Parallel port

2009-04-09 Thread Greg Michalski
, April 09, 2009 10:13 PM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] PCI Parallel port On Fri, Apr 10, 2009 at 02:05:15AM +, William Baden wrote: Peter, Thanks for the idea, I have tried it and still come up with device or resource busy of one address and no output

Re: [Emc-users] PCI Parallel port

2009-04-07 Thread Peter blodow
William, if you can't find the correct memory addresses of your card then try the hard way: remove all PCI or ISA cards and everything else that's not necessary to run the bare PC. Boot and look at /proc/ioports for changes to the former state (risk a few sheets of paper ro print the file

Re: [Emc-users] PCI Parallel port

2009-04-06 Thread Peter blodow
Hello William, last week I had just the same problem. It turned out that some other device claimed the same addresses as my Netmos 2 port card. This particular one may be hard to find. First, use lspic -vv or even lspci -vvv to get more information than with lspci -v. Look at /proc/ioports:

Re: [Emc-users] PCI Parallel port

2009-04-06 Thread Lars Andersson
Hi William, wiki.linuxcnc.org/cgi-bin/emcinfo.pl?TroubleShooting#Parallel_port_no_longer _works_in_EMC_2_0_1_or_later_hal_parport_Device_or_resource_busy Paragraph 4 in this document describes soething similar to your debug output Debug file information: insmod: error inserting

Re: [Emc-users] PCI Parallel port

2009-04-06 Thread William Baden
Greg, I just tried starting up this config with loadrt prob_parport commented out but it still errors out. Peter, last week I had just the same problem. It turned out that some other device claimed the same addresses as my Netmos 2 port card. This particular one may be hard to find.

Re: [Emc-users] PCI Parallel port

2009-04-06 Thread William Baden
Lars, I have gone through that page but have not found anything that would show the problem, maybe a second look is what needs to be done. Thanks, Will Baden From: l...@larsandersson.com To: emc-users@lists.sourceforge.net Date: Mon, 6 Apr 2009 19:02:31 +0200 Subject: Re: [Emc-users] PCI

Re: [Emc-users] PCI Parallel port

2009-04-06 Thread William Baden
+0200 Subject: Re: [Emc-users] PCI Parallel port Hi William, wiki.linuxcnc.org/cgi-bin/emcinfo.pl?TroubleShooting#Parallel_port_no_longer _works_in_EMC_2_0_1_or_later_hal_parport_Device_or_resource_busy Paragraph 4 in this document describes soething similar to your debug output

[Emc-users] PCI Parallel port

2009-04-05 Thread William Baden
Hi all, Being still new to linux and EMC2 I have decided to use an old computer to learn more about it, using a small table top mill that I built using various parts. Wanting to branch out into a cheap I/O upgrade I decided to purchase a PCI parallel port card. But I have run into a problem

Re: [Emc-users] PCI Parallel port

2009-04-05 Thread Greg Michalski
: Sunday, April 05, 2009 10:41 PM Subject: [Emc-users] PCI Parallel port Hi all, Being still new to linux and EMC2 I have decided to use an old computer to learn more about it, using a small table top mill that I built using various parts. Wanting to branch out into a cheap I/O upgrade I