medcom-wide/rootfs: Use dmix to allow multiple audio streams.

By using dmix we allow multiple applications or streams to access the
audio device.

This will workaround issues in remote-control when we have a incoming
voice-call. Because the ringtone is played via gstreamer, it can happen
that the soundcard is still used while linphone already tries to open it.

Signed-off-by: Julian Scheel <julian@jusst.de>
Reviewed-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Tested-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
medcom-wide/rootfs: Autodetect gpios in helper scripts.

Signed-off-by: Julian Scheel <julian@jusst.de>
Reviewed-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Tested-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
medcom-wide/rootfs: Add firmware for tm6000.

Also add module loading options for tm6000 module.

Signed-off-by: Julian Scheel <julian@jusst.de>
Reviewed-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Tested-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
medcom-wide/rootfs: Autoload uinput module.

Make sure uinput is always loaded, because it us required by remote-control.

Signed-off-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Reviewed-by: Julian Scheel <julian@jusst.de>
medcom-wide/rootfs: Update UCM config.

Latest changes in kernel require the Mic Jack switch to be explicitly
controlled by UCM. Besides this, use better default volume levels.

Signed-off-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Reviewed-by: Julian Scheel <julian@jusst.de>
medcom-wide/rootfs: Rename ALSA UCM config files.

This renames the configuration files for ALSA UCM to match the actual
soundcard name as it is returned from ALSA.

Signed-off-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Reviewed-by: Julian Scheel <julian@jusst.de>
medcom-wide/rootfs: Update headphone entries in UCM config.

On some devices the "Headphone Jack Switch" is set, on other devices not. To
ensure that the switch is always set properly we now set it explicitly.

Signed-off-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Reviewed-by: Julian Scheel <julian@jusst.de>
medcom-wide/rootfs: Update remote-control settings for newer kernel.

Due to a kernel update the gpio base address has changed. Also we add a
configuration for smartcard settings and specify the i2c bus and address
to use now.

Signed-off-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Reviewed-by: Julian Scheel <julian@jusst.de>
medcom-wide/rootfs: Limit remote-control-browser resources.

This will add the limits section to the browser.conf to set resources limits
for remote-control-browser. In this case we limit the number of tabs as well
as the maximal memory usage.

Signed-off-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Reviewed-by: Julian Scheel <julian@jusst.de>
medcom-wide/rootfs: Switch back to rsyslog for logging.

Update configurations files to use rsyslog instead of syslog-ng and remove
the leavings from syslog-ng.
Also make sure that Xsession.log is filled via syslog, so that we can use
logrotation.

Signed-by-off: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Reviewed-by: Julian Scheel <julian@jusst.de>
medcom-wide/rootfs: Use per-interface iflinkd instances.

Instead of handling all interfaces in the system with a single instance of
the iflinkd daemon, instantiate it per interface. This is now nessessary
because we no longer install the system wide service file.

It also has the big advantage that the configuration of one interface can't
be blocked by the configuration of another. And it configures only the
interfaces we know and trust. Furthermore it allows each interface to be
reconfigured separately.

Signed-off-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Reviewed-by: Julian Scheel <julian@jusst.de>
medcom-wide/rootfs: Disable automatic package selection.

The core packages can now be seleced manually instead of automaticaly when
selection the rootfs. This allows deselection and changes during development.
The actual default configuration should be handled with a defconfig file
anyway.

Signed-off-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Reviewed-by: Julian Scheel <julian@jusst.de>
medcom-wide/rootfs: Add support for zram based swap.

zram based swap can be used to enable swap without having an actual swap
device.

Signed-off-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Reviewed-by: Julian Scheel <julian@jusst.de>
medcom-wide/rootfs: Show os-release info on login.

Signed-off-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Reviewed-by: Julian Scheel <julian@jusst.de>
medcom-wide/rootfs: Update flash config.

Fix typing error and disable fullscreen.

Signed-off-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Reviewed-by: Julian Scheel <julian@jusst.de>
medcom-wide/rootfs: Fix ntp issues.

This patch fixes some general bugs within the ntp service files. It also
updates the service dependencies, so that initial time update is working.
This also adds support for pool addresses within ntp.conf.

Signed-off-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Reviewed-by: Julian Scheel <julian@jusst.de>
medcom-wide/rootfs: Fix typos in service files.

Signed-off-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Reviewed-by: Julian Scheel <julian@jusst.de>
medcom-wide/rootfs: Update systemd configuration.

Drop settings that are equal to the default value so that only options
differing from the default are set.

Signed-off-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Reviewed-by: Julian Scheel <julian@jusst.de>
plutux/initrd: Rename unmount script.

Signed-off-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Reviewed-by: Julian Scheel <julian@jusst.de>
plutux/rootfs: Add default config for htop.

This will add a default configuration for htop.

Signed-off-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Reviewed-by: Julian Scheel <julian@jusst.de>