Commit Graph

180 Commits

Author SHA1 Message Date
j1nx 79e24e02a9 MycroftOS: GUI: Don't show resting screen if not paired yet 2020-05-30 18:56:42 +02:00
j1nx b9d54091fa MycroftOS: GUII: Update skill-mycroft-gui 2020-05-30 18:50:52 +02:00
j1nx fe07bf5bfb MycroftOS: Refactoring wifi setup system 2020-05-28 09:12:54 +02:00
j1nx 99f2b2f535 MycroftOS: Remove splash screens as they are no longer used. 2020-05-25 19:58:51 +02:00
j1nx 857c44a74d MycroftOS: Update enclosure skill. 2020-05-25 19:57:26 +02:00
j1nx cde24f07fe MycroftOS: Update enclosure skill 2020-05-24 20:43:38 +02:00
j1nx fef13a4c43 MycroftOS: GUI: Update enclosure and gui skills 2020-05-24 19:54:10 +02:00
j1nx b9ce602cb5 MycroftOS: GUI: Try to fix preinstalled skills 2020-05-24 15:07:23 +02:00
j1nx f89119e4f0 MycroftOS: GUI: Add of updated volume skill and mark2-skill 2020-05-24 14:21:26 +02:00
j1nx 036d70a505 MycroftOS: GUI: Make sure the splash starts after DRM 2020-05-17 20:09:09 +02:00
j1nx b3d1c011ef MycroftOS: GUI: Add mycroft-gui systemd service file 2020-05-17 17:38:09 +02:00
j1nx e73b5bbd00 MycroftOS: GUI: Changes/fixes to the splash update.
As the mycroft services run as the mycroft user the splash updates
need to be done via sudo/root.
2020-05-17 17:34:03 +02:00
Peter Steenbergen c50bcb13f9 MycroftOS: Remove deprecated umask from pulseaudio startup 2020-05-15 10:57:34 +02:00
Peter Steenbergen a734eac671 MycroftOS: GUI: Small changes to the splash system 2020-05-15 10:56:24 +02:00
Peter Steenbergen 8a365bf730 MycroftOS: GUI: Enable the splash quit service at the end of boot process. 2020-05-15 10:29:14 +02:00
Peter Steenbergen 0f8f5e5eee MycroftOS: Remove hostname.service drop-in splash file. 2020-04-22 14:33:08 +02:00
Peter Steenbergen 2667ad6204 MycroftOS: More changes to the splash system 2020-04-21 13:05:55 +02:00
Peter Steenbergen 7656ac027a MycroftOS: More changes for the splash screen. 2020-04-21 09:36:05 +02:00
Peter Steenbergen 22c8c79444 MycroftOS: Remove framebuffer screen from enclosure skill.
- This make testing the splash easier.
2020-04-20 13:54:24 +02:00
Peter Steenbergen 441c69fd06 MycroftOS: Remove cork module loading and unloading 2020-04-20 13:47:43 +02:00
Peter Steenbergen 52695dfb5a MycroftOS: Start pulseaudio after avahi 2020-04-20 13:40:53 +02:00
Peter Steenbergen 7267b980c6 MycroftOS: Enable seeed-voicecard by default 2020-04-20 13:17:51 +02:00
Peter Steenbergen 4d2786c8e8 MycroftOS: Create tmpfiles.d pulse cookie directory at boot 2020-04-20 12:25:06 +02:00
Peter Steenbergen faa2787ecd MycroftOS: Fix dbus pulse configuration 2020-04-20 12:01:11 +02:00
Peter Steenbergen afbb248517 MycroftOS: Small changes to systemd-preset to make development easier. 2020-04-20 11:25:40 +02:00
j1nx ddb6c3c82b MycroftOS: Limit Journald in files and filesize 2020-04-16 13:10:54 +02:00
j1nx 98f30ff704 MycroftOS: Disable coredump 2020-04-16 13:05:59 +02:00
j1nx 93b0571fba MycroftOS: Decrease wait for network online timeout 2020-04-16 12:37:58 +02:00
j1nx 7aca1dd279 MycroftOS: Bring btspeaker service inline with latest systemd changes 2020-04-16 12:04:05 +02:00
j1nx e0161a3717 MycroftOS: Disable getty by default 2020-04-16 11:41:50 +02:00
j1nx 00e090edc5 MycroftOS: Migrate splash updates into systemd drop-in files
This for better management and in preperation for easy BAR update
2020-04-16 10:59:59 +02:00
Peter Steenbergen 44961dd8a0 MycroftOS: Remove wpa_supplicant patch as systemd now takes care of it. 2020-04-15 16:33:50 +02:00
Peter Steenbergen bbf4dd3fbf MycroftOS: Implementation of os-release file 2020-04-15 16:11:35 +02:00
Peter Steenbergen b4050b329e MycroftOS: Make use of systemd preset files for enabling default services. 2020-04-15 15:43:36 +02:00
Peter Steenbergen 2b6e6b94b8 MycroftOS: Set systemd default to disable via preset. 2020-04-15 14:37:00 +02:00
j1nx 3bc68902ae Merge branch 'feature/rpi4_64' into develop 2020-04-15 09:07:21 +02:00
Peter Steenbergen cb5a4b31a7 MycroftOS: Add of eth0.network 2020-04-14 21:08:11 +02:00
Peter Steenbergen bb0a9ea186 MycroftOS: Change dhcp.network file to reflect buildroot change.
5ba81d0109 (diff-531b504c55961e72523bdd2f4ff62f39)
2020-04-14 19:57:45 +02:00
j1nx eb1e78b817 MycroftOS: Split rootfs overlay into board specifics folders 2020-04-12 15:35:10 +02:00
Peter Steenbergen d85a55f71a MycroftOS: Add dbus config for systemwide pulseaudio. 2020-04-06 13:34:16 +02:00
Peter Steenbergen d32532947f MycroftOS: Make alsa a bit more forgiving for usb cards. 2020-04-06 11:31:06 +02:00
Peter Steenbergen cbd014a0b5 MycroftOS: Bump enclosure skill 2020-01-16 21:36:08 +01:00
Peter Steenbergen 554fc0003e MycroftOS: Bump enclosure skill once again 2020-01-16 15:46:42 +01:00
Peter Steenbergen 8bce3b0fe7 MycroftOS: Bump mycroftos-enclosure-skill again 2020-01-15 22:52:27 +01:00
Peter Steenbergen 257df74090 MycroftOS: Bump mycroft-enclosure-skill 2020-01-15 11:46:20 +01:00
Peter Steenbergen 9ee6bea5cd MycroftOS: Addition of Music Player Daemon (mpd).
- Folders are in /opt/mpd/
- Configuration in /etc/mpd.conf
- commented section to output to Snapcast if wanted
- NOT enabled by default, can be started/enabled by;
  sudo systemctl start/enable mpd.service
2020-01-13 14:31:02 +01:00
Peter Steenbergen 34ab4ad2b3 Intermediate mycroftos-enclosure-skill bump 2020-01-13 08:04:35 +01:00
Peter Steenbergen 6d2105a8d0 MycroftOS: Pulse audio fixes and tweaks (mostly for BT distortions) 2020-01-11 19:38:16 +01:00
Peter Steenbergen c53f0b297e MycroftOS: Remove service name from advertised names.
They are not biting each other anyway and making it is obvious anayway
2020-01-10 19:20:15 +01:00
Peter Steenbergen 9d84ce2239 MycroftOS: Add mycroftos-enclosure-skill to priority skills 2020-01-08 09:15:18 +01:00
Peter Steenbergen f13b367b22 MycroftOS: Remove spaces from airplay name. 2020-01-07 14:39:59 +01:00
Peter Steenbergen 53307696cb MycroftOS: Update mycroftos-enclosure skill 2020-01-07 14:36:28 +01:00
Peter Steenbergen f95dec9fa5 MycroftOS: Fixes / Changes in file/folder permissions at first boot. 2020-01-07 14:35:20 +01:00
Peter Steenbergen 64bac8c138 MycroftOS: Try to enable/disable Airplay via enclosure-skill 2020-01-06 21:12:43 +01:00
Peter Steenbergen d5b81abe22 Revert "MycroftOS: Decrease pulseaudio latency by disabling tsched."
This reverts commit e1c343a762.
2020-01-06 19:54:27 +01:00
Peter Steenbergen 2789b9af69 MycroftOS: Fix folder permissions on first boot for default already installed skills 2020-01-06 19:22:24 +01:00
Peter Steenbergen 29ae2c3557 MycroftOS: Let's make snd_bcm2835 play nice with USB cards
- Make the USB card default before bcm2835 if present.
2020-01-06 16:36:49 +01:00
Peter Steenbergen b2998369c2 MycroftOS: Initial start of implementing Airplay support. 2020-01-06 15:15:52 +01:00
Peter Steenbergen c1b3bb8b0e MycroftOS: Add mycroftos-enclosure-skill for FB visuals. 2020-01-06 11:44:25 +01:00
Peter Steenbergen dc7396e46e MycroftOS: Show wifisetup FB visual when starting the wifisetup. 2020-01-06 11:41:32 +01:00
Peter Steenbergen 3e6ec89558 MycroftOS: Mimic a captive portal to auto start a browser on wifi connect. 2019-12-31 16:59:43 +01:00
Peter Steenbergen 34a89c5541 MycroftOS: Implementation of MycroftOS-WiFiSetup system.
- Start an Acces Point if no wlan is configured.
- Start a small flask webserver to configure the wifi.
2019-12-29 14:03:51 +01:00
Peter Steenbergen 8e897038b7 MycroftOS: Make the HDMI bootup screen pretty again 2019-12-22 19:29:30 +01:00
Peter Steenbergen 1dfae2d035 MycroftOS: Loading the mycroft-cli-client to soon is fixed
- Therefor start the ncurses cli client by default again
2019-12-22 13:14:57 +01:00
Peter Steenbergen 4061037d0b MycroftOS: Some of tweaks and fises. 2019-12-21 23:43:56 +01:00
Peter Steenbergen e1c343a762 MycroftOS: Decrease pulseaudio latency by disabling tsched.
- This decreases teh latency from 828899 usec to 91376 usec
  a factor of ~10 which feels a lot snappier with for instance
  the listener sound. (testing needs to prove possible other
  related glitches.)
2019-12-20 21:09:29 +01:00
Peter Steenbergen ef7f547531 MycroftOS: Fix wifi. 2019-12-20 21:05:12 +01:00
Peter Steenbergen 9cfca493ac MycroftOS: Disable Echo Cancellation (for now). 2019-12-17 12:12:27 +01:00
Peter Steenbergen a3e71e7602 MycroftOS: Remove export for node, replace with LC_ALL. 2019-12-17 09:27:02 +01:00
Peter Steenbergen f45287d34d MycroftOS: Add patched volume skill by default.
- This will change later on when the enclosure code is ready
  and take care of the volume control. For now we use ALSA
  and added the MycroftOS to ALSA_PLATFORMS
2019-12-08 15:30:58 +01:00
Peter Steenbergen e1862c63aa MycroftOS: Don's start mycroft-cli-client by default.
- Also in preperation to showing a help section with typical
  commands available for MycroftOS.
2019-12-08 14:23:02 +01:00
Peter Steenbergen b6d1742913 MycroftOS: Use paplay instead of aplay for WAV playback. 2019-11-26 08:27:51 +01:00
Peter Steenbergen ed27ec8fad MycroftOS: System changes related to sound and restoring them. 2019-11-17 14:30:43 +01:00
Peter Steenbergen 21e1081440 MycroftOS: Enabling avahi zero conf of pulseaudio 2019-11-15 14:37:59 +01:00
Peter Steenbergen 093e2d9c52 MycroftOS: Enabling anonymous pulse access + network sound 2019-11-15 12:20:47 +01:00
Peter Steenbergen 712ceed32a MycroftOS: Enabling Acoustic Echo Cancellation 2019-11-15 09:25:53 +01:00
Peter Steenbergen cb528f6e57 MycroftOS: Addition of mycroft-config script. 2019-11-13 09:58:57 +01:00
Peter Steenbergen 7a54a0d8cf MycroftOS: Force all ALSA sound request to be forwarded to pulseaudio 2019-11-13 08:33:51 +01:00
Peter Steenbergen 0e7948a1cd MycroftOS: Small cosmetic chenage to the cli_login visuals 2019-11-11 09:43:04 +01:00
Peter Steenbergen 97d9cf26cf MycroftOS: Addition of default pulseaudio settings for MycroftOS 2019-11-11 09:39:36 +01:00
Peter Steenbergen 7d574f5432 MycroftOS: Changes to default system mycroft.conf
- Make Mimic2 the default TTS
- Make TTS duckable
(Make MycroftOS more inline with Mark-1 and Mark-2)
2019-11-11 09:10:44 +01:00
Peter Steenbergen 5ccd33e78f MycroftOS: Different OS layout changes
- Prepare system script to run at boot to prepare the system.
  Now used to restore sound configuration files to default before
  udev takes over and configures the system for what it sees.
  Later can be used to prepare the system for read-only OS similar
  as I have done during my Kodi developemtn years.
- Sound config changes to default settings.
- Remove forgotten wifi-setup system.
2019-11-11 08:53:55 +01:00
Peter Steenbergen 918e873de4 MycroftOS: Start mycroft-cli-client automatically when loging in
- Plus a bit of nice to have MOTD from PiCroft
2019-11-05 13:59:27 +01:00
Peter Steenbergen 4b12d08faa MycroftOS: Addition of MycroftOS specific pulse audio .pa files 2019-11-05 13:41:03 +01:00
Peter Steenbergen 7ab92f2898 MycroftOS: Fix spi/i2s/gpio access for non root users
Similar system as raspbian via udev rules to change teh group.
Adding the mycroft user to those groups.
2019-11-03 13:42:06 +01:00
Peter Steenbergen f625deed3d MycroftOS: Step away from using the NPM wifi setup system
Never realised that Mycroft A.I. had there own ,mycroft-wifi-setup
package created; https://github.com/MycroftAI/mycroft-wifi-setup

Will start uising that one instead to be more inline with the
Mark-1 and Mark-II systems.
2019-10-27 12:43:50 +01:00
Peter Steenbergen 6ca98e19f4 MycroftOS: Forgot to bump max core version string to 19.8 2019-10-26 14:24:38 +02:00
Peter Steenbergen 38caead28d MycroftOS: Addition of BASH profile scripts 2019-10-25 12:26:53 +02:00
Peter Steenbergen 34ff40ca17 Merge branch 'feature/wifi-setup' of https://github.com/j1nx/MycroftOS into feature/wifi-setup 2019-09-27 09:52:37 +02:00
Peter Steenbergen 471002d23c MycroftOS: Revert back to default audio (pulse) config for mycroft 2019-09-21 12:39:33 +02:00
j1nx bf24e48ffc Merge remote-tracking branch 'origin/develop' into feature/wifi-setup 2019-09-16 13:57:24 +02:00
j1nx b8b18cebf4 MycroftOS: First steps in using npm and nvm 2019-09-16 13:43:48 +02:00
Peter Steenbergen 5dceef03f7 MycroftOS: Fix stupid quoting error in mycroft.conf 2019-09-12 18:16:12 +02:00
Peter Steenbergen 7eb848f661 MycroftOS: Define enclosure platform and version. 2019-09-11 14:32:29 +02:00
Peter Steenbergen c72abbf659 MycroftOS: Add default /home/mycroft/.mycroft/mycroft.conf 2019-09-10 10:18:25 +02:00
Peter Steenbergen 3bbdddfa01 MycroftOS: Multiple fixes, tweakes, changes and/or reverts.
Basically a bunch of staged stuff of before the upgrade of
buildroot and mycroft. If I remember it all correctly;

- Change the folder permissions setup from device_table to
  systemd.
- Remove the mycroft user setup from the mycroft.service
  package into a systemwide buildroot user_table.txt
- Fix respeaker stuff for systemd system
- Fix sudo system for the mycroft user
- Allow mycroft to SSH into the system. Disallow root login.
- Probably some other fixes and tweaks I forgot about....
2019-09-09 15:25:51 +02:00
Peter Steenbergen 469f4473bf MycroftOS: Remove /var/log from tmpfs
- This to keep the log files at reboot
2019-06-11 15:41:50 +02:00
Peter Steenbergen 1763c6be2c MycroftOS: Fix sudoers construction for mycroft user 2019-02-08 12:14:52 +01:00
Peter Steenbergen 8506d56142 MycroftOS: Small changes for the mycroft user
- No passwd / just a system user just like pulse
- Therefor also no SSH login needed.
2019-02-07 11:13:33 +01:00
Peter Steenbergen d6379f9f99 MycroftOS: Multiple fixes and tweaks.
- install locale binary from glibc into target
- allow mycroft to SSH into the box
- add of sudo command / binary
- folder permission issues
2019-02-06 13:03:03 +01:00