Pi4 2gb Ubuntu 19.10.1LTS Kinect 360 and Desktop (Creative) Speakers
With some major screwing around, I now have Mycroft working on a Pi4. This is how I did it and I hope it helps
anybody who wants to try this. I do not have autologin and Mycroft auto starting.
Flash ubuntu server 19.10.01 to SD card
Boot the Pi4 with a wired network connection and let it do it’s upgrade.
If you have to you can run it manually. Update then Upgrade (sudo apt-get install upgrade)
Check to see if it is running (sudo service ssh status) This will start the service if installed.
Install ssh if not already installed (sudo apt-get install openssh-server) then run (sudo service ssh status).
I ssh into the box, I just find it easier and later on it makes trouble shooting a headless system easier)
Install net-tools (sudo apt install net-tools)
You WILL need to create a swapfile for ubuntu. it works in 18.04 as well.
Here is the link: https://linuxize.com/post/how-to-add-swap-space-on-ubuntu-18-04/
If you do not do this it will barf with an out of memory error. You have been warned.
Install alsa base and utils (sudo apt-get install alsa-base alsa-utils}
You may (will) likely have to add this (without the quotes) " dtparam=audio=on " to your /boot/firmware/usercfg.txt as I could not get the OS
to recognize the sound card. To force the sound thru the 3.5mm jack add " hdmi_ignore_edid_audio=1 " without the quotes to your usercfg.txt
Get the wireless working ( Indentation is critical!!) Here is the link. Remember to sub in your wireless card, your ESSID, and password.
networking - How to enable wireless on Ubuntu Server 18.04 via CLI? - Ask Ubuntu
Reboot (sudo reboot now) and wait for the login prompt.
Check your wireless connection (sudo ifconfig) and you should see your wireless card with an ip address.
Install freenect (sudo apt install freenect)
Install Kinect audio (sudo apt install kinect-audio-setup) and answer yes to Microsoft’s EULA
Shutdown the Pi (sudo shutdown now) then power off.
Connect your Kinect360 device
Power up the Pi
Check to see if the device is there ( lsusb ) You should see Microsoft: Xbox Camera, Xbox Motor, and Kinect Audio ← this last one is the
microphone array
GIT is already installed so you can install via the Git:Clone instructions and should have smooth (ish) sailing from here on in.
One thing that you should do BEFORE you run the setup script is (sudo chown -R ubuntu mycroft-core) as it solves a permissions problem that
will drive you to drink (well, that was the excuse I used). The git hub instruction say to change to the root (cd ~/) but if you are going
to run mycroft as the default user (ubuntu) then I recommend cloning into the ubuntu user home directory.
cheers,
Fred