Posts by chewitt

    Code
    RTL871X: ERROR invalid mac addr:00:00:00:00:00:00, assign random MAC

    The connection manager (connman) caches configurations in a structured format keyed on the connection type and MAC of the interface so ^ that's the problem. It doesn't forget.. it's just (correctly) presented with a new randomly generated MAC on each boot.

    Code
    echo "options 8812au rtm_initmac=00:e0:4c:37:67:35" > /storage/.config/modprobe.d/8812au.conf
    or
    echo "options 8812au mac_addr=00:e0:4c:37:67:35" > /storage/.config/modprobe.d/8812au.conf

    ^ this is a complete guess based on 60 seconds of non-specific Googling, so I make no guarantees it will work. It is technically possible to change the MAC via ethtool commands, but really it should be done at driver load time which is what we're trying to achieve.

    I don't have the code knowledge to spot if this is an issue with the driver code or not, but the lack of general comments in Google search makes me suspect it's a manufacturing issue where a blank/null MAC address is set in the device. You can argue whether that's a fault as it wouldn't cause an issue in Win/macOS, but it does here. It probably indicates a cheap device where the manufacturer hasn't been assigned unique hardware ID ranges for their devices.

    We know who creates the chip. They don't respond to emails in English or Chinese. Neither Amlogic or Rockchip (where we have direct contacts) have any record of an authorised hardware manufacturer using the chip (else they would require accreditation and would have driver sources in their code archives). I'm sure sources will leak eventually, but until that happens we are out of luck.

    Make sure you follow instructions correctly. You do not copy the contents of the zip file to the SD card. You copy the contents of the folder within the zip. It's subtly different, but one results in a working "recovery" SD card that will install to eMMC (WP2 has no NAND) and the other does not.

    ^ The above is based on the composite output config I used to ship in AppleTV builds. You will need to change the TVStandard option to match your TV and store the file as /storage/.config/xorg.conf and "systemctl restart xorg" to effect the change.

    Kodi Krypton uses a completely different video caching process to older Jarvis releases. The positive of this is that untold playback gremlins are resolved and the codebase is considerably cleaner. The negative is that caching takes a lot longer and this impacts the channel zap speed. There is basically nothing you (or we) can do without reverting/modifying very large chunks of code; which probably breaks more than it fixes. The issue has been communicated at loud volume and with crystal clarity to the required Kodi developers and Kodi Leia should make a great leap forwards (or backwards, depending on your point of view) for this issue. Leia is tentatively scheduled towards year end.

    autostart.sh is run at the start of userspace boot and the script will execute fully before boot continues; i.e. if you don't want to block boot you will need to (background)& tasks in the script. NB: If you background things there is no guarantee your tasks have finished before Kodi starts. It provides lots of possibilities for fixing and breaking things :)

    The calibrate system in Kodi is a bit dumb because it only calibrates the current refresh rate, e.g. the Kodi GUI default at 60Hz. If you have "adjust refresh rate" enabled and play a DVD at 23.98 (23.976) Hz this will not be calibrated. If you play PAL content at 25Hz (doubled to 50Hz) it will not be calibrated. You need to manually step through each supported refresh rate (or the rates your media will need) and calibrate them all. The fact that you will make the same adjustment in all refresh rates is the dumb part, but at least you only need to do it once..