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

📄 cops.txt

📁 嵌入式系统设计与实例开发实验教材二源码 多线程应用程序设计 串行端口程序设计 AD接口实验 CAN总线通信实验 GPS通信实验 Linux内核移植与编译实验 IC卡读写实验 SD驱动使
💻 TXT
字号:
Text File for the COPS LocalTalk Linux driver (cops.c).	By Jay Schulist <jschlst@samba.org>This driver has two modes and they are: Dayna mode and Tangent mode.Each mode corresponds with the type of card. It has been foundthat there are 2 main types of cards and all other cards arethe same and just have different names or only have minor differencessuch as more IO ports. As this driver is tested it willbecome more clear exactly what cards are supported. Right now these cards are known to work with the COPS driver. TheLT-200 cards work in a somewhat more limited capacity than theDL200 cards, which work very well and are in use by many people.TANGENT driver mode:	Tangent ATB-II, Novell NL-1000, Daystar Digital LT-200DAYNA driver mode:	Dayna DL2000/DaynaTalk PC (Half Length), COPS LT-95,	Farallon PhoneNET PC III, Farallon PhoneNET PC IIOther cards possibly supported mode unknown though:	Dayna DL2000 (Full length)The COPS driver defaults to using Dayna mode. To change the driver's mode if you built a driver with dual support use board_type=1 orboard_type=2 for Dayna or Tangent with insmod.** Operation/loading of the driver.Use modprobe like this:	/sbin/modprobe cops.o (IO #) (IRQ #)If you do not specify any options the driver will try and use the IO = 0x240,IRQ = 5. As of right now I would only use IRQ 5 for the card, if autoprobing.To load multiple COPS driver Localtalk cards you can do one of the following.insmod cops io=0x240 irq=5insmod -o cops2 cops io=0x260 irq=3Or in lilo.conf put something like this:	append="ether=5,0x240,lt0 ether=3,0x260,lt1"Then bring up the interface with ifconfig. It will look something like this:lt0       Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-F7-00-00-00-00-00-00-00-00          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0          UP BROADCAST RUNNING NOARP MULTICAST  MTU:600  Metric:1          RX packets:0 errors:0 dropped:0 overruns:0 frame:0          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 coll:0** Netatalk ConfigurationYou will need to configure atalkd with something like the following to makeit work with the cops.c driver.* For single LTalk card use.dummy -seed -phase 2 -net 2000 -addr 2000.10 -zone "1033"lt0 -seed -phase 1 -net 1000 -addr 1000.50 -zone "1033"* For multiple cards, Ethernet and LocalTalk.eth0 -seed -phase 2 -net 3000 -addr 3000.20 -zone "1033"lt0 -seed -phase 1 -net 1000 -addr 1000.50 -zone "1033"* For multiple LocalTalk cards, and an Ethernet card.* Order seems to matter here, Ethernet last.lt0 -seed -phase 1 -net 1000 -addr 1000.10 -zone "LocalTalk1"lt1 -seed -phase 1 -net 2000 -addr 2000.20 -zone "LocalTalk2"eth0 -seed -phase 2 -net 3000 -addr 3000.30 -zone "EtherTalk"

⌨️ 快捷键说明

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