Solved Unable to get USB Wi-Fi adapter ORiNOCO to work on FreeBSD 12.1

Hi, I'm trying to use Proxim ORiNOCO 802.11n USB. But an interface does not come up on ifconfig
My USB Wi-Fi adapter is;
Code:
# usbconfig -d 1.3 dump_device_desc
ugen0.3: <Proxim ORiNOCO 802.11n USB> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x00ff  <Vendor specific>
  bDeviceSubClass = 0x00ff 
  bDeviceProtocol = 0x00ff 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x1435 
  idProduct = 0x0804 
  bcdDevice = 0x0106 
  iManufacturer = 0x0010  <Proxim>
  iProduct = 0x0020  <ORiNOCO 802.11n USB>
  iSerialNumber = 0x0030  <12345>
  bNumConfigurations = 0x0001

I am not sure, the FreeBSD version support it or not. But in code; https://github.com/freebsd/freebsd-src/blob/master/sys/dev/usb/usbdevs#L4872
Code:
/* Wistron NeWeb products */
...
product WISTRONNEWEB O8494    0x0804    ORiNOCO 802.11n
Looks supported.

I tried the USB Wi-Fi adapter on Linux. It is recognized as Wistron (not Proxim);
Code:
Bus 002 Device 007: ID 1435:0804 Wistron NeWeb AR9170+AR9104 802.11abgn Wireless Adapter

I am confusing, the USB Wi-Fi adapter vendor is Proxim? or Winstron?
photo_2021-04-20_09-29-02.jpgphoto_2021-04-20_09-29-08.jpg

Anything need to set/excute to come up a wlan interface of the USB Wi-Fi adapter?
 
Hi SirDice,
Thanks for the reply.
I am facing this issue on opnsense that uses FreeBSD 12.1.
Then I tested FreeBSD 12.2 on a virtual machine. A result is the same. Please have a look.
Code:
root@fbsd:~ # uname -mrs
FreeBSD 12.2-RELEASE amd64
root@fbsd:~ # usbconfig -d 1.2 dump_device_desc
ugen1.2: <Proxim ORiNOCO 802.11n USB> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)

  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0200
  bDeviceClass = 0x00ff  <Vendor specific>
  bDeviceSubClass = 0x00ff
  bDeviceProtocol = 0x00ff
  bMaxPacketSize0 = 0x0040
  idVendor = 0x1435
  idProduct = 0x0804
  bcdDevice = 0x0106
  iManufacturer = 0x0010  <Proxim>
  iProduct = 0x0020  <ORiNOCO 802.11n USB>
  iSerialNumber = 0x0030  <12345>
  bNumConfigurations = 0x0001

root@fbsd:~ # ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=81009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,VLAN_HWFILTER>
        ether 00:0c:29:d2:b1:23
        inet 10.10.100.111 netmask 0xffffff00 broadcast 10.10.100.255
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
        inet 127.0.0.1 netmask 0xff000000
        groups: lo
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
root@fbsd:~ #

Anything need to set/excute to come up a wlan interface of the USB Wi-Fi adapter?
 
The entry you linked to was added 6 years ago, 11.x wasn't even released back then. So I would assume anything recent should be able to detect it. But it's possible the manufacturer made some changes to the hardware without changing the chip's IDs. That's definitely a possibility. But note that wireless interfaces are not going to show up with ifconfig(8) on FreeBSD 11 or higher.

 
I am not sure, the FreeBSD version support it or not. But in code; https://github.com/freebsd/freebsd-src/blob/master/sys/dev/usb/usbdevs#L4872
Code:
/* Wistron NeWeb products */
...
product WISTRONNEWEB O8494 0x0804 ORiNOCO 802.11n
Looks supported.
This doesn't mean there is any support for it. usbdevs file is used to generate a header file or two but there is no actual code that references it. Poking around the 'net I see it is using the Atheros AR9001U-2NX chipset but I don't see any support for it in the if_uath driver.
 
Hi bakul
This doesn't mean there is any support for it. usbdevs file is used to generate a header file or two but there is no actual code that references it. Poking around the 'net I see it is using the Atheros AR9001U-2NX chipset but I don't see any support for it in the if_uath driver.
I understood the purpose of usbdevs. The if_uath supports AR5523. I will check if_xxx.c and will search USB Wi-Fi that is supported. You mentioned me very useful info. Thank you very much !
 
Back
Top