Re: [Emc-users] D510 EPP problem

2011-08-27 Thread Rafael Skodlar
On 08/27/2011 09:15 AM, Jon Elson wrote: > Viesturs Lācis wrote: >> So what can I do now? Peter mentioned some low level poking. How can I >> do that and what tools do I need for that? >> The following page might be of some help to troubleshoot parallel port issues: http://www.epanorama.net/circu

Re: [Emc-users] D510 EPP problem

2011-08-27 Thread Jon Elson
Viesturs Lācis wrote: > So what can I do now? Peter mentioned some low level poking. How can I > do that and what tools do I need for that? > > > And I would appreciate, if any user would share their experience > suggestions for EPP-capable PCI add-in card. > You should be able to run an EMC con

Re: [Emc-users] D510 EPP problem

2011-08-27 Thread Peter C. Wallace
On Sat, 27 Aug 2011, Viesturs L?cis wrote: Date: Sat, 27 Aug 2011 10:29:26 +0300 From: "[UTF-8] Viesturs L?cis" Reply-To: "Enhanced Machine Controller (EMC)" To: "Enhanced Machine Controller (EMC)" Subject: Re: [Emc-users] D510 EPP problem 2011/8/27 Jon E

Re: [Emc-users] D510 EPP problem

2011-08-27 Thread Peter Blodow
Hello Viesturs, somwehow this motherboard and Pport issue seems to become a question of principle, not so much of getting a particular machine up and running. Yesterday I happened to buy some old vinyl records at the local Red Cross store where they sell second hand stuff for ridiculously low p

Re: [Emc-users] D510 EPP problem

2011-08-27 Thread Viesturs Lācis
2011/8/27 Jon Elson : > Peter C. Wallace wrote: >> It may in fact be something else (maybe a bad port), as Kirks patch doesnt >> seem to help on viesturs machine and his port acts "funny" reading 0s with >> nothing attached while my test machine reads FFs. I also show 0 trouble with >> the hardware

Re: [Emc-users] D510 EPP problem

2011-08-26 Thread Jon Elson
Peter C. Wallace wrote: > It may in fact be something else (maybe a bad port), as Kirks patch doesnt > seem to help on viesturs machine and his port acts "funny" reading 0s with > nothing attached while my test machine reads FFs. I also show 0 trouble with > the hardware. The ECR reg EPP mode s

Re: [Emc-users] D510 EPP problem

2011-08-26 Thread Peter C. Wallace
On Fri, 26 Aug 2011, Jon Elson wrote: > Date: Fri, 26 Aug 2011 20:21:11 -0500 > From: Jon Elson > Reply-To: "Enhanced Machine Controller (EMC)" > > To: "Enhanced Machine Controller (EMC)" > Subject: Re: [Emc-users] D510 EPP problem > > andy pug

Re: [Emc-users] D510 EPP problem

2011-08-26 Thread Jon Elson
andy pugh wrote: > On 26 August 2011 23:26, Peter C. Wallace wrote: > > >> 2. The HostMot2 driver/paraport driver are unable to set the port into EPP >>mode even though this should be easy (or perhaps linuxs parport driver >>breaks something on the chip not sure) probably need to dump t

Re: [Emc-users] D510 EPP problem

2011-08-26 Thread andy pugh
On 26 August 2011 23:26, Peter C. Wallace wrote: > 2. The HostMot2 driver/paraport driver are unable to set the port into EPP >    mode even though this should be easy (or perhaps linuxs parport driver >    breaks something on the chip not sure) probably need to dump the mode >    control registe

Re: [Emc-users] D510 EPP problem

2011-08-26 Thread Peter C. Wallace
On Fri, 26 Aug 2011, Kirk Wallace wrote: > Date: Fri, 26 Aug 2011 15:51:27 -0700 > From: Kirk Wallace > Reply-To: "Enhanced Machine Controller (EMC)" > > To: "Enhanced Machine Controller (EMC)" > Subject: Re: [Emc-users] D510 EPP problem > >

Re: [Emc-users] D510 EPP problem

2011-08-26 Thread Kirk Wallace
On Fri, 2011-08-26 at 15:26 -0700, Peter C. Wallace wrote: My analysis... ... snip > patched config utility to set port in EPP mode > > patch does this > > temp <= inb(base+0x402) copies data in the ECR to temp > temp <= temp and 0x1F clears the top three bits to 000, leaves the rest alone, but

Re: [Emc-users] D510 EPP problem

