Re: RealTek wifi on -current amd64 on lenovo laptop

2021-05-23 Thread Mayuresh
On Tue, May 18, 2021 at 09:12:46AM +, nia wrote:
> There's no driver for Realtek 802.11ac PCIe hardware.
> You could try porting a driver from another OS.

Would like to give it a try, but I have never worked on device drivers in
any OS. Would be useful to build the skill. Any good pointers to get
started? There is a ddwg page/pdf[1]. But its date looks 2003. Is there
anything else - more of tutorial than a reference to begin with?

There are at least 3 laptop devices with me where I would prefer to use
NetBSD, but can't due to one or more of these problems: 1. wifi (can work
around using a dongle) 2.  touchpad issues (external mouse is an option
but not suitable for every usage pattern) 3. hdmi not working (show
stopper in one usage) 4. envstat not working (may not sound critical, but
I have an audible alert when battery falls to a threshold, which I'd like
to work)

All of these issues are reported on the mailing list. If I could solve
even some of these myself I'll be glad.

[1] https://www.netbsd.org/docs/kernel/ddwg.html

-- 
Mayuresh


Re: RealTek wifi on -current amd64 on lenovo laptop

2021-05-18 Thread nia
On Tue, May 11, 2021 at 09:37:30AM +0530, Mayuresh wrote:
> product: RTL8821CE 802.11ac PCIe Wireless Network Adapter
> 
> Is there any chance to get it to work in -current?

There's no driver for Realtek 802.11ac PCIe hardware.
You could try porting a driver from another OS.


RealTek wifi on -current amd64 on lenovo laptop

2021-05-10 Thread Mayuresh
On NetBSD -current, in dmesg, it appears as:

[ 1.054279] Realtek Semiconductor product c821 (miscellaneous network)
at pci2 dev 0 function 0 not configured

On Linux, it works fine, lshw shows it as:

   *-network
description: Wireless interface
product: RTL8821CE 802.11ac PCIe Wireless Network Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@:02:00.0
logical name: wlp2s0
version: 00
serial: 28:39:26:65:a2:9f
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical
wireless
configuration: broadcast=yes driver=rtl8821ce


Is there any chance to get it to work in -current?

-- 
Mayuresh