add ttys

The BeagleBone SBC

add ttys

Postby Richard-TX » Thu Dec 25, 2014 10:58 am

# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
#echo none > /sys/class/leds/beaglebone\:green\:usr0/trigger
echo ttyO1_armhf.com > /sys/devices/bone_capemgr.9/slots
echo ttyO2_armhf.com > /sys/devices/bone_capemgr.9/slots
echo ttyO4_armhf.com > /sys/devices/bone_capemgr.9/slots
echo ttyO5_armhf.com > /sys/devices/bone_capemgr.9/slots
chmod 666 /dev/ttyO*
exit 0
User avatar
Richard-TX
Site Admin
 
Posts: 208
Images: 6
Joined: Sat Feb 04, 2012 8:10 pm

Return to BeagleBone

Who is online

Users browsing this forum: No registered users and 1 guest

cron