On Thu, Apr 05, 2018 at 05:30:25PM +0300, Denis wrote: > 1. AR9271 USB stick has been connected to OpenBSD 6.3 amd64 > 2. # fw_update > 3. # ls /etc/firmware | grep athn > athn-ar7010 > athn-ar7010-11 > athn-ar9271 > athn-license > athn-open-ar7010 > athn-open-ar9271 > athn-open-license > > After reconnecting AR9271 > athn0: could not load firmware
I don't know why the firmware doesn't load for you. It all works fine for me, with both AR9271 devices and AR7010 devices. There is a known issue which looks like this device does not power up properly on some machines, and in some configurations, for example when it is plugged behind a USB 2.0 hub. This results in a failure to load the firmware but it the underlying issue is a different problem which nobody has figured out yet. It could be a bug in our USB stack. However, this is inconsistent with your observation that it worked in 6.2. It sounds like nothing else changed? > When I remove athn-open-* firmware files from /etc/firmware > athn0: failed loadfirmware of file athn-open-ar9271 (error 2) > athn0: could not load firmware > > In OpenBSD 6.2 amd64 /etc/firmware contains only athn-ar7010, > athn-ar7010-11, and ar9271. The USB stick works with it. Is this 6.2 install on the same machine, or on a different machine? If it's a different machine, could you try 6.3 on the same machine where you tested 6.2? > I think it could be working again if I load non athn-open-* versions of > firmware provided. > > My question is how to load non open version (athn-ar9271) of the athn > firmware to have AR9271 working? You cannot. The driver in 6.3 does not support the old closed source firmware anymore. It only supports the open firmware. It's unfortunate that this change broke it for you, but I cannot explain why. When this change was made about 2 months ago I did not get any negative reports. See https://marc.info/?l=openbsd-tech&m=151769894925027&w=2 > athn0: failed error message has a typo 'loadfirmware' without a space. That's intentional. It refers to the function loadfirmware(9): http://man.openbsd.org/loadfirmware