Le 25/01/2022 à 01:32, Jonathan Gray a écrit :
On Tue, Jan 25, 2022 at 01:08:16AM +0100, Joel Carnat wrote:
Hello,
Because my Internet Box has just died, I plugged a spare Edimax EW-7612UAN
V2 on my OpenBSD 7.0 router and connected it to my iPhone WiFi connection
sharing. I've tested it for a few hours with Video-on-Demand, email etc and
it works without issues.
The thing is it seems to be recognized as a generic Realtek device:
# dmesg
(...)
urtwn0 at uhub0 port 4 configuration 1 interface 0 "Realtek 802.11n WLAN
Adapter" rev 2.00/2.00 addr 2
urtwn0: MAC/BB RTL8192CU, RF 6052 2T2R, address 08:be:ac:1d:40:96
# usbdevs -v
(...)
addr 02: 7392:7822 Realtek, 802.11n WLAN Adapter
high speed, power 500 mA, config 1, rev 2.00, iSerial 00e04c000001
driver: urtwn0
It is also not referenced in the man page as a supported device.
In src/sys/dev/usb/usbdevs, on line 1722, I could can find
product EDIMAX RTL8192CU 0x7822 RTL8192CU
but I have no real clue about what to modify and propose a diff. Sorry.
for usb, strings from the device are preferred with usbdevs as fallback
see usbd_cache_devinfo() in sys/dev/usb/usb_subr.c
Hum, ok. Does this means that particular device does not announce itself
with the proper brand/model but with a generic identifier?