Hi Matthieu
My next suggestion would have been to see if the port works but you have 
done that now.
I suggest that you email Peter Wallace at Mesa directly. He might be 
able to help better.

On 2014-02-10 08:36, Matthieu Patou wrote:
> Hi Marius,
>
> On 02/09/2014 08:46 PM, Marius Liebenberg wrote:
>> Mattieu
>>
>> Chris did confirm that there is a bug when you dont use the default
>> port. What happens if you use this line
>>
>> loadrt hm2_7i43 config="ioaddr=0x3bc firmware=hm2/7i43-2/SVST4_4.BIT
>> num_encoders=0 num_pwmgens=0 num_3pwmgens=0 num_stepgens=3  "
>> Also, you must make sure that the parallel port is in EPP mode.
> It's not working with this line, the port is in EPP mode it's working
> well when I do stepconf.
>
> Matthieu.
>> On 2014-02-10 00:53, Matthieu Patou wrote:
>>> Marius,
>>>
>>> Well I have only one parallel port in this laptop and I want that the
>>> 7i43 that is connected to it to the port at the address 0x3BC.
>>>
>>> When I connect the same 7i43 to an atom based workstation it works well
>>> because the address of the port is 0x378.
>>>
>>> Matthieu.
>>>
>>>
>>> On 02/09/2014 12:32 AM, Marius Liebenberg wrote:
>>>> Matthieu
>>>>
>>>> The HAL file is correct. The PNCCONF utility will load the Mesa card
>>>> drivers as it does.
>>>>
>>>> What you are wanting to do is load an extra parallel port. This is not
>>>> the same as the 7i43 card but rather a parport. You should add to your
>>>> HAL file the following stuff.
>>>>
>>>> Have a look at this first
>>>> http://www.linuxcnc.org/docs/2.4/html/hal_parallel_port.html
>>>>
>>>> loadrt hal_parport cfg="0x378 out"
>>>>
>>>> setp parport.0.reset-time 5000
>>>>
>>>> loadrt stepgen step_type=0,0,0
>>>>
>>>> addf parport.0.read base-thread
>>>>
>>>> addf stepgen.make-pulses base-thread
>>>>
>>>> addf parport.0.write base-thread
>>>>
>>>> addf parport.0.reset base-thread
>>>>
>>>> addf stepgen.capture-position servo-thread
>>>>
>>>>
>>>>
>>>>
>>>> On 2014-02-09 09:41, Matthieu Patou wrote:
>>>>> Hi Marius,
>>>>>
>>>>> See the attached file, I don't see anything related to loading the
>>>>> parport driver.
>>>>> It seems that the hm2_7i43 module is trying to use the default address.
>>>>>
>>>>> I get this on the dmesg
>>>>> hm2_7i43.0: board at (ioaddr=0x0378,  ioaddr_hi=0x0778, epp_wide ON)
>>>>> not found!
>>>>>
>>>>> I suspect that I should change the line from:
>>>>> loadrt hm2_7i43 config="firmware=hm2/7i43-2/SVST4_4.BIT num_encoders=0
>>>>> num_pwmgens=0 num_3pwmgens=0 num_stepgens=3  "
>>>>> to
>>>>> loadrt hm2_7i43 config="ioaddr=0x3bc firmware=hm2/7i43-2/SVST4_4.BIT
>>>>> num_encoders=0 num_pwmgens=0 num_3pwmgens=0 num_stepgens=3  "
>>>>>
>>>>> If it is the case then it's confirmed that PNCConf has a bug because
>>>>> it should generate this kind of configuration when a non default
>>>>> address is specified for the parallel port.
>>>>>
>>>>> Matthieu.
>>>>> On 02/05/2014 12:57 AM, Marius Liebenberg wrote:
>>>>>> See if the address that is used when the parport driver is loaded in the
>>>>>> HAL file is what you expected it to be. You can also post you HAL file
>>>>>> here so we can have look at that for you.
>>>>>>
>>>>>>
>>>>>> On 2014-02-05 10:10, Matthieu Patou wrote:
>>>>>>> Hello All,
>>>>>>>
>>>>>>> I have an atom desktop with a partport at 0x378 and a 7i43 + 7i42
>>>>>>> hooked
>>>>>>> to it and it's working well with LinuxCNC 2.5.3.
>>>>>>> On a thinkpad laptop I have a PCMCIA parport card at 0x3bc and when I
>>>>>>> try to run Axis, after configuring this laptop for the same card, I got
>>>>>>> errors about missing card at address 0x378 even though I configured it
>>>>>>> to 0x3BC.
>>>>>>>
>>>>>>> Did I miss something or is the port specified during PNCConf ignored ?
>>>>>>>
>>>>>>> Matthieu.
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>>
>>>>>>> Managing the Performance of Cloud-Based Applications
>>>>>>> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
>>>>>>> Read the Whitepaper.
>>>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Emc-users mailing list
>>>>>>> Emc-users@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Managing the Performance of Cloud-Based Applications
>>>>> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
>>>>> Read the Whitepaper.
>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Emc-users mailing list
>>>>> Emc-users@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>> ------------------------------------------------------------------------------
>>> Managing the Performance of Cloud-Based Applications
>>> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
>>> Read the Whitepaper.
>>> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Emc-users mailing list
>>> Emc-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>>
>
> ------------------------------------------------------------------------------
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

-- 

Regards /Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to