⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 install

📁 canbus4linux,来自www.sourceforge.net
💻
字号:
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"  

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -