On 5/17/19 2:38 PM, Michael Grzeschik wrote: > On Fri, May 17, 2019 at 07:03:19PM +0000, Kenton, Stephen M. wrote: >> I've got some old optical (as in eyeglasses) equipment that only talks >> over ARCNET that I want to get up and running. The PEX PCIe-to-PCI >> bridge is on the card with the SMC COM20022 and lspci sees them >> >> 02:00.0 PCI bridge [0604]: PLX Technology, Inc. PEX 8111 PCI >> Express-to-PCI Bridge [10b5:8111] (rev 21) >> 03:04.0 Network controller [0280]: Contemporary Controls Device >> [1571:a0e4] (rev aa) >> Subsystem: Contemporary Controls Device [1571:a0e4] >> >> I just pulled the current kernel source and 1571:a0e4 does not seem to be >> supported by the driver. >> >> Before I start trying to invent wheels, is/has anyone else looking in this >> area? > Hi, > > you should probably add a new entry into com20020pci_id_table > with the mentioned id 1571:a0e4 in drivers/net/arcnet/com20020-pci.c > and try how far you will come. > > Regards, > Michael > I thought I would try temporarily adding support for the card id via sysfs before trying to build from source
cd /sys/bus/pci/drivers sudo modprobe com20020_pci This creates the com20020 directory but not a com20020_pci directory if that matters echo 1571 A0E4 | sudo tee com20020/new_id This immediately generated two "killed" message in addition to echoing the PCI address to the console which is probably not a good sign although it now claims to have a kernel driver, see below lspci -nnk <snip> 20:00.0 PCI bridge [0604]: PLX Technology, Inc. PEX 8111 PCI Express-to-PCI Bridge [10b5:8111] (rev 21) 21:04.0 Network controller [0280]: Contemporary Controls Device [1571:a0e4] (rev aa) Subsystem: Contemporary Controls Device [1571:a0e4] Kernel driver in use: com20020 Not surprisingly "ifconfig -a" does *NOT* show an arc0 interface There are references to the COM20022 chip in the com20020 driver source so I was hoping it was really com2002x :-( How now? My desktop is Ubuntu 14.04LTS (4.4.0-148) up-to-date will be much easier to use for testing but the intended target is running Ubuntu 18.04LTS up-to-date Thanks, Steve Kenton