start up Help
05 Feb 2012 14:00 #17431
by paulocgcc
Replied by paulocgcc on topic Re:start up Help
Rick,
My lspci -v is
04:00.0 Parallel controller: NetMos Technology PCI 9865 Multi-I/O Controller (prog-if 03)
Subsystem: Device a000:2000
Flags: bus master, medium devsel, latency 64, IRQ 7
I/O ports at ec00
I/O ports at e880
Memory at febff000 (32-bit, non-prefetchable) [size=4K]
Memory at febfe000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
And my lspci -vv is
04:00.0 Parallel controller: NetMos Technology PCI 9865 Multi-I/O Controller (prog-if 03)
Subsystem: Device a000:2000
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 7
Region 0: I/O ports at ec00
Region 1: I/O ports at e880
Region 2: Memory at febff000 (32-bit, non-prefetchable) [size=4K]
Region 4: Memory at febfe000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
As you can see, differently from yours, in lspci -v, it does not ends with kernel (I don't now if it means something)
I have no result on dmesg|grep parport even with sudo first, on the other hand I have a result in dmesg|grep par
paulocgcc@paulocgcc-desktop:~$ dmesg|grep par
[ 0.194024] pci 0000:00:1e.0: transparent bridge
[ 9.748955] ppdev: user-space parallel port driver
My lspci -v is
04:00.0 Parallel controller: NetMos Technology PCI 9865 Multi-I/O Controller (prog-if 03)
Subsystem: Device a000:2000
Flags: bus master, medium devsel, latency 64, IRQ 7
I/O ports at ec00
I/O ports at e880
Memory at febff000 (32-bit, non-prefetchable) [size=4K]
Memory at febfe000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
And my lspci -vv is
04:00.0 Parallel controller: NetMos Technology PCI 9865 Multi-I/O Controller (prog-if 03)
Subsystem: Device a000:2000
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 7
Region 0: I/O ports at ec00
Region 1: I/O ports at e880
Region 2: Memory at febff000 (32-bit, non-prefetchable) [size=4K]
Region 4: Memory at febfe000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
As you can see, differently from yours, in lspci -v, it does not ends with kernel (I don't now if it means something)
I have no result on dmesg|grep parport even with sudo first, on the other hand I have a result in dmesg|grep par
paulocgcc@paulocgcc-desktop:~$ dmesg|grep par
[ 0.194024] pci 0000:00:1e.0: transparent bridge
[ 9.748955] ppdev: user-space parallel port driver
Please Log in or Create an account to join the conversation.
05 Feb 2012 14:03 #17432
by paulocgcc
Replied by paulocgcc on topic Re:start up Help
Rick
I will try the address e880 and return to you later.
Thanks
PC
I will try the address e880 and return to you later.
Thanks
PC
Please Log in or Create an account to join the conversation.
05 Feb 2012 15:18 - 05 Feb 2012 15:18 #17436
by Rick G
Replied by Rick G on topic Re:start up Help
Can you try
cat /proc/ioports
again and see if you can find parport there?
Can you return to the bios settings that worked the best and run
cat /proc/ioports
and
dmesg|grep par
again to see if you can find parport?
You may want to look here again.
wiki.linuxcnc.org/cgi-bin/wiki.pl?NetMos
Rick G
cat /proc/ioports
again and see if you can find parport there?
Can you return to the bios settings that worked the best and run
cat /proc/ioports
and
dmesg|grep par
again to see if you can find parport?
You may want to look here again.
wiki.linuxcnc.org/cgi-bin/wiki.pl?NetMos
Rick G
Last edit: 05 Feb 2012 15:18 by Rick G.
Please Log in or Create an account to join the conversation.
05 Feb 2012 16:31 #17437
by paulocgcc
Replied by paulocgcc on topic Re:start up Help
Rick,
Here is
paulocgcc@paulocgcc-desktop:~$ cat /proc/ioports
0000-001f : dma1
0020-0021 : pic1
0040-0043 : timer0
0050-0053 : timer1
0060-0060 : keyboard
0064-0064 : keyboard
0070-0071 : rtc0
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : 0000:00:1f.1
0170-0177 : ata_piix
01f0-01f7 : 0000:00:1f.1
01f0-01f7 : ata_piix
0290-029f : pnp 00:07
0376-0376 : 0000:00:1f.1
0376-0376 : ata_piix
03c0-03df : vga+
03f2-03f2 : floppy
03f4-03f5 : floppy
03f6-03f6 : 0000:00:1f.1
03f6-03f6 : ata_piix
03f7-03f7 : floppy
0400-041f : pnp 00:08
0480-04bf : 0000:00:1f.0
0480-04bf : pnp 00:08
04d0-04d1 : pnp 00:08
0800-087f : 0000:00:1f.0
0800-087f : pnp 00:08
0800-0803 : ACPI PM1a_EVT_BLK
0804-0805 : ACPI PM1a_CNT_BLK
0808-080b : ACPI PM_TMR
0828-082f : ACPI GPE0_BLK
0a20-0a2f : pnp 00:07
0a30-0a3f : pnp 00:07
0c00-0c0f : pnp 00:07
0cf8-0cff : PCI conf1
1000-1fff : PCI Bus 0000:03
2000-2fff : PCI Bus 0000:01
b800-b80f : 0000:00:1f.2
b800-b80f : ata_piix
b880-b883 : 0000:00:1f.2
b880-b883 : ata_piix
bc00-bc07 : 0000:00:1f.2
bc00-bc07 : ata_piix
c000-c003 : 0000:00:1f.2
c000-c003 : ata_piix
c080-c087 : 0000:00:1f.2
c080-c087 : ata_piix
c400-c41f : 0000:00:1d.0
c400-c41f : uhci_hcd
c480-c49f : 0000:00:1d.1
c480-c49f : uhci_hcd
c800-c81f : 0000:00:1d.2
c800-c81f : uhci_hcd
c880-c89f : 0000:00:1d.3
c880-c89f : uhci_hcd
cc00-cc07 : 0000:00:02.0
d000-dfff : PCI Bus 0000:02
d800-d8ff : 0000:02:00.0
d800-d8ff : r8169
e000-efff : PCI Bus 0000:04
e880-e887 : 0000:04:00.0
ec00-ec07 : 0000:04:00.0
ffa0-ffaf : 0000:00:1f.1
ffa0-ffaf : ata_piix
ec00 is there, but first comes ec880, it says PCI Bus, not parallel port. Is this a issue?
I did not tried yet in .hal the e880 instead of ec00.
I'm installing the 2 missing steps that arrived from US, as soon as I finished it I will reactivate the onboard parport and set for ECP type at Bios. This was the way that worked for 2 axles (y and z) before I swap it with driver box on...(I did not had at that time the offboard parport)
Here is
paulocgcc@paulocgcc-desktop:~$ cat /proc/ioports
0000-001f : dma1
0020-0021 : pic1
0040-0043 : timer0
0050-0053 : timer1
0060-0060 : keyboard
0064-0064 : keyboard
0070-0071 : rtc0
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : 0000:00:1f.1
0170-0177 : ata_piix
01f0-01f7 : 0000:00:1f.1
01f0-01f7 : ata_piix
0290-029f : pnp 00:07
0376-0376 : 0000:00:1f.1
0376-0376 : ata_piix
03c0-03df : vga+
03f2-03f2 : floppy
03f4-03f5 : floppy
03f6-03f6 : 0000:00:1f.1
03f6-03f6 : ata_piix
03f7-03f7 : floppy
0400-041f : pnp 00:08
0480-04bf : 0000:00:1f.0
0480-04bf : pnp 00:08
04d0-04d1 : pnp 00:08
0800-087f : 0000:00:1f.0
0800-087f : pnp 00:08
0800-0803 : ACPI PM1a_EVT_BLK
0804-0805 : ACPI PM1a_CNT_BLK
0808-080b : ACPI PM_TMR
0828-082f : ACPI GPE0_BLK
0a20-0a2f : pnp 00:07
0a30-0a3f : pnp 00:07
0c00-0c0f : pnp 00:07
0cf8-0cff : PCI conf1
1000-1fff : PCI Bus 0000:03
2000-2fff : PCI Bus 0000:01
b800-b80f : 0000:00:1f.2
b800-b80f : ata_piix
b880-b883 : 0000:00:1f.2
b880-b883 : ata_piix
bc00-bc07 : 0000:00:1f.2
bc00-bc07 : ata_piix
c000-c003 : 0000:00:1f.2
c000-c003 : ata_piix
c080-c087 : 0000:00:1f.2
c080-c087 : ata_piix
c400-c41f : 0000:00:1d.0
c400-c41f : uhci_hcd
c480-c49f : 0000:00:1d.1
c480-c49f : uhci_hcd
c800-c81f : 0000:00:1d.2
c800-c81f : uhci_hcd
c880-c89f : 0000:00:1d.3
c880-c89f : uhci_hcd
cc00-cc07 : 0000:00:02.0
d000-dfff : PCI Bus 0000:02
d800-d8ff : 0000:02:00.0
d800-d8ff : r8169
e000-efff : PCI Bus 0000:04
e880-e887 : 0000:04:00.0
ec00-ec07 : 0000:04:00.0
ffa0-ffaf : 0000:00:1f.1
ffa0-ffaf : ata_piix
ec00 is there, but first comes ec880, it says PCI Bus, not parallel port. Is this a issue?
I did not tried yet in .hal the e880 instead of ec00.
I'm installing the 2 missing steps that arrived from US, as soon as I finished it I will reactivate the onboard parport and set for ECP type at Bios. This was the way that worked for 2 axles (y and z) before I swap it with driver box on...(I did not had at that time the offboard parport)
Please Log in or Create an account to join the conversation.
05 Feb 2012 17:26 #17438
by paulocgcc
Replied by paulocgcc on topic Re:start up Help
Rick,
We are finally getting some!! (actually you)
Here is after setting back Bios and Onboard parport at 378
paulocgcc@paulocgcc-desktop:~$ dmesg|grep parport
[ 8.459244] parport_pc 00:07: reported by Plug and Play ACPI
[ 8.459319] parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
[ 8.552880] lp0: using parport0 (interrupt-driven).
I didn't had time to connect and turn on my driver box, but If I do so and don't work, I think I really screwed up my driver at the time I connected it when it was on
We are finally getting some!! (actually you)
Here is after setting back Bios and Onboard parport at 378
paulocgcc@paulocgcc-desktop:~$ dmesg|grep parport
[ 8.459244] parport_pc 00:07: reported by Plug and Play ACPI
[ 8.459319] parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
[ 8.552880] lp0: using parport0 (interrupt-driven).
I didn't had time to connect and turn on my driver box, but If I do so and don't work, I think I really screwed up my driver at the time I connected it when it was on
Please Log in or Create an account to join the conversation.
05 Feb 2012 18:40 #17439
by Rick G
Replied by Rick G on topic Re:start up Help
O.K. that is a good sign. The parallel port was found at 0x378
Be sure that you change to that address in your files and connect the parallel port cable to that port.
If for some reason all is not well you could reload the original Sherline files that you started with.
Good luck,
Rick G
Be sure that you change to that address in your files and connect the parallel port cable to that port.
If for some reason all is not well you could reload the original Sherline files that you started with.
Good luck,
Rick G
Please Log in or Create an account to join the conversation.
05 Feb 2012 18:58 #17441
by paulocgcc
Replied by paulocgcc on topic Re:start up Help
Well Rick,
Here we are. Everything is connected, turned on in proper moment but drivers don't work. Here is the picture:
- I'm using Sherline 3axles mm configuration standard from EMC2. Respectively EMC2 .hal file is set for port 378, probing parport first
- I'm getting dmesg
- No movement from drivers.
Everything leads to inevitable overcharged on control box
You help and teach me a lot, but I think that I have to consider send it to Sherline for tests and fix
Regards
Paulo
Here we are. Everything is connected, turned on in proper moment but drivers don't work. Here is the picture:
- I'm using Sherline 3axles mm configuration standard from EMC2. Respectively EMC2 .hal file is set for port 378, probing parport first
- I'm getting dmesg
- No movement from drivers.
Everything leads to inevitable overcharged on control box
You help and teach me a lot, but I think that I have to consider send it to Sherline for tests and fix
Regards
Paulo
Please Log in or Create an account to join the conversation.
05 Feb 2012 20:09 #17442
by BigJohnT
Replied by BigJohnT on topic Re:start up Help
If that setup uses a parallel port cable have you checked it? Some parallel port cables do not bring all the pins out.
Does your setup have any inputs like limit switches that you can cycle and see the paraport pin change states?
John
Does your setup have any inputs like limit switches that you can cycle and see the paraport pin change states?
John
Please Log in or Create an account to join the conversation.
05 Feb 2012 20:37 #17443
by paulocgcc
Replied by paulocgcc on topic Re:start up Help
John,
The cable is the original that came with Sherline Driver Control Box, all pins are out there. It already worked once with the exactly configuration that is now on, but again, I did not notice the Sherline warning about not connect cables with box turned on.
I just had one step motor when I did the tests, and with the excitement of it working for the first time, I started to pull out the cables and switch between the axles to see the Y and Z ... I know it was stupid, and now I paid the price...
I already contact Sherline, the tech guy said that I probably just screw up the fuses, is a easy fix, but my control box is not the last model, so the fuses are welded on the board, so I have to send it back to them to fix it. (in the new model, the fuses can be changed by user)
I'm not an electronic guy, so even opening the box I can't tell if the fuses are damaged or not (there are dozens of small resistors and electronic parts that I'm not familiarised with)
Regards
Paulo
The cable is the original that came with Sherline Driver Control Box, all pins are out there. It already worked once with the exactly configuration that is now on, but again, I did not notice the Sherline warning about not connect cables with box turned on.
I just had one step motor when I did the tests, and with the excitement of it working for the first time, I started to pull out the cables and switch between the axles to see the Y and Z ... I know it was stupid, and now I paid the price...
I already contact Sherline, the tech guy said that I probably just screw up the fuses, is a easy fix, but my control box is not the last model, so the fuses are welded on the board, so I have to send it back to them to fix it. (in the new model, the fuses can be changed by user)
I'm not an electronic guy, so even opening the box I can't tell if the fuses are damaged or not (there are dozens of small resistors and electronic parts that I'm not familiarised with)
Regards
Paulo
Please Log in or Create an account to join the conversation.
05 Feb 2012 21:55 - 05 Feb 2012 21:59 #17445
by Rick G
Replied by Rick G on topic Re:start up Help
O.K.
John has a good point about the input switch.
From sherline connections in manual...
This seems to indicate that there is a home switch on the axis.
Besides the plugs for the drivers are is there also a cable for the home or limits switch?
Look in your config file to see if it exists.
If there is you could try...
Go back to watch pins in hal configuration and select parallel port pin 12 to watch and toggle the home switch on your machine see if the indicator in hal changes, if it does that would show that the parallel port is working.
Besides the plugs for the drivers are is there also a cable for the home or limits switch?
I just looked at the sample Sherline on my machine and it does not show a limit switch hooked up.
John has a good point about the input switch.
From sherline connections in manual...
12 - Output to EMC, XYZ home (may be ignored in other systems)
This seems to indicate that there is a home switch on the axis.
Besides the plugs for the drivers are is there also a cable for the home or limits switch?
Look in your config file to see if it exists.
If there is you could try...
Go back to watch pins in hal configuration and select parallel port pin 12 to watch and toggle the home switch on your machine see if the indicator in hal changes, if it does that would show that the parallel port is working.
Besides the plugs for the drivers are is there also a cable for the home or limits switch?
I just looked at the sample Sherline on my machine and it does not show a limit switch hooked up.
Last edit: 05 Feb 2012 21:59 by Rick G.
Please Log in or Create an account to join the conversation.
Time to create page: 0.125 seconds