1Text File for the COPS LocalTalk Linux driver (cops.c). 2 By Jay Schulist <jschlst@samba.org> 3 4This driver has two modes and they are: Dayna mode and Tangent mode. 5Each mode corresponds with the type of card. It has been found 6that there are 2 main types of cards and all other cards are 7the same and just have different names or only have minor differences 8such as more IO ports. As this driver is tested it will 9become more clear exactly what cards are supported. 10 11Right now these cards are known to work with the COPS driver. The 12LT-200 cards work in a somewhat more limited capacity than the 13DL200 cards, which work very well and are in use by many people. 14 15TANGENT driver mode: 16 Tangent ATB-II, Novell NL-1000, Daystar Digital LT-200 17DAYNA driver mode: 18 Dayna DL2000/DaynaTalk PC (Half Length), COPS LT-95, 19 Farallon PhoneNET PC III, Farallon PhoneNET PC II 20Other cards possibly supported mode unknown though: 21 Dayna DL2000 (Full length) 22 23The COPS driver defaults to using Dayna mode. To change the driver's 24mode if you built a driver with dual support use board_type=1 or 25board_type=2 for Dayna or Tangent with insmod. 26 27** Operation/loading of the driver. 28Use modprobe like this: /sbin/modprobe cops.o (IO #) (IRQ #) 29If you do not specify any options the driver will try and use the IO = 0x240, 30IRQ = 5. As of right now I would only use IRQ 5 for the card, if autoprobing. 31 32To load multiple COPS driver Localtalk cards you can do one of the following. 33 34insmod cops io=0x240 irq=5 35insmod -o cops2 cops io=0x260 irq=3 36 37Or in lilo.conf put something like this: 38 append="ether=5,0x240,lt0 ether=3,0x260,lt1" 39 40Then bring up the interface with ifconfig. It will look something like this: 41lt0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-F7-00-00-00-00-00-00-00-00 42 inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0 43 UP BROADCAST RUNNING NOARP MULTICAST MTU:600 Metric:1 44 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 45 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 coll:0 46 47** Netatalk Configuration 48You will need to configure atalkd with something like the following to make 49it work with the cops.c driver. 50 51* For single LTalk card use. 52dummy -seed -phase 2 -net 2000 -addr 2000.10 -zone "1033" 53lt0 -seed -phase 1 -net 1000 -addr 1000.50 -zone "1033" 54 55* For multiple cards, Ethernet and LocalTalk. 56eth0 -seed -phase 2 -net 3000 -addr 3000.20 -zone "1033" 57lt0 -seed -phase 1 -net 1000 -addr 1000.50 -zone "1033" 58 59* For multiple LocalTalk cards, and an Ethernet card. 60* Order seems to matter here, Ethernet last. 61lt0 -seed -phase 1 -net 1000 -addr 1000.10 -zone "LocalTalk1" 62lt1 -seed -phase 1 -net 2000 -addr 2000.20 -zone "LocalTalk2" 63eth0 -seed -phase 2 -net 3000 -addr 3000.30 -zone "EtherTalk" 64