Posts by loic

    It seems to work now adding

    ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0b95", ATTR{idProduct}=="1790", ATTR{bConfigurationValue}!="1", ATTR{bConfigurationValue}="1"

    to /storage/.config/udev.rules.d/99-asix.rules

    as mentioned here: RE: USB3 to Gigabit Ethernet adapter on Rpi4/5 troubles


    It used to work out of the box with LE12 but for some reason it stopped, and this fix solved it, but I will have to confirm that on the long run since the device seems to change state randomly.

    Not sure if podman is a good candidate for libreelec. Besides the /storage/.kodi/addons/service.system.podman/etc/containers/policy.json problem ( easy fix) podman is really resource hungry in both cpu, memory and disk space. I couldn't pull a 2.5GB image without resizing /var tmpfs mount , it was quite slow and crashed libreelec (both nightly LE13 and LE 12) a couple of times (until I increased ram and cores). podman compose doesn't work out of the box, it cant connect to the docker daemon ( Cannot connect to the Docker daemon at unix:///run/podman/podman.sock. Is the docker daemon running? ) . When I finally had the container running it didn't work as expected (a remote flatpak brave browser through web/vnc under alpine) I was seduced by the rootless mode but podman is not there yet on libreelec. Besides that I am not even sure that rootless mode makes sense on libreelec since everything runs under root, right ?

    The ethernet adapter ( https://www.amazon.com/UGREEN-Network…uage=en_US&th=1 ) used to work fine on my libreelec 10 installed on an Dell Inspiron 11 3168 . I freshly installed libreeelec 11 release on the laptop and it stopped working. "Wired Networks" option won't appear in network settings anymore.

    I found a workaround though:

    1. boot libreelec 10 in live mode on usb stick

    2. once in kodi reboot your machine using kodi ( dont use "Power off system" !! ) , remove your libreelec 10 live usb stick and boot your hard disk installed version of libreelec 11 in UEFI mode

    3. for some reason the ethernet adapter will blink again and "Wired Networks" will appear in settings

    My knowledge is limited on how linux detects devices and loads corresponding modules/drivers but here are some additional infos that might give some insight.

    With an non working adapter on libreelec 11:

    lsusb detects the device.

    "Bus 001 Device 005: ID 0b95:1790 ASIX Electronics Corp. AX88179 Gigabit Ethernet"

    Code
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 006: ID 0c45:6a06 Microdia Integrated_Webcam_HD
    Bus 001 Device 009: ID 0cf3:e005 Qualcomm Atheros Communications 
    Bus 001 Device 008: ID 0483:91d1 STMicroelectronics Sensor Hub
    Bus 001 Device 007: ID 04f3:2337 Elan Microelectronics Corp. Touchscreen
    Bus 001 Device 005: ID 0b95:1790 ASIX Electronics Corp. AX88179 Gigabit Ethernet
    Bus 001 Device 003: ID 058f:6254 Alcor Micro Corp. USB Hub
    Bus 001 Device 002: ID 046d:c077 Logitech, Inc. Mouse
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

    dmesg | paste :

    http://ix.io/4qTK

    plugging unplugging the adapater triggers:

    [ 245.105441] usb 1-2.2: USB disconnect, device number 5

    [ 247.376395] usb 1-2.2: new high-speed USB device number 10 using xhci_hcd


    When the ethernet adapter is working after rebooting from libreelec 10 dmesg adds the following traces on libreelec 11 ( dmesg | grep ax88) :

    Code
    [    6.516340] ax88179_178a 1-2.2:1.0 (unnamed net_device) (uninitialized): Failed to read reg index 0x0040: -32
    [    6.843226] ax88179_178a 1-2.2:1.0 eth0: register 'ax88179_178a' at usb-0000:00:14.0-2.2, ASIX AX88179 USB 3.0 Gigabit Ethernet, 20:7b:d2:22:b5:47
    [    6.843312] usbcore: registered new interface driver ax88179_178a
    [    7.467632] ax88179_178a 1-2.2:1.0 eth0: Failed to read reg index 0x0040: -32
    [   10.875177] ax88179_178a 1-2.2:1.0 eth0: ax88179 - Link status is: 1

    complete log :

    http://ix.io/4qTR


    Any ideas on how this could be fixed?