Hello.
Latest mainline of Libreelec:
LibreELEC:/ # uname -a
Linux LibreELEC 6.0.9 #1 SMP PREEMPT Fri Nov 18 22:07:33 EET 2022 armv7l GNU/Linux
LibreELEC:/ #
QuoteDisplay Moredmytro@DESKTOP-XXXXXX:/mnt/wsl/Alpine/LibreELEC.tv$ git log
commit ea69b27032acc8b24fa0a067de691d3585c9d198 (HEAD -> master, origin/master, origin/HEAD)
Merge: 92ea637417 d68a4b874b
Author: Rudi Heitbaum <[email protected]>
Date: Sat Nov 19 21:31:55 2022 +1100
Merge pull request #7091 from HiassofT/le11-xkb
Remove unnecessary and incorrect pkgconfig changes
commit d68a4b874b376ecf9943ce17fcfa1f0c28434c84
Author: Matthias Reichl <[email protected]>
Date: Sat Nov 5 22:05:37 2022 +0100
Revert "systemd: set PKGCONFIG directory to /usr/lib/pkgconfig"
This reverts commit 423183d431628e393ebd6d46c9249301e8169802.
....
Latest buld Libreelec from tree for Allwinner H3 Orange Pi Lite with 1G RAM Wifi SDIO type rtl8189fs from tree https://github.com/jwrdegoede/rtl8189ES_linux/tree/rtl8189fs
Successfully compiled.
Only the drivers have been added to the packages:
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="RTL8189FS"
PKG_VERSION="476020109b3841421af289a7b78c7a25b0c45fac"
PKG_SHA256="34321ef57f8d5925fd52e234d1cabed1428c2d06e47e49d1eee20775635157e4"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/jwrdegoede/rtl8189ES_linux"
PKG_URL="https://github.com/jwrdegoede/rtl8189ES_linux/archive/${PKG_VERSION}.tar.gz"
PKG_LONGDESC="Realtek RTL8189FS Linux driver"
PKG_IS_KERNEL_PKG="yes"
pre_make_target() {
unset LDFLAGS
}
make_target() {
make V=1 \
ARCH=${TARGET_KERNEL_ARCH} \
KSRC=$(kernel_path) \
CROSS_COMPILE=${TARGET_KERNEL_PREFIX} \
CONFIG_POWER_SAVING=n
}
makeinstall_target() {
mkdir -p $INSTALL/$(get_full_module_dir)/$PKG_NAME
cp *.ko $INSTALL/$(get_full_module_dir)/$PKG_NAME
}
Display More
Wifi module boots correctly(dmesg):
[ 15.482240] sun8i-ce 1c15000.crypto: CryptoEngine Die ID 1
[ 15.667288] usb 5-1: Warning! Unlikely big volume range (=4294967295), cval->res is probably wrong.
[ 15.667326] usb 5-1: [3] FU [Mic Capture Volume] ch = 1, val = -8192/0/-8192
[ 15.668303] usbcore: registered new interface driver snd-usb-audio
[ 15.726860] input: eventlircd as /devices/virtual/input/input6
[ 15.726876] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 15.905023] lima 1c40000.gpu: gp - mali400 version major 1 minor 1
[ 15.905185] lima 1c40000.gpu: pp0 - mali400 version major 1 minor 1
[ 15.905307] lima 1c40000.gpu: pp1 - mali400 version major 1 minor 1
[ 15.905366] lima 1c40000.gpu: l2 cache 64K, 4-way, 64byte cache line, 64bit external bus
[ 15.956268] lima 1c40000.gpu: bus rate = 200000000
[ 15.956313] lima 1c40000.gpu: mod rate = 297000000
[ 15.956446] lima 1c40000.gpu: error -ENODEV: _opp_set_regulators: no regulator (mali) found
[ 15.959021] [drm] Initialized lima 1.1.0 20191231 for 1c40000.gpu on minor 1
[ 16.194894] 8189fs: loading out-of-tree module taints kernel.
[ 16.265681] RTW: module init start
[ 16.265719] RTW: rtl8189fs v5.7.9_35795.20191128
[ 16.265732] RTW: build time: Nov 18 2022 23:31:21
[ 16.265811] RTW: rtw_inetaddr_notifier_register
[ 16.278776] RTW: == SDIO Card Info ==
[ 16.278811] RTW: card: 3ee3ed21
[ 16.278832] RTW: clock: 50000000 Hz
[ 16.278841] RTW: timing spec: sd high-speed
[ 16.278862] RTW: sd3_bus_mode: FALSE
[ 16.278871] RTW: func num: 1
[ 16.278878] RTW: func1: 6b0f6f21 (*)
[ 16.278888] RTW: ================
[ 16.278903] RTW: CHIP TYPE: RTL8188F
[ 16.279324] RTW: rtw_hal_config_rftype RF_Type is 0 TotalTxPath is 1
[ 16.279354] RTW: Chip Version Info: CHIP_8188F_Normal_Chip_SMIC_B_CUT_1T1R_RomVer(0)
[ 16.279542] RTW: SetHwReg: hci_sus_state=1
[ 16.281529] RTW: SetHwReg: bMacPwrCtrlOn=1
[ 16.281564] RTW: SetHwReg: hci_sus_state=2
[ 16.281835] RTW: sdio_power_on_check: val_mix:0x0000063f, res:0x0000063f
[ 16.281854] RTW: sdio_power_on_check: 0x100 the result of cmd52 and cmd53 is the same.
[ 16.281927] RTW: sdio_power_on_check: 0x1B8 test Pass.
[ 16.281989] RTW: EEPROM type is E-FUSE
[ 16.282479] RTW: hal_EfuseSwitchToBank: Efuse switch bank to 0
[ 16.292899] RTW: hal_ReadEFuse_WiFi: data end at address=0x12
[ 16.293016] RTW: HW EFUSE
[ 16.293042] RTW: 0x000: 29 81 03 CC 00 00 50 00 00 00 04 CC 0A 0C 00 00
[ 16.293132] RTW: 0x010: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 16.293219] RTW: 0x020: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 16.293307] RTW: 0x030: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 16.293393] RTW: 0x040: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 16.293479] RTW: 0x050: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 16.293566] RTW: 0x060: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 16.293652] RTW: 0x070: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 16.293738] RTW: 0x080: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 16.293824] RTW: 0x090: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 16.293910] RTW: 0x0A0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 16.293996] RTW: 0x0B0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 16.294305] RTW: 0x0C0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 16.294432] RTW: 0x0D0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 16.294601] RTW: 0x0E0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 16.294767] RTW: 0x0F0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 16.294886] RTW: 0x100: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 16.294992] RTW: 0x110: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 16.295160] RTW: 0x120: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 16.295273] RTW: 0x130: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 16.295361] RTW: 0x140: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 16.295448] RTW: 0x150: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 16.295561] RTW: 0x160: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 16.295719] RTW: 0x170: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 16.295872] RTW: 0x180: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 16.296000] RTW: 0x190: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 16.296169] RTW: 0x1A0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 16.296343] RTW: 0x1B0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 16.296482] RTW: 0x1C0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 16.296616] RTW: 0x1D0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 16.296713] RTW: 0x1E0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 16.296802] RTW: 0x1F0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 16.304986] RTW: rtw_read_efuse_from_file /system/etc/wifi/wifi_efuse_8189fs.map is not readable
[ 16.305025] RTW: ERROR invalid phy efuse and read from file fail, will use driver default!!
[ 16.305074] RTW: rtw_read_macaddr_from_file /data/wifimac.txt is not readable
[ 16.305096] RTW: [A] 2G G00 CCK-1T base:34 from IC_DEF
[ 16.305113] RTW: [A] 2G G01 CCK-1T base:34 from IC_DEF
[ 16.305128] RTW: [A] 2G G02 CCK-1T base:34 from IC_DEF
[ 16.305141] RTW: [A] 2G G03 CCK-1T base:34 from IC_DEF
[ 16.305150] RTW: [A] 2G G04 CCK-1T base:34 from IC_DEF
[ 16.305159] RTW: [A] 2G G05 CCK-1T base:34 from IC_DEF
[ 16.305168] RTW: [A] 2G G00 BW40-1S base:39 from IC_DEF
[ 16.305183] RTW: [A] 2G G01 BW40-1S base:39 from IC_DEF
[ 16.305193] RTW: [A] 2G G02 BW40-1S base:39 from IC_DEF
[ 16.305201] RTW: [A] 2G G03 BW40-1S base:39 from IC_DEF
[ 16.305210] RTW: [A] 2G G04 BW40-1S base:39 from IC_DEF
[ 16.305229] RTW: hal_com_config_channel_plan use def_chplan:0x20
[ 16.307215] RTW: kfree Pwr Trim flag:3
[ 16.307242] RTW: bb_gain:2
[ 16.307251] RTW: thermal:-7
[ 16.307392] RTW: rtl8188f_FirmwareDownload((null)) tmp_ps=3
[ 16.307415] RTW: rtl8188f_FirmwareDownload fw: FW_NIC, size: 20306
[ 16.307427] RTW: rtl8188f_FirmwareDownload: fw_ver=e fw_subver=0000 sig=0x88f1, Month=06, Date=07, Hour=17, Minute=18
[ 16.307443] RTW: rtl8188f_FirmwareDownload(): Shift for fw header!
[ 16.307452] RTW: rtl8188f_FirmwareDownload by IO write!
[ 16.307939] systemd-journald[277]: Data hash table of /run/log/journal/727cb5992aa70c8e16b75965636a60a8/system.journal has a fill level at 75.1 (1537 of 2047 items, 524288 file size, 341 bytes per hash table item), suggesting rotation.
[ 16.307994] systemd-journald[277]: /run/log/journal/727cb5992aa70c8e16b75965636a60a8/system.journal: Journal header limits reached or header out-of-date, rotating.
[ 16.557507] RTW: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x07040105
[ 16.557969] RTW: _8051Reset8188: Finish
[ 16.571484] RTW: _FWFreeToGo: Polling FW ready OK! (164, 10ms), REG_MCUFWDL:0x070401c6
[ 16.571531] RTW: rtl8188f_FirmwareDownload: DLFW OK !
[ 16.571540] RTW: rtl8188f_FirmwareDownload success. write_fw:1, 260ms
[ 16.571589] RTW: <=== rtl8188f_FirmwareDownload()
[ 16.590605] RTW: hal_read_mac_hidden_rpt OK! (2, 20ms), fwdl:1, id:0x19
[ 16.591090] RTW: SetHwReg: bMacPwrCtrlOn=0
[ 16.591106] RTW: SetHwReg: hci_sus_state=3
[ 16.592015] RTW: SetHwReg: hci_sus_state=0
[ 16.592042] RTW: rtw_hal_read_chip_info in 310 ms
[ 16.592086] RTW: init_channel_set((null)) ChannelPlan ID:0x20, ch num:13
[ 16.592231] RTW: init_mlme_default_rate_set: support CCK
[ 16.592244] RTW: init_mlme_default_rate_set: support OFDM
[ 16.592874] RTW: rtw_alloc_macid((null)) if1, mac_addr:ff:ff:ff:ff:ff:ff macid:1
[ 16.592915] RTW: rtw_init_pwrctrl_priv: IPS_mode=0, LPS_mode=0, LPS_level=0
[ 16.592947] RTW: IQK FW offload:disable
[ 16.592963] RTW: Init_ODM_ComInfo_8188f(): fab_ver=0 cut_ver=12
[ 16.592977] RTW: rtw_regsty_chk_target_tx_power_valid return _FALSE for band:0, path:0, rs:0, t:-1
[ 16.593143] RTW: phy_ConfigBBWithPgParaFile(): No File PHY_REG_PG.txt, Load from HWImg Array!
[ 16.593173] RTW: default power by rate loaded
[ 16.593263] RTW: rtw_macaddr_cfg mac addr:XX:XX:XX:XX:XX:XX
[ 16.593431] RTW: bDriverStopped:True, bSurpriseRemoved:False, bup:0, hw_init_completed:0
[ 16.593551] RTW: rtw_wiphy_alloc(phy0)
[ 16.593563] RTW: rtw_wdev_alloc(padapter=5ded42cd)
[ 16.593586] RTW: rtw_wiphy_register(phy0)
[ 16.593594] RTW: Register RTW cfg80211 vendor cmd(0x67) interface
[ 16.594852] RTW: rtw_reg_notifier: NL80211_REGDOM_SET_BY_CORE
[ 16.594932] RTW: rtw_ndev_init(wlan0) if1 mac_addr=XX:XX:XX:XX:XX:XX
[ 16.595366] RTW: rtw_ndev_notifier_call(wlan0) state:17
[ 16.599111] RTW: cfg80211_rtw_get_txpower
[ 16.599145] RTW: rtw_ndev_notifier_call(wlan0) state:5
[ 16.600401] RTW: module init ret=0
[ 45.127556] hrtimer: interrupt took 383959 ns
Display More
iw tool show device corectly:
LibreELEC:/ # iw dev
phy#0
Interface wlan0
ifindex 3
wdev 0x1
addr XX:XX:XX:XX:XX:XX
type managed
txpower 12.00 dBm
LibreELEC:/ #
if use iw for scan, its scan wifi sorrectly:
LibreELEC:/ #
LibreELEC:/ # iw dev wlan0 scan
BSS xx:xx:xx:xx:xx:xx(on wlan0)
TSF: 7209933681 usec (0d, 02:00:09)
freq: 2412
beacon interval: 100 TUs
capability: ESS Privacy ShortSlotTime (0x0411)
signal: -74.00 dBm
last seen: 0 ms ago
SSID: NewWiFi
Supported rates: 1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0
DS Parameter set: channel 1
Extended supported rates: 6.0 12.0 24.0 48.0
TIM: DTIM Count 0 DTIM Period 1 Bitmap Control 0x0 Bitmap[0] 0x40
RSN: * Version: 1
* Group cipher: CCMP
* Pairwise ciphers: CCMP
* Authentication suites: PSK
* Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000)
WPS: * Version: 1.0
* Wi-Fi Protected Setup State: 2 (Configured)
* UUID: 38833092-3092-1883-9c77-cc32e598a3c4
* RF Bands: 0x1
* Version2: 2.0
ERP: Barker_Preamble_Mode
HT capabilities:
Capabilities: 0x106e
HT20/HT40
SM Power Save disabled
RX HT20 SGI
RX HT40 SGI
No RX STBC
Max AMSDU length: 3839 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 4 usec (0x05)
HT RX MCS rate indexes supported: 0-15, 32
HT TX MCS rate indexes are undefined
HT operation:
* primary channel: 1
* secondary channel offset: above
* STA channel width: any
* RIFS: 0
* HT protection: nonmember
* non-GF present: 1
* OBSS non-GF present: 0
* dual beacon: 0
* dual CTS protection: 0
* STBC beacon: 0
* L-SIG TXOP Prot: 0
* PCO active: 0
* PCO phase: 0
Overlapping BSS scan params:
* passive dwell: 20 TUs
* active dwell: 10 TUs
* channel width trigger scan interval: 300 s
* scan passive total per channel: 200 TUs
* scan active total per channel: 20 TUs
* BSS width channel transition delay factor: 5
* OBSS Scan Activity Threshold: 0.25 %
WMM: * Parameter version 1
* BE: CW 15-1023, AIFSN 3
* BK: CW 15-1023, AIFSN 7
* VI: CW 7-15, AIFSN 2, TXOP 3008 usec
* VO: CW 3-7, AIFSN 2, TXOP 1504 usec
BSS Load:
* station count: 5
* channel utilisation: 0/255
* available admission capacity: 31250 [*32us]
BSS xx:xx:xx:xx:xx:xx(on wlan0)
TSF: 7209933646 usec (0d, 02:00:09)
.......
Display More
Modules loaded:
LibreELEC:/ # lsmod
Module Size Used by
8189fs 1425408 0
lima 45056 1
drm_shmem_helper 16384 1 lima
gpu_sched 24576 1 lima
snd_usb_audio 212992 0
snd_hwdep 16384 1 snd_usb_audio
sun8i_ce 32768 0
snd_usbmidi_lib 28672 1 snd_usb_audio
crypto_engine 16384 1 sun8i_ce
snd_rawmidi 28672 1 snd_usbmidi_lib
cfg80211 323584 1 8189fs
rng_core 20480 1 sun8i_ce
sun8i_di 20480 0
display_connector 16384 0
pkcs8_key_parser 16384 0
fuse 102400 1
LibreELEC:/ #
Display More
But no wifi list on menu KODI.
I was try this manual over console and got this:
LibreELEC:/ # connmanctl
connmanctl>
connmanctl> Agent registered <=response to the command "agent on"
connmanctl>
connmanctl> Error /net/connman/technology/wifi: Method "Scan" with signature "" on interface "net.connman.Technology" doesn't exist
connmanctl> <=empty response to the command "services"
connmanctl>
connmanctl>
Display More
If the Wifi module works correctly, why is AP's not in the list of available networks?
Thank you.