Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Nov 2018 20:07:50 +0000
From:      tech-lists <tech-lists@zyxst.net>
To:        freebsd-wireless@freebsd.org
Cc:        freebsd-stable@freebsd.org
Subject:   device otus unknown
Message-ID:  <20181112200750.GB23708@rpi3.zyxst.net>

next in thread | raw e-mail | index | archive | help
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: <Broadcom Remote Download
Wireless Adapter> 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: <Broadcom Remote Download Wireless Adapter> at usbus0, cfg=0
md=HOST spd=HIGH (480Mbps) pwr=ON (200mA)

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x00ff  <Vendor specific>
  bDeviceSubClass = 0x0000 
  bDeviceProtocol = 0x0000 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x0846 
  idProduct = 0x9011 
  bcdDevice = 0x0001 
  iManufacturer = 0x0001  <Broadcom>
  iProduct = 0x0002  <Remote Download Wireless Adapter>
  iSerialNumber = 0x0003  <0>
  bNumConfigurations = 0x0001 

thanks,
-- 
J.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181112200750.GB23708>