Theory: /etc/profile initializes environment variables for add-on's, but will only get executed when starting a shell session.
To include this process into your script, try:
Theory: /etc/profile initializes environment variables for add-on's, but will only get executed when starting a shell session.
To include this process into your script, try:
Thanks for all the answers. Is there any possible (other) way except using an USB extension cable to a wireless operation of my RPI 4 at a 6 feet distance?
Get a Bluetooth adapter with an antenna and a Bluetooth keyboard. This should provide best signal range.
Unfortunately they are both USB-dongle-based, so you can't do anything to increase signal range.
My research says that your new WiFi adapter needs an RTL8812AU Linux driver, and milhouse currently includes that driver into LE.
Chances are, the driver hasn't been included into LE's major release, yet, but maybe it's already available as test build. Activate test builds (a.k.a. milhouse builds) this way:
Hopefully this update will make your driver available, and the WiFi adapter should work without any further configuration.
Good luck!
Result should be like (/YOUR_TVM_ROOT_DIR replaced by the result you found at point 3):
Yes, by using a tvservice command line option inside an autostart.sh script. However, I'm sure you want to turn the display on again, but that's a problem. My tests gave me a Kodi error when trying to turn the display on by tvservice command.
Maybe it's just a script challenge to stop and start Kodi at the right time (before and after turning the display off/on). But without Kodi running, there probably must be found a different way to get an event for display wake-up.
Then post the start2.sh script please. When it's a large script, use a link to Pastebin for publishing.
Start another simple shell script (test file creation etc.) from autostart.sh to be sure that shell-script-to-shell-script works.
Cool. Using a smart phone app might be easier than the IR approach. Your choice.
If it has been working before, better HDMI cables might help. Maybe volume change increases data rate, and one or both of your HDMI cables can't handle that data rate. HDMI 2.0 or 2.1 standard cables work fine for RPi 4.
At config.txt you can try hdmi_safe=1 for maximum compatibility among devices.
Other users do RPi -> AVR -> TV without problems, so I think your AVR interrupts HDMI connection. Try RPi -> TV -> AVR instead.
For kicks and grins I created the file and copied it over like I did with advancesettings but I'm not sure I dropped in the right country code as IEEE doesn't have a code for the USA but does for my region (Eastern US), which is a 2. Now I don't see the 5GHz SSID at all.
Country ID's are for countries, not for regions inside countries. That means LE's default country US already fits for you, and there is no need to create that file.
So you're using the right WiFi configuration, but it looks like the WiFi signal isn't strong enough. You have to buy a WiFi adapter with an antenna for your WiFi surrounding, like the one I mentioned above. That will improve signal strength.
I'm running LE 9.2.1. is there such an interface for this version or do I need to create the config and push it over?
You already learned how to use the nano editor, right? If the file doesn't exists, then you have to create it. It's the same procedure like on your advancedsettings.xml problem:
Then add this line, but replace US by your country ID (IEEE standard):
Thanks for testing. Remove the (...) &, which makes the call a background process. Make sure both scripts have executable permissions (chmod +x).
It's a known issue that some USB sound cards (DAC's) don't work on RPi's. Fortunately there is an LE audio mod available, which you can try. If you follow that link, you can read my theory about the problem.
The USB WiFi dongle I have been suggested has an RTL8811BU chipset. Can you please confirm that this chipset is supported by LE?
Support here is pretty good, you just do exotic things with your display. What you want is to invert width and height parameters after screen rotation. Because there are no pre-defined HDMI modes for that case, try to define your pixel width and height manually by using hdmi_cvt (chapter "Custom mode").
5GHz is a game changer. Other users have trouble with RPi's internal 5GHz WiFi, too. This should work on RPi's.