port parallel

More
14 May 2013 02:16 - 14 May 2013 13:47 #34028 by charrier
port parallel was created by charrier
hi
I must to change my mother card of my computer HP and on this card no parallel port.
I'm buying a new one and install on mother card.
In the bios the adress of the card is 3F8 IRQ4, and i have of choise of three other one, when i see detail on windows the ressource are dc00//dc07 et dc880//d883.

Under windows no problem to print somethings, and i ears the noise of my breakboard cnc.
under linux ubuntu 10.04,I install a new printer brother on parallel port and i can print what i want whitout problem.

When i laught linuxcnc, no problem on the screen, all is all right, but when i connect the break board nothing move, and under mach 3 the mouvement is ok.

i suppose that the parallel port is not connect under linux cnc (0x378) (perhaps, i am not a specialist) and


salutations

rv
Last edit: 14 May 2013 13:47 by charrier. Reason: translate

Please Log in or Create an account to join the conversation.

More
14 May 2013 13:52 - 14 May 2013 13:54 #34047 by ArcEye
Replied by ArcEye on topic port parallel
Hi

Ouvrez un terminal et tapez
lspci-vv > pci.txt
et joindre le fichier pci.txt à un poste

Voir aussi cette FAQ
www.linuxcnc.org/index.php/english/forum...-parallel-port-cards
(le mettre dans google translate)

regards

PS you have just translated your query - that confused me!
Last edit: 14 May 2013 13:54 by ArcEye.

Please Log in or Create an account to join the conversation.

More
14 May 2013 17:22 #34056 by charrier
Replied by charrier on topic port parallel
yes i tranlate and i think that my explains is more precise

i send you pci.txt

i would like, for more information say that the breakboard don't make noise, normaly when i laught linuxcnc, i ear somethings.

regards

rv
Attachments:

Please Log in or Create an account to join the conversation.

More
14 May 2013 17:44 - 14 May 2013 20:13 #34061 by ArcEye
Replied by ArcEye on topic port parallel
This is the bit in question is Kernel driver in use: parport_pc
03:00.0 Parallel controller: Oxford Semiconductor Ltd Device c110 (prog-if 02)
	Subsystem: Oxford Semiconductor Ltd Device c110
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 17
	Region 0: I/O ports at dc00 [size=8]
	Region 1: I/O ports at d880 [size=4]
	Capabilities: <access denied>
	Kernel driver in use: parport_pc
	Kernel modules: parport_pc

You need to blacklist parport_pc by going to /etc/modules.d/linuxcnc.conf
and uncomment (or create ) a line
install parport_pc /bin/true

Then in you hal file change the line
loadrt hal_parport cfg="0x378 out"
to
loadrt hal_parport cfg="0xdc00 out"

That should stop the port being claimed by parport_pc and get linuxcnc to see it

regards
Last edit: 14 May 2013 20:13 by ArcEye.

Please Log in or Create an account to join the conversation.

More
14 May 2013 23:35 #34087 by charrier
Replied by charrier on topic port parallel
hi thanks for your reponse.

i don't find the folder etc/modules.d/linuxcnc.conf but i find in an another folder etc/mdprobe.d/ "linuxnc.conf" is it the good one???

i see in the file the line #install parport_pc /bin/true but i can't remove the #

if it's the good one i can't change anything becaus is looked and i can't change the security because iam not the "propietaire" of this files.

i change in my hal file it's not a problem it's ok


regards

rv

Please Log in or Create an account to join the conversation.

More
14 May 2013 23:58 #34088 by ArcEye
Replied by ArcEye on topic port parallel

i don't find the folder etc/modules.d/linuxcnc.conf but i find in an another folder etc/mdprobe.d/ "linuxnc.conf" is it the good one???


That's the one, did it off the top of my head and got close!

i see in the file the line #install parport_pc /bin/true but i can't remove the #


Just run sudo gedit from a terminal and open the file to edit it

regards

Please Log in or Create an account to join the conversation.

More
15 May 2013 18:43 #34125 by charrier
Replied by charrier on topic port parallel
Ok. The parallèle port Is configured. Thanks for your help.

My mill move, but not well.

The motor don.t move enough. The command of linuxcnc Is ok but the breakboard Is not correct.
I try With stepconf for test every axis xyz without résult.
What Is the paramètre i must change. In hal? In ini ? For trying i used old parameter i used in my old version. Base thread 19300. Servo thread 63000.

Regards

Rv

Please Log in or Create an account to join the conversation.

More
15 May 2013 19:13 - 15 May 2013 19:16 #34127 by ArcEye
Replied by ArcEye on topic port parallel
Hi

... The motor don.t move enough...
What Is the paramètre i must change. In hal? In ini ? For trying i used old parameter i used in my old version. Base thread 19300. Servo thread 63000.


You need to post a zip of your config folder, impossible to guess

Unless you have a hugely fast PC those figures are way off
Try Servo 1000000 Base 100000 to start with
and check that your SCALE= figure is right for your micro stepping, gearing, thread pitch etc.

regards
Last edit: 15 May 2013 19:16 by ArcEye.

Please Log in or Create an account to join the conversation.

More
17 May 2013 22:59 #34250 by charrier
Replied by charrier on topic rtapi error
my new installation is on progress.

i have an error " rtapi error unexpect realtine delay task 1 "

i run 3 glxgears in the same time and the result jitter max is 158970 after 5 hours.

i don't now where i must change the variable

i join my hal and ini file

regards

rv
Attachments:

Please Log in or Create an account to join the conversation.

More
17 May 2013 23:46 #34258 by ArcEye
Replied by ArcEye on topic rtapi error
Hi

Unfortunately high latency is not something that can be edited out by changing variables :P

The only thing that jumps out immediately in in your hal file
setp parport.0.reset-time 105000

This figure is 200 times higher than the one on one of my machines, try setting it to 1000

Your MB is AMD, with an AMD / ATI chipset, so there is no SMI to consider.

The video could be problematic if it is reacting to glxgears

01:05.0 VGA compatible controller: ATI Technologies Inc 760G [Radeon 3000]
Subsystem: ASUSTeK Computer Inc. Device 8388
Kernel modules: fglrx, radeon


See these links
wiki.linuxcnc.org/cgi-bin/wiki.pl?TroubleShooting
www.linuxcnc.org/index.php/english/forum...me-latency-solutions

You can try the vesa driver and /or the software gl libraries
Looks like the fglrx driver can be problematic, especially if you have the closed source propriatary one

You may want to try the open source one, or if that is already installed just the vesa one

regards

Please Log in or Create an account to join the conversation.

Time to create page: 0.112 seconds
Powered by Kunena Forum