• Re: Request for Realtek rtw89_8852be driver

    From Vincent Blut@21:1/5 to Andy Smith on Sun Mar 26 17:55:17 2023
    Copy: debian-kernel@lists.debian.org

    Hi Andy,

    Le 2023-03-26 15:12, Andy Smith a écrit :
    Hi,

    I've got a laptop running testing with a Realtek 8852be card in it.
    This driver seems to be present in upstream kernel from 6.1:

    https://elixir.bootlin.com/linux/v6.1/source/drivers/net/wireless/realtek/rtw89/rtw8852be.c

    but doesn't seem to be in any Debian kernel package at present.

    I have got it working using a DKMS built from these instructions:

    https://github.com/lwfinger/rtw89

    (and packaged firmware-realtek)

    Will this driver make its way into a bookworm kernel at some point,
    or do I need to submit a wishlist bug for this, or is there some
    other procedure?

    Surely it would be wise to enable RTW89_8852BE and RTW89_8852CE for bookworm. Salvatore, what's your take on this? I can commit some time to work on this.

    Thanks!
    Andy

    Cheers,
    Vincent

    -----BEGIN PGP SIGNATURE-----

    iHUEABYKAB0WIQSRJQjHKbAUfuoc+DAQn1qAt/bgAQUCZCBq5QAKCRAQn1qAt/bg AYmhAQCYo/OCpM4fc2HfPPuIF6krkv8p44vV3mLfM0/USotqyQEAxtRlURawH7e/ MAvrLY3s3moq15cS0TvFUKijHLf0Fgg=
    =NgKF
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Smith@21:1/5 to All on Sun Mar 26 17:30:01 2023
    Hi,

    I've got a laptop running testing with a Realtek 8852be card in it.
    This driver seems to be present in upstream kernel from 6.1:

    https://elixir.bootlin.com/linux/v6.1/source/drivers/net/wireless/realtek/rtw89/rtw8852be.c

    but doesn't seem to be in any Debian kernel package at present.

    I have got it working using a DKMS built from these instructions:

    https://github.com/lwfinger/rtw89

    (and packaged firmware-realtek)

    Will this driver make its way into a bookworm kernel at some point,
    or do I need to submit a wishlist bug for this, or is there some
    other procedure?

    Thanks!
    Andy

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Diederik de Haas@21:1/5 to All on Sun Mar 26 18:24:29 2023
    Copy: debian-kernel@lists.debian.org

    On Sunday, 26 March 2023 17:55:17 CEST Vincent Blut wrote:
    Le 2023-03-26 15:12, Andy Smith a écrit :
    I've got a laptop running testing with a Realtek 8852be card in it.

    This driver seems to be present in upstream kernel from 6.1:
    https://elixir.bootlin.com/linux/v6.1/source/drivers/net/wireless/real
    tek/rtw89/rtw8852be.c>
    but doesn't seem to be in any Debian kernel package at present.

    While a skeleton version of that file is present, it does not seem to be a complete driver (in 6.2 it's already 'fuller'), but more importantly, in the Kconfig file there is no RTW89_8852BE, so it can't be enabled in Debian's 6.1 kernel.

    I have got it working using a DKMS built from these instructions:
    https://github.com/lwfinger/rtw89

    (and packaged firmware-realtek)

    Will this driver make its way into a bookworm kernel at some point,

    No, but the DKMS built saw a recent improvement :-)

    or do I need to submit a wishlist bug for this, or is there some
    other procedure?

    To get it enabled for *Trixie*, filing a wishlist bug seems appropriate.

    Surely it would be wise to enable RTW89_8852BE and RTW89_8852CE for
    bookworm. Salvatore, what's your take on this? I can commit some time to
    work on this.

    The RTW89_8852CE module is available in the 6.1 Kconfig file, so it _could_ be enabled, but whether that's useful without an explicit request is another Q. -----BEGIN PGP SIGNATURE-----

    iHUEABYIAB0WIQT1sUPBYsyGmi4usy/XblvOeH7bbgUCZCBxvQAKCRDXblvOeH7b bguHAQC/AaZXKDHfdx6QaftnVLxlHYvhzDUQPCAE4JwR59kTCgD/UFT9BwvZf5Pe Df/YuDGNsHWzOBM74SyoRLYI+ICZOgY=
    =staj
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Smith@21:1/5 to Diederik de Haas on Sun Mar 26 19:00:01 2023
    Hi Diederik,

    On Sun, Mar 26, 2023 at 06:24:29PM +0200, Diederik de Haas wrote:
    Le 2023-03-26 15:12, Andy Smith a écrit :
    This driver seems to be present in upstream kernel from 6.1:
    https://elixir.bootlin.com/linux/v6.1/source/drivers/net/wireless/real
    tek/rtw89/rtw8852be.c>
    but doesn't seem to be in any Debian kernel package at present.

    While a skeleton version of that file is present, it does not seem to be a complete driver (in 6.2 it's already 'fuller'), but more importantly, in the Kconfig file there is no RTW89_8852BE, so it can't be enabled in Debian's 6.1 kernel.

    Ah, okay. I did see some comments somewhere that it would be present
    in an upstream 6.2 release, so that makes sense.

    Will this driver make its way into a bookworm kernel at some point,

    No, but the DKMS built saw a recent improvement :-)

    Okay, so perhaps I should wait for bookworm-backports to be a thing
    and then that may include a 6.2 or later kernel package which has
    this driver, since upstream should also.

    I don't strongly want to run testing on this laptop and am only
    doing so because release is so near, but at that time I'll keep an
    eye on what the situation is for the trixie kernel.

    The RTW89_8852CE module is available in the 6.1 Kconfig file, so it _could_ be
    enabled, but whether that's useful without an explicit request is another Q.

    I personally won't do this for rtw89_8852ce as I don't have the
    hardware to test it.

    Thanks!
    Andy

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Vincent Blut@21:1/5 to Diederik de Haas on Sun Mar 26 18:39:28 2023
    Copy: andy@strugglers.net (Andy Smith)
    Copy: debian-kernel@lists.debian.org

    Le 2023-03-26 18:24, Diederik de Haas a écrit :
    On Sunday, 26 March 2023 17:55:17 CEST Vincent Blut wrote:
    Le 2023-03-26 15:12, Andy Smith a écrit :
    I've got a laptop running testing with a Realtek 8852be card in it.

    This driver seems to be present in upstream kernel from 6.1:
    https://elixir.bootlin.com/linux/v6.1/source/drivers/net/wireless/real
    tek/rtw89/rtw8852be.c>
    but doesn't seem to be in any Debian kernel package at present.

    While a skeleton version of that file is present, it does not seem to be a complete driver (in 6.2 it's already 'fuller'), but more importantly, in the Kconfig file there is no RTW89_8852BE, so it can't be enabled in Debian's 6.1
    kernel.

    Indeed, that's what I observed after having a closer look.

    I have got it working using a DKMS built from these instructions:
    https://github.com/lwfinger/rtw89

    (and packaged firmware-realtek)

    Will this driver make its way into a bookworm kernel at some point,

    No, but the DKMS built saw a recent improvement :-)

    or do I need to submit a wishlist bug for this, or is there some
    other procedure?

    To get it enabled for *Trixie*, filing a wishlist bug seems appropriate.

    Yeah, I’ll send a MR when Linux 6.2+ hits master.

    Surely it would be wise to enable RTW89_8852BE and RTW89_8852CE for bookworm. Salvatore, what's your take on this? I can commit some time to work on this.

    The RTW89_8852CE module is available in the 6.1 Kconfig file, so it _could_ be
    enabled, but whether that's useful without an explicit request is another Q.

    I think it would be nice to have it enabled since it is available on quite a few Lenovo Legion T series towers.

    Cheers,
    Vincent

    -----BEGIN PGP SIGNATURE-----

    iHUEABYKAB0WIQSRJQjHKbAUfuoc+DAQn1qAt/bgAQUCZCB1QAAKCRAQn1qAt/bg ATl/AP9j5T1LvL+Z2lXjrtXiKP+mh90JKKgvK+cjP7cKCOkuIwD/eBRZUcCJsOpT ngh+EwnnaNfYQfhTEPl9i/xgQ6aXGQI=
    =8ppQ
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Salvatore Bonaccorso@21:1/5 to Vincent Blut on Sun Mar 26 21:00:01 2023
    Hi Vincent,

    On Sun, Mar 26, 2023 at 05:55:17PM +0200, Vincent Blut wrote:
    Hi Andy,

    Le 2023-03-26 15:12, Andy Smith a écrit :
    Hi,

    I've got a laptop running testing with a Realtek 8852be card in it.
    This driver seems to be present in upstream kernel from 6.1:

    https://elixir.bootlin.com/linux/v6.1/source/drivers/net/wireless/realtek/rtw89/rtw8852be.c

    but doesn't seem to be in any Debian kernel package at present.

    I have got it working using a DKMS built from these instructions:

    https://github.com/lwfinger/rtw89

    (and packaged firmware-realtek)

    Will this driver make its way into a bookworm kernel at some point,
    or do I need to submit a wishlist bug for this, or is there some
    other procedure?

    Surely it would be wise to enable RTW89_8852BE and RTW89_8852CE for bookworm. Salvatore, what's your take on this? I can commit some time to work on this.

    There was already some discussion following on the specific one, but
    to answer the question in more general way: We are now in hard freeze.
    New features would not be eligible anymore, but adding HW support
    still can be considered now. But it depends (e.g. #1033504 would not
    be really fine if there are no upstream patches at least in mainline
    already, stuff which just needs to be enabled might be fine, New
    upstream stable imports will be done similarly anyway for point
    releases and are fine as well. I guess the general idea though is
    clear, all other needs to go to trixie.).

    Regards,
    Salvatore

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Diederik de Haas@21:1/5 to Andy Smith on Sun Mar 26 23:43:50 2023
    Copy: debian-kernel@lists.debian.org

    On Sunday, 26 March 2023 18:54:21 CEST Andy Smith wrote:
    Ah, okay. I did see some comments somewhere that it would be present
    in an upstream 6.2 release, so that makes sense.

    Okay, so perhaps I should wait for bookworm-backports to be a thing
    and then that may include a 6.2 or later kernel package which has
    this driver, since upstream should also.

    Yep, you only need a 6.2 or later kernel version (and the module to be enabled (by Vincent)). That should land in bookworm-backports at some point (too) :-) -----BEGIN PGP SIGNATURE-----

    iHUEABYIAB0WIQT1sUPBYsyGmi4usy/XblvOeH7bbgUCZCC8lgAKCRDXblvOeH7b bkkuAP98m7YlWw4yBsSv+55OdHiIW9R6WWikWH/BawrMzMKhgAD+IyGa37eJCwmE iYZlI5cxl9YxoDoRG2TVRMg7EygPyAI=
    =+Fc3
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)