?? install
字號:
Basic instructions:- you need GCC 3.2.x, with older versions of gcc the source may compile or may not compile- 'cd' into the directory, containing the package- make- make install "make install" will do following: - copy driver files (*.o) into /lib/modules/<linux-version>/misc - copy canbus4linux.h into /usr/src/linux/include - call "depmod -a" - create /dev/can? entries- insert following lines into /etc/modules.conf: only ELEKTOR CAN Card -------------------------------------------------- alias char-major-91 elektor_canpar or only CAN200 Card -------------------------------------------------- alias char-major-91 can200par or both CAN Cards (kernel < 2.4.0) -------------------------------------------------- alias char-major-91 elektor_canpar post-install elektor_canpar /sbin/modprobe "-k" can200par or both CAN Cards (kernel >= 2.4.0, this should also work with 2.2.x) -------------------------------------------------- alias char-major-91 canbus probeall canbus elektor_canpar can200par -------------------------------------------------- If you have a 16 MHz crystal on your CAN200 board (as I), you must set the frequency option also: -------------------------------------------------- option can200par frequency=16000000 -------------------------------------------------- - Also set the IRQ for the parport driver for example (IRQ 7 for LPT1): -------------------------------------------------- options parport_pc io=0x378 irq=7,none --------------------------------------------------- Sometimes (it depends on the kernel version) the above settings doesn't work. Then try out: -------------------------------------------------- options parport_pc io=0x378 irq=auto --------------------------------------------------- after changing "modules.conf" do a "depmod -a"
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -