Open kwaaak opened 10 months ago
Hi @kwaaak
Thanks for the help. Can you tell what problem you were seeing and how this fixed it?
Hi,
I compiled the driver on a Armbian_23.8.1_Odroidc2_bookworm_current_6.1.50
system with German locale. The script could not read the memory configuration, because the free
response was localised.
The install script worked fine, I just saw the error messages in the console output.
I tried the command manually with LC_ALL=C
and the response was in English, which would have let awk
match it and populate the variable and so on.
I really appreciate that you took the time to report this. In your case, it is a cosmetic problem but with low resource systems, it could cause real problems.
The change needed to be made in two places. I have merged the patch.
@morrownr
Please use
LC_ALL=C
instead ofLANG=C
here for a more robust script https://github.com/morrownr/rtl8852bu/blob/a081fae0039268ef5c7838c428bc8ca0bd6481b1/install-driver.sh#L160C8-L160C47