From owner-freebsd-wireless@freebsd.org Mon Nov 12 20:07:55 2018 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C67431121625; Mon, 12 Nov 2018 20:07:55 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B1D5B80A24; Mon, 12 Nov 2018 20:07:53 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 4CC6222120; Mon, 12 Nov 2018 15:07:53 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 12 Nov 2018 15:07:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:cc:subject:message-id:reply-to:mime-version :content-type; s=fm1; bh=sYWJfFbaonByQxCzucn9/4lLrAET65Nk5eQI5a4 qYtQ=; b=lhEJVE84QsQel2ndherv5BOF90iHiM8lT0yjJ8xTU6kSyd2ICWmgBpV rcCzH12jV8yivI7dQOuCGexMLRfkVkvrWfh0Q/YciWADFpzg0LETeoUt5aCv1LUe TM/3626ToldtTzZrqhmTVbMp2JGupzRQ9PEZerYolfkjhZSqCBaBEuC+XHlXRDB/ VzUU8fMSOEGxbxYG8rKnVAR+O83eruv4rWxTSZHZZqLCUEisbeToDiLyZ2c++C1K INo3TeI6pj9VPWuvE8It+hwg9mfpomY+iTlM8lklU0c8Fagxw8EtGNUUnuloEUsY KRPGP5eIriB5CNFUm0Hf7lUE901OcBg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:message-id :mime-version:reply-to:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=sYWJfFbaonByQxCzu cn9/4lLrAET65Nk5eQI5a4qYtQ=; b=PnPcRne+H1LpTI11gr1Oj9v02TFDTN9Kn 5nsz4wrqJ0TML1S7lh6QCDH6OUZRhZXSrLiWPlerdzet74sLgFW+CZcxaeDjzGNO jQlC5iwrbAIc+wqBKjdpTxYh2JkKFibswkyrC8mFmYwF2/YmR9MXhBgBOCxtA4Hv tNB5PBTUhg9h2hBPzm3UlSk/GKXKp+gvyaBr3MD4RVG34XEAT25afNDNWWLsBwZG Ep5dQuIXWSswJyZvpMufbUxKA0eTAS61f7wIjb0r79OPxugwCeLRWm1VkmxC6qx9 SHTE/C8kmbPj73dOUpV3RstnPvsREx4zr2YOhOn/oTjo3hvTD9cDg== X-ME-Sender: X-ME-Proxy: Received: from rpi3.zyxst.net (rpi3.zyxst.net [82.70.91.101]) by mail.messagingengine.com (Postfix) with ESMTPA id 5B5E310300; Mon, 12 Nov 2018 15:07:52 -0500 (EST) Date: Mon, 12 Nov 2018 20:07:50 +0000 From: tech-lists To: freebsd-wireless@freebsd.org Cc: freebsd-stable@freebsd.org Subject: device otus unknown Message-ID: <20181112200750.GB23708@rpi3.zyxst.net> Reply-To: freebsd-wireless@freebsd.org Mail-Followup-To: freebsd-wireless@freebsd.org, freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: B1D5B80A24 X-Spamd-Result: default: False [-2.21 / 200.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd-wireless@freebsd.org]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.29]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.01)[in2-smtp.messagingengine.com,in1-smtp.messagingengine.com,in2-smtp.messagingengine.com,in1-smtp.messagingengine.com,in2-smtp.messagingengine.com,in1-smtp.messagingengine.com]; NEURAL_HAM_SHORT(-0.97)[-0.975,0]; RCVD_IN_DNSWL_LOW(-0.10)[29.4.111.66.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:66.111.0.0/20, country:US]; REPLYTO_EQ_TO_ADDR(5.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[zyxst.net,messagingengine.com]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zyxst.net]; IP_SCORE(-3.62)[ip: (-9.43), ipnet: 66.111.0.0/20(-4.69), asn: 11403(-3.90), country: US(-0.09)] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2018 20:07:56 -0000 Hi, context: freebsd-12-beta4 on amd64 and freebsd-12 on arm64, I'm trying right now with amd64 r340354. I have a Netgear WNDA3100 USB wireless key. Its man page has the following: SYNOPSIS To compile this driver into the kernel, place the following lines in your kernel configuration file: device ehci device uhci device ohci device usb device otus device wlan so I made sure all these were in my kernel config, but when I try building it, it bails in a second or two saying that otus is an unknown device: [snip] --- buildkernel --- make[1]: "/usr/src/Makefile.inc1" line 341: SYSTEM_COMPILER: Determined that CC=/usr/local/bin/ccache cc matches the source tree. Not bootstrapping a cross-compiler. make[1]: "/usr/src/Makefile.inc1" line 346: SYSTEM_LINKER: Determined that LD=ld matches the source tree. Not bootstrapping a cross-linker. --- buildkernel --- -------------------------------------------------------------- >>> Kernel build for DESKTOP started on Mon Nov 12 17:49:52 GMT 2018 -------------------------------------------------------------- ===> DESKTOP mkdir -p /obj/usr/src/amd64.amd64/sys -------------------------------------------------------------- >>> stage 1: configuring the kernel -------------------------------------------------------------- cd /usr/src/sys/amd64/conf; PATH=/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/obj/usr/src/amd64.amd64\ /tmp/legacy/usr/bin:/obj/usr/src/amd64.amd64/tmp/legacy/bin:/obj/usr/src/\ amd64.amd64/tmp/usr/sbin:/obj/usr/src/amd64.amd64/tmp/usr/bin:/sbin:/bin:\ /usr/sbin:/usr/bin config -d /obj/usr/src/amd64.amd64/sys/DESKTOP -I '/usr/src/sys/amd64/conf' '/usr/src/sys/amd64/conf/DESKTOP' config: Error: device "otus" is unknown config: 1 errors *** [buildkernel] Error code 1 make[1]: stopped in /usr/src 1 error make[1]: stopped in /usr/src *** [buildkernel] Error code 2 make: stopped in /usr/src 1 error make: stopped in /usr/src [/snip] Maybe related to this problem: I *can* kldload otus. But when I plug in the device, only this shows up in dmesg: Nov 12 18:04:32 desktop kernel: ugen0.11: at usbus0 I thought it would come up as Atheros? kldstat Id Refs Address Size Name 1 70 0xffffffff80200000 136ada0 kernel 2 1 0xffffffff8156c000 f980 if_bridge.ko 3 2 0xffffffff8157c000 7588 bridgestp.ko 4 2 0xffffffff81584000 134cbd8 nvidia.ko 5 3 0xffffffff828d1000 a7020 linux.ko 6 4 0xffffffff82979000 8e20 linux_common.ko 7 1 0xffffffff82982000 56ec60 vmm.ko 8 1 0xffffffff82ef1000 171d88 nvidia-modeset.ko 9 1 0xffffffff83063000 82a0 if_tap.ko 10 1 0xffffffff8306c000 2a38 nmdm.ko 11 1 0xffffffff83221000 24be60 zfs.ko 12 1 0xffffffff8346d000 7638 opensolaris.ko 13 1 0xffffffff83475000 4abc linprocfs.ko 14 1 0xffffffff8347a000 82a0 tmpfs.ko 15 1 0xffffffff83483000 1800 uhid.ko 16 1 0xffffffff83485000 2368 ums.ko 17 1 0xffffffff83488000 33f60 linux64.ko 18 1 0xffffffff834bc000 1a00 fdescfs.ko 19 1 0xffffffff834be000 acf mac_ntpd.ko 20 1 0xffffffff834bf000 a340 if_otus.ko 21 1 0xffffffff834ca000 41c48 wlan.ko usbconfig dump_device_description : ugen0.11: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (200mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x00ff bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x0846 idProduct = 0x9011 bcdDevice = 0x0001 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0003 <0> bNumConfigurations = 0x0001 thanks, -- J.