Запустилос

на LPT с внешнее питание +5V
.. W1 - up; W2 - down;W3 - up;W4 - down;W5 - down;W6 - down;W7 - down с хал :
Код: Выделить всё
loadrt trivkins
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[TRAJ]AXES
loadrt hostmot2
loadrt hm2_7i43 ioaddr=0x378 ioaddr_hi=0 epp_wide=1 config="firmware=hm2/7i43-4/SVST4_4.BIT num_encoders=0 num_pwmgens=1 num_stepgens=3"
setp hm2_7i43.0.pwmgen.pwm_frequency 20000
setp hm2_7i43.0.pwmgen.pdm_frequency 6000000
setp hm2_7i43.0.watchdog.timeout_ns 5000000
loadrt pid names=pid.x,pid.y,pid.z,pid.s
dmesg :
Код: Выделить всё
7069.158769] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 7069.158804] , <uses LINUX SYSCALLs>, kstacks pool size = 524288 bytes.
[ 7069.158808] RTAI[sched]: hard timer type/freq = APIC/16611641(Hz); default timing: oneshot; linear timed lists.
[ 7069.158812] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2392251000 hz.
[ 7069.158814] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 7069.163709] RTAI[math]: loaded.
[ 7069.317858] hm2: loading Mesa HostMot2 driver version 0.15
[ 7069.319749] hm2_7i43: loading HostMot2 Mesa 7i43 driver version 0.3
[ 7069.725908] hm2/hm2_7i43.0: 48 I/O Pins used:
[ 7069.725912] hm2/hm2_7i43.0: IO Pin 000 (P4-01): IOPort
[ 7069.725914] hm2/hm2_7i43.0: IO Pin 001 (P4-03): IOPort
[ 7069.725917] hm2/hm2_7i43.0: IO Pin 002 (P4-05): IOPort
[ 7069.725919] hm2/hm2_7i43.0: IO Pin 003 (P4-07): IOPort
[ 7069.725921] hm2/hm2_7i43.0: IO Pin 004 (P4-09): IOPort
[ 7069.725923] hm2/hm2_7i43.0: IO Pin 005 (P4-11): IOPort
[ 7069.725926] hm2/hm2_7i43.0: IO Pin 006 (P4-13): IOPort
[ 7069.725929] hm2/hm2_7i43.0: IO Pin 007 (P4-15): PWMGen #0, pin Out0 (PWM or Up) (Output)
[ 7069.725931] hm2/hm2_7i43.0: IO Pin 008 (P4-17): IOPort
[ 7069.725934] hm2/hm2_7i43.0: IO Pin 009 (P4-19): PWMGen #0, pin Out1 (Dir or Down) (Output)
[ 7069.725936] hm2/hm2_7i43.0: IO Pin 010 (P4-21): IOPort
[ 7069.725939] hm2/hm2_7i43.0: IO Pin 011 (P4-23): PWMGen #0, pin Not-Enable (Output)
[ 7069.725941] hm2/hm2_7i43.0: IO Pin 012 (P4-25): IOPort
[ 7069.725943] hm2/hm2_7i43.0: IO Pin 013 (P4-27): IOPort
[ 7069.725946] hm2/hm2_7i43.0: IO Pin 014 (P4-29): IOPort
[ 7069.725948] hm2/hm2_7i43.0: IO Pin 015 (P4-31): IOPort
[ 7069.725950] hm2/hm2_7i43.0: IO Pin 016 (P4-33): IOPort
[ 7069.725953] hm2/hm2_7i43.0: IO Pin 017 (P4-35): IOPort
[ 7069.725955] hm2/hm2_7i43.0: IO Pin 018 (P4-37): IOPort
[ 7069.725957] hm2/hm2_7i43.0: IO Pin 019 (P4-39): IOPort
[ 7069.725959] hm2/hm2_7i43.0: IO Pin 020 (P4-41): IOPort
[ 7069.725961] hm2/hm2_7i43.0: IO Pin 021 (P4-43): IOPort
[ 7069.725963] hm2/hm2_7i43.0: IO Pin 022 (P4-45): IOPort
[ 7069.725966] hm2/hm2_7i43.0: IO Pin 023 (P4-47): IOPort
[ 7069.725968] hm2/hm2_7i43.0: IO Pin 024 (P3-01): StepGen #0, pin Step (Output)
[ 7069.725971] hm2/hm2_7i43.0: IO Pin 025 (P3-03): StepGen #0, pin Direction (Output)
[ 7069.725974] hm2/hm2_7i43.0: IO Pin 026 (P3-05): IOPort
[ 7069.725976] hm2/hm2_7i43.0: IO Pin 027 (P3-07): IOPort
[ 7069.725978] hm2/hm2_7i43.0: IO Pin 028 (P3-09): IOPort
[ 7069.725980] hm2/hm2_7i43.0: IO Pin 029 (P3-11): IOPort
[ 7069.725983] hm2/hm2_7i43.0: IO Pin 030 (P3-13): StepGen #1, pin Step (Output)
[ 7069.725986] hm2/hm2_7i43.0: IO Pin 031 (P3-15): StepGen #1, pin Direction (Output)
[ 7069.725988] hm2/hm2_7i43.0: IO Pin 032 (P3-17): IOPort
[ 7069.725990] hm2/hm2_7i43.0: IO Pin 033 (P3-19): IOPort
[ 7069.725992] hm2/hm2_7i43.0: IO Pin 034 (P3-21): IOPort
[ 7069.725995] hm2/hm2_7i43.0: IO Pin 035 (P3-23): IOPort
[ 7069.725997] hm2/hm2_7i43.0: IO Pin 036 (P3-25): StepGen #2, pin Step (Output)
[ 7069.726000] hm2/hm2_7i43.0: IO Pin 037 (P3-27): StepGen #2, pin Direction (Output)
[ 7069.726002] hm2/hm2_7i43.0: IO Pin 038 (P3-29): IOPort
[ 7069.726004] hm2/hm2_7i43.0: IO Pin 039 (P3-31): IOPort
[ 7069.726007] hm2/hm2_7i43.0: IO Pin 040 (P3-33): IOPort
[ 7069.726009] hm2/hm2_7i43.0: IO Pin 041 (P3-35): IOPort
[ 7069.726011] hm2/hm2_7i43.0: IO Pin 042 (P3-37): IOPort
[ 7069.726013] hm2/hm2_7i43.0: IO Pin 043 (P3-39): IOPort
[ 7069.726015] hm2/hm2_7i43.0: IO Pin 044 (P3-41): IOPort
[ 7069.726018] hm2/hm2_7i43.0: IO Pin 045 (P3-43): IOPort
[ 7069.726020] hm2/hm2_7i43.0: IO Pin 046 (P3-45): IOPort
[ 7069.726022] hm2/hm2_7i43.0: IO Pin 047 (P3-47): IOPort
[ 7069.726067] hm2/hm2_7i43.0: registered
[ 7069.726069] hm2_7i43.0: board at (ioaddr=0x0378, ioaddr_hi=0x0778, epp_wide ON) found
[ 7069.730658] creating ladder-state
Ето хорошо ,а на USB не хочет ,кто нибуд запускал на USB ?