Created
June 19, 2014 17:24
-
-
Save pdp7/8a8fb9e2d2e1aef232d2 to your computer and use it in GitHub Desktop.
more ti eqep video notes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
afustini@lappy486:~$ ssh root@beaglebone.local | |
Warning: the ECDSA host key for 'beaglebone.local' differs from the key for the IP address '192.168.0.105' | |
Offending key for IP in /media/ssd/home/afustini/.ssh/known_hosts:399 | |
Matching host key in /media/ssd/home/afustini/.ssh/known_hosts:401 | |
Are you sure you want to continue connecting (yes/no)? yes | |
Debian GNU/Linux 7 | |
BeagleBoard.org BeagleBone Debian Image 2014-05-14 | |
Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian | |
Last login: Thu Jun 19 17:19:15 2014 from 192.168.0.101 | |
(reverse-i-search)`echo ': ^Cho 0 > position | |
root@beaglebone:~# ls -la /sys/devices/ocp.*/48304000.epwmss/48304180.eqep/ | |
total 0 | |
drwxr-xr-x 3 root root 0 Jun 19 16:19 . | |
drwxr-xr-x 4 root root 0 Jun 19 16:19 .. | |
lrwxrwxrwx 1 root root 0 Jun 19 16:39 driver -> ../../../../bus/platform/drivers/eqep | |
-rw-r--r-- 1 root root 4096 Jun 19 16:39 enabled | |
-r--r--r-- 1 root root 4096 Jun 19 16:39 modalias | |
-rw-r--r-- 1 root root 4096 Jun 19 17:05 mode | |
-rw-r--r-- 1 root root 4096 Jun 19 17:05 period | |
-rw-r--r-- 1 root root 4096 Jun 19 17:05 position | |
drwxr-xr-x 2 root root 0 Jun 19 16:39 power | |
lrwxrwxrwx 1 root root 0 Jun 19 16:19 subsystem -> ../../../../bus/platform | |
-rw-r--r-- 1 root root 4096 Jun 19 16:19 uevent | |
root@beaglebone:~# echo bone_eqep2alt > /sys/devices/bone_capemgr.9/slots | |
root@beaglebone:~# echo bone_eqep2alt > /sys/devices/bone_capemgr.*/slots | |
root@beaglebone:~# cat /sys/devices/ocp.*/48304000.epwmss/48304180.eqep/position | |
333130 | |
root@beaglebone:~# cat /sys/devices/ocp.3/48304000.epwmss/48304180.eqep/position | |
333130 | |
root@beaglebone:~# cat /sys/devices/ocp.3/48304000.epwmss/48304180.eqep/position | |
333130 | |
root@beaglebone:~# echo 0 > /sys/devices/ocp.3/48304000.epwmss/48304180.eqep/position | |
root@beaglebone:~# cat /sys/devices/ocp.3/48304000.epwmss/48304180.eqep/position | |
0 | |
root@beaglebone:~# cat /sys/devices/ocp.3/48304000.epwmss/48304180.eqep/period | |
100000000 | |
root@beaglebone:~# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment