Hi, im using a wifi-usb stick from ALFA (AWUS036ACM)
Which is IMO one of the best wifi-usb sticks on the market.
It has an mt7612u chip inside https://docs.alfa.com.tw/Support/Linux/MT7612U/
and is supported by the mainline kernel since version 4.19.
Can the firmware be added to the coreelec builds by the coreelec team?
EDIT:
So the .bin-firmware files are present in /usr/lib/firmware/mediatek after a reboot. Unfortunately there are no wifi connections visible. Also i don’t know how to ssd into my odroid n2 device with a direct wired connection (the static ip setup stuff).
Thanks, i am willing to compile the driver into a custom kernel, i don’t know about two things though:
How do you guys decide which drivers to include into the kernel used by CoreELEC?
Does this driver meet the requirements (i mean, it’s been mainlained, this is a best case scenario i guess)?
I’m a little in over my head here. Does someone know of a good tutorial for adding a driver to a self-build custom kernel or is there a place (IRC, Matrix) where someone can do a little hand-holding?
Um… I’m still wondering why the driver is not pretty much plug and play. In the config files there is already a flag for the driver, but not for Amlogic-ce → Amlogic-ng (which Odroid N2 is using)…
Yeah I’m seeing that the mt76 driver is available in the stable kernels 4.16–4.20, 5.0–5.19, 6.0-rc+HEAD. I would like to try backporting the 4.20 mt76 driver into the 4.9 amlogic kernel. I have seen a similar attempt in a github repository (that person used version mt76 driver version 4.19 and backported it into the mainline kernel version 4.9).
Questions:
Do you think mt76 driver from mainline kernel version 4.20 is a good choice, or should i choose a newer version?
Are you interested in the results, if i manage to get it working?
This new driver that you say is now included in the nightly 19.5 builds, is it going to work for the Tanix X4 by any chance? Don’t know if the X88 King uses the same WiFi and BT devices ?? Would love to get my Tanix X4 fully working if only to be able to sell it with CE SD card and to put the money towards a new Beelink GT King Mk ll. The 100Mbps LAN sadly makes this box a no go for me but no problem for many folk.
So is there any good news as to WIFi and BT drivers for the Tanix X4 box yet?
I have two ugoos x2 cube(905x2) and tox1(905x3) tv boxes with coreelec 19.5rc2. The first TV box has one external WiFi antenna and works in the 1t 1r configuration, in 5ghz mode, iperf shows about 100mbits., the second box works in the same conditions, but in the 2t 2r mimo configuration and has two WiFi antennas, one external and one built-in, iperf shows a speed slightly below 50-100mbits. For comparison, my oneplus phone also has several built-in antennas, and iperf shows about 200mbits also in the same conditions. What’s wrong with the TOX1 TV box, why does t2 r2 mimo work slower than ugoos x2cube with t1 r1? My router is MiRouter 4A Gigabit with openwrt firmware. Wifi signal strength in coreelec on both boxes, about 90%.
To begin with, I wanted to see what kind of wifi modules are installed in the boxes and in what modes they work. I checked lshw
and there is no information about module models, I also checked iw wlan0 info and iw list, and there is also little useful information.
i bought a Odroid N2+ and installed CoreELEC 19.5-Matrix on eMMC, everything works fine so far
i got internet through ethernet cable but i cant get my wifi dongle to work
its an EDIMAX N300 Wi-Fi 4 Mini USB Adapter / EW-7722UTn V3
i think the realtek driver is “RTL8812AU”, thats what i found out after opening some files from the linux driver on their webpage
the log says the dongle is unsupported
Sep 28 13:57:13.335111 CoreELEC kernel: usb 1-1.4: new high-speed USB device number 6 using xhci-hcd
Sep 28 13:57:13.459112 CoreELEC kernel: usb 1-1.4: New USB device found, idVendor=7392, idProduct=b722
Sep 28 13:57:13.459698 CoreELEC kernel: usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 28 13:57:13.460097 CoreELEC kernel: usb 1-1.4: Product: 802.11n WLAN Adapter
Sep 28 13:57:13.460478 CoreELEC kernel: usb 1-1.4: Manufacturer: Realtek
Sep 28 13:57:13.460854 CoreELEC kernel: usb 1-1.4: SerialNumber: 00e04c000001
Sep 28 13:57:13.483115 CoreELEC kernel: usb 1-1.4: Unsupported device
and here some more infos i got through SSH
Bus 001 Device 006: ID 7392:b722 Edimax Technology Co., Ltd 802.11n WLAN Adapte r
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x7392 Edimax Technology Co., Ltd
idProduct 0xb722
bcdDevice 2.00
iManufacturer 1 Realtek
iProduct 2 802.11n WLAN Adapter
iSerial 3 00e04c000001
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x004a
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 8
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 2 802.11n WLAN Adapter
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x05 EP 5 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x06 EP 6 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x87 EP 7 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 3
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x08 EP 8 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x09 EP 9 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x0c EP 12 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x0d EP 13 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
can't get debug descriptor: Resource temporarily unavailable
Device Status: 0x0000
(Bus Powered)
is there a way to install the linux driver in coreELEC or do you guys know a way to get that dongle working?
or should i buy a new one? i already googled for about 2 hours with no solution
Unfortunately … a friend purchased X96_x4_Pro (S905X4) 64/4/1000 from an auction where another one had previously purchased a working model with CE, this time he got the wrong model … and I warned
udevadm : http://ix.io/4f34
lsusb : http://ix.io/4f39
dmesg : http://ix.io/4f3a
fw_printenv : http://ix.io/4f3g
uuppsss eeeehhh
for configuration etc. I connected some wifi dongle to the usb port
I see this BOX with CE in black
ps. CE is on the SD card with the system: CoreELEC-Amlogic-ng.arm-19.5-Matrix_nightly_20221103-Generic and additional wifi via usb to connect to the internet network / now wifi is probably: Bus 001 Device 003: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
I installed the Matrix version with sc2_s905x4_4g_1gbit.dtb … strange but you can log in via ssh and ip address: 192.168.1.34
however, the network does not work properly even though it shows:
ethtool eth0 | grep -i speed
Speed: 1000Mb / s
CoreELEC:~ # ping www.google.com
PING www.google.com (172.217.16.36): 56 data bytes
64 bytes from 172.217.16.36: seq=0 ttl=57 time=22.320 ms
64 bytes from 172.217.16.36: seq=1 ttl=57 time=17.471 ms
64 bytes from 172.217.16.36: seq=2 ttl=57 time=15.539 ms
64 bytes from 172.217.16.36: seq=3 ttl=57 time=16.155 ms
64 bytes from 172.217.16.36: seq=4 ttl=57 time=17.140 ms
64 bytes from 172.217.16.36: seq=5 ttl=57 time=15.783 ms
64 bytes from 172.217.16.36: seq=6 ttl=57 time=21.505 ms
^C
--- www.google.com ping statistics ---
8 packets transmitted, 7 packets received, 12% packet loss
round-trip min/avg/max = 15.539/17.987/22.320 ms
you can log in using samba … but you cannot login to the CE repository and install add-ons e.g. openvfd / network tools etc. Therefore you can’t copy files either:
CoreELEC-Amlogic-ng.arm-19.5-Matrix_devel_20221106074226 / target to the backup folder. http://ix.io/4f3g
dmesg http://ix.io/4f5J
lsusb http://ix.io/4f5K
udevdam http://ix.io/4f5N
but I will upload the image via an additional wifi adapter
OK, the update was successful, but unfortunately the wired network is not working properly
CoreELEC (community): 19.5-Matrix_devel_20221106074226 (Amlogic-ng.arm)
dmesg (98.6 KB)
after removing the additional wifi for usb … unfortunately the CE system seems to be crashing (you can’t quite go to the CE settings … info is not ready)
dmesg (no additional wifi usb dongle) dmesg-2 (95.7 KB)
ifconfig http://ix.io/4f6a
wifi 2.4 not working
wifi 5 ghz works but slow
Only way is to but your device online with your USB WiFi adapter and share a remote SSH connection to us.
I see no other way as it will need more debugging.
OK …OK ! … but I’m not good at configuring the network so I don’t know if I can help
what data to the BOX to share?
Now the CE is on the 5ghz network, it works poorly, probably like 2.4ghz, but stable on the lan address 192.168.1.12 after samba, the speed reaches about 8Mb / s
BOX connects to the internet via the netgear r7000 (fw tomato) router