readmeisa.txt
来自「linux 内核版本2.6.18下的pmac运动控制卡驱动源程序」· 文本 代码 · 共 39 行
TXT
39 行
1. Unzip and Untar the file by *Structure of pmac.0.0.1 directory pmac.0.0.1 --------|--isa (Contains device driver files) |--lib (Contains library files) |--test (Sample Application) *You can remove pmac.0.0.1.tarDRIVER INSTALLATION:2. In pmac.0.0.1/isa/Makefile (if required) 3.1 change $(INCLUDEDIR) to target machine include dir 3.2 change $(INSTALLDIR) to target machine /lib/modules/.../pmac3. Run Make in pmac.0.0.1/isa directory as 4.1 $make 4.2 $make install4. Run depmod -a to update modules.dep 5.1 $depmod -a5. Put the HOST and DPR parameters in /etc/modules.conf e.g. you can write options pmacisa host=0x210,0x220,0x230 dpr=0xD4000,0,0 *There must not be any space between host values and dpr values.6. Run ./load from pmac.0.0.1/isa directory.7. For any messages by the driver run $dmesg. All messages by the driver start with pmac isa:8. To check isa devices, check pmacisa entry entry in /proc/driver/pmac/. It will give the successfully initialized devices with all parameters. NOTE: You can write alias char-major-xxx pmacisa for auto loading of driver once you know what major number has been assigned by the system to the driver. OR you will have to use modprobe or kmod utility manually each time.LIBRARY INSTALLATION:10. In pmac.0.0.1/lib/Makefile (if required) 10.1 change $(INCLUDEDIR) to target machine include dir11. Run Make in pmac.0.0.1/lib directory as 11.1 $make 11.2 $make installSAMPLE APPLICATION:12. The test application is written in KDevelop 2.0.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?