parallel port drivers
- Dragonbitscnc
- Offline
- Senior Member
Less
More
- Posts: 41
- Thank you received: 0
06 Jun 2021 13:51 #211299
by Dragonbitscnc
Replied by Dragonbitscnc on topic parallel port drivers
ok I'll try that when I get to the shop. I'll let you know
Please Log in or Create an account to join the conversation.
- Dragonbitscnc
- Offline
- Senior Member
Less
More
- Posts: 41
- Thank you received: 0
06 Jun 2021 16:15 #211305
by Dragonbitscnc
Replied by Dragonbitscnc on topic parallel port drivers
no change, this is HAL file displaying change as out.
# Generated by stepconf 1.1 at Sun Jun 6 09:06:05 2021
# If you make changes to this file, they will be
# overwritten when you run stepconf again
loadrt [KINS]KINEMATICS
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
loadrt hal_parport cfg="0xd010 out"
setp parport.0.reset-time 1000
loadrt stepgen step_type=0,0,0
loadrt pwmgen output_type=1
are drivers fir parallel port needed?
# Generated by stepconf 1.1 at Sun Jun 6 09:06:05 2021
# If you make changes to this file, they will be
# overwritten when you run stepconf again
loadrt [KINS]KINEMATICS
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
loadrt hal_parport cfg="0xd010 out"
setp parport.0.reset-time 1000
loadrt stepgen step_type=0,0,0
loadrt pwmgen output_type=1
are drivers fir parallel port needed?
Please Log in or Create an account to join the conversation.
- Dragonbitscnc
- Offline
- Senior Member
Less
More
- Posts: 41
- Thank you received: 0
06 Jun 2021 16:27 #211306
by Dragonbitscnc
Replied by Dragonbitscnc on topic parallel port drivers
I found this video about parport @ the 2min mark he also had input
Please Log in or Create an account to join the conversation.
- BeagleBrainz
- Offline
- User is blocked
Less
More
- Posts: 1437
- Thank you received: 570
06 Jun 2021 18:02 #211312
by BeagleBrainz
Replied by BeagleBrainz on topic parallel port drivers
Have a look at this thread, forum.linuxcnc.org/27-driver-boards/4254...ter-what-i-try-to-do there is some info about testing the parallel port, run that and see how you go.
Please Log in or Create an account to join the conversation.
- Dragonbitscnc
- Offline
- Senior Member
Less
More
- Posts: 41
- Thank you received: 0
06 Jun 2021 19:04 #211321
by Dragonbitscnc
Replied by Dragonbitscnc on topic parallel port drivers
this is coming up all 00's
john@LinuxCNC:~$ cat /proc/ioports* -v
0000-0000 : PCI Bus 0000:00
0000-0000 : dma1
0000-0000 : pic1
0000-0000 : timer0
0000-0000 : timer1
0000-0000 : keyboard
0000-0000 : PNP0C09:00
0000-0000 : EC data
0000-0000 : keyboard
0000-0000 : PNP0C09:00
0000-0000 : EC cmd
0000-0000 : rtc0
0000-0000 : dma page reg
0000-0000 : pic2
0000-0000 : dma2
0000-0000 : fpu
0000-0000 : iTCO_wdt
0000-0000 : iTCO_wdt
0000-0000 : pnp 00:00
0000-0000 : PCI conf1
0000-0000 : PCI Bus 0000:00
0000-0000 : pnp 00:00
0000-0000 : pnp 00:00
0000-0000 : ACPI PM1a_EVT_BLK
0000-0000 : ACPI PM1a_CNT_BLK
0000-0000 : ACPI PM_TMR
0000-0000 : iTCO_wdt
0000-0000 : iTCO_wdt
0000-0000 : ACPI PM2_CNT_BLK
0000-0000 : pnp 00:02
0000-0000 : ACPI GPE0_BLK
0000-0000 : PCI Bus 0000:04
0000-0000 : 0000:04:00.0
0000-0000 : 0000:04:00.0
0000-0000 : parport0
0000-0000 : parport0
0000-0000 : PCI Bus 0000:02
0000-0000 : 0000:02:00.0
0000-0000 : 0000:00:02.0
0000-0000 : 0000:00:1f.4
0000-0000 : i801_smbus
0000-0000 : pnp 00:06
0000-0000 : pnp 00:00
0000-0000 : pnp 00:00
0000-0000 : pnp 00:00
john@LinuxCNC:~$ cat /proc/ioports
john@LinuxCNC:~$ cat /proc/ioports* -v
0000-0000 : PCI Bus 0000:00
0000-0000 : dma1
0000-0000 : pic1
0000-0000 : timer0
0000-0000 : timer1
0000-0000 : keyboard
0000-0000 : PNP0C09:00
0000-0000 : EC data
0000-0000 : keyboard
0000-0000 : PNP0C09:00
0000-0000 : EC cmd
0000-0000 : rtc0
0000-0000 : dma page reg
0000-0000 : pic2
0000-0000 : dma2
0000-0000 : fpu
0000-0000 : iTCO_wdt
0000-0000 : iTCO_wdt
0000-0000 : pnp 00:00
0000-0000 : PCI conf1
0000-0000 : PCI Bus 0000:00
0000-0000 : pnp 00:00
0000-0000 : pnp 00:00
0000-0000 : ACPI PM1a_EVT_BLK
0000-0000 : ACPI PM1a_CNT_BLK
0000-0000 : ACPI PM_TMR
0000-0000 : iTCO_wdt
0000-0000 : iTCO_wdt
0000-0000 : ACPI PM2_CNT_BLK
0000-0000 : pnp 00:02
0000-0000 : ACPI GPE0_BLK
0000-0000 : PCI Bus 0000:04
0000-0000 : 0000:04:00.0
0000-0000 : 0000:04:00.0
0000-0000 : parport0
0000-0000 : parport0
0000-0000 : PCI Bus 0000:02
0000-0000 : 0000:02:00.0
0000-0000 : 0000:00:02.0
0000-0000 : 0000:00:1f.4
0000-0000 : i801_smbus
0000-0000 : pnp 00:06
0000-0000 : pnp 00:00
0000-0000 : pnp 00:00
0000-0000 : pnp 00:00
john@LinuxCNC:~$ cat /proc/ioports
Please Log in or Create an account to join the conversation.
- Dragonbitscnc
- Offline
- Senior Member
Less
More
- Posts: 41
- Thank you received: 0
06 Jun 2021 19:08 #211322
by Dragonbitscnc
Replied by Dragonbitscnc on topic parallel port drivers
I used sudo and got this
john@LinuxCNC:~$ sudo cat /proc/ioports
[sudo] password for john:
0000-0cf7 : PCI Bus 0000:00
0000-001f : dma1
0020-0021 : pic1
0040-0043 : timer0
0050-0053 : timer1
0060-0060 : keyboard
0062-0062 : PNP0C09:00
0062-0062 : EC data
0064-0064 : keyboard
0066-0066 : PNP0C09:00
0066-0066 : EC cmd
0070-0077 : rtc0
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
0400-041f : iTCO_wdt
0400-041f : iTCO_wdt
0680-069f : pnp 00:00
0cf8-0cff : PCI conf1
0d00-ffff : PCI Bus 0000:00
164e-164f : pnp 00:00
1800-18fe : pnp 00:00
1800-1803 : ACPI PM1a_EVT_BLK
1804-1805 : ACPI PM1a_CNT_BLK
1808-180b : ACPI PM_TMR
1830-1833 : iTCO_wdt
1830-1833 : iTCO_wdt
1850-1850 : ACPI PM2_CNT_BLK
1854-1857 : pnp 00:02
1880-189f : ACPI GPE0_BLK
d000-dfff : PCI Bus 0000:04
d000-d003 : 0000:04:00.0
d010-d017 : 0000:04:00.0
d010-d012 : parport0
d013-d017 : parport0
e000-efff : PCI Bus 0000:02
e000-e0ff : 0000:02:00.0
f000-f03f : 0000:00:02.0
f040-f05f : 0000:00:1f.4
f040-f05f : i801_smbus
ff00-fffe : pnp 00:06
ffff-ffff : pnp 00:00
ffff-ffff : pnp 00:00
ffff-ffff : pnp 00:00
john@LinuxCNC:~$ sudo cat /proc/ioports
[sudo] password for john:
0000-0cf7 : PCI Bus 0000:00
0000-001f : dma1
0020-0021 : pic1
0040-0043 : timer0
0050-0053 : timer1
0060-0060 : keyboard
0062-0062 : PNP0C09:00
0062-0062 : EC data
0064-0064 : keyboard
0066-0066 : PNP0C09:00
0066-0066 : EC cmd
0070-0077 : rtc0
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
0400-041f : iTCO_wdt
0400-041f : iTCO_wdt
0680-069f : pnp 00:00
0cf8-0cff : PCI conf1
0d00-ffff : PCI Bus 0000:00
164e-164f : pnp 00:00
1800-18fe : pnp 00:00
1800-1803 : ACPI PM1a_EVT_BLK
1804-1805 : ACPI PM1a_CNT_BLK
1808-180b : ACPI PM_TMR
1830-1833 : iTCO_wdt
1830-1833 : iTCO_wdt
1850-1850 : ACPI PM2_CNT_BLK
1854-1857 : pnp 00:02
1880-189f : ACPI GPE0_BLK
d000-dfff : PCI Bus 0000:04
d000-d003 : 0000:04:00.0
d010-d017 : 0000:04:00.0
d010-d012 : parport0
d013-d017 : parport0
e000-efff : PCI Bus 0000:02
e000-e0ff : 0000:02:00.0
f000-f03f : 0000:00:02.0
f040-f05f : 0000:00:1f.4
f040-f05f : i801_smbus
ff00-fffe : pnp 00:06
ffff-ffff : pnp 00:00
ffff-ffff : pnp 00:00
ffff-ffff : pnp 00:00
Please Log in or Create an account to join the conversation.
- Dragonbitscnc
- Offline
- Senior Member
Less
More
- Posts: 41
- Thank you received: 0
06 Jun 2021 19:14 #211323
by Dragonbitscnc
Replied by Dragonbitscnc on topic parallel port drivers
Should I be looking at the PCI bus? My parallel port is pluged into PCIe slot
0cf8-0cff : PCI conf1
0d00-ffff : PCI Bus 0000:00
d000-dfff : PCI Bus 0000:04
0cf8-0cff : PCI conf1
0d00-ffff : PCI Bus 0000:00
d000-dfff : PCI Bus 0000:04
Please Log in or Create an account to join the conversation.
06 Jun 2021 19:23 - 06 Jun 2021 19:37 #211327
by PCW
This seems _way_ too short a step time for most step/dir drivers
try setting this to 5000 and see what happens
No linux drivers are needed (though the linux driver found your card)
LinuxCNC uses hal_parport to access the parallel port
Replied by PCW on topic parallel port drivers
setp parport.0.reset-time 1000
This seems _way_ too short a step time for most step/dir drivers
try setting this to 5000 and see what happens
are drivers fir parallel port needed?
No linux drivers are needed (though the linux driver found your card)
LinuxCNC uses hal_parport to access the parallel port
Last edit: 06 Jun 2021 19:37 by PCW.
Please Log in or Create an account to join the conversation.
- Dragonbitscnc
- Offline
- Senior Member
Less
More
- Posts: 41
- Thank you received: 0
06 Jun 2021 19:27 #211329
by Dragonbitscnc
Replied by Dragonbitscnc on topic parallel port drivers
Ok
Please Log in or Create an account to join the conversation.
- Dragonbitscnc
- Offline
- Senior Member
Less
More
- Posts: 41
- Thank you received: 0
06 Jun 2021 19:33 #211330
by Dragonbitscnc
Replied by Dragonbitscnc on topic parallel port drivers
nothing'
Please Log in or Create an account to join the conversation.
Time to create page: 0.104 seconds