2011-08-26 Thread Peter C. Wallace
OK got a D510MO MB I/O chip is Winbond 83627 Set parallel port to EPP mode in BIOS Tried DOS config utility: fails with /DONE not asserted (EPP data port at base +4 reads 0xff) patched config utility to set port in EPP mode patch does this temp <= inb(base+0x402) temp <= temp and 0x1F temp <

Re: [Emc-users] D510 EPP problem

2011-08-26 Thread Viesturs Lācis
2011/8/26 Viesturs Lācis : > > On 2011. gada 26. Aug. 08:35, "Kirk Wallace" > >> >> 0x0378 is the only proper base address, 0x037A is not a good base >> address and causes a write to the proper port's unknown territory two >> addresses above the ECR, which may cause the card to barf (?) > > I foun

Re: [Emc-users] D510 EPP problem

2011-08-26 Thread Peter C. Wallace
On Fri, 26 Aug 2011, andy pugh wrote: Date: Fri, 26 Aug 2011 10:53:19 +0100 From: andy pugh Reply-To: "Enhanced Machine Controller (EMC)" To: "Enhanced Machine Controller (EMC)" Subject: Re: [Emc-users] D510 EPP problem On 26 August 2011 05:15, Viesturs L??cis wr

Re: [Emc-users] D510 EPP problem

2011-08-26 Thread andy pugh
On 26 August 2011 05:15, Viesturs Lācis wrote: > And even now dmesg shows: > [    8.878612] parport0: PC-style at 0x378, irq 7 [PCSPP] I think you just have to ignore this, the D510 just never admits that it is in EPP mode, but the EMC2 driver has been modified to carry on regardless. I still t

Re: [Emc-users] D510 EPP problem

2011-08-26 Thread Viesturs Lācis
On 2011. gada 26. Aug. 08:35, "Kirk Wallace" > > 0x0378 is the only proper base address, 0x037A is not a good base > address and causes a write to the proper port's unknown territory two > addresses above the ECR, which may cause the card to barf (?) I found that 037a address in the same place, w

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread Kirk Wallace
On Fri, 2011-08-26 at 00:11 -0500, Jon Elson wrote: > Viesturs Lācis wrote: > > waterjet@waterjet:~$ sudo ./showport 0378 0778 e 037a 077a e > > ~ > > Base @ 0x378 > > Extended @ 0x778 > > DPR: 255 > > DSR: 255 > > DCR: 255 > > EPPA: 255 > > EPPD: 255 > > > > CFA: 255 > > CFB: 255 > > ECR: 255

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread Kirk Wallace
On Fri, 2011-08-26 at 07:15 +0300, Viesturs Lācis wrote: ... snip > WARNING: All config files need .conf: /etc/modprobe.d/emc2, it will be > ignored in a future release. > waterjet@waterjet:~$ sudo ./showport 0378 0778 e 037a 077a e ---^^^ Get

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread Jon Elson
Viesturs Lācis wrote: > waterjet@waterjet:~$ sudo ./showport 0378 0778 e 037a 077a e > ~ > Base @ 0x378 > Extended @ 0x778 > DPR: 255 > DSR: 255 > DCR: 255 > EPPA: 255 > EPPD: 255 > > CFA: 255 > CFB: 255 > ECR: 255 > Something is massively wrong here. Did you possibly disable the port in t

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread Jon Elson
Viesturs Lācis wrote: > I ran: > sudo modprobe -r lp > sudo ./showport 0378 0778 e 037a 077a e > dmesg > > And I still have: > [8.878612] parport0: PC-style at 0x378, irq 7 [PCSPP] > You will probably NEVER get rid of this incorrect report, that is from the data that the BIOS leaves in a low

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread Peter C. Wallace
On Thu, 25 Aug 2011, Jon Elson wrote: > Date: Thu, 25 Aug 2011 20:30:36 -0500 > From: Jon Elson > Reply-To: "Enhanced Machine Controller (EMC)" > > To: "Enhanced Machine Controller (EMC)" > Subject: Re: [Emc-users] D510 EPP problem > > Peter

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread Viesturs Lācis
2011/8/25 Kirk Wallace : > On Thu, 2011-08-25 at 12:56 -0700, Kirk Wallace wrote: >> On Thu, 2011-08-25 at 20:35 +0100, andy pugh wrote: >> > On 25 August 2011 20:25, Viesturs Lācis wrote: >> > >> > > What draws my attention is that lp0 is using parport0. >> > > Should it be like that or is this t

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread Viesturs Lācis
2011/8/25 Kirk Wallace : > > sudo modprobe -r lp (lp reload or reset) > > might change: > ... > [    8.895228] parport_pc 00:09: reported by Plug and Play ACPI > [    8.895298] parport0: PC-style at 0x378, irq 7 [PCSPP] > ... > > to > ... > [    8.895228] parport_pc 00:09: reported by Plug and Play

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread Jon Elson
Peter C. Wallace wrote: > > We've had customers using the D510 with the 7I43 with no problems > (other than the BIOS error in mode reporting) So I dont think its > anything we need to do with the 7I43, its EPP timing is very > conservative and has not been changed since the very first shipped >

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread Kirk Wallace
On Thu, 2011-08-25 at 12:56 -0700, Kirk Wallace wrote: > On Thu, 2011-08-25 at 20:35 +0100, andy pugh wrote: > > On 25 August 2011 20:25, Viesturs Lācis wrote: > > > > > What draws my attention is that lp0 is using parport0. > > > Should it be like that or is this the cause of problem that parpor

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread Kirk Wallace
On Thu, 2011-08-25 at 20:35 +0100, andy pugh wrote: > On 25 August 2011 20:25, Viesturs Lācis wrote: > > > What draws my attention is that lp0 is using parport0. > > Should it be like that or is this the cause of problem that parport is > > used by something else? > > That could be the problem.

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread Kirk Wallace
On Thu, 2011-08-25 at 22:18 +0300, Viesturs Lācis wrote: > 2011/8/25 Kirk Wallace : > > > > Oops, 255 int ECR looks suspicious, usually the extended register is > > 0x400 above the base, so 0x378 + 0x400 = 0x778. > > > > Might try "sudo ./showport 0378 0778 e" > > Ok, tried that. How does this lo

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread Viesturs Lācis
2011/8/25 andy pugh : > On 25 August 2011 20:25, Viesturs Lācis wrote: > >> What draws my attention is that lp0 is using parport0. >> Should it be like that or is this the cause of problem that parport is >> used by something else? > > That could be the problem. > > Does lsmod show lp? I see it i

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread gene heskett
On Thursday, August 25, 2011 03:30:55 PM Viesturs Lācis did opine: > 2011/8/25 Kirk Wallace : > > Does dmesg find a port parallel port earlier in the output? > > Something like: > > ... > > [6.852471] parport0: PC-style at 0x378 (0x778), irq 7, dma 3 > > [PCSPP,TRISTATE,COMPAT,ECP,DMA] > > No

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread andy pugh
On 25 August 2011 19:55, Viesturs Lācis wrote: >> Just as an experiment, does SVST4_4S.BIT load correctly? > > How can check that? edit the loadrt_7i43 line in the HAL file to use the different bitfile. -- atp "Torque wrenches are for the obedience of fools and the guidance of wise men" -

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread andy pugh
On 25 August 2011 20:25, Viesturs Lācis wrote: > What draws my attention is that lp0 is using parport0. > Should it be like that or is this the cause of problem that parport is > used by something else? That could be the problem. Does lsmod show lp? And if so, does sudo modprobe -r lp help EMC2

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread Kirk Wallace
On Thu, 2011-08-25 at 12:00 -0700, Peter C. Wallace wrote: ... snip > Dont know Kirks util but extended address should probably be the base address > + 0x400 or 0x402 so 0x778 or perhaps 0x77A ... snip I found a few cards with extended registers where they were not "supposed" to be, so i made the

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread Viesturs Lācis
2011/8/25 Kirk Wallace : > > Does dmesg find a port parallel port earlier in the output? > Something like: > ... > [    6.852471] parport0: PC-style at 0x378 (0x778), irq 7, dma 3 > [PCSPP,TRISTATE,COMPAT,ECP,DMA] No, it mentions "parport" 3 times in dmesg output. Here are the lines starting from

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread Viesturs Lācis
2011/8/25 Kirk Wallace : > > Oops,  255 int ECR looks suspicious, usually the extended register is > 0x400 above the base, so 0x378 + 0x400 = 0x778. > > Might try "sudo ./showport 0378 0778 e" Ok, tried that. How does this look? waterjet@waterjet:~$ sudo ./showport 0378 0778 e 037a 077a e [sudo]

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread Kirk Wallace
On Thu, 2011-08-25 at 21:40 +0300, Viesturs Lācis wrote: > 2011. gada 25. augusts 21:33 Viesturs Lācis > rakstīja: ... snip > [ 189.269794] hm2_7i43.0: board at (ioaddr=0x0378, ioaddr_hi=0x0778, > epp_wide ON) not found! ... snip This seems to indicate that hm2_7i43 firmware is looking for a pa

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread Kirk Wallace
On Thu, 2011-08-25 at 21:33 +0300, Viesturs Lācis wrote: ... snip > Kirk, does this mean some kind of success? > > waterjet@waterjet:~$ sudo ./showport 0378 037a e > ~ > Base @ 0x378 > Extended @ 0x37a > DPR: 4 > DSR: 87 > DCR: 204 > EPPA: 255 > EPPD: 255 > > CFA: 204 > CFB: 255 > ECR: 255 >

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread Peter C. Wallace
On Thu, 25 Aug 2011, Viesturs L?cis wrote: Date: Thu, 25 Aug 2011 21:40:42 +0300 From: "[UTF-8] Viesturs L?cis" Reply-To: "Enhanced Machine Controller (EMC)" To: "Enhanced Machine Controller (EMC)" Subject: Re: [Emc-users] D510 EPP problem 2011. gada 25.

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread Viesturs Lācis
2011/8/25 andy pugh : > On 25 August 2011 19:40, Viesturs Lācis wrote: > >> [  189.241288]  hm2_7i43.0: firmware: requesting hm2/7i43/SVST4_4B.BIT >> [  189.269775] hm2/hm2_7i43.0: board has FPGA '3s200tq144', but the >> firmware in hm2/7i43/SVST4_4B.BIT is for FPGA '3s400tq144' > > Just as an exp

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread andy pugh
On 25 August 2011 19:40, Viesturs Lācis wrote: > [  189.241288]  hm2_7i43.0: firmware: requesting hm2/7i43/SVST4_4B.BIT > [  189.269775] hm2/hm2_7i43.0: board has FPGA '3s200tq144', but the > firmware in hm2/7i43/SVST4_4B.BIT is for FPGA '3s400tq144' Just as an experiment, does SVST4_4S.BIT load

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread gene heskett
On Thursday, August 25, 2011 02:40:02 PM Viesturs Lācis did opine: > 2011/8/25 Kirk Wallace : > > On Thu, 2011-08-25 at 08:51 -0400, Kent A. Reed wrote: > > ...snip > > > >> > But dmesg shows: > >> > [8.962720] parport0: PC-style at 0x378, irq 7 [PCSPP] > > > > "PCSPP" above seems to indicat

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread Viesturs Lācis
2011. gada 25. augusts 21:33 Viesturs Lācis rakstīja: > > Kirk, does this mean some kind of success? > > waterjet@waterjet:~$ sudo ./showport 0378 037a e > ~ > Base @ 0x378 > Extended @ 0x37a > DPR: 4 > DSR: 87 > DCR: 204 > EPPA: 255 > EPPD: 255 > > CFA: 204 > CFB: 255 > ECR: 255 > ~ > Set

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread Viesturs Lācis
2011/8/25 Kirk Wallace : > On Thu, 2011-08-25 at 19:57 +0300, Viesturs Lācis wrote: >> 2011/8/25 Kirk Wallace : >> > On Thu, 2011-08-25 at 08:51 -0400, Kent A. Reed wrote: >> > ...snip >> >> > But dmesg shows: >> >> > [    8.962720] parport0: PC-style at 0x378, irq 7 [PCSPP] >> > >> > "PCSPP" above

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread Peter C. Wallace
On Thu, 25 Aug 2011, Jon Elson wrote: Date: Thu, 25 Aug 2011 12:34:23 -0500 From: Jon Elson Reply-To: "Enhanced Machine Controller (EMC)" To: "Enhanced Machine Controller (EMC)" Subject: Re: [Emc-users] D510 EPP problem Viesturs L??cis wrote: Hello, gentlemen! I am

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread Viesturs Lācis
2011/8/25 Viesturs Lācis : > 2011/8/25 Peter C. Wallace : >> >> What is the exact part# of the motherboard and BIOS version#? > > BIOS version: MOPNV10J.86A.0115.2009.1006.2145 Updated BIOS to: MOPNV10J.86A.0311.2010.0802.2346 As it may be expected, problem is still there. > Board model: D510MO

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread Jon Elson
Kirk Wallace wrote: > On Thu, 2011-08-25 at 08:51 -0400, Kent A. Reed wrote: > ...snip > >>> But dmesg shows: >>> [8.962720] parport0: PC-style at 0x378, irq 7 [PCSPP] >>> > > "PCSPP" above seems to indicate that the port is not in EPP mode. Would > setting the proper bit in a registe

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread Jon Elson
Viesturs Lācis wrote: > Hello, gentlemen! > > I am having difficulties with getting Mesa 7i43 card working on D510 board. > Well, I know that one of my interface boards needed a firmware change to work with the D510MO. I needed to change the filtering of some signals on the parallel port interf

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread Kirk Wallace
On Thu, 2011-08-25 at 19:57 +0300, Viesturs Lācis wrote: > 2011/8/25 Kirk Wallace : > > On Thu, 2011-08-25 at 08:51 -0400, Kent A. Reed wrote: > > ...snip > >> > But dmesg shows: > >> > [8.962720] parport0: PC-style at 0x378, irq 7 [PCSPP] > > > > "PCSPP" above seems to indicate that the port i

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread Viesturs Lācis
2011/8/25 Peter C. Wallace : > > What is the exact part# of the motherboard and BIOS version#? BIOS version: MOPNV10J.86A.0115.2009.1006.2145 Board model: D510MO Board version: AAE76523-302 Serial number: BTMO943005AQ Viesturs

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread Peter C. Wallace
On Thu, 25 Aug 2011, Viesturs L?cis wrote: Date: Thu, 25 Aug 2011 19:57:49 +0300 From: "[UTF-8] Viesturs L?cis" Reply-To: "Enhanced Machine Controller (EMC)" To: "Enhanced Machine Controller (EMC)" Subject: Re: [Emc-users] D510 EPP problem 2011/8/25 Kirk Wa

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread Viesturs Lācis
2011/8/25 Kirk Wallace : > On Thu, 2011-08-25 at 08:51 -0400, Kent A. Reed wrote: > ...snip >> > But dmesg shows: >> > [    8.962720] parport0: PC-style at 0x378, irq 7 [PCSPP] > > "PCSPP" above seems to indicate that the port is not in EPP mode. Would > setting the proper bit in a register fix thi

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread Viesturs Lācis
2011/8/25 Kent A. Reed : > > The D510 BIOS is broken and I don't think it will ever be fixed (see > this list ca. October 2010). So are You telling that my attempts to update BIOS will not provide any result? > The EMC wizards have introduced a workaround to this problem. In > December 2010, "And

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread Kirk Wallace
On Thu, 2011-08-25 at 08:51 -0400, Kent A. Reed wrote: ...snip > > But dmesg shows: > > [8.962720] parport0: PC-style at 0x378, irq 7 [PCSPP] "PCSPP" above seems to indicate that the port is not in EPP mode. Would setting the proper bit in a register fix this? I wrote a short utility, showport

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread Kent A. Reed
On 8/25/2011 4:59 AM, Viesturs Lācis wrote: > Hello, gentlemen! > > I am having difficulties with getting Mesa 7i43 card working on D510 board. > > I have set parport to EPP in BIOS. I have checked it at least 4 times. > But dmesg shows: > [8.962720] parport0: PC-style at 0x378, irq 7 [PCSPP] >

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread Kyle Kerr
>>> On 08/25/2011 04:59 AM, Viesturs Lācis wrote: >>> Hello, gentlemen! I am having difficulties with getting Mesa 7i43 card working on D510 board. I have set parport to EPP in BIOS. I have checked it at least 4 times. But dmesg shows: [    8.962720] parport0: PC-

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread Mark Wendt
On 08/25/2011 05:31 AM, Viesturs Lācis wrote: > 2011/8/25 Mark Wendt: > >> On 08/25/2011 04:59 AM, Viesturs Lācis wrote: >> >>> Hello, gentlemen! >>> >>> I am having difficulties with getting Mesa 7i43 card working on D510 board. >>> >>> I have set parport to EPP in BIOS. I have checked i

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread Viesturs Lācis
2011/8/25 Mark Wendt : > On 08/25/2011 04:59 AM, Viesturs Lācis wrote: >> Hello, gentlemen! >> >> I am having difficulties with getting Mesa 7i43 card working on D510 board. >> >> I have set parport to EPP in BIOS. I have checked it at least 4 times. >> But dmesg shows: >> [    8.962720] parport0:

Re: [Emc-users] D510 EPP problem

2011-08-25 Thread Mark Wendt
On 08/25/2011 04:59 AM, Viesturs Lācis wrote: > Hello, gentlemen! > > I am having difficulties with getting Mesa 7i43 card working on D510 board. > > I have set parport to EPP in BIOS. I have checked it at least 4 times. > But dmesg shows: > [8.962720] parport0: PC-style at 0x378, irq 7 [PCSPP]

[Emc-users] D510 EPP problem

2011-08-25 Thread Viesturs Lācis
Hello, gentlemen! I am having difficulties with getting Mesa 7i43 card working on D510 board. I have set parport to EPP in BIOS. I have checked it at least 4 times. But dmesg shows: [8.962720] parport0: PC-style at 0x378, irq 7 [PCSPP] I reinstalled Lucid this morning, but that did not bring