Slab: Difference between revisions

From NURDspace
No edit summary
Line 9: Line 9:
[[File:Slab.jpg|Left|450px]]
[[File:Slab.jpg|Left|450px]]
== WiP ==
== WiP ==
Has been reinstalled with Ubuntu 14.04. Default user is slabbetje, with our known password


Todo:
Todo:
Line 19: Line 18:


== Summary ==
== Summary ==
* Ubuntu 14.04
* Default user ''slabbetje'', with our known password
* Fujitsu Siemens Amilo Pi 2515 mainboard
* Fujitsu Siemens Amilo Pi 2515 mainboard
* 2Gb RAM
* 2Gb RAM
* Hand-patched power button on micro-fine wires
* Hand-patched power button on micro-fine wires
== Stuff running ==


=== Pong ===
=== Pong ===
Line 30: Line 33:
This board runs MPD and is connected to the [[Nexia_PM|Nexia PM]] which in turn is hooked up to the [[Altec_Lansing_9444A|amplifier]] and [[Tannoy_P30_Cherry_speakers|speakers]].
This board runs MPD and is connected to the [[Nexia_PM|Nexia PM]] which in turn is hooked up to the [[Altec_Lansing_9444A|amplifier]] and [[Tannoy_P30_Cherry_speakers|speakers]].


== Festival ==
=== Festival ===


=== Starting ===
==== Starting ====
In order to allow the !speak function of [[Nurdbot]] (which lives on [[tankstation]]) to connect to this machine, festival can be started in server mode as user slabbetje:
In order to allow the !speak function of [[Nurdbot]] (which lives on [[tankstation]]) to connect to this machine, festival can be started in server mode as user ''slabbetje'':


<br><code>./start_festival.sh &</code><BR><BR>
<br><code>./start_festival.sh &</code><BR><BR>
It should start after a reboot using slabbetje's crontab:
It should start after a reboot using ''slabbetje'''s crontab:
<code>@reboot /home/slabbetje/start_festival.sh &</code><BR><BR>


=== Access control ===
<br><code>@reboot /home/slabbetje/start_festival.sh &</code><BR><BR>
 
==== Access control ====
Basic ACL is managed in /etc/festival.scm.
Basic ACL is managed in /etc/festival.scm.


== Volume ==
=== Sound on next button click ===
Volume of mpd can be set independently of system volume (using NURDbot or mpd client). Volume of festival is the same as system volume and can be set using alsamixer. At the moment system volume is 100%.
The next button lying around in the space will trigger a sound. For this a script [[User:Zarya|Zarya]] made is started with this line in ''slabbetje''s crontab:
 
<br><code>@reboot /home/slabbetje/next_button.py &</code>
== Sound on next button click ==
The next button lying around in the space will trigger a sound. For this a script [[User:Zarya|Zarya]] made is started with this line in slabbetjes crontab:
<br><code>@reboot /home/slabbetje/next_button.py &</code><br><br>


== Doorbell ==
=== Doorbell ===
Analog to next button, line in crontab:
Analog to next button, line in crontab:
<br><code>@reboot /home/slabbetje/doorbell.py &</code><br><br>
<br><code>@reboot /home/slabbetje/doorbell.py &</code>
 
== Volume ==
Volume of mpd can be set independently of system volume (using NURDbot or mpd client). Volume of festival, doorbell and next button sound is the same as system volume and can be set using alsamixer. At the moment system volume is 100%.

Revision as of 00:15, 27 July 2014

NURDs Inventory
NoPicture.png
Owner The wikipage input value is empty (e.g. <code>SomeProperty::, [[]]</code>) and therefore it cannot be used as a name or as part of a query condition.
Status
Tool
Tool category

{{{Name}}}Property "Tool Name" (as page type) with input value "{{{Name}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. Property "Tool Image" (as page type) with input value "File:{{{Picture}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. {{{Picture}}} Talloak {{{Location}}}Property "Tool Location" (as page type) with input value "{{{Location}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.

Left

WiP

Todo:

  • Airplay stuff
  • New interface for stuff like mpd and lights (fiddling around with entries in /usr/share/xsessions for now)

Backups of old installation can be found in slabbetjes homedir

Summary

  • Ubuntu 14.04
  • Default user slabbetje, with our known password
  • Fujitsu Siemens Amilo Pi 2515 mainboard
  • 2Gb RAM
  • Hand-patched power button on micro-fine wires

Stuff running

Pong

A mini pong game built in python and blessings. Will attempt to display time, but throws an error every now and then due to rounding and then cycles around resetting itself. It can be started from the lightdm greeter but in xterm something is really borken ;). See /usr/share/xsessions/pong.desktop

MPD

This board runs MPD and is connected to the Nexia PM which in turn is hooked up to the amplifier and speakers.

Festival

Starting

In order to allow the !speak function of Nurdbot (which lives on tankstation) to connect to this machine, festival can be started in server mode as user slabbetje:


./start_festival.sh &

It should start after a reboot using slabbetje's crontab:


@reboot /home/slabbetje/start_festival.sh &

Access control

Basic ACL is managed in /etc/festival.scm.

Sound on next button click

The next button lying around in the space will trigger a sound. For this a script Zarya made is started with this line in slabbetjes crontab:
@reboot /home/slabbetje/next_button.py &

Doorbell

Analog to next button, line in crontab:
@reboot /home/slabbetje/doorbell.py &

Volume

Volume of mpd can be set independently of system volume (using NURDbot or mpd client). Volume of festival, doorbell and next button sound is the same as system volume and can be set using alsamixer. At the moment system volume is 100%.