https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239795
Bug ID: 239795 Summary: [patch] rtwn driver does not attach to certain devices. Driver is missing entries for PCI device id's Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Keywords: patch Severity: Affects Some People Priority: --- Component: wireless Assignee: wirel...@freebsd.org Reporter: james.m.pars...@protonmail.com Created attachment 206466 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=206466&action=edit Patch containing solution On a new installation of FreeBSD (I've tried it on both FreeBSD 12.0-RELEASE and On FreeBSD 13.0-CURRENT, certain wireless adapters based on the RTL8192CE chipset are not recognized by the rtwn driver. In my particular instance, the card was an ASUS PCE-N15 wireless adapter. Running pciconv -lv shows that the vendor information was correct, but that there is no driver attached e.g. none1@pci0:29:0:0: class=0x028000 card=0x85e31043 chip=0x817810ec rev=0x01 hdr=0x00 vendor = 'Realtek Semiconductor Co., Ltd.' device = 'RTL8192CE PCIe Wireless Network Adapter' looking at the kernel source under sys/dev/rtwn/pci/rtwn_pci_attach.h, I can see that there is an array containing a list of vendor / device id's. Not included in said array is the PCI device id for my particular card (0x8178). After adding an entry with the device id (see attached patch), building / installing a kernel and rebooting, the card is recognized and the rtwn driver attaches. Furthermore I configured the interface and the driver does work as expected otherwise. rtwn0@pci0:29:0:0: class=0x028000 card=0x85e31043 chip=0x817810ec rev=0x01 hdr=0x00 vendor = 'Realtek Semiconductor Co., Ltd.' device = 'RTL8192CE PCIe Wireless Network Adapter' There may or may not be other cards who's device id's may need separate entries, but as I haven't encountered the hardware, my attached patch only contains the entry for a device id I have confirmed does not work. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-wireless@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"