This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
robots:computer:navigation:computer [2013/11/07 15:57] kim |
robots:computer:navigation:computer [2021/08/14 04:21] (current) |
||
|---|---|---|---|
| Line 9: | Line 9: | ||
| __**Installing CANBUS on linux:**__ ortcan.sourceforge.net/ | __**Installing CANBUS on linux:**__ ortcan.sourceforge.net/ | ||
| + | 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 ./ | ||
| + | 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, | ||
| + | |||
| + | 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> | ||
| + | Take out the Compactflash card, and mount it with a cardreader on your own computer. | ||
| + | |||
| + | Open a terminal and navigate to the folder | ||
| + | / | ||
| + | [user] should be replaced with the username you are using. For example | ||
| + | / | ||
| + | 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 | ||
| + | < | ||
| + | if [ " | ||
| + | set timeout=-1 | ||
| + | else | ||
| + | set timeout=8 | ||
| + | fi | ||
| + | </ | ||
| + | change it to this | ||
| + | < | ||
| + | if [ " | ||
| + | set timeout=0 | ||
| + | else | ||
| + | set timeout=8 | ||
| + | fi | ||
| + | </ | ||
| + | |||
| + | Save the file, put the card back in the computer and start it again. | ||
| + | |||
| + | <note warning> | ||
| + | |||