User Tools

Site Tools


robots:computer:navigation:computer

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
robots:computer:navigation:computer [2013/12/02 16:40]
kim
robots:computer:navigation:computer [2021/08/14 04:21] (current)
Line 10: Line 10:
 __**Installing CANBUS on linux:**__ ortcan.sourceforge.net/lincan/ __**Installing CANBUS on linux:**__ ortcan.sourceforge.net/lincan/
 To Kim: remember to post guide here. To Kim: remember to post guide here.
 +Guide: To install lincan:
 +First download the source files, either from the webpage or from github.
 +Then run the ./build-lincan.sh, this will make everything we need and save it in the folder build-lincan
 +The module needed by insmod(install module) is located in the _compiled folder, under modules. 
 +
 +Now go to /etc folder and locate rc.local, here write the line:
 +insmod [path to lincan.ko] hw=pcm3680 irq=7,11 io=0xda00 baudrate=250,250 (in this case, baudrate can be changed.)
 +
 +test the installation with rhdconfig.hako.xml.
 +
 +
 +==== Grub problem - Statrup freezes in Bootmenu ====
 +If there has been an error with the computer for some reason, Grub is setup to ask the user to select which operating system it should load. The problem is a usb-keyboard is not recognised so it is impossible to start the OS. Rebooting does not help, the error will still remain.
 +
 +=== Solution ===
 +<note important>this solution assumes that you are running Ubuntu</note>
 +Take out the Compactflash card, and mount it with a cardreader on your own computer.
 +
 +Open a terminal and navigate to the folder
 +  /media/[user]/51e13800-d7fd-4da3-82ba-6442e5c08ca4/boot/grub
 +[user] should be replaced with the username you are using. For example
 +  /media/claes/51e13800-d7fd-4da3-82ba-6442e5c08ca4/boot/grub
 +Now run the following command to edit the grub configuration
 +  sudo gedit grub.cfg
 +you can use any editor you like instead of gedit.
 +
 +Go to line 44 and change the line
 +  set timeout=-1
 +to
 +  set timeout=0
 +If it is not line 44 find this in the file
 +<code>
 +if [ "${recordfail}" = 1 ]; then
 +  set timeout=-1
 +else
 +  set timeout=8
 +fi
 +</code>
 +change it to this 
 +<code>
 +if [ "${recordfail}" = 1 ]; then
 +  set timeout=0
 +else
 +  set timeout=8
 +fi
 +</code>
 +
 +Save the file, put the card back in the computer and start it again.
 +
 +<note warning>Remeber to change the settings back again once the computer is started</note>
 +
robots/computer/navigation/computer.1385998849.txt.gz · Last modified: 2021/08/14 04:20 (external edit)