Re: Realtek Edimax AC1750 USB gets properly detected but not configurable in ifconfig

2020-06-06 Thread Patrick Harper
Judging by the dmesg there is at least one unoccupied PCIe slot that could 
accommodate an adapter such as a Silverstone ECWA2-LITE.

This would allow you to use Mini-PCIe cards that normally go in laptops, 
including all of the iwm(4) devices.

-- 
  Patrick Harper
  paia...@fastmail.com

On Sat, 6 Jun 2020, at 19:44, Tristan wrote:
> Oh sorry,  my mistake, I might need some sleep :)
> 
> Thanks for the list of USB adapters, that helps a lot.
> 
> > On Jun 6, 2020, at 9:35 PM, Stuart Henderson  wrote:
> > 
> > On 2020/06/06 19:14, Tristan wrote:
> >> Ok thanks. Yes I’m looking for just using 11n.
> > 
> > You already replied saying that!
> > 
> > It doesn't matter if you only want to use 11n, OpenBSD does not have a
> > driver for the controller used in that adapter.
> > 
> > For USB adapters look for a device using one of these:
> > 
> > bwfm(4) - Broadcom and Cypress IEEE 802.11a/ac/b/g/n wireless network device
> > otus(4) - Atheros USB IEEE 802.11a/b/g/n wireless network device
> > rsu(4) - Realtek RTL8188SU/RTL8192SU USB IEEE 802.11b/g/n wireless network 
> > device
> > run(4) - Ralink Technology/MediaTek USB IEEE 802.11a/b/g/n wireless network 
> > device
> > urtwn(4) - Realtek RTL8188CU/RTL8188EU/RTL8192CU/RTL8192EU USB IEEE 
> > 802.11b/g/n wireless network device
> > 
> > (or there are some 11g-only ones but not much point looking for them).
> > 
> > 
> >> 
>  On Jun 6, 2020, at 5:55 AM, Stuart Henderson  
>  wrote:
> >>> 
> >>> On 2020-06-05, Tristan  wrote:
>  Just plugged in a Realtek Edimax AC1750 USB card into a ASRock B450M 
>  board.
>  I can see the card being detected and registered properly in dmesg and
>  usbdevs, but cannot configure it.
>  Is this card supported?
> >>> 
> >>> No. The only supported 11ac USB devices are the limited and fairly hard 
> >>> to get
> >>> hold of bwfm(4) devices. (Some PCIe 11ac are supported but not in 11ac 
> >>> mode.)
> >>> 
> >>> 
> >>> 
> >> 
> > 
> 
>



Re: Realtek Edimax AC1750 USB gets properly detected but not configurable in ifconfig

2020-06-06 Thread Tristan
Oh sorry,  my mistake, I might need some sleep :)

Thanks for the list of USB adapters, that helps a lot.

> On Jun 6, 2020, at 9:35 PM, Stuart Henderson  wrote:
> 
> On 2020/06/06 19:14, Tristan wrote:
>> Ok thanks. Yes I’m looking for just using 11n.
> 
> You already replied saying that!
> 
> It doesn't matter if you only want to use 11n, OpenBSD does not have a
> driver for the controller used in that adapter.
> 
> For USB adapters look for a device using one of these:
> 
> bwfm(4) - Broadcom and Cypress IEEE 802.11a/ac/b/g/n wireless network device
> otus(4) - Atheros USB IEEE 802.11a/b/g/n wireless network device
> rsu(4) - Realtek RTL8188SU/RTL8192SU USB IEEE 802.11b/g/n wireless network 
> device
> run(4) - Ralink Technology/MediaTek USB IEEE 802.11a/b/g/n wireless network 
> device
> urtwn(4) - Realtek RTL8188CU/RTL8188EU/RTL8192CU/RTL8192EU USB IEEE 
> 802.11b/g/n wireless network device
> 
> (or there are some 11g-only ones but not much point looking for them).
> 
> 
>> 
 On Jun 6, 2020, at 5:55 AM, Stuart Henderson  wrote:
>>> 
>>> On 2020-06-05, Tristan  wrote:
 Just plugged in a Realtek Edimax AC1750 USB card into a ASRock B450M board.
 I can see the card being detected and registered properly in dmesg and
 usbdevs, but cannot configure it.
 Is this card supported?
>>> 
>>> No. The only supported 11ac USB devices are the limited and fairly hard to 
>>> get
>>> hold of bwfm(4) devices. (Some PCIe 11ac are supported but not in 11ac 
>>> mode.)
>>> 
>>> 
>>> 
>> 
> 



Re: Realtek Edimax AC1750 USB gets properly detected but not configurable in ifconfig

2020-06-06 Thread Stuart Henderson
On 2020/06/06 19:14, Tristan wrote:
> Ok thanks. Yes I’m looking for just using 11n.

You already replied saying that!

It doesn't matter if you only want to use 11n, OpenBSD does not have a
driver for the controller used in that adapter.

For USB adapters look for a device using one of these:

bwfm(4) - Broadcom and Cypress IEEE 802.11a/ac/b/g/n wireless network device
otus(4) - Atheros USB IEEE 802.11a/b/g/n wireless network device
rsu(4) - Realtek RTL8188SU/RTL8192SU USB IEEE 802.11b/g/n wireless network 
device
run(4) - Ralink Technology/MediaTek USB IEEE 802.11a/b/g/n wireless network 
device
urtwn(4) - Realtek RTL8188CU/RTL8188EU/RTL8192CU/RTL8192EU USB IEEE 802.11b/g/n 
wireless network device

(or there are some 11g-only ones but not much point looking for them).


> 
> > On Jun 6, 2020, at 5:55 AM, Stuart Henderson  wrote:
> > 
> > On 2020-06-05, Tristan  wrote:
> >> Just plugged in a Realtek Edimax AC1750 USB card into a ASRock B450M board.
> >> I can see the card being detected and registered properly in dmesg and 
> >> usbdevs, but cannot configure it.
> >> Is this card supported?
> > 
> > No. The only supported 11ac USB devices are the limited and fairly hard to 
> > get
> > hold of bwfm(4) devices. (Some PCIe 11ac are supported but not in 11ac 
> > mode.)
> > 
> > 
> > 
> 



Re: Realtek Edimax AC1750 USB gets properly detected but not configurable in ifconfig

2020-06-06 Thread Tristan
Ok thanks. Yes I’m looking for just using 11n.


> On Jun 6, 2020, at 5:55 AM, Stuart Henderson  wrote:
> 
> On 2020-06-05, Tristan  wrote:
>> Just plugged in a Realtek Edimax AC1750 USB card into a ASRock B450M board.
>> I can see the card being detected and registered properly in dmesg and 
>> usbdevs, but cannot configure it.
>> Is this card supported?
> 
> No. The only supported 11ac USB devices are the limited and fairly hard to get
> hold of bwfm(4) devices. (Some PCIe 11ac are supported but not in 11ac mode.)
> 
> 
> 



Re: Realtek Edimax AC1750 USB gets properly detected but not configurable in ifconfig

2020-06-05 Thread Stuart Henderson
On 2020-06-05, Tristan  wrote:
> Just plugged in a Realtek Edimax AC1750 USB card into a ASRock B450M board.
> I can see the card being detected and registered properly in dmesg and 
> usbdevs, but cannot configure it.
> Is this card supported?

No. The only supported 11ac USB devices are the limited and fairly hard to get
hold of bwfm(4) devices. (Some PCIe 11ac are supported but not in 11ac mode.)





Realtek Edimax AC1750 USB gets properly detected but not configurable in ifconfig

2020-06-05 Thread Tristan

Hi,

Just plugged in a Realtek Edimax AC1750 USB card into a ASRock B450M board.
I can see the card being detected and registered properly in dmesg and 
usbdevs, but cannot configure it.

Is this card supported?

Thanks

usbdevs output:
Controller /dev/usb0:
addr 01: 1022: AMD, xHCI root hub
addr 02: 7392:a833 Realtek, Edimax AC1750 USB
Controller /dev/usb1:
addr 01: 1022: AMD, xHCI root hub
addr 02: 0bc2:ab24 Seagate, BUP Slim BK
Controller /dev/usb2:
addr 01: 1022: AMD, xHCI root hub

ifconfig only shows these:
lo0: flags=8049 mtu 32768
em0: flags=8b43 
mtu 1500
em1: flags=8b43 
mtu 1500
em2: flags=8b43 
mtu 1500
em3: flags=8b43 
mtu 1500

re0: flags=808843 mtu 1500
bridge0: flags=41
tun0: flags=8051 mtu 1420
vether0: flags=8943 mtu 1500
pflog0: flags=141 mtu 33136

if it's any use also my sysctl hw
hw.machine=amd64
hw.model=AMD Ryzen 5 3400G with Radeon Vega Graphics
hw.ncpu=8
hw.byteorder=1234
hw.pagesize=4096
hw.disknames=sd0:11f200d7c36ede5d,sd1:44046d966725a401,sd2:eb4c6024594010f9
hw.diskcount=3
hw.sensors.ksmn0.temp0=35.50 degC
hw.sensors.lm1.temp0=29.00 degC (MB Temperature)
hw.sensors.lm1.temp1=32.00 degC (CPU Temperature)
hw.sensors.lm1.temp2=93.00 degC (Aux Temp0)
hw.sensors.lm1.temp3=99.00 degC (Aux Temp1)
hw.sensors.lm1.temp4=22.50 degC (Aux Temp2)
hw.sensors.lm1.temp5=-20.00 degC (Aux Temp3)
hw.sensors.lm1.fan0=0 RPM (System Fan)
hw.sensors.lm1.fan1=2008 RPM (CPU Fan)
hw.sensors.lm1.fan2=0 RPM (Aux Fan0)
hw.sensors.lm1.fan3=1112 RPM (Aux Fan1)
hw.sensors.lm1.fan4=0 RPM (Aux Fan2)
hw.sensors.lm1.volt0=0.93 VDC (VCore)
hw.sensors.lm1.volt1=1.85 VDC (VIN1)
hw.sensors.lm1.volt2=3.42 VDC (AVCC)
hw.sensors.lm1.volt3=3.42 VDC (+3.3V)
hw.sensors.lm1.volt4=21.66 VDC (VIN0)
hw.sensors.lm1.volt5=1.06 VDC (VIN8)
hw.sensors.lm1.volt6=0.30 VDC (VIN4)
hw.sensors.lm1.volt7=3.46 VDC (+3.3VSB)
hw.sensors.lm1.volt8=0.00 VDC (VBAT)
hw.sensors.lm1.volt9=0.00 VDC (VTT)
hw.sensors.lm1.volt10=0.22 VDC (VIN5)
hw.sensors.lm1.volt11=1.06 VDC (VIN6)
hw.sensors.lm1.volt12=3.38 VDC (VIN2)
hw.sensors.lm1.volt13=5.08 VDC (VIN3)
hw.sensors.lm1.volt14=1.78 VDC (VIN7)
hw.cpuspeed=3693
hw.setperf=100
hw.vendor=ASRock
hw.product=B450M Steel Legend
hw.uuid=a8a1591a-3356---
hw.physmem=32120504320
hw.usermem=32120492032
hw.ncpufound=8
hw.allowpowerdown=1
hw.perfpolicy=manual
hw.smt=1
hw.ncpuonline=8


Find my current dmesg.

OpenBSD 6.7 (GENERIC.MP) #2: Thu Jun  4 09:55:08 MDT 2020
r...@syspatch-67-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 32120504320 (30632MB)
avail mem = 31134412800 (29692MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.2 @ 0xe6cc0 (29 entries)
bios0: vendor American Megatrends Inc. version "P2.90" date 11/27/2019
bios0: ASRock B450M Steel Legend
acpi0 at bios0: ACPI 6.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT FIDT SSDT SSDT SSDT MCFG AAFT HPET 
UEFI BGRT SSDT CRAT CDIT SSDT SSDT WSMT SSDT
acpi0: wakeup devices GPP0(S4) GPP2(S4) GPP3(S4) GPP4(S4) GPP5(S4) 
GPP6(S4) GP17(S4) XHC0(S4) XHC1(S4) GP18(S4) GPP1(S4) PTXH(S4)

acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Ryzen 5 3400G with Radeon Vega Graphics, 3693.67 MHz, 17-18-01
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu0: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 
64b/line 8-way L2 cache, 4MB 64b/line 16-way L3 cache
cpu0: ITLB 64 4KB entries fully associative, 64 4MB entries fully 
associative
cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully 
associative

cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 24MHz
cpu0: mwait min=64, max=64, C-substates=1.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: AMD Ryzen 5 3400G with Radeon Vega Graphics, 3693.02 MHz, 17-18-01
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu1: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 
64b/line 8-way L2 cache, 4MB 64b/line 16-way L3 cache
cpu1: ITLB 64 4KB entries fully associative, 64 4MB entries fully 
associative
cpu1: DTLB 64 4KB entries fully