https://luminoussheep.net/mediawiki/api.php?action=feedcontributions&user=Martin&feedformat=atomsheep - User contributions [en-gb]2024-03-28T14:29:56ZUser contributionsMediaWiki 1.39.5https://luminoussheep.net/mediawiki/index.php?title=Sound_crackles_after_suspend&diff=142Sound crackles after suspend2024-01-29T21:34:36Z<p>Martin: Created page with " systemctl --user restart pipewire-pulse wireplumber.service"</p>
<hr />
<div> systemctl --user restart pipewire-pulse wireplumber.service</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Main_Page&diff=141Main Page2024-01-29T21:34:19Z<p>Martin: /* Debian */</p>
<hr />
<div>== Debian ==<br />
* [[sound crackles after suspend]]<br />
* [[Disk wear]]<br />
* [[Debian on a USB stick]]<br />
* [[CDROM noisy when playing music]]<br />
* [[Adding gpg repository keys]]<br />
* [[Installing nvidia drivers]]<br />
* [[Building a kernel from standard source]]<br />
* [[Creating DVDs from VHS]]<br />
* [[Debian admin notes]]<br />
* [[Screen "Cannot open your terminal"]]<br />
* [[Fix orientation of images in gallery3 for ipad]]<br />
* [[MythTv]]<br />
* [[Android Development]]<br />
* [[Battery Management]]<br />
* [[Expect scripts]]<br />
* [[What hardware do I have]]<br />
* [[SNMP]]<br />
* [[EDID monitor autostart]]<br />
* [[Gnome]]<br />
* [[bluetooth mouse paired but not moving]]<br />
* [[linux on T14 gen 2]]<br />
<br />
== Work ==<br />
<br />
* [[Java]]<br />
* [[Java 5.0 certification]]<br />
* [[SCEA]]<br />
* [[Scala]]<br />
* [[Oracle Admin]]<br />
* [[Windows Software]]<br />
* [[Full Text Search]]<br />
* [[Network tools]]<br />
* [[Agile User Stories]]<br />
* [[Introduction to Securities 2014]]<br />
* [[Regex]]<br />
* [https://www.madboa.com/geek/openssl/#cert-self self signed certificates]<br />
* [[AngularJS]]<br />
<br />
== Perl ==<br />
<br />
[[Perl Notes]]<br />
<br />
== Oracle ==<br />
<br />
[[Oracle Notes]]<br />
<br />
== Beekeeping ==<br />
* [[Beekeeping]]<br />
<br />
== Stanford AI Course CS221 ==<br />
<br />
[[Artificial Intelligence]]<br />
<br />
== Educational Robotics ==<br />
[[Robotics]]<br />
<br />
== Squeeze box ==<br />
The excellent little network player - not the accordion!<br />
[[Squeezebox]]<br />
==Cygwin==<br />
[[Using Cygwin]]<br />
<br />
== Vegan ==<br />
* [[Cakes]]</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Linux_on_T14_gen_2&diff=139Linux on T14 gen 22023-07-15T12:51:01Z<p>Martin: Created page with "https://support.lenovo.com/gb/en/solutions/ht510635-usb-devices-may-not-function-when-connected-via-thunderbolt-tm-3-docks-thinkpad * ThinkPad models released 2019 and later..."</p>
<hr />
<div>https://support.lenovo.com/gb/en/solutions/ht510635-usb-devices-may-not-function-when-connected-via-thunderbolt-tm-3-docks-thinkpad<br />
<br />
* ThinkPad models released 2019 and later<br />
<br />
Reboot the system.<br />
Press the F1 key when the Lenovo logo is displayed to enter the ThinkPad setup.<br />
Go to the Security page and enter Virtualization. Set the Kernal DMA Protection to On.<br />
Press the F10 key to save and exit ThinkPad setup.<br />
<br />
* Also change the c-state to be linux</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Main_Page&diff=138Main Page2023-07-15T12:44:28Z<p>Martin: /* Debian */</p>
<hr />
<div>== Debian ==<br />
* [[Disk wear]]<br />
* [[Debian on a USB stick]]<br />
* [[CDROM noisy when playing music]]<br />
* [[Adding gpg repository keys]]<br />
* [[Installing nvidia drivers]]<br />
* [[Building a kernel from standard source]]<br />
* [[Creating DVDs from VHS]]<br />
* [[Debian admin notes]]<br />
* [[Screen "Cannot open your terminal"]]<br />
* [[Fix orientation of images in gallery3 for ipad]]<br />
* [[MythTv]]<br />
* [[Android Development]]<br />
* [[Battery Management]]<br />
* [[Expect scripts]]<br />
* [[What hardware do I have]]<br />
* [[SNMP]]<br />
* [[EDID monitor autostart]]<br />
* [[Gnome]]<br />
* [[bluetooth mouse paired but not moving]]<br />
* [[linux on T14 gen 2]]<br />
<br />
== Work ==<br />
<br />
* [[Java]]<br />
* [[Java 5.0 certification]]<br />
* [[SCEA]]<br />
* [[Scala]]<br />
* [[Oracle Admin]]<br />
* [[Windows Software]]<br />
* [[Full Text Search]]<br />
* [[Network tools]]<br />
* [[Agile User Stories]]<br />
* [[Introduction to Securities 2014]]<br />
* [[Regex]]<br />
* [https://www.madboa.com/geek/openssl/#cert-self self signed certificates]<br />
* [[AngularJS]]<br />
<br />
== Perl ==<br />
<br />
[[Perl Notes]]<br />
<br />
== Oracle ==<br />
<br />
[[Oracle Notes]]<br />
<br />
== Beekeeping ==<br />
* [[Beekeeping]]<br />
<br />
== Stanford AI Course CS221 ==<br />
<br />
[[Artificial Intelligence]]<br />
<br />
== Educational Robotics ==<br />
[[Robotics]]<br />
<br />
== Squeeze box ==<br />
The excellent little network player - not the accordion!<br />
[[Squeezebox]]<br />
==Cygwin==<br />
[[Using Cygwin]]<br />
<br />
== Vegan ==<br />
* [[Cakes]]</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Pi_camera&diff=137Pi camera2022-11-01T19:27:59Z<p>Martin: </p>
<hr />
<div>Motion works with the legacy camera but can be made to work using the libcamerify wrapper:<br />
<pre><br />
libcamerify motion<br />
</pre><br />
<br />
capture and stream: <br />
<br />
libcamera-vid -t 0 --inline --listen -o tcp://0.0.0.0:8888<br />
<br />
full frame capture v2 ir camera:<br />
libcamera-vid --tuning-file /usr/share/libcamera/ipa/raspberrypi/imx219_noir.json --mode 1640:1232:10 -t 0 --inline --listen -o tcp://0.0.0.0:8888<br />
<br />
remotely view:<br />
<br />
mpv http://10.10.20.80:8888/</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Squeezebox&diff=136Squeezebox2022-10-31T13:03:24Z<p>Martin: /* picoreplayer */</p>
<hr />
<div>= installing spotify and squeezelight on raspian =<br />
<br />
[https://pimylifeup.com/raspberry-pi-spotify/ installing raspotify]<br />
<br />
raspotify is great but locks the audio card and won't share<br />
<br />
[https://github.com/dtcooper/raspotify/issues/314#issuecomment-716099465 the solution] duplicated below<br />
<br />
The sound config below can be used to make alsa allow two applications share the sound card<br />
raspotify and squeezelight<br />
<br />
configure raspotify for device '''spotify'''<br />
<br />
<pre><br />
# /etc/asound.conf<br />
<br />
# use aplay -l to determine the below.<br />
<br />
# Change to the card number or name that you want to be the default control card.<br />
# Default: 0<br />
defaults.ctl.card 0<br />
<br />
# Change to the card number or name that you want to be the default playback card.<br />
# It should usually be the same as defaults.ctl.card.<br />
# Default: 0<br />
defaults.pcm.card 0<br />
<br />
# Change to the device number that you want to be the default device on the default card.<br />
# 0 or 1 is usually the correct device number.<br />
# Default: 0<br />
defaults.pcm.device 0<br />
<br />
# Change to the subdevice number that you want to be the default subdevice on the default device.<br />
# Should rarely need to be changed.<br />
# Default: -1<br />
defaults.pcm.subdevice -1<br />
<br />
pcm.!default {<br />
type plug<br />
slave {<br />
channels 2<br />
rate 44100<br />
format S16_LE<br />
pcm {<br />
type softvol<br />
slave.pcm {<br />
type dmix<br />
ipc_key 1024<br />
ipc_perm 0660<br />
ipc_gid audio<br />
slowptr true<br />
hw_ptr_alignment roundup<br />
slave {<br />
pcm {<br />
type hw<br />
card {<br />
@func refer<br />
name defaults.pcm.card<br />
}<br />
device {<br />
@func refer<br />
name defaults.pcm.device<br />
}<br />
subdevice {<br />
@func refer<br />
name defaults.pcm.subdevice<br />
}<br />
}<br />
channels 2<br />
period_size 0<br />
buffer_size 0<br />
buffer_time 0<br />
period_time 250000<br />
periods 4<br />
rate 44100<br />
format S16_LE<br />
}<br />
bindings {<br />
0 0<br />
1 1<br />
}<br />
}<br />
control {<br />
name PCM<br />
card {<br />
@func refer<br />
name defaults.ctl.card<br />
}<br />
}<br />
}<br />
}<br />
}<br />
<br />
pcm.spotify {<br />
type plug<br />
slave {<br />
channels 2<br />
rate 44100<br />
format S16_LE<br />
pcm {<br />
type softvol<br />
slave.pcm default<br />
control {<br />
name spotify<br />
card {<br />
@func refer<br />
name defaults.ctl.card<br />
}<br />
}<br />
}<br />
}<br />
}<br />
<br />
pcm.alexa {<br />
type plug<br />
slave {<br />
channels 2<br />
rate 44100<br />
format S16_LE<br />
pcm {<br />
type softvol<br />
slave.pcm default<br />
control {<br />
name alexa<br />
card {<br />
@func refer<br />
name defaults.ctl.card<br />
}<br />
}<br />
}<br />
}<br />
}<br />
<br />
</pre><br />
<br />
=Setup with no display=<br />
<br />
* Plug in the ethernet cable and pull out the power plug.<br />
* Do a factory reset. Point the remote at the display while pressing the ADD ("+") button. Plug in the power plug and count to 7, then release the ADD button on the remote.<br />
* Welcome to Squeezebox. Wait 15 seconds and it will push right by itself.<br />
* Language selection. Press right-arrow to select English.<br />
* Set up networking. Press right-arrow.<br />
* Choose wireless or ethernet. Press down-arrow once, then right-arrow for ethernet.<br />
* IP address. Press right-arrow to choose DHCP.<br />
* Wait 30 seconds. Press right-arrow to select your SqueezeCenter server that (hopefully) it will have found.<br />
<br />
<br />
The timing isn't really critical. For the factory setup you have to<br />
hold the button pressed for (I'm guessing) at least 5 seconds, but if<br />
you hold it too long you end up forcing another factory reset after it<br />
reboots. The 15 seconds just means wait at least 15 seconds. DHCP<br />
negotiation usually takes only a few seconds, but I've sometimes seen it<br />
take 10-20 seconds on my network.<br />
<br />
Factory reset, right, right, down, right, right, right.<br />
<br />
NET-UDAP perl script for setup<br />
<br />
== wifi cards ==<br />
SAMSUMG NP-R40 17-000660<br />
Sony Vaio VGN-FS515H Internal WLAN WIFI Wireless Card Board 178901432 AR5BMB5<br />
search for AR5BMB5 in the description<br />
<br />
== squeezebox boom problems ==<br />
<br />
https://broadlyuseless.info/tech/how-to-fix-unresponsive-squeezebox-boom/<br />
<br />
= picoreplayer =<br />
<br />
For bluetooth:<br />
# tweaks page - configure hostname - this will appear as the bluetooth device to pair with<br />
# configure output device (note you can click on the text on the right when you expand)<br />
# make discoverable<br />
# turn on all codecs<br />
# pair<br />
# set type as player<br />
<br />
it should then play<br />
<br />
== build your own ==<br />
<br />
Make sure you have enough power if driving a touch screen and the pi or you get nasty pops<br />
<br />
=== configure the screen ===<br />
Edit the config.txt in the first partition add the lines for your touch device e.g.<br />
<br />
hdmi_group=2<br />
hdmi_mode=1<br />
hdmi_mode=87<br />
hdmi_cvt 1024 600 60 6 0 0 0<br />
<br />
<br />
===device===<br />
my black dac from ebay is PCM5122 and works as the iqaudio dac+<br />
<br />
dtoverlay=iqaudio-dacplus<br />
<br />
===calibrate touch screen===<br />
not required if you change the input type to TSLIB see below<br />
<br />
/usr/local/bin/ts_calibrate<br />
<br />
=== make jivelite use the touch library and the right input ===<br />
<br />
install jivelight and restart<br />
<br />
copy /opt/jivelite/bin/jivelite.sh to /mnt/mmcblk0p2/tce/jivelite.sh<br />
<br />
edit and add after the first line the following:<br />
<br />
export SDL_MOUSEDEV=/dev/input/event0<br />
export SDL_MOUSEDRV=TSLIB<br />
<br />
my device the screen is off so I can't select the resolution<br />
<br />
copy your /mnt/mmcblk0p2/tce/mydata.tgz file off the pi <br />
<br />
(extract as root so you keep the uids into a new directory `tar -xzf ../ydata.tgz`)<br />
<br />
create the file home/tc/.jivelite/userpath/settings/SelectSkin.lua with the contents:<br />
<br />
settings = {skin="PiGridSkin_1024x600",}<br />
<br />
rearchive the file `tar -czf ../mydata.tgz .`) and copy back onto the pi<br />
<br />
=== add spotify ===<br />
https://forums.slimdevices.com/showthread.php?107755-A-simple-how-to-for-quot-Spotty-quot-and-pCP<br />
<br />
=== bluetooth audio input ===<br />
<br />
now supported by the UI but you need to use 5gz wifi</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Squeezebox&diff=135Squeezebox2022-10-31T12:35:47Z<p>Martin: /* picoreplayer */</p>
<hr />
<div>= installing spotify and squeezelight on raspian =<br />
<br />
[https://pimylifeup.com/raspberry-pi-spotify/ installing raspotify]<br />
<br />
raspotify is great but locks the audio card and won't share<br />
<br />
[https://github.com/dtcooper/raspotify/issues/314#issuecomment-716099465 the solution] duplicated below<br />
<br />
The sound config below can be used to make alsa allow two applications share the sound card<br />
raspotify and squeezelight<br />
<br />
configure raspotify for device '''spotify'''<br />
<br />
<pre><br />
# /etc/asound.conf<br />
<br />
# use aplay -l to determine the below.<br />
<br />
# Change to the card number or name that you want to be the default control card.<br />
# Default: 0<br />
defaults.ctl.card 0<br />
<br />
# Change to the card number or name that you want to be the default playback card.<br />
# It should usually be the same as defaults.ctl.card.<br />
# Default: 0<br />
defaults.pcm.card 0<br />
<br />
# Change to the device number that you want to be the default device on the default card.<br />
# 0 or 1 is usually the correct device number.<br />
# Default: 0<br />
defaults.pcm.device 0<br />
<br />
# Change to the subdevice number that you want to be the default subdevice on the default device.<br />
# Should rarely need to be changed.<br />
# Default: -1<br />
defaults.pcm.subdevice -1<br />
<br />
pcm.!default {<br />
type plug<br />
slave {<br />
channels 2<br />
rate 44100<br />
format S16_LE<br />
pcm {<br />
type softvol<br />
slave.pcm {<br />
type dmix<br />
ipc_key 1024<br />
ipc_perm 0660<br />
ipc_gid audio<br />
slowptr true<br />
hw_ptr_alignment roundup<br />
slave {<br />
pcm {<br />
type hw<br />
card {<br />
@func refer<br />
name defaults.pcm.card<br />
}<br />
device {<br />
@func refer<br />
name defaults.pcm.device<br />
}<br />
subdevice {<br />
@func refer<br />
name defaults.pcm.subdevice<br />
}<br />
}<br />
channels 2<br />
period_size 0<br />
buffer_size 0<br />
buffer_time 0<br />
period_time 250000<br />
periods 4<br />
rate 44100<br />
format S16_LE<br />
}<br />
bindings {<br />
0 0<br />
1 1<br />
}<br />
}<br />
control {<br />
name PCM<br />
card {<br />
@func refer<br />
name defaults.ctl.card<br />
}<br />
}<br />
}<br />
}<br />
}<br />
<br />
pcm.spotify {<br />
type plug<br />
slave {<br />
channels 2<br />
rate 44100<br />
format S16_LE<br />
pcm {<br />
type softvol<br />
slave.pcm default<br />
control {<br />
name spotify<br />
card {<br />
@func refer<br />
name defaults.ctl.card<br />
}<br />
}<br />
}<br />
}<br />
}<br />
<br />
pcm.alexa {<br />
type plug<br />
slave {<br />
channels 2<br />
rate 44100<br />
format S16_LE<br />
pcm {<br />
type softvol<br />
slave.pcm default<br />
control {<br />
name alexa<br />
card {<br />
@func refer<br />
name defaults.ctl.card<br />
}<br />
}<br />
}<br />
}<br />
}<br />
<br />
</pre><br />
<br />
=Setup with no display=<br />
<br />
* Plug in the ethernet cable and pull out the power plug.<br />
* Do a factory reset. Point the remote at the display while pressing the ADD ("+") button. Plug in the power plug and count to 7, then release the ADD button on the remote.<br />
* Welcome to Squeezebox. Wait 15 seconds and it will push right by itself.<br />
* Language selection. Press right-arrow to select English.<br />
* Set up networking. Press right-arrow.<br />
* Choose wireless or ethernet. Press down-arrow once, then right-arrow for ethernet.<br />
* IP address. Press right-arrow to choose DHCP.<br />
* Wait 30 seconds. Press right-arrow to select your SqueezeCenter server that (hopefully) it will have found.<br />
<br />
<br />
The timing isn't really critical. For the factory setup you have to<br />
hold the button pressed for (I'm guessing) at least 5 seconds, but if<br />
you hold it too long you end up forcing another factory reset after it<br />
reboots. The 15 seconds just means wait at least 15 seconds. DHCP<br />
negotiation usually takes only a few seconds, but I've sometimes seen it<br />
take 10-20 seconds on my network.<br />
<br />
Factory reset, right, right, down, right, right, right.<br />
<br />
NET-UDAP perl script for setup<br />
<br />
== wifi cards ==<br />
SAMSUMG NP-R40 17-000660<br />
Sony Vaio VGN-FS515H Internal WLAN WIFI Wireless Card Board 178901432 AR5BMB5<br />
search for AR5BMB5 in the description<br />
<br />
== squeezebox boom problems ==<br />
<br />
https://broadlyuseless.info/tech/how-to-fix-unresponsive-squeezebox-boom/<br />
<br />
= picoreplayer =<br />
<br />
For bluetooth:<br />
# configure output device (note you can click on the text on the right when you expand)<br />
# make discoverable<br />
# pair<br />
<br />
it should then play<br />
<br />
== build your own ==<br />
<br />
Make sure you have enough power if driving a touch screen and the pi or you get nasty pops<br />
<br />
=== configure the screen ===<br />
Edit the config.txt in the first partition add the lines for your touch device e.g.<br />
<br />
hdmi_group=2<br />
hdmi_mode=1<br />
hdmi_mode=87<br />
hdmi_cvt 1024 600 60 6 0 0 0<br />
<br />
<br />
===device===<br />
my black dac from ebay is PCM5122 and works as the iqaudio dac+<br />
<br />
dtoverlay=iqaudio-dacplus<br />
<br />
===calibrate touch screen===<br />
not required if you change the input type to TSLIB see below<br />
<br />
/usr/local/bin/ts_calibrate<br />
<br />
=== make jivelite use the touch library and the right input ===<br />
<br />
install jivelight and restart<br />
<br />
copy /opt/jivelite/bin/jivelite.sh to /mnt/mmcblk0p2/tce/jivelite.sh<br />
<br />
edit and add after the first line the following:<br />
<br />
export SDL_MOUSEDEV=/dev/input/event0<br />
export SDL_MOUSEDRV=TSLIB<br />
<br />
my device the screen is off so I can't select the resolution<br />
<br />
copy your /mnt/mmcblk0p2/tce/mydata.tgz file off the pi <br />
<br />
(extract as root so you keep the uids into a new directory `tar -xzf ../ydata.tgz`)<br />
<br />
create the file home/tc/.jivelite/userpath/settings/SelectSkin.lua with the contents:<br />
<br />
settings = {skin="PiGridSkin_1024x600",}<br />
<br />
rearchive the file `tar -czf ../mydata.tgz .`) and copy back onto the pi<br />
<br />
=== add spotify ===<br />
https://forums.slimdevices.com/showthread.php?107755-A-simple-how-to-for-quot-Spotty-quot-and-pCP<br />
<br />
=== bluetooth audio input ===<br />
<br />
now supported by the UI but you need to use 5gz wifi</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Bluetooth_mouse_paired_but_not_moving&diff=134Bluetooth mouse paired but not moving2022-10-27T18:43:16Z<p>Martin: Created page with "modprobe uhid if that works add a line with <pre>uhid</pre> to /etc/modules"</p>
<hr />
<div>modprobe uhid<br />
<br />
if that works add a line with <pre>uhid</pre> to /etc/modules</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Main_Page&diff=133Main Page2022-10-27T18:40:49Z<p>Martin: /* Debian */</p>
<hr />
<div>== Debian ==<br />
* [[Disk wear]]<br />
* [[Debian on a USB stick]]<br />
* [[CDROM noisy when playing music]]<br />
* [[Adding gpg repository keys]]<br />
* [[Installing nvidia drivers]]<br />
* [[Building a kernel from standard source]]<br />
* [[Creating DVDs from VHS]]<br />
* [[Debian admin notes]]<br />
* [[Screen "Cannot open your terminal"]]<br />
* [[Fix orientation of images in gallery3 for ipad]]<br />
* [[MythTv]]<br />
* [[Android Development]]<br />
* [[Battery Management]]<br />
* [[Expect scripts]]<br />
* [[What hardware do I have]]<br />
* [[SNMP]]<br />
* [[EDID monitor autostart]]<br />
* [[Gnome]]<br />
* [[bluetooth mouse paired but not moving]]<br />
<br />
== Work ==<br />
<br />
* [[Java]]<br />
* [[Java 5.0 certification]]<br />
* [[SCEA]]<br />
* [[Scala]]<br />
* [[Oracle Admin]]<br />
* [[Windows Software]]<br />
* [[Full Text Search]]<br />
* [[Network tools]]<br />
* [[Agile User Stories]]<br />
* [[Introduction to Securities 2014]]<br />
* [[Regex]]<br />
* [https://www.madboa.com/geek/openssl/#cert-self self signed certificates]<br />
* [[AngularJS]]<br />
<br />
== Perl ==<br />
<br />
[[Perl Notes]]<br />
<br />
== Oracle ==<br />
<br />
[[Oracle Notes]]<br />
<br />
== Beekeeping ==<br />
* [[Beekeeping]]<br />
<br />
== Stanford AI Course CS221 ==<br />
<br />
[[Artificial Intelligence]]<br />
<br />
== Educational Robotics ==<br />
[[Robotics]]<br />
<br />
== Squeeze box ==<br />
The excellent little network player - not the accordion!<br />
[[Squeezebox]]<br />
==Cygwin==<br />
[[Using Cygwin]]<br />
<br />
== Vegan ==<br />
* [[Cakes]]</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Pi_camera&diff=132Pi camera2022-10-22T21:43:44Z<p>Martin: Created page with "Motion works with the legacy camera but can be made to work using the libcamerify wrapper: <pre> libcamerify motion </pre> capture and stream: libcamera-vid -t 0 --inlin..."</p>
<hr />
<div>Motion works with the legacy camera but can be made to work using the libcamerify wrapper:<br />
<pre><br />
libcamerify motion<br />
</pre><br />
<br />
capture and stream: <br />
<br />
libcamera-vid -t 0 --inline --listen -o tcp://0.0.0.0:8888<br />
<br />
remotely view:<br />
<br />
mpv http://10.10.20.80:8888/</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Apple_Cake&diff=131Apple Cake2022-09-03T11:03:32Z<p>Martin: Created page with "{| class="wikitable" |+ Ingredients |- ||225g || flour |- ||75g || vegan block |- ||125g || light brown sugar |- ||1tsp || baking powder |- || 3 || large apples |- || 30g || o..."</p>
<hr />
<div>{| class="wikitable"<br />
|+ Ingredients<br />
|-<br />
||225g || flour<br />
|-<br />
||75g || vegan block<br />
|-<br />
||125g || light brown sugar<br />
|-<br />
||1tsp || baking powder<br />
|-<br />
|| 3 || large apples<br />
|-<br />
|| 30g || oat milk<br />
|-<br />
||120g || sourdough<br />
|-<br />
|}<br />
<br />
<br />
<br />
8" tin<br />
<br />
180c 1.5 hour</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Cakes&diff=130Cakes2022-09-03T11:00:34Z<p>Martin: </p>
<hr />
<div>[[Muffins]]<br />
<br />
[[Orange Cake]]<br />
<br />
<br />
[[Apple Cake]]</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Muffins&diff=129Muffins2022-06-11T14:38:10Z<p>Martin: </p>
<hr />
<div>Skip the egg/egg replacer: <br />
<br />
https://www.food.com/recipe/sourdough-oatmeal-raisin-muffins-329859<br />
<br />
<br />
<br />
{| class="wikitable"<br />
|+ Ingredients<br />
|-<br />
!! weight !! Ingredient<br />
|-<br />
|| 100g || oats<br />
|-<br />
|| 110g || Sourdough starter<br />
|-<br />
|| 71g || Oil/marge<br />
|-<br />
|| 240ml || milk<br />
|-<br />
|| 210g || Flour<br />
|-<br />
|| 100g || Sugar<br />
|-<br />
|| 85g || raisins<br />
|-<br />
| 1 1/2 tsp || Baking powder<br />
|-<br />
| 1/2 tsp || Salt<br />
|}<br />
<br />
180c fan oven for 25-30mins</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Muffins&diff=128Muffins2022-06-11T14:37:43Z<p>Martin: </p>
<hr />
<div>Skip the egg/egg replacer: <br />
<br />
https://www.food.com/recipe/sourdough-oatmeal-raisin-muffins-329859<br />
<br />
<br />
<br />
{| class="wikitable"<br />
|+ Ingredients<br />
|-<br />
!! weight !! Ingredient<br />
|-<br />
|| 100g || oats<br />
|-<br />
|| 110g || Sourdough starter<br />
|-<br />
|| 71g || Oil/marge<br />
|-<br />
|| 240ml || milk<br />
|-<br />
|| 210g || Flour<br />
|-<br />
|| 100g || Sugar<br />
|-<br />
|| 85g || raisins<br />
|-<br />
| colspan="2" | 1 1/2 tsp || Baking powder<br />
|-<br />
| colspan="2" | 1/2 tsp || Salt<br />
|}<br />
<br />
180c fan oven for 25-30mins</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Squeezebox&diff=127Squeezebox2022-06-04T18:19:43Z<p>Martin: /* installing on raspian */</p>
<hr />
<div>= installing spotify and squeezelight on raspian =<br />
<br />
[https://pimylifeup.com/raspberry-pi-spotify/ installing raspotify]<br />
<br />
raspotify is great but locks the audio card and won't share<br />
<br />
[https://github.com/dtcooper/raspotify/issues/314#issuecomment-716099465 the solution] duplicated below<br />
<br />
The sound config below can be used to make alsa allow two applications share the sound card<br />
raspotify and squeezelight<br />
<br />
configure raspotify for device '''spotify'''<br />
<br />
<pre><br />
# /etc/asound.conf<br />
<br />
# use aplay -l to determine the below.<br />
<br />
# Change to the card number or name that you want to be the default control card.<br />
# Default: 0<br />
defaults.ctl.card 0<br />
<br />
# Change to the card number or name that you want to be the default playback card.<br />
# It should usually be the same as defaults.ctl.card.<br />
# Default: 0<br />
defaults.pcm.card 0<br />
<br />
# Change to the device number that you want to be the default device on the default card.<br />
# 0 or 1 is usually the correct device number.<br />
# Default: 0<br />
defaults.pcm.device 0<br />
<br />
# Change to the subdevice number that you want to be the default subdevice on the default device.<br />
# Should rarely need to be changed.<br />
# Default: -1<br />
defaults.pcm.subdevice -1<br />
<br />
pcm.!default {<br />
type plug<br />
slave {<br />
channels 2<br />
rate 44100<br />
format S16_LE<br />
pcm {<br />
type softvol<br />
slave.pcm {<br />
type dmix<br />
ipc_key 1024<br />
ipc_perm 0660<br />
ipc_gid audio<br />
slowptr true<br />
hw_ptr_alignment roundup<br />
slave {<br />
pcm {<br />
type hw<br />
card {<br />
@func refer<br />
name defaults.pcm.card<br />
}<br />
device {<br />
@func refer<br />
name defaults.pcm.device<br />
}<br />
subdevice {<br />
@func refer<br />
name defaults.pcm.subdevice<br />
}<br />
}<br />
channels 2<br />
period_size 0<br />
buffer_size 0<br />
buffer_time 0<br />
period_time 250000<br />
periods 4<br />
rate 44100<br />
format S16_LE<br />
}<br />
bindings {<br />
0 0<br />
1 1<br />
}<br />
}<br />
control {<br />
name PCM<br />
card {<br />
@func refer<br />
name defaults.ctl.card<br />
}<br />
}<br />
}<br />
}<br />
}<br />
<br />
pcm.spotify {<br />
type plug<br />
slave {<br />
channels 2<br />
rate 44100<br />
format S16_LE<br />
pcm {<br />
type softvol<br />
slave.pcm default<br />
control {<br />
name spotify<br />
card {<br />
@func refer<br />
name defaults.ctl.card<br />
}<br />
}<br />
}<br />
}<br />
}<br />
<br />
pcm.alexa {<br />
type plug<br />
slave {<br />
channels 2<br />
rate 44100<br />
format S16_LE<br />
pcm {<br />
type softvol<br />
slave.pcm default<br />
control {<br />
name alexa<br />
card {<br />
@func refer<br />
name defaults.ctl.card<br />
}<br />
}<br />
}<br />
}<br />
}<br />
<br />
</pre><br />
<br />
=Setup with no display=<br />
<br />
* Plug in the ethernet cable and pull out the power plug.<br />
* Do a factory reset. Point the remote at the display while pressing the ADD ("+") button. Plug in the power plug and count to 7, then release the ADD button on the remote.<br />
* Welcome to Squeezebox. Wait 15 seconds and it will push right by itself.<br />
* Language selection. Press right-arrow to select English.<br />
* Set up networking. Press right-arrow.<br />
* Choose wireless or ethernet. Press down-arrow once, then right-arrow for ethernet.<br />
* IP address. Press right-arrow to choose DHCP.<br />
* Wait 30 seconds. Press right-arrow to select your SqueezeCenter server that (hopefully) it will have found.<br />
<br />
<br />
The timing isn't really critical. For the factory setup you have to<br />
hold the button pressed for (I'm guessing) at least 5 seconds, but if<br />
you hold it too long you end up forcing another factory reset after it<br />
reboots. The 15 seconds just means wait at least 15 seconds. DHCP<br />
negotiation usually takes only a few seconds, but I've sometimes seen it<br />
take 10-20 seconds on my network.<br />
<br />
Factory reset, right, right, down, right, right, right.<br />
<br />
NET-UDAP perl script for setup<br />
<br />
== wifi cards ==<br />
SAMSUMG NP-R40 17-000660<br />
Sony Vaio VGN-FS515H Internal WLAN WIFI Wireless Card Board 178901432 AR5BMB5<br />
search for AR5BMB5 in the description<br />
<br />
== squeezebox boom problems ==<br />
<br />
https://broadlyuseless.info/tech/how-to-fix-unresponsive-squeezebox-boom/<br />
<br />
= picoreplayer =<br />
<br />
== build your own ==<br />
<br />
Make sure you have enough power if driving a touch screen and the pi or you get nasty pops<br />
<br />
=== configure the screen ===<br />
Edit the config.txt in the first partition add the lines for your touch device e.g.<br />
<br />
hdmi_group=2<br />
hdmi_mode=1<br />
hdmi_mode=87<br />
hdmi_cvt 1024 600 60 6 0 0 0<br />
<br />
<br />
===device===<br />
my black dac from ebay is PCM5122 and works as the iqaudio dac+<br />
<br />
dtoverlay=iqaudio-dacplus<br />
<br />
===calibrate touch screen===<br />
not required if you change the input type to TSLIB see below<br />
<br />
/usr/local/bin/ts_calibrate<br />
<br />
=== make jivelite use the touch library and the right input ===<br />
<br />
install jivelight and restart<br />
<br />
copy /opt/jivelite/bin/jivelite.sh to /mnt/mmcblk0p2/tce/jivelite.sh<br />
<br />
edit and add after the first line the following:<br />
<br />
export SDL_MOUSEDEV=/dev/input/event0<br />
export SDL_MOUSEDRV=TSLIB<br />
<br />
my device the screen is off so I can't select the resolution<br />
<br />
copy your /mnt/mmcblk0p2/tce/mydata.tgz file off the pi <br />
<br />
(extract as root so you keep the uids into a new directory `tar -xzf ../ydata.tgz`)<br />
<br />
create the file home/tc/.jivelite/userpath/settings/SelectSkin.lua with the contents:<br />
<br />
settings = {skin="PiGridSkin_1024x600",}<br />
<br />
rearchive the file `tar -czf ../mydata.tgz .`) and copy back onto the pi<br />
<br />
=== add spotify ===<br />
https://forums.slimdevices.com/showthread.php?107755-A-simple-how-to-for-quot-Spotty-quot-and-pCP<br />
<br />
=== bluetooth audio input ===<br />
<br />
now supported by the UI but you need to use 5gz wifi</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Squeezebox&diff=126Squeezebox2022-06-04T18:12:30Z<p>Martin: /* installing on raspian */</p>
<hr />
<div>= installing on raspian =<br />
<br />
raspbian is great but locks the audio card and won't share<br />
<br />
[https://github.com/dtcooper/raspotify/issues/314#issuecomment-716099465 the solution] duplicated below<br />
<br />
The sound config below can be used to make alsa allow two applications share the sound card<br />
raspotify and squeezelight<br />
<br />
configure raspotify for device '''spotify'''<br />
<br />
<pre><br />
# /etc/asound.conf<br />
<br />
# use aplay -l to determine the below.<br />
<br />
# Change to the card number or name that you want to be the default control card.<br />
# Default: 0<br />
defaults.ctl.card 0<br />
<br />
# Change to the card number or name that you want to be the default playback card.<br />
# It should usually be the same as defaults.ctl.card.<br />
# Default: 0<br />
defaults.pcm.card 0<br />
<br />
# Change to the device number that you want to be the default device on the default card.<br />
# 0 or 1 is usually the correct device number.<br />
# Default: 0<br />
defaults.pcm.device 0<br />
<br />
# Change to the subdevice number that you want to be the default subdevice on the default device.<br />
# Should rarely need to be changed.<br />
# Default: -1<br />
defaults.pcm.subdevice -1<br />
<br />
pcm.!default {<br />
type plug<br />
slave {<br />
channels 2<br />
rate 44100<br />
format S16_LE<br />
pcm {<br />
type softvol<br />
slave.pcm {<br />
type dmix<br />
ipc_key 1024<br />
ipc_perm 0660<br />
ipc_gid audio<br />
slowptr true<br />
hw_ptr_alignment roundup<br />
slave {<br />
pcm {<br />
type hw<br />
card {<br />
@func refer<br />
name defaults.pcm.card<br />
}<br />
device {<br />
@func refer<br />
name defaults.pcm.device<br />
}<br />
subdevice {<br />
@func refer<br />
name defaults.pcm.subdevice<br />
}<br />
}<br />
channels 2<br />
period_size 0<br />
buffer_size 0<br />
buffer_time 0<br />
period_time 250000<br />
periods 4<br />
rate 44100<br />
format S16_LE<br />
}<br />
bindings {<br />
0 0<br />
1 1<br />
}<br />
}<br />
control {<br />
name PCM<br />
card {<br />
@func refer<br />
name defaults.ctl.card<br />
}<br />
}<br />
}<br />
}<br />
}<br />
<br />
pcm.spotify {<br />
type plug<br />
slave {<br />
channels 2<br />
rate 44100<br />
format S16_LE<br />
pcm {<br />
type softvol<br />
slave.pcm default<br />
control {<br />
name spotify<br />
card {<br />
@func refer<br />
name defaults.ctl.card<br />
}<br />
}<br />
}<br />
}<br />
}<br />
<br />
pcm.alexa {<br />
type plug<br />
slave {<br />
channels 2<br />
rate 44100<br />
format S16_LE<br />
pcm {<br />
type softvol<br />
slave.pcm default<br />
control {<br />
name alexa<br />
card {<br />
@func refer<br />
name defaults.ctl.card<br />
}<br />
}<br />
}<br />
}<br />
}<br />
<br />
</pre><br />
<br />
=Setup with no display=<br />
<br />
* Plug in the ethernet cable and pull out the power plug.<br />
* Do a factory reset. Point the remote at the display while pressing the ADD ("+") button. Plug in the power plug and count to 7, then release the ADD button on the remote.<br />
* Welcome to Squeezebox. Wait 15 seconds and it will push right by itself.<br />
* Language selection. Press right-arrow to select English.<br />
* Set up networking. Press right-arrow.<br />
* Choose wireless or ethernet. Press down-arrow once, then right-arrow for ethernet.<br />
* IP address. Press right-arrow to choose DHCP.<br />
* Wait 30 seconds. Press right-arrow to select your SqueezeCenter server that (hopefully) it will have found.<br />
<br />
<br />
The timing isn't really critical. For the factory setup you have to<br />
hold the button pressed for (I'm guessing) at least 5 seconds, but if<br />
you hold it too long you end up forcing another factory reset after it<br />
reboots. The 15 seconds just means wait at least 15 seconds. DHCP<br />
negotiation usually takes only a few seconds, but I've sometimes seen it<br />
take 10-20 seconds on my network.<br />
<br />
Factory reset, right, right, down, right, right, right.<br />
<br />
NET-UDAP perl script for setup<br />
<br />
== wifi cards ==<br />
SAMSUMG NP-R40 17-000660<br />
Sony Vaio VGN-FS515H Internal WLAN WIFI Wireless Card Board 178901432 AR5BMB5<br />
search for AR5BMB5 in the description<br />
<br />
== squeezebox boom problems ==<br />
<br />
https://broadlyuseless.info/tech/how-to-fix-unresponsive-squeezebox-boom/<br />
<br />
= picoreplayer =<br />
<br />
== build your own ==<br />
<br />
Make sure you have enough power if driving a touch screen and the pi or you get nasty pops<br />
<br />
=== configure the screen ===<br />
Edit the config.txt in the first partition add the lines for your touch device e.g.<br />
<br />
hdmi_group=2<br />
hdmi_mode=1<br />
hdmi_mode=87<br />
hdmi_cvt 1024 600 60 6 0 0 0<br />
<br />
<br />
===device===<br />
my black dac from ebay is PCM5122 and works as the iqaudio dac+<br />
<br />
dtoverlay=iqaudio-dacplus<br />
<br />
===calibrate touch screen===<br />
not required if you change the input type to TSLIB see below<br />
<br />
/usr/local/bin/ts_calibrate<br />
<br />
=== make jivelite use the touch library and the right input ===<br />
<br />
install jivelight and restart<br />
<br />
copy /opt/jivelite/bin/jivelite.sh to /mnt/mmcblk0p2/tce/jivelite.sh<br />
<br />
edit and add after the first line the following:<br />
<br />
export SDL_MOUSEDEV=/dev/input/event0<br />
export SDL_MOUSEDRV=TSLIB<br />
<br />
my device the screen is off so I can't select the resolution<br />
<br />
copy your /mnt/mmcblk0p2/tce/mydata.tgz file off the pi <br />
<br />
(extract as root so you keep the uids into a new directory `tar -xzf ../ydata.tgz`)<br />
<br />
create the file home/tc/.jivelite/userpath/settings/SelectSkin.lua with the contents:<br />
<br />
settings = {skin="PiGridSkin_1024x600",}<br />
<br />
rearchive the file `tar -czf ../mydata.tgz .`) and copy back onto the pi<br />
<br />
=== add spotify ===<br />
https://forums.slimdevices.com/showthread.php?107755-A-simple-how-to-for-quot-Spotty-quot-and-pCP<br />
<br />
=== bluetooth audio input ===<br />
<br />
now supported by the UI but you need to use 5gz wifi</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Squeezebox&diff=125Squeezebox2022-06-04T18:11:36Z<p>Martin: /* installing on raspian */</p>
<hr />
<div>= installing on raspian =<br />
<br />
raspbian is great but locks the audio card and won't share<br />
<br />
[https://github.com/dtcooper/raspotify/issues/314#issuecomment-716099465 the solution] duplicated below<br />
<br />
<br />
the below sound config can be used to make alsa allow two applications share the sound card<br />
raspotify and squeezelight<br />
<br />
configure raspotify for device '''spotify'''<br />
<br />
<pre><br />
# /etc/asound.conf<br />
<br />
# use aplay -l to determine the below.<br />
<br />
# Change to the card number or name that you want to be the default control card.<br />
# Default: 0<br />
defaults.ctl.card 0<br />
<br />
# Change to the card number or name that you want to be the default playback card.<br />
# It should usually be the same as defaults.ctl.card.<br />
# Default: 0<br />
defaults.pcm.card 0<br />
<br />
# Change to the device number that you want to be the default device on the default card.<br />
# 0 or 1 is usually the correct device number.<br />
# Default: 0<br />
defaults.pcm.device 0<br />
<br />
# Change to the subdevice number that you want to be the default subdevice on the default device.<br />
# Should rarely need to be changed.<br />
# Default: -1<br />
defaults.pcm.subdevice -1<br />
<br />
pcm.!default {<br />
type plug<br />
slave {<br />
channels 2<br />
rate 44100<br />
format S16_LE<br />
pcm {<br />
type softvol<br />
slave.pcm {<br />
type dmix<br />
ipc_key 1024<br />
ipc_perm 0660<br />
ipc_gid audio<br />
slowptr true<br />
hw_ptr_alignment roundup<br />
slave {<br />
pcm {<br />
type hw<br />
card {<br />
@func refer<br />
name defaults.pcm.card<br />
}<br />
device {<br />
@func refer<br />
name defaults.pcm.device<br />
}<br />
subdevice {<br />
@func refer<br />
name defaults.pcm.subdevice<br />
}<br />
}<br />
channels 2<br />
period_size 0<br />
buffer_size 0<br />
buffer_time 0<br />
period_time 250000<br />
periods 4<br />
rate 44100<br />
format S16_LE<br />
}<br />
bindings {<br />
0 0<br />
1 1<br />
}<br />
}<br />
control {<br />
name PCM<br />
card {<br />
@func refer<br />
name defaults.ctl.card<br />
}<br />
}<br />
}<br />
}<br />
}<br />
<br />
pcm.spotify {<br />
type plug<br />
slave {<br />
channels 2<br />
rate 44100<br />
format S16_LE<br />
pcm {<br />
type softvol<br />
slave.pcm default<br />
control {<br />
name spotify<br />
card {<br />
@func refer<br />
name defaults.ctl.card<br />
}<br />
}<br />
}<br />
}<br />
}<br />
<br />
pcm.alexa {<br />
type plug<br />
slave {<br />
channels 2<br />
rate 44100<br />
format S16_LE<br />
pcm {<br />
type softvol<br />
slave.pcm default<br />
control {<br />
name alexa<br />
card {<br />
@func refer<br />
name defaults.ctl.card<br />
}<br />
}<br />
}<br />
}<br />
}<br />
<br />
</pre><br />
<br />
=Setup with no display=<br />
<br />
* Plug in the ethernet cable and pull out the power plug.<br />
* Do a factory reset. Point the remote at the display while pressing the ADD ("+") button. Plug in the power plug and count to 7, then release the ADD button on the remote.<br />
* Welcome to Squeezebox. Wait 15 seconds and it will push right by itself.<br />
* Language selection. Press right-arrow to select English.<br />
* Set up networking. Press right-arrow.<br />
* Choose wireless or ethernet. Press down-arrow once, then right-arrow for ethernet.<br />
* IP address. Press right-arrow to choose DHCP.<br />
* Wait 30 seconds. Press right-arrow to select your SqueezeCenter server that (hopefully) it will have found.<br />
<br />
<br />
The timing isn't really critical. For the factory setup you have to<br />
hold the button pressed for (I'm guessing) at least 5 seconds, but if<br />
you hold it too long you end up forcing another factory reset after it<br />
reboots. The 15 seconds just means wait at least 15 seconds. DHCP<br />
negotiation usually takes only a few seconds, but I've sometimes seen it<br />
take 10-20 seconds on my network.<br />
<br />
Factory reset, right, right, down, right, right, right.<br />
<br />
NET-UDAP perl script for setup<br />
<br />
== wifi cards ==<br />
SAMSUMG NP-R40 17-000660<br />
Sony Vaio VGN-FS515H Internal WLAN WIFI Wireless Card Board 178901432 AR5BMB5<br />
search for AR5BMB5 in the description<br />
<br />
== squeezebox boom problems ==<br />
<br />
https://broadlyuseless.info/tech/how-to-fix-unresponsive-squeezebox-boom/<br />
<br />
= picoreplayer =<br />
<br />
== build your own ==<br />
<br />
Make sure you have enough power if driving a touch screen and the pi or you get nasty pops<br />
<br />
=== configure the screen ===<br />
Edit the config.txt in the first partition add the lines for your touch device e.g.<br />
<br />
hdmi_group=2<br />
hdmi_mode=1<br />
hdmi_mode=87<br />
hdmi_cvt 1024 600 60 6 0 0 0<br />
<br />
<br />
===device===<br />
my black dac from ebay is PCM5122 and works as the iqaudio dac+<br />
<br />
dtoverlay=iqaudio-dacplus<br />
<br />
===calibrate touch screen===<br />
not required if you change the input type to TSLIB see below<br />
<br />
/usr/local/bin/ts_calibrate<br />
<br />
=== make jivelite use the touch library and the right input ===<br />
<br />
install jivelight and restart<br />
<br />
copy /opt/jivelite/bin/jivelite.sh to /mnt/mmcblk0p2/tce/jivelite.sh<br />
<br />
edit and add after the first line the following:<br />
<br />
export SDL_MOUSEDEV=/dev/input/event0<br />
export SDL_MOUSEDRV=TSLIB<br />
<br />
my device the screen is off so I can't select the resolution<br />
<br />
copy your /mnt/mmcblk0p2/tce/mydata.tgz file off the pi <br />
<br />
(extract as root so you keep the uids into a new directory `tar -xzf ../ydata.tgz`)<br />
<br />
create the file home/tc/.jivelite/userpath/settings/SelectSkin.lua with the contents:<br />
<br />
settings = {skin="PiGridSkin_1024x600",}<br />
<br />
rearchive the file `tar -czf ../mydata.tgz .`) and copy back onto the pi<br />
<br />
=== add spotify ===<br />
https://forums.slimdevices.com/showthread.php?107755-A-simple-how-to-for-quot-Spotty-quot-and-pCP<br />
<br />
=== bluetooth audio input ===<br />
<br />
now supported by the UI but you need to use 5gz wifi</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Squeezebox&diff=124Squeezebox2022-06-04T18:08:33Z<p>Martin: </p>
<hr />
<div>= installing on raspian =<br />
<br />
raspbian is great but locks the audio card and won't share<br />
<br />
the below sound config can be used to make alsa allow two applications share the sound card<br />
raspotify and squeezelight<br />
<br />
configure raspotify for device '''spotify'''<br />
<br />
<pre><br />
# /etc/asound.conf<br />
<br />
# use aplay -l to determine the below.<br />
<br />
# Change to the card number or name that you want to be the default control card.<br />
# Default: 0<br />
defaults.ctl.card 0<br />
<br />
# Change to the card number or name that you want to be the default playback card.<br />
# It should usually be the same as defaults.ctl.card.<br />
# Default: 0<br />
defaults.pcm.card 0<br />
<br />
# Change to the device number that you want to be the default device on the default card.<br />
# 0 or 1 is usually the correct device number.<br />
# Default: 0<br />
defaults.pcm.device 0<br />
<br />
# Change to the subdevice number that you want to be the default subdevice on the default device.<br />
# Should rarely need to be changed.<br />
# Default: -1<br />
defaults.pcm.subdevice -1<br />
<br />
pcm.!default {<br />
type plug<br />
slave {<br />
channels 2<br />
rate 44100<br />
format S16_LE<br />
pcm {<br />
type softvol<br />
slave.pcm {<br />
type dmix<br />
ipc_key 1024<br />
ipc_perm 0660<br />
ipc_gid audio<br />
slowptr true<br />
hw_ptr_alignment roundup<br />
slave {<br />
pcm {<br />
type hw<br />
card {<br />
@func refer<br />
name defaults.pcm.card<br />
}<br />
device {<br />
@func refer<br />
name defaults.pcm.device<br />
}<br />
subdevice {<br />
@func refer<br />
name defaults.pcm.subdevice<br />
}<br />
}<br />
channels 2<br />
period_size 0<br />
buffer_size 0<br />
buffer_time 0<br />
period_time 250000<br />
periods 4<br />
rate 44100<br />
format S16_LE<br />
}<br />
bindings {<br />
0 0<br />
1 1<br />
}<br />
}<br />
control {<br />
name PCM<br />
card {<br />
@func refer<br />
name defaults.ctl.card<br />
}<br />
}<br />
}<br />
}<br />
}<br />
<br />
pcm.spotify {<br />
type plug<br />
slave {<br />
channels 2<br />
rate 44100<br />
format S16_LE<br />
pcm {<br />
type softvol<br />
slave.pcm default<br />
control {<br />
name spotify<br />
card {<br />
@func refer<br />
name defaults.ctl.card<br />
}<br />
}<br />
}<br />
}<br />
}<br />
<br />
pcm.alexa {<br />
type plug<br />
slave {<br />
channels 2<br />
rate 44100<br />
format S16_LE<br />
pcm {<br />
type softvol<br />
slave.pcm default<br />
control {<br />
name alexa<br />
card {<br />
@func refer<br />
name defaults.ctl.card<br />
}<br />
}<br />
}<br />
}<br />
}<br />
<br />
</pre><br />
<br />
=Setup with no display=<br />
<br />
* Plug in the ethernet cable and pull out the power plug.<br />
* Do a factory reset. Point the remote at the display while pressing the ADD ("+") button. Plug in the power plug and count to 7, then release the ADD button on the remote.<br />
* Welcome to Squeezebox. Wait 15 seconds and it will push right by itself.<br />
* Language selection. Press right-arrow to select English.<br />
* Set up networking. Press right-arrow.<br />
* Choose wireless or ethernet. Press down-arrow once, then right-arrow for ethernet.<br />
* IP address. Press right-arrow to choose DHCP.<br />
* Wait 30 seconds. Press right-arrow to select your SqueezeCenter server that (hopefully) it will have found.<br />
<br />
<br />
The timing isn't really critical. For the factory setup you have to<br />
hold the button pressed for (I'm guessing) at least 5 seconds, but if<br />
you hold it too long you end up forcing another factory reset after it<br />
reboots. The 15 seconds just means wait at least 15 seconds. DHCP<br />
negotiation usually takes only a few seconds, but I've sometimes seen it<br />
take 10-20 seconds on my network.<br />
<br />
Factory reset, right, right, down, right, right, right.<br />
<br />
NET-UDAP perl script for setup<br />
<br />
== wifi cards ==<br />
SAMSUMG NP-R40 17-000660<br />
Sony Vaio VGN-FS515H Internal WLAN WIFI Wireless Card Board 178901432 AR5BMB5<br />
search for AR5BMB5 in the description<br />
<br />
== squeezebox boom problems ==<br />
<br />
https://broadlyuseless.info/tech/how-to-fix-unresponsive-squeezebox-boom/<br />
<br />
= picoreplayer =<br />
<br />
== build your own ==<br />
<br />
Make sure you have enough power if driving a touch screen and the pi or you get nasty pops<br />
<br />
=== configure the screen ===<br />
Edit the config.txt in the first partition add the lines for your touch device e.g.<br />
<br />
hdmi_group=2<br />
hdmi_mode=1<br />
hdmi_mode=87<br />
hdmi_cvt 1024 600 60 6 0 0 0<br />
<br />
<br />
===device===<br />
my black dac from ebay is PCM5122 and works as the iqaudio dac+<br />
<br />
dtoverlay=iqaudio-dacplus<br />
<br />
===calibrate touch screen===<br />
not required if you change the input type to TSLIB see below<br />
<br />
/usr/local/bin/ts_calibrate<br />
<br />
=== make jivelite use the touch library and the right input ===<br />
<br />
install jivelight and restart<br />
<br />
copy /opt/jivelite/bin/jivelite.sh to /mnt/mmcblk0p2/tce/jivelite.sh<br />
<br />
edit and add after the first line the following:<br />
<br />
export SDL_MOUSEDEV=/dev/input/event0<br />
export SDL_MOUSEDRV=TSLIB<br />
<br />
my device the screen is off so I can't select the resolution<br />
<br />
copy your /mnt/mmcblk0p2/tce/mydata.tgz file off the pi <br />
<br />
(extract as root so you keep the uids into a new directory `tar -xzf ../ydata.tgz`)<br />
<br />
create the file home/tc/.jivelite/userpath/settings/SelectSkin.lua with the contents:<br />
<br />
settings = {skin="PiGridSkin_1024x600",}<br />
<br />
rearchive the file `tar -czf ../mydata.tgz .`) and copy back onto the pi<br />
<br />
=== add spotify ===<br />
https://forums.slimdevices.com/showthread.php?107755-A-simple-how-to-for-quot-Spotty-quot-and-pCP<br />
<br />
=== bluetooth audio input ===<br />
<br />
now supported by the UI but you need to use 5gz wifi</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Squeezebox&diff=123Squeezebox2022-06-04T18:07:30Z<p>Martin: /* Setup with no display */</p>
<hr />
<div>= installing on raspian =<br />
<br />
raspbian is great but locks the audio card and won't share<br />
<br />
the below sound config can be used to make alsa allow two applications share the sound card<br />
raspotify and squeezelight<br />
<br />
configure raspotify for device *spotify*<br />
<br />
<pre><br />
# /etc/asound.conf<br />
<br />
# use aplay -l to determine the below.<br />
<br />
# Change to the card number or name that you want to be the default control card.<br />
# Default: 0<br />
defaults.ctl.card 0<br />
<br />
# Change to the card number or name that you want to be the default playback card.<br />
# It should usually be the same as defaults.ctl.card.<br />
# Default: 0<br />
defaults.pcm.card 0<br />
<br />
# Change to the device number that you want to be the default device on the default card.<br />
# 0 or 1 is usually the correct device number.<br />
# Default: 0<br />
defaults.pcm.device 0<br />
<br />
# Change to the subdevice number that you want to be the default subdevice on the default device.<br />
# Should rarely need to be changed.<br />
# Default: -1<br />
defaults.pcm.subdevice -1<br />
<br />
pcm.!default {<br />
type plug<br />
slave {<br />
channels 2<br />
rate 44100<br />
format S16_LE<br />
pcm {<br />
type softvol<br />
slave.pcm {<br />
type dmix<br />
ipc_key 1024<br />
ipc_perm 0660<br />
ipc_gid audio<br />
slowptr true<br />
hw_ptr_alignment roundup<br />
slave {<br />
pcm {<br />
type hw<br />
card {<br />
@func refer<br />
name defaults.pcm.card<br />
}<br />
device {<br />
@func refer<br />
name defaults.pcm.device<br />
}<br />
subdevice {<br />
@func refer<br />
name defaults.pcm.subdevice<br />
}<br />
}<br />
channels 2<br />
period_size 0<br />
buffer_size 0<br />
buffer_time 0<br />
period_time 250000<br />
periods 4<br />
rate 44100<br />
format S16_LE<br />
}<br />
bindings {<br />
0 0<br />
1 1<br />
}<br />
}<br />
control {<br />
name PCM<br />
card {<br />
@func refer<br />
name defaults.ctl.card<br />
}<br />
}<br />
}<br />
}<br />
}<br />
<br />
pcm.spotify {<br />
type plug<br />
slave {<br />
channels 2<br />
rate 44100<br />
format S16_LE<br />
pcm {<br />
type softvol<br />
slave.pcm default<br />
control {<br />
name spotify<br />
card {<br />
@func refer<br />
name defaults.ctl.card<br />
}<br />
}<br />
}<br />
}<br />
}<br />
<br />
pcm.alexa {<br />
type plug<br />
slave {<br />
channels 2<br />
rate 44100<br />
format S16_LE<br />
pcm {<br />
type softvol<br />
slave.pcm default<br />
control {<br />
name alexa<br />
card {<br />
@func refer<br />
name defaults.ctl.card<br />
}<br />
}<br />
}<br />
}<br />
}<br />
<br />
</pre><br />
<br />
=Setup with no display=<br />
<br />
* Plug in the ethernet cable and pull out the power plug.<br />
* Do a factory reset. Point the remote at the display while pressing the ADD ("+") button. Plug in the power plug and count to 7, then release the ADD button on the remote.<br />
* Welcome to Squeezebox. Wait 15 seconds and it will push right by itself.<br />
* Language selection. Press right-arrow to select English.<br />
* Set up networking. Press right-arrow.<br />
* Choose wireless or ethernet. Press down-arrow once, then right-arrow for ethernet.<br />
* IP address. Press right-arrow to choose DHCP.<br />
* Wait 30 seconds. Press right-arrow to select your SqueezeCenter server that (hopefully) it will have found.<br />
<br />
<br />
The timing isn't really critical. For the factory setup you have to<br />
hold the button pressed for (I'm guessing) at least 5 seconds, but if<br />
you hold it too long you end up forcing another factory reset after it<br />
reboots. The 15 seconds just means wait at least 15 seconds. DHCP<br />
negotiation usually takes only a few seconds, but I've sometimes seen it<br />
take 10-20 seconds on my network.<br />
<br />
Factory reset, right, right, down, right, right, right.<br />
<br />
NET-UDAP perl script for setup<br />
<br />
== wifi cards ==<br />
SAMSUMG NP-R40 17-000660<br />
Sony Vaio VGN-FS515H Internal WLAN WIFI Wireless Card Board 178901432 AR5BMB5<br />
search for AR5BMB5 in the description<br />
<br />
== squeezebox boom problems ==<br />
<br />
https://broadlyuseless.info/tech/how-to-fix-unresponsive-squeezebox-boom/<br />
<br />
= picoreplayer =<br />
<br />
== build your own ==<br />
<br />
Make sure you have enough power if driving a touch screen and the pi or you get nasty pops<br />
<br />
=== configure the screen ===<br />
Edit the config.txt in the first partition add the lines for your touch device e.g.<br />
<br />
hdmi_group=2<br />
hdmi_mode=1<br />
hdmi_mode=87<br />
hdmi_cvt 1024 600 60 6 0 0 0<br />
<br />
<br />
===device===<br />
my black dac from ebay is PCM5122 and works as the iqaudio dac+<br />
<br />
dtoverlay=iqaudio-dacplus<br />
<br />
===calibrate touch screen===<br />
not required if you change the input type to TSLIB see below<br />
<br />
/usr/local/bin/ts_calibrate<br />
<br />
=== make jivelite use the touch library and the right input ===<br />
<br />
install jivelight and restart<br />
<br />
copy /opt/jivelite/bin/jivelite.sh to /mnt/mmcblk0p2/tce/jivelite.sh<br />
<br />
edit and add after the first line the following:<br />
<br />
export SDL_MOUSEDEV=/dev/input/event0<br />
export SDL_MOUSEDRV=TSLIB<br />
<br />
my device the screen is off so I can't select the resolution<br />
<br />
copy your /mnt/mmcblk0p2/tce/mydata.tgz file off the pi <br />
<br />
(extract as root so you keep the uids into a new directory `tar -xzf ../ydata.tgz`)<br />
<br />
create the file home/tc/.jivelite/userpath/settings/SelectSkin.lua with the contents:<br />
<br />
settings = {skin="PiGridSkin_1024x600",}<br />
<br />
rearchive the file `tar -czf ../mydata.tgz .`) and copy back onto the pi<br />
<br />
=== add spotify ===<br />
https://forums.slimdevices.com/showthread.php?107755-A-simple-how-to-for-quot-Spotty-quot-and-pCP<br />
<br />
=== bluetooth audio input ===<br />
<br />
now supported by the UI but you need to use 5gz wifi</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Muffins&diff=122Muffins2022-02-21T22:06:15Z<p>Martin: </p>
<hr />
<div>Skip the egg/egg replacer: <br />
<br />
https://www.food.com/recipe/sourdough-oatmeal-raisin-muffins-329859<br />
<br />
<br />
<br />
{| class="wikitable"<br />
|+ Ingredients<br />
|-<br />
!! weight !! cups !! Ingredient<br />
|-<br />
|| 85g || 1 || oats<br />
|-<br />
|| 113g || 1/2 || Sourdough starter<br />
|-<br />
|| 71g || 1/3 || Oil/marge<br />
|-<br />
|| 240ml || 1 || milk<br />
|-<br />
|| 204g || 1 1/2 || Flour<br />
|-<br />
|| 110g || 1/2 || Sugar<br />
|-<br />
|| 83g || 1/2 || raisins<br />
|-<br />
| colspan="2" | 1 1/2 tsp || Baking powder<br />
|-<br />
| colspan="2" | 1/4 tsp || Baking soda<br />
|-<br />
| colspan="2" | 1/2 tsp || Salt<br />
|}</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Orange_Cake&diff=121Orange Cake2022-02-21T07:41:56Z<p>Martin: </p>
<hr />
<div>{| class="wikitable"<br />
|+ Ingredients<br />
|-<br />
||150g || raisins<br />
|-<br />
||150g || sultanas<br />
|-<br />
||150g || currents (or pieces of orange)<br />
|-<br />
||100g || soft brown sugar<br />
|-<br />
|| || grated rind of two oranges<br />
|-<br />
||300ml || hot tea (be generous allow for teabag if measuring before)<br />
|-<br />
||120g || sourdough<br />
|-<br />
||275g || self raising flour<br />
|}<br />
<br />
8" tin<br />
<br />
150c 1 1/2 hours<br />
<br />
put fruit, sugar, rind in a bowl pour on hot tea leave overnight<br />
<br />
just before putting in oven, mix in sourdough, sift in flour - bake</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Orange_Cake&diff=120Orange Cake2022-02-21T07:39:42Z<p>Martin: </p>
<hr />
<div>{| class="wikitable"<br />
|+ Ingredients<br />
|-<br />
||150g || raisins<br />
|-<br />
||150g || sultanas<br />
|-<br />
||150g || currents (or pieces of orange)<br />
|-<br />
||100g || soft brown sugar<br />
|-<br />
|| || grated rind of two oranges<br />
|-<br />
||300ml || hot tea (be generous allow for teabag if measuring before)<br />
|-<br />
||120g || sourdough<br />
|-<br />
||275g || self raising flour<br />
|}<br />
<br />
8" tin<br />
<br />
150c 1 1/2 hours<br />
<br />
put raisins</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Orange_Cake&diff=119Orange Cake2022-02-21T07:39:30Z<p>Martin: Created page with "{| class="wikitable" |+ Ingredients |- ||150g || raisins |- ||150g sultanas |- ||150g || currents (or pieces of orange) |- ||100g || soft brown sugar |- || || grated rind of t..."</p>
<hr />
<div>{| class="wikitable"<br />
|+ Ingredients<br />
|-<br />
||150g || raisins<br />
|-<br />
||150g sultanas<br />
|-<br />
||150g || currents (or pieces of orange)<br />
|-<br />
||100g || soft brown sugar<br />
|-<br />
|| || grated rind of two oranges<br />
|-<br />
||300ml || hot tea (be generous allow for teabag if measuring before)<br />
|-<br />
||120g || sourdough<br />
|-<br />
||275g || self raising flour<br />
|}<br />
<br />
8" tin<br />
<br />
150c 1 1/2 hours<br />
<br />
put raisins</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Muffins&diff=118Muffins2022-01-31T19:05:03Z<p>Martin: </p>
<hr />
<div>Skip the egg/use egg replacer: <br />
<br />
https://www.food.com/recipe/sourdough-oatmeal-raisin-muffins-329859<br />
<br />
<br />
<br />
{| class="wikitable"<br />
|+ Ingredients<br />
|-<br />
!! weight !! cups !! Ingredient<br />
|-<br />
|| 85g || 1 || oats<br />
|-<br />
|| 113g || 1/2 || Sourdough starter<br />
|-<br />
|| 71g || 1/3 || Oil/marge<br />
|-<br />
|| 240ml || 1 || milk<br />
|-<br />
|| 204g || 1 1/2 || Flour<br />
|-<br />
|| 110g || 1/2 || Sugar<br />
|-<br />
|| 83g || 1/2 || raisins<br />
|-<br />
| colspan="2" | 1 1/2 tsp || Baking powder<br />
|-<br />
| colspan="2" | 1/4 tsp || Baking soda<br />
|-<br />
| colspan="2" | 1/2 tsp || Salt<br />
|}</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Muffins&diff=117Muffins2022-01-31T19:04:09Z<p>Martin: </p>
<hr />
<div>Skip the egg/use egg replacer: <br />
<br />
https://www.food.com/recipe/sourdough-oatmeal-raisin-muffins-329859<br />
<br />
<br />
<br />
{| class="wikitable"<br />
|+ Ingredients<br />
|-<br />
!! weight !! cups !! Ingredient<br />
|-<br />
|| 85g || 1 || oats<br />
|-<br />
|| 113g || 1/2 || Sourdough starter<br />
|-<br />
|| 76g || 1/3 || Oil<br />
|-<br />
|| 240ml || 1 || milk<br />
|-<br />
|| 204g || 1 1/2 || Flour<br />
|-<br />
|| 110g || 1/2 || Sugar<br />
|-<br />
|| 83g || 1/2 || raisins<br />
|-<br />
| colspan="2" | 1 1/2 tsp || Baking powder<br />
|-<br />
| colspan="2" | 1/4 tsp || Baking soda<br />
|-<br />
| colspan="2" | 1/2 tsp || Salt<br />
|}</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Muffins&diff=116Muffins2022-01-31T19:03:57Z<p>Martin: </p>
<hr />
<div>Skip the egg/use egg replacer: <br />
<br />
https://www.food.com/recipe/sourdough-oatmeal-raisin-muffins-329859<br />
<br />
<br />
<br />
{| class="wikitable"<br />
|+ Ingredients<br />
|-<br />
!! weight !! cups !! Ingredient<br />
|-<br />
|| 85g || 1 || oats<br />
|-<br />
|| 113g || 1/2 || Sourdough starter<br />
|-<br />
|| 76g || 1/3 || Oil<br />
||-<br />
|| 240ml || 1 || milk<br />
|-<br />
|| 204g || 1 1/2 || Flour<br />
|-<br />
|| 110g || 1/2 || Sugar<br />
|-<br />
|| 83g || 1/2 || raisins<br />
|-<br />
| colspan="2" | 1 1/2 tsp || Baking powder<br />
|-<br />
| colspan="2" | 1/4 tsp || Baking soda<br />
|-<br />
| colspan="2" | 1/2 tsp || Salt<br />
|}</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Squeezebox&diff=115Squeezebox2021-12-30T11:19:26Z<p>Martin: /* make jivelite use the touch library and the right input */</p>
<hr />
<div>=Setup with no display=<br />
<br />
* Plug in the ethernet cable and pull out the power plug.<br />
* Do a factory reset. Point the remote at the display while pressing the ADD ("+") button. Plug in the power plug and count to 7, then release the ADD button on the remote.<br />
* Welcome to Squeezebox. Wait 15 seconds and it will push right by itself.<br />
* Language selection. Press right-arrow to select English.<br />
* Set up networking. Press right-arrow.<br />
* Choose wireless or ethernet. Press down-arrow once, then right-arrow for ethernet.<br />
* IP address. Press right-arrow to choose DHCP.<br />
* Wait 30 seconds. Press right-arrow to select your SqueezeCenter server that (hopefully) it will have found.<br />
<br />
<br />
The timing isn't really critical. For the factory setup you have to<br />
hold the button pressed for (I'm guessing) at least 5 seconds, but if<br />
you hold it too long you end up forcing another factory reset after it<br />
reboots. The 15 seconds just means wait at least 15 seconds. DHCP<br />
negotiation usually takes only a few seconds, but I've sometimes seen it<br />
take 10-20 seconds on my network.<br />
<br />
Factory reset, right, right, down, right, right, right.<br />
<br />
NET-UDAP perl script for setup<br />
<br />
== wifi cards ==<br />
SAMSUMG NP-R40 17-000660<br />
Sony Vaio VGN-FS515H Internal WLAN WIFI Wireless Card Board 178901432 AR5BMB5<br />
search for AR5BMB5 in the description<br />
<br />
== squeezebox boom problems ==<br />
<br />
https://broadlyuseless.info/tech/how-to-fix-unresponsive-squeezebox-boom/<br />
<br />
= picoreplayer =<br />
<br />
== build your own ==<br />
<br />
Make sure you have enough power if driving a touch screen and the pi or you get nasty pops<br />
<br />
=== configure the screen ===<br />
Edit the config.txt in the first partition add the lines for your touch device e.g.<br />
<br />
hdmi_group=2<br />
hdmi_mode=1<br />
hdmi_mode=87<br />
hdmi_cvt 1024 600 60 6 0 0 0<br />
<br />
<br />
===device===<br />
my black dac from ebay is PCM5122 and works as the iqaudio dac+<br />
<br />
dtoverlay=iqaudio-dacplus<br />
<br />
===calibrate touch screen===<br />
not required if you change the input type to TSLIB see below<br />
<br />
/usr/local/bin/ts_calibrate<br />
<br />
=== make jivelite use the touch library and the right input ===<br />
<br />
install jivelight and restart<br />
<br />
copy /opt/jivelite/bin/jivelite.sh to /mnt/mmcblk0p2/tce/jivelite.sh<br />
<br />
edit and add after the first line the following:<br />
<br />
export SDL_MOUSEDEV=/dev/input/event0<br />
export SDL_MOUSEDRV=TSLIB<br />
<br />
my device the screen is off so I can't select the resolution<br />
<br />
copy your /mnt/mmcblk0p2/tce/mydata.tgz file off the pi <br />
<br />
(extract as root so you keep the uids into a new directory `tar -xzf ../ydata.tgz`)<br />
<br />
create the file home/tc/.jivelite/userpath/settings/SelectSkin.lua with the contents:<br />
<br />
settings = {skin="PiGridSkin_1024x600",}<br />
<br />
rearchive the file `tar -czf ../mydata.tgz .`) and copy back onto the pi<br />
<br />
=== add spotify ===<br />
https://forums.slimdevices.com/showthread.php?107755-A-simple-how-to-for-quot-Spotty-quot-and-pCP<br />
<br />
=== bluetooth audio input ===<br />
<br />
now supported by the UI but you need to use 5gz wifi</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Squeezebox&diff=114Squeezebox2021-12-29T21:17:17Z<p>Martin: /* make jivelite use the touch library and the right input */</p>
<hr />
<div>=Setup with no display=<br />
<br />
* Plug in the ethernet cable and pull out the power plug.<br />
* Do a factory reset. Point the remote at the display while pressing the ADD ("+") button. Plug in the power plug and count to 7, then release the ADD button on the remote.<br />
* Welcome to Squeezebox. Wait 15 seconds and it will push right by itself.<br />
* Language selection. Press right-arrow to select English.<br />
* Set up networking. Press right-arrow.<br />
* Choose wireless or ethernet. Press down-arrow once, then right-arrow for ethernet.<br />
* IP address. Press right-arrow to choose DHCP.<br />
* Wait 30 seconds. Press right-arrow to select your SqueezeCenter server that (hopefully) it will have found.<br />
<br />
<br />
The timing isn't really critical. For the factory setup you have to<br />
hold the button pressed for (I'm guessing) at least 5 seconds, but if<br />
you hold it too long you end up forcing another factory reset after it<br />
reboots. The 15 seconds just means wait at least 15 seconds. DHCP<br />
negotiation usually takes only a few seconds, but I've sometimes seen it<br />
take 10-20 seconds on my network.<br />
<br />
Factory reset, right, right, down, right, right, right.<br />
<br />
NET-UDAP perl script for setup<br />
<br />
== wifi cards ==<br />
SAMSUMG NP-R40 17-000660<br />
Sony Vaio VGN-FS515H Internal WLAN WIFI Wireless Card Board 178901432 AR5BMB5<br />
search for AR5BMB5 in the description<br />
<br />
== squeezebox boom problems ==<br />
<br />
https://broadlyuseless.info/tech/how-to-fix-unresponsive-squeezebox-boom/<br />
<br />
= picoreplayer =<br />
<br />
== build your own ==<br />
<br />
Make sure you have enough power if driving a touch screen and the pi or you get nasty pops<br />
<br />
=== configure the screen ===<br />
Edit the config.txt in the first partition add the lines for your touch device e.g.<br />
<br />
hdmi_group=2<br />
hdmi_mode=1<br />
hdmi_mode=87<br />
hdmi_cvt 1024 600 60 6 0 0 0<br />
<br />
<br />
===device===<br />
my black dac from ebay is PCM5122 and works as the iqaudio dac+<br />
<br />
dtoverlay=iqaudio-dacplus<br />
<br />
===calibrate touch screen===<br />
not required if you change the input type to TSLIB see below<br />
<br />
/usr/local/bin/ts_calibrate<br />
<br />
=== make jivelite use the touch library and the right input ===<br />
<br />
install jivelight and restart<br />
<br />
copy /opt/jivelite/bin/jivelite.sh to /mnt/mmcblk0p2/tce/jivelite.sh<br />
<br />
edit and add after the first line the following:<br />
<br />
export SDL_MOUSEDEV=/dev/input/event0<br />
export SDL_MOUSEDRV=TSLIB<br />
<br />
my device the screen is off so I can't select the resolution<br />
<br />
copy your /mnt/mmcblk0p2/tce/mydata.tgz file off the pi <br />
<br />
(extract as root so you keep the uids into a new directory `tar -xzf ../ydata.tgz`)<br />
<br />
create the file home/tc/.jivelite/userpath/settings/SelectSkin.lua with the contents:<br />
<br />
settings = {skin="PiGridSkin_1024x600",}<br />
<br />
rearchive the file `tar -czf ../mydata.tgz .`) and copy back onto the pi<br />
<br />
=== bluetooth audio input ===<br />
<br />
now supported by the UI but you need to use 5gz wifi</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Squeezebox&diff=113Squeezebox2021-12-29T21:12:35Z<p>Martin: /* make jivelite use the touch library and the right input */</p>
<hr />
<div>=Setup with no display=<br />
<br />
* Plug in the ethernet cable and pull out the power plug.<br />
* Do a factory reset. Point the remote at the display while pressing the ADD ("+") button. Plug in the power plug and count to 7, then release the ADD button on the remote.<br />
* Welcome to Squeezebox. Wait 15 seconds and it will push right by itself.<br />
* Language selection. Press right-arrow to select English.<br />
* Set up networking. Press right-arrow.<br />
* Choose wireless or ethernet. Press down-arrow once, then right-arrow for ethernet.<br />
* IP address. Press right-arrow to choose DHCP.<br />
* Wait 30 seconds. Press right-arrow to select your SqueezeCenter server that (hopefully) it will have found.<br />
<br />
<br />
The timing isn't really critical. For the factory setup you have to<br />
hold the button pressed for (I'm guessing) at least 5 seconds, but if<br />
you hold it too long you end up forcing another factory reset after it<br />
reboots. The 15 seconds just means wait at least 15 seconds. DHCP<br />
negotiation usually takes only a few seconds, but I've sometimes seen it<br />
take 10-20 seconds on my network.<br />
<br />
Factory reset, right, right, down, right, right, right.<br />
<br />
NET-UDAP perl script for setup<br />
<br />
== wifi cards ==<br />
SAMSUMG NP-R40 17-000660<br />
Sony Vaio VGN-FS515H Internal WLAN WIFI Wireless Card Board 178901432 AR5BMB5<br />
search for AR5BMB5 in the description<br />
<br />
== squeezebox boom problems ==<br />
<br />
https://broadlyuseless.info/tech/how-to-fix-unresponsive-squeezebox-boom/<br />
<br />
= picoreplayer =<br />
<br />
== build your own ==<br />
<br />
Make sure you have enough power if driving a touch screen and the pi or you get nasty pops<br />
<br />
=== configure the screen ===<br />
Edit the config.txt in the first partition add the lines for your touch device e.g.<br />
<br />
hdmi_group=2<br />
hdmi_mode=1<br />
hdmi_mode=87<br />
hdmi_cvt 1024 600 60 6 0 0 0<br />
<br />
<br />
===device===<br />
my black dac from ebay is PCM5122 and works as the iqaudio dac+<br />
<br />
dtoverlay=iqaudio-dacplus<br />
<br />
===calibrate touch screen===<br />
not required if you change the input type to TSLIB see below<br />
<br />
/usr/local/bin/ts_calibrate<br />
<br />
=== make jivelite use the touch library and the right input ===<br />
<br />
# install jivelight and restart<br />
<br />
# copy /opt/jivelite/bin/jivelite.sh to /mnt/mmcblk0p2/tce/jivelite.sh<br />
<br />
# edit and add after the first line the following:<br />
<br />
export SDL_MOUSEDEV=/dev/input/event0<br />
export SDL_MOUSEDRV=TSLIB<br />
<br />
=== bluetooth audio input ===<br />
<br />
now supported by the UI but you need to use 5gz wifi</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Squeezebox&diff=112Squeezebox2021-12-29T21:11:42Z<p>Martin: /* calibrate touch screen */</p>
<hr />
<div>=Setup with no display=<br />
<br />
* Plug in the ethernet cable and pull out the power plug.<br />
* Do a factory reset. Point the remote at the display while pressing the ADD ("+") button. Plug in the power plug and count to 7, then release the ADD button on the remote.<br />
* Welcome to Squeezebox. Wait 15 seconds and it will push right by itself.<br />
* Language selection. Press right-arrow to select English.<br />
* Set up networking. Press right-arrow.<br />
* Choose wireless or ethernet. Press down-arrow once, then right-arrow for ethernet.<br />
* IP address. Press right-arrow to choose DHCP.<br />
* Wait 30 seconds. Press right-arrow to select your SqueezeCenter server that (hopefully) it will have found.<br />
<br />
<br />
The timing isn't really critical. For the factory setup you have to<br />
hold the button pressed for (I'm guessing) at least 5 seconds, but if<br />
you hold it too long you end up forcing another factory reset after it<br />
reboots. The 15 seconds just means wait at least 15 seconds. DHCP<br />
negotiation usually takes only a few seconds, but I've sometimes seen it<br />
take 10-20 seconds on my network.<br />
<br />
Factory reset, right, right, down, right, right, right.<br />
<br />
NET-UDAP perl script for setup<br />
<br />
== wifi cards ==<br />
SAMSUMG NP-R40 17-000660<br />
Sony Vaio VGN-FS515H Internal WLAN WIFI Wireless Card Board 178901432 AR5BMB5<br />
search for AR5BMB5 in the description<br />
<br />
== squeezebox boom problems ==<br />
<br />
https://broadlyuseless.info/tech/how-to-fix-unresponsive-squeezebox-boom/<br />
<br />
= picoreplayer =<br />
<br />
== build your own ==<br />
<br />
Make sure you have enough power if driving a touch screen and the pi or you get nasty pops<br />
<br />
=== configure the screen ===<br />
Edit the config.txt in the first partition add the lines for your touch device e.g.<br />
<br />
hdmi_group=2<br />
hdmi_mode=1<br />
hdmi_mode=87<br />
hdmi_cvt 1024 600 60 6 0 0 0<br />
<br />
<br />
===device===<br />
my black dac from ebay is PCM5122 and works as the iqaudio dac+<br />
<br />
dtoverlay=iqaudio-dacplus<br />
<br />
===calibrate touch screen===<br />
not required if you change the input type to TSLIB see below<br />
<br />
/usr/local/bin/ts_calibrate<br />
<br />
=== make jivelite use the touch library and the right input ===<br />
<br />
copy /opt/jivelite/bin/jivelite.sh to /mnt/mmcblk0p2/tce/jivelite.sh<br />
<br />
edit and add after the first line the following:<br />
<br />
export SDL_MOUSEDEV=/dev/input/event0<br />
export SDL_MOUSEDRV=TSLIB<br />
<br />
<br />
=== bluetooth audio input ===<br />
<br />
now supported by the UI but you need to use 5gz wifi</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Squeezebox&diff=111Squeezebox2021-12-29T21:11:27Z<p>Martin: /* calibrate touch screen */</p>
<hr />
<div>=Setup with no display=<br />
<br />
* Plug in the ethernet cable and pull out the power plug.<br />
* Do a factory reset. Point the remote at the display while pressing the ADD ("+") button. Plug in the power plug and count to 7, then release the ADD button on the remote.<br />
* Welcome to Squeezebox. Wait 15 seconds and it will push right by itself.<br />
* Language selection. Press right-arrow to select English.<br />
* Set up networking. Press right-arrow.<br />
* Choose wireless or ethernet. Press down-arrow once, then right-arrow for ethernet.<br />
* IP address. Press right-arrow to choose DHCP.<br />
* Wait 30 seconds. Press right-arrow to select your SqueezeCenter server that (hopefully) it will have found.<br />
<br />
<br />
The timing isn't really critical. For the factory setup you have to<br />
hold the button pressed for (I'm guessing) at least 5 seconds, but if<br />
you hold it too long you end up forcing another factory reset after it<br />
reboots. The 15 seconds just means wait at least 15 seconds. DHCP<br />
negotiation usually takes only a few seconds, but I've sometimes seen it<br />
take 10-20 seconds on my network.<br />
<br />
Factory reset, right, right, down, right, right, right.<br />
<br />
NET-UDAP perl script for setup<br />
<br />
== wifi cards ==<br />
SAMSUMG NP-R40 17-000660<br />
Sony Vaio VGN-FS515H Internal WLAN WIFI Wireless Card Board 178901432 AR5BMB5<br />
search for AR5BMB5 in the description<br />
<br />
== squeezebox boom problems ==<br />
<br />
https://broadlyuseless.info/tech/how-to-fix-unresponsive-squeezebox-boom/<br />
<br />
= picoreplayer =<br />
<br />
== build your own ==<br />
<br />
Make sure you have enough power if driving a touch screen and the pi or you get nasty pops<br />
<br />
=== configure the screen ===<br />
Edit the config.txt in the first partition add the lines for your touch device e.g.<br />
<br />
hdmi_group=2<br />
hdmi_mode=1<br />
hdmi_mode=87<br />
hdmi_cvt 1024 600 60 6 0 0 0<br />
<br />
<br />
===device===<br />
my black dac from ebay is PCM5122 and works as the iqaudio dac+<br />
<br />
dtoverlay=iqaudio-dacplus<br />
<br />
===calibrate touch screen===<br />
not required if you change the input type<br />
<br />
/usr/local/bin/ts_calibrate<br />
<br />
=== make jivelite use the touch library and the right input ===<br />
<br />
copy /opt/jivelite/bin/jivelite.sh to /mnt/mmcblk0p2/tce/jivelite.sh<br />
<br />
edit and add after the first line the following:<br />
<br />
export SDL_MOUSEDEV=/dev/input/event0<br />
export SDL_MOUSEDRV=TSLIB<br />
<br />
<br />
=== bluetooth audio input ===<br />
<br />
now supported by the UI but you need to use 5gz wifi</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Squeezebox&diff=110Squeezebox2021-12-29T19:54:58Z<p>Martin: /* bluetooth audio input */</p>
<hr />
<div>=Setup with no display=<br />
<br />
* Plug in the ethernet cable and pull out the power plug.<br />
* Do a factory reset. Point the remote at the display while pressing the ADD ("+") button. Plug in the power plug and count to 7, then release the ADD button on the remote.<br />
* Welcome to Squeezebox. Wait 15 seconds and it will push right by itself.<br />
* Language selection. Press right-arrow to select English.<br />
* Set up networking. Press right-arrow.<br />
* Choose wireless or ethernet. Press down-arrow once, then right-arrow for ethernet.<br />
* IP address. Press right-arrow to choose DHCP.<br />
* Wait 30 seconds. Press right-arrow to select your SqueezeCenter server that (hopefully) it will have found.<br />
<br />
<br />
The timing isn't really critical. For the factory setup you have to<br />
hold the button pressed for (I'm guessing) at least 5 seconds, but if<br />
you hold it too long you end up forcing another factory reset after it<br />
reboots. The 15 seconds just means wait at least 15 seconds. DHCP<br />
negotiation usually takes only a few seconds, but I've sometimes seen it<br />
take 10-20 seconds on my network.<br />
<br />
Factory reset, right, right, down, right, right, right.<br />
<br />
NET-UDAP perl script for setup<br />
<br />
== wifi cards ==<br />
SAMSUMG NP-R40 17-000660<br />
Sony Vaio VGN-FS515H Internal WLAN WIFI Wireless Card Board 178901432 AR5BMB5<br />
search for AR5BMB5 in the description<br />
<br />
== squeezebox boom problems ==<br />
<br />
https://broadlyuseless.info/tech/how-to-fix-unresponsive-squeezebox-boom/<br />
<br />
= picoreplayer =<br />
<br />
== build your own ==<br />
<br />
Make sure you have enough power if driving a touch screen and the pi or you get nasty pops<br />
<br />
=== configure the screen ===<br />
Edit the config.txt in the first partition add the lines for your touch device e.g.<br />
<br />
hdmi_group=2<br />
hdmi_mode=1<br />
hdmi_mode=87<br />
hdmi_cvt 1024 600 60 6 0 0 0<br />
<br />
<br />
===device===<br />
my black dac from ebay is PCM5122 and works as the iqaudio dac+<br />
<br />
dtoverlay=iqaudio-dacplus<br />
<br />
===calibrate touch screen===<br />
/usr/local/bin/ts_calibrate<br />
<br />
=== make jivelite use the touch library and the right input ===<br />
<br />
copy /opt/jivelite/bin/jivelite.sh to /mnt/mmcblk0p2/tce/jivelite.sh<br />
<br />
edit and add after the first line the following:<br />
<br />
export SDL_MOUSEDEV=/dev/input/event0<br />
export SDL_MOUSEDRV=TSLIB<br />
<br />
<br />
=== bluetooth audio input ===<br />
<br />
now supported by the UI but you need to use 5gz wifi</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Squeezebox&diff=109Squeezebox2021-12-29T19:53:59Z<p>Martin: /* device */</p>
<hr />
<div>=Setup with no display=<br />
<br />
* Plug in the ethernet cable and pull out the power plug.<br />
* Do a factory reset. Point the remote at the display while pressing the ADD ("+") button. Plug in the power plug and count to 7, then release the ADD button on the remote.<br />
* Welcome to Squeezebox. Wait 15 seconds and it will push right by itself.<br />
* Language selection. Press right-arrow to select English.<br />
* Set up networking. Press right-arrow.<br />
* Choose wireless or ethernet. Press down-arrow once, then right-arrow for ethernet.<br />
* IP address. Press right-arrow to choose DHCP.<br />
* Wait 30 seconds. Press right-arrow to select your SqueezeCenter server that (hopefully) it will have found.<br />
<br />
<br />
The timing isn't really critical. For the factory setup you have to<br />
hold the button pressed for (I'm guessing) at least 5 seconds, but if<br />
you hold it too long you end up forcing another factory reset after it<br />
reboots. The 15 seconds just means wait at least 15 seconds. DHCP<br />
negotiation usually takes only a few seconds, but I've sometimes seen it<br />
take 10-20 seconds on my network.<br />
<br />
Factory reset, right, right, down, right, right, right.<br />
<br />
NET-UDAP perl script for setup<br />
<br />
== wifi cards ==<br />
SAMSUMG NP-R40 17-000660<br />
Sony Vaio VGN-FS515H Internal WLAN WIFI Wireless Card Board 178901432 AR5BMB5<br />
search for AR5BMB5 in the description<br />
<br />
== squeezebox boom problems ==<br />
<br />
https://broadlyuseless.info/tech/how-to-fix-unresponsive-squeezebox-boom/<br />
<br />
= picoreplayer =<br />
<br />
== build your own ==<br />
<br />
Make sure you have enough power if driving a touch screen and the pi or you get nasty pops<br />
<br />
=== configure the screen ===<br />
Edit the config.txt in the first partition add the lines for your touch device e.g.<br />
<br />
hdmi_group=2<br />
hdmi_mode=1<br />
hdmi_mode=87<br />
hdmi_cvt 1024 600 60 6 0 0 0<br />
<br />
<br />
===device===<br />
my black dac from ebay is PCM5122 and works as the iqaudio dac+<br />
<br />
dtoverlay=iqaudio-dacplus<br />
<br />
===calibrate touch screen===<br />
/usr/local/bin/ts_calibrate<br />
<br />
=== make jivelite use the touch library and the right input ===<br />
<br />
copy /opt/jivelite/bin/jivelite.sh to /mnt/mmcblk0p2/tce/jivelite.sh<br />
<br />
edit and add after the first line the following:<br />
<br />
export SDL_MOUSEDEV=/dev/input/event0<br />
export SDL_MOUSEDRV=TSLIB<br />
<br />
<br />
=== bluetooth audio input ===<br />
<br />
not yet working<br />
<br />
stopping squeezelight and running the following works:<br />
bluealsa-aplay -d plughw:CARD=sndrpijustboomd,DEV=0 00:00:00:00:00:00<br />
<br />
using the following radio url doesn't work:<br />
<br />
wavin:bluealsa:HCI=hci0,DEV=xx:xx:xx:xx:xx:xx,PROFILE=a2dp</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Squeezebox&diff=108Squeezebox2021-12-29T19:53:19Z<p>Martin: </p>
<hr />
<div>=Setup with no display=<br />
<br />
* Plug in the ethernet cable and pull out the power plug.<br />
* Do a factory reset. Point the remote at the display while pressing the ADD ("+") button. Plug in the power plug and count to 7, then release the ADD button on the remote.<br />
* Welcome to Squeezebox. Wait 15 seconds and it will push right by itself.<br />
* Language selection. Press right-arrow to select English.<br />
* Set up networking. Press right-arrow.<br />
* Choose wireless or ethernet. Press down-arrow once, then right-arrow for ethernet.<br />
* IP address. Press right-arrow to choose DHCP.<br />
* Wait 30 seconds. Press right-arrow to select your SqueezeCenter server that (hopefully) it will have found.<br />
<br />
<br />
The timing isn't really critical. For the factory setup you have to<br />
hold the button pressed for (I'm guessing) at least 5 seconds, but if<br />
you hold it too long you end up forcing another factory reset after it<br />
reboots. The 15 seconds just means wait at least 15 seconds. DHCP<br />
negotiation usually takes only a few seconds, but I've sometimes seen it<br />
take 10-20 seconds on my network.<br />
<br />
Factory reset, right, right, down, right, right, right.<br />
<br />
NET-UDAP perl script for setup<br />
<br />
== wifi cards ==<br />
SAMSUMG NP-R40 17-000660<br />
Sony Vaio VGN-FS515H Internal WLAN WIFI Wireless Card Board 178901432 AR5BMB5<br />
search for AR5BMB5 in the description<br />
<br />
== squeezebox boom problems ==<br />
<br />
https://broadlyuseless.info/tech/how-to-fix-unresponsive-squeezebox-boom/<br />
<br />
= picoreplayer =<br />
<br />
== build your own ==<br />
<br />
Make sure you have enough power if driving a touch screen and the pi or you get nasty pops<br />
<br />
=== configure the screen ===<br />
Edit the config.txt in the first partition add the lines for your touch device e.g.<br />
<br />
hdmi_group=2<br />
hdmi_mode=1<br />
hdmi_mode=87<br />
hdmi_cvt 1024 600 60 6 0 0 0<br />
<br />
<br />
===device===<br />
the black dac from ebay is PCM5122 and works as the iqaudio dac+<br />
<br />
dtoverlay=iqaudio-dacplus<br />
<br />
===calibrate touch screen===<br />
/usr/local/bin/ts_calibrate<br />
<br />
=== make jivelite use the touch library and the right input ===<br />
<br />
copy /opt/jivelite/bin/jivelite.sh to /mnt/mmcblk0p2/tce/jivelite.sh<br />
<br />
edit and add after the first line the following:<br />
<br />
export SDL_MOUSEDEV=/dev/input/event0<br />
export SDL_MOUSEDRV=TSLIB<br />
<br />
<br />
=== bluetooth audio input ===<br />
<br />
not yet working<br />
<br />
stopping squeezelight and running the following works:<br />
bluealsa-aplay -d plughw:CARD=sndrpijustboomd,DEV=0 00:00:00:00:00:00<br />
<br />
using the following radio url doesn't work:<br />
<br />
wavin:bluealsa:HCI=hci0,DEV=xx:xx:xx:xx:xx:xx,PROFILE=a2dp</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Squeezebox&diff=107Squeezebox2021-12-29T19:52:48Z<p>Martin: /* squeezebox boom problems */</p>
<hr />
<div>=Setup with no display=<br />
<br />
* Plug in the ethernet cable and pull out the power plug.<br />
* Do a factory reset. Point the remote at the display while pressing the ADD ("+") button. Plug in the power plug and count to 7, then release the ADD button on the remote.<br />
* Welcome to Squeezebox. Wait 15 seconds and it will push right by itself.<br />
* Language selection. Press right-arrow to select English.<br />
* Set up networking. Press right-arrow.<br />
* Choose wireless or ethernet. Press down-arrow once, then right-arrow for ethernet.<br />
* IP address. Press right-arrow to choose DHCP.<br />
* Wait 30 seconds. Press right-arrow to select your SqueezeCenter server that (hopefully) it will have found.<br />
<br />
<br />
The timing isn't really critical. For the factory setup you have to<br />
hold the button pressed for (I'm guessing) at least 5 seconds, but if<br />
you hold it too long you end up forcing another factory reset after it<br />
reboots. The 15 seconds just means wait at least 15 seconds. DHCP<br />
negotiation usually takes only a few seconds, but I've sometimes seen it<br />
take 10-20 seconds on my network.<br />
<br />
Factory reset, right, right, down, right, right, right.<br />
<br />
NET-UDAP perl script for setup<br />
<br />
== wifi cards ==<br />
SAMSUMG NP-R40 17-000660<br />
Sony Vaio VGN-FS515H Internal WLAN WIFI Wireless Card Board 178901432 AR5BMB5<br />
search for AR5BMB5 in the description<br />
<br />
== squeezebox boom problems ==<br />
<br />
https://broadlyuseless.info/tech/how-to-fix-unresponsive-squeezebox-boom/<br />
<br />
== build your own ==<br />
<br />
Make sure you have enough power if driving a touch screen and the pi or you get nasty pops<br />
<br />
=== configure the screen ===<br />
Edit the config.txt in the first partition add the lines for your touch device e.g.<br />
<br />
hdmi_group=2<br />
hdmi_mode=1<br />
hdmi_mode=87<br />
hdmi_cvt 1024 600 60 6 0 0 0<br />
<br />
<br />
===device===<br />
the black dac from ebay is PCM5122 and works as the iqaudio dac+<br />
<br />
dtoverlay=iqaudio-dacplus<br />
<br />
===calibrate touch screen===<br />
/usr/local/bin/ts_calibrate<br />
<br />
=== make jivelite use the touch library and the right input ===<br />
<br />
copy /opt/jivelite/bin/jivelite.sh to /mnt/mmcblk0p2/tce/jivelite.sh<br />
<br />
edit and add after the first line the following:<br />
<br />
export SDL_MOUSEDEV=/dev/input/event0<br />
export SDL_MOUSEDRV=TSLIB<br />
<br />
<br />
=== bluetooth audio input ===<br />
<br />
not yet working<br />
<br />
stopping squeezelight and running the following works:<br />
bluealsa-aplay -d plughw:CARD=sndrpijustboomd,DEV=0 00:00:00:00:00:00<br />
<br />
using the following radio url doesn't work:<br />
<br />
wavin:bluealsa:HCI=hci0,DEV=xx:xx:xx:xx:xx:xx,PROFILE=a2dp</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Squeezebox&diff=106Squeezebox2021-12-29T19:52:19Z<p>Martin: /* squeezebox boom problems */</p>
<hr />
<div>=Setup with no display=<br />
<br />
* Plug in the ethernet cable and pull out the power plug.<br />
* Do a factory reset. Point the remote at the display while pressing the ADD ("+") button. Plug in the power plug and count to 7, then release the ADD button on the remote.<br />
* Welcome to Squeezebox. Wait 15 seconds and it will push right by itself.<br />
* Language selection. Press right-arrow to select English.<br />
* Set up networking. Press right-arrow.<br />
* Choose wireless or ethernet. Press down-arrow once, then right-arrow for ethernet.<br />
* IP address. Press right-arrow to choose DHCP.<br />
* Wait 30 seconds. Press right-arrow to select your SqueezeCenter server that (hopefully) it will have found.<br />
<br />
<br />
The timing isn't really critical. For the factory setup you have to<br />
hold the button pressed for (I'm guessing) at least 5 seconds, but if<br />
you hold it too long you end up forcing another factory reset after it<br />
reboots. The 15 seconds just means wait at least 15 seconds. DHCP<br />
negotiation usually takes only a few seconds, but I've sometimes seen it<br />
take 10-20 seconds on my network.<br />
<br />
Factory reset, right, right, down, right, right, right.<br />
<br />
NET-UDAP perl script for setup<br />
<br />
== wifi cards ==<br />
SAMSUMG NP-R40 17-000660<br />
Sony Vaio VGN-FS515H Internal WLAN WIFI Wireless Card Board 178901432 AR5BMB5<br />
search for AR5BMB5 in the description<br />
<br />
== squeezebox boom problems ==<br />
malloc fail<br />
<br />
https://broadlyuseless.info/tech/how-to-fix-unresponsive-squeezebox-boom/<br />
<br />
== build your own ==<br />
<br />
Make sure you have enough power if driving a touch screen and the pi or you get nasty pops<br />
<br />
=== configure the screen ===<br />
Edit the config.txt in the first partition add the lines for your touch device e.g.<br />
<br />
hdmi_group=2<br />
hdmi_mode=1<br />
hdmi_mode=87<br />
hdmi_cvt 1024 600 60 6 0 0 0<br />
<br />
<br />
===device===<br />
the black dac from ebay is PCM5122 and works as the iqaudio dac+<br />
<br />
dtoverlay=iqaudio-dacplus<br />
<br />
===calibrate touch screen===<br />
/usr/local/bin/ts_calibrate<br />
<br />
=== make jivelite use the touch library and the right input ===<br />
<br />
copy /opt/jivelite/bin/jivelite.sh to /mnt/mmcblk0p2/tce/jivelite.sh<br />
<br />
edit and add after the first line the following:<br />
<br />
export SDL_MOUSEDEV=/dev/input/event0<br />
export SDL_MOUSEDRV=TSLIB<br />
<br />
<br />
=== bluetooth audio input ===<br />
<br />
not yet working<br />
<br />
stopping squeezelight and running the following works:<br />
bluealsa-aplay -d plughw:CARD=sndrpijustboomd,DEV=0 00:00:00:00:00:00<br />
<br />
using the following radio url doesn't work:<br />
<br />
wavin:bluealsa:HCI=hci0,DEV=xx:xx:xx:xx:xx:xx,PROFILE=a2dp</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Squeezebox&diff=105Squeezebox2021-12-29T19:50:45Z<p>Martin: /* Setup with no display */</p>
<hr />
<div>=Setup with no display=<br />
<br />
* Plug in the ethernet cable and pull out the power plug.<br />
* Do a factory reset. Point the remote at the display while pressing the ADD ("+") button. Plug in the power plug and count to 7, then release the ADD button on the remote.<br />
* Welcome to Squeezebox. Wait 15 seconds and it will push right by itself.<br />
* Language selection. Press right-arrow to select English.<br />
* Set up networking. Press right-arrow.<br />
* Choose wireless or ethernet. Press down-arrow once, then right-arrow for ethernet.<br />
* IP address. Press right-arrow to choose DHCP.<br />
* Wait 30 seconds. Press right-arrow to select your SqueezeCenter server that (hopefully) it will have found.<br />
<br />
<br />
The timing isn't really critical. For the factory setup you have to<br />
hold the button pressed for (I'm guessing) at least 5 seconds, but if<br />
you hold it too long you end up forcing another factory reset after it<br />
reboots. The 15 seconds just means wait at least 15 seconds. DHCP<br />
negotiation usually takes only a few seconds, but I've sometimes seen it<br />
take 10-20 seconds on my network.<br />
<br />
Factory reset, right, right, down, right, right, right.<br />
<br />
NET-UDAP perl script for setup<br />
<br />
== wifi cards ==<br />
SAMSUMG NP-R40 17-000660<br />
Sony Vaio VGN-FS515H Internal WLAN WIFI Wireless Card Board 178901432 AR5BMB5<br />
search for AR5BMB5 in the description<br />
<br />
== squeezebox boom problems ==<br />
malloc fail<br />
<br />
http://broadlyuseless.com/uncategorized/how-to-fix-a-flashing-unresponsive-squeezebox-boom/<br />
<br />
== build your own ==<br />
<br />
Make sure you have enough power if driving a touch screen and the pi or you get nasty pops<br />
<br />
=== configure the screen ===<br />
Edit the config.txt in the first partition add the lines for your touch device e.g.<br />
<br />
hdmi_group=2<br />
hdmi_mode=1<br />
hdmi_mode=87<br />
hdmi_cvt 1024 600 60 6 0 0 0<br />
<br />
<br />
===device===<br />
the black dac from ebay is PCM5122 and works as the iqaudio dac+<br />
<br />
dtoverlay=iqaudio-dacplus<br />
<br />
===calibrate touch screen===<br />
/usr/local/bin/ts_calibrate<br />
<br />
=== make jivelite use the touch library and the right input ===<br />
<br />
copy /opt/jivelite/bin/jivelite.sh to /mnt/mmcblk0p2/tce/jivelite.sh<br />
<br />
edit and add after the first line the following:<br />
<br />
export SDL_MOUSEDEV=/dev/input/event0<br />
export SDL_MOUSEDRV=TSLIB<br />
<br />
<br />
=== bluetooth audio input ===<br />
<br />
not yet working<br />
<br />
stopping squeezelight and running the following works:<br />
bluealsa-aplay -d plughw:CARD=sndrpijustboomd,DEV=0 00:00:00:00:00:00<br />
<br />
using the following radio url doesn't work:<br />
<br />
wavin:bluealsa:HCI=hci0,DEV=xx:xx:xx:xx:xx:xx,PROFILE=a2dp</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Squeezebox&diff=104Squeezebox2021-12-29T19:50:21Z<p>Martin: /* Setup with no display */</p>
<hr />
<div>=Setup with no display=<br />
<br />
- Plug in the ethernet cable and pull out the power plug.<br />
- Do a factory reset. Point the remote at the display while pressing the ADD ("+") button. Plug in the power plug and count to 7, then release the ADD button on the remote.<br />
- Welcome to Squeezebox. Wait 15 seconds and it will push right by itself.<br />
- Language selection. Press right-arrow to select English.<br />
- Set up networking. Press right-arrow.<br />
- Choose wireless or ethernet. Press down-arrow once, then right-arrow for ethernet.<br />
- IP address. Press right-arrow to choose DHCP.<br />
- Wait 30 seconds. Press right-arrow to select your SqueezeCenter server that (hopefully) it will have found.<br />
<br />
<br />
The timing isn't really critical. For the factory setup you have to<br />
hold the button pressed for (I'm guessing) at least 5 seconds, but if<br />
you hold it too long you end up forcing another factory reset after it<br />
reboots. The 15 seconds just means wait at least 15 seconds. DHCP<br />
negotiation usually takes only a few seconds, but I've sometimes seen it<br />
take 10-20 seconds on my network.<br />
<br />
Factory reset, right, right, down, right, right, right.<br />
<br />
NET-UDAP perl script for setup<br />
<br />
== wifi cards ==<br />
SAMSUMG NP-R40 17-000660<br />
Sony Vaio VGN-FS515H Internal WLAN WIFI Wireless Card Board 178901432 AR5BMB5<br />
search for AR5BMB5 in the description<br />
<br />
== squeezebox boom problems ==<br />
malloc fail<br />
<br />
http://broadlyuseless.com/uncategorized/how-to-fix-a-flashing-unresponsive-squeezebox-boom/<br />
<br />
== build your own ==<br />
<br />
Make sure you have enough power if driving a touch screen and the pi or you get nasty pops<br />
<br />
=== configure the screen ===<br />
Edit the config.txt in the first partition add the lines for your touch device e.g.<br />
<br />
hdmi_group=2<br />
hdmi_mode=1<br />
hdmi_mode=87<br />
hdmi_cvt 1024 600 60 6 0 0 0<br />
<br />
<br />
===device===<br />
the black dac from ebay is PCM5122 and works as the iqaudio dac+<br />
<br />
dtoverlay=iqaudio-dacplus<br />
<br />
===calibrate touch screen===<br />
/usr/local/bin/ts_calibrate<br />
<br />
=== make jivelite use the touch library and the right input ===<br />
<br />
copy /opt/jivelite/bin/jivelite.sh to /mnt/mmcblk0p2/tce/jivelite.sh<br />
<br />
edit and add after the first line the following:<br />
<br />
export SDL_MOUSEDEV=/dev/input/event0<br />
export SDL_MOUSEDRV=TSLIB<br />
<br />
<br />
=== bluetooth audio input ===<br />
<br />
not yet working<br />
<br />
stopping squeezelight and running the following works:<br />
bluealsa-aplay -d plughw:CARD=sndrpijustboomd,DEV=0 00:00:00:00:00:00<br />
<br />
using the following radio url doesn't work:<br />
<br />
wavin:bluealsa:HCI=hci0,DEV=xx:xx:xx:xx:xx:xx,PROFILE=a2dp</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Squeezebox&diff=103Squeezebox2021-12-29T19:48:38Z<p>Martin: /* device */</p>
<hr />
<div>=Setup with no display=<br />
<br />
- Plug in the ethernet cable and pull out the power plug.<br />
- Do a factory reset. Point the remote at the display while pressing<br />
the ADD ("+") button. Plug in the power plug and count to 7, then<br />
release the ADD button on the remote.<br />
- Welcome to Squeezebox. Wait 15 seconds and it will push right by<br />
itself.<br />
- Language selection. Press right-arrow to select English.<br />
- Set up networking. Press right-arrow.<br />
- Choose wireless or ethernet. Press down-arrow once, then<br />
right-arrow for ethernet.<br />
- IP address. Press right-arrow to choose DHCP.<br />
- Wait 30 seconds. Press right-arrow to select your SqueezeCenter<br />
server that (hopefully) it will have found.<br />
<br />
<br />
The timing isn't really critical. For the factory setup you have to<br />
hold the button pressed for (I'm guessing) at least 5 seconds, but if<br />
you hold it too long you end up forcing another factory reset after it<br />
reboots. The 15 seconds just means wait at least 15 seconds. DHCP<br />
negotiation usually takes only a few seconds, but I've sometimes seen it<br />
take 10-20 seconds on my network.<br />
<br />
Factory reset, right, right, down, right, right, right.<br />
<br />
NET-UDAP perl script for setup<br />
<br />
== wifi cards ==<br />
SAMSUMG NP-R40 17-000660<br />
Sony Vaio VGN-FS515H Internal WLAN WIFI Wireless Card Board 178901432 AR5BMB5<br />
search for AR5BMB5 in the description<br />
<br />
== squeezebox boom problems ==<br />
malloc fail<br />
<br />
http://broadlyuseless.com/uncategorized/how-to-fix-a-flashing-unresponsive-squeezebox-boom/<br />
<br />
== build your own ==<br />
<br />
Make sure you have enough power if driving a touch screen and the pi or you get nasty pops<br />
<br />
=== configure the screen ===<br />
Edit the config.txt in the first partition add the lines for your touch device e.g.<br />
<br />
hdmi_group=2<br />
hdmi_mode=1<br />
hdmi_mode=87<br />
hdmi_cvt 1024 600 60 6 0 0 0<br />
<br />
<br />
===device===<br />
the black dac from ebay is PCM5122 and works as the iqaudio dac+<br />
<br />
dtoverlay=iqaudio-dacplus<br />
<br />
===calibrate touch screen===<br />
/usr/local/bin/ts_calibrate<br />
<br />
=== make jivelite use the touch library and the right input ===<br />
<br />
copy /opt/jivelite/bin/jivelite.sh to /mnt/mmcblk0p2/tce/jivelite.sh<br />
<br />
edit and add after the first line the following:<br />
<br />
export SDL_MOUSEDEV=/dev/input/event0<br />
export SDL_MOUSEDRV=TSLIB<br />
<br />
<br />
=== bluetooth audio input ===<br />
<br />
not yet working<br />
<br />
stopping squeezelight and running the following works:<br />
bluealsa-aplay -d plughw:CARD=sndrpijustboomd,DEV=0 00:00:00:00:00:00<br />
<br />
using the following radio url doesn't work:<br />
<br />
wavin:bluealsa:HCI=hci0,DEV=xx:xx:xx:xx:xx:xx,PROFILE=a2dp</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Squeezebox&diff=102Squeezebox2021-12-29T19:48:24Z<p>Martin: </p>
<hr />
<div>=Setup with no display=<br />
<br />
- Plug in the ethernet cable and pull out the power plug.<br />
- Do a factory reset. Point the remote at the display while pressing<br />
the ADD ("+") button. Plug in the power plug and count to 7, then<br />
release the ADD button on the remote.<br />
- Welcome to Squeezebox. Wait 15 seconds and it will push right by<br />
itself.<br />
- Language selection. Press right-arrow to select English.<br />
- Set up networking. Press right-arrow.<br />
- Choose wireless or ethernet. Press down-arrow once, then<br />
right-arrow for ethernet.<br />
- IP address. Press right-arrow to choose DHCP.<br />
- Wait 30 seconds. Press right-arrow to select your SqueezeCenter<br />
server that (hopefully) it will have found.<br />
<br />
<br />
The timing isn't really critical. For the factory setup you have to<br />
hold the button pressed for (I'm guessing) at least 5 seconds, but if<br />
you hold it too long you end up forcing another factory reset after it<br />
reboots. The 15 seconds just means wait at least 15 seconds. DHCP<br />
negotiation usually takes only a few seconds, but I've sometimes seen it<br />
take 10-20 seconds on my network.<br />
<br />
Factory reset, right, right, down, right, right, right.<br />
<br />
NET-UDAP perl script for setup<br />
<br />
== wifi cards ==<br />
SAMSUMG NP-R40 17-000660<br />
Sony Vaio VGN-FS515H Internal WLAN WIFI Wireless Card Board 178901432 AR5BMB5<br />
search for AR5BMB5 in the description<br />
<br />
== squeezebox boom problems ==<br />
malloc fail<br />
<br />
http://broadlyuseless.com/uncategorized/how-to-fix-a-flashing-unresponsive-squeezebox-boom/<br />
<br />
== build your own ==<br />
<br />
Make sure you have enough power if driving a touch screen and the pi or you get nasty pops<br />
<br />
=== configure the screen ===<br />
Edit the config.txt in the first partition add the lines for your touch device e.g.<br />
<br />
hdmi_group=2<br />
hdmi_mode=1<br />
hdmi_mode=87<br />
hdmi_cvt 1024 600 60 6 0 0 0<br />
<br />
<br />
===device===<br />
the black dac from ebay is PCM5122 and works as the iqaudio dac+<br />
<br />
dtoverlay=iqaudio-dacplus<br />
<br />
===calibrate touch screen===<br />
/usr/local/bin/ts_calibrate<br />
<br />
=== make jivelite use the touch library and the right input ===<br />
<br />
copy /opt/jivelite/bin/jivelite.sh to /mnt/mmcblk0p2/tce/jivelite.sh<br />
<br />
edit and add after the first line the following:<br />
<br />
export SDL_MOUSEDEV=/dev/input/event0<br />
export SDL_MOUSEDRV=TSLIB<br />
<br />
<br />
=== bluetooth audio input ===<br />
<br />
not yet working<br />
<br />
stopping squeezelight and running the following works:<br />
bluealsa-aplay -d plughw:CARD=sndrpijustboomd,DEV=0 00:00:00:00:00:00<br />
<br />
using the following radio url doesn't work:<br />
<br />
wavin:bluealsa:HCI=hci0,DEV=xx:xx:xx:xx:xx:xx,PROFILE=a2dp</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Cakes&diff=101Cakes2021-09-26T13:07:04Z<p>Martin: </p>
<hr />
<div>[[Muffins]]<br />
<br />
[[Orange Cake]]</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Cakes&diff=100Cakes2021-09-26T13:06:54Z<p>Martin: </p>
<hr />
<div>[[Muffins]]<br />
[[Orange Cake]]</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Main_Page&diff=99Main Page2021-09-14T21:47:14Z<p>Martin: </p>
<hr />
<div>== Debian ==<br />
* [[Disk wear]]<br />
* [[Debian on a USB stick]]<br />
* [[CDROM noisy when playing music]]<br />
* [[Adding gpg repository keys]]<br />
* [[Installing nvidia drivers]]<br />
* [[Building a kernel from standard source]]<br />
* [[Creating DVDs from VHS]]<br />
* [[Debian admin notes]]<br />
* [[Screen "Cannot open your terminal"]]<br />
* [[Fix orientation of images in gallery3 for ipad]]<br />
* [[MythTv]]<br />
* [[Android Development]]<br />
* [[Battery Management]]<br />
* [[Expect scripts]]<br />
* [[What hardware do I have]]<br />
* [[SNMP]]<br />
* [[EDID monitor autostart]]<br />
* [[Gnome]]<br />
<br />
== Work ==<br />
<br />
* [[Java]]<br />
* [[Java 5.0 certification]]<br />
* [[SCEA]]<br />
* [[Scala]]<br />
* [[Oracle Admin]]<br />
* [[Windows Software]]<br />
* [[Full Text Search]]<br />
* [[Network tools]]<br />
* [[Agile User Stories]]<br />
* [[Introduction to Securities 2014]]<br />
* [[Regex]]<br />
* [https://www.madboa.com/geek/openssl/#cert-self self signed certificates]<br />
* [[AngularJS]]<br />
<br />
== Perl ==<br />
<br />
[[Perl Notes]]<br />
<br />
== Oracle ==<br />
<br />
[[Oracle Notes]]<br />
<br />
== Beekeeping ==<br />
* [[Beekeeping]]<br />
<br />
== Stanford AI Course CS221 ==<br />
<br />
[[Artificial Intelligence]]<br />
<br />
== Educational Robotics ==<br />
[[Robotics]]<br />
<br />
== Squeeze box ==<br />
The excellent little network player - not the accordion!<br />
[[Squeezebox]]<br />
==Cygwin==<br />
[[Using Cygwin]]<br />
<br />
== Vegan ==<br />
* [[Cakes]]</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Using_Cygwin&diff=98Using Cygwin2021-09-14T21:46:46Z<p>Martin: Created page with "==Permissions - user control lists == For those that don't care: add noacl to /etc/fstab none /cygdrive cygdrive binary,posix=0,user,noacl 0 0 ==X == The windows start menu..."</p>
<hr />
<div>==Permissions - user control lists ==<br />
For those that don't care:<br />
add noacl to /etc/fstab<br />
<br />
none /cygdrive cygdrive binary,posix=0,user,noacl 0 0<br />
<br />
==X ==<br />
The windows start menu is:<br />
* C:\cygwin64\bin\run.exe --quote /usr/bin/bash.exe -l -c "cd; /usr/bin/startxwin"<br />
<br />
To change the start client create a script .startxwinrc in your home directory<br />
<br />
To change the default application list create a file .xwinrc<br />
<br />
e.g.<br />
<br />
menu root {<br />
mintty exec "mintty"<br />
}</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Squeezebox&diff=97Squeezebox2021-09-14T21:46:27Z<p>Martin: Created page with "=Setup with no display= - Plug in the ethernet cable and pull out the power plug. - Do a factory reset. Point the remote at the display while pressing the ADD ("+") button..."</p>
<hr />
<div>=Setup with no display=<br />
<br />
- Plug in the ethernet cable and pull out the power plug.<br />
- Do a factory reset. Point the remote at the display while pressing<br />
the ADD ("+") button. Plug in the power plug and count to 7, then<br />
release the ADD button on the remote.<br />
- Welcome to Squeezebox. Wait 15 seconds and it will push right by<br />
itself.<br />
- Language selection. Press right-arrow to select English.<br />
- Set up networking. Press right-arrow.<br />
- Choose wireless or ethernet. Press down-arrow once, then<br />
right-arrow for ethernet.<br />
- IP address. Press right-arrow to choose DHCP.<br />
- Wait 30 seconds. Press right-arrow to select your SqueezeCenter<br />
server that (hopefully) it will have found.<br />
<br />
<br />
The timing isn't really critical. For the factory setup you have to<br />
hold the button pressed for (I'm guessing) at least 5 seconds, but if<br />
you hold it too long you end up forcing another factory reset after it<br />
reboots. The 15 seconds just means wait at least 15 seconds. DHCP<br />
negotiation usually takes only a few seconds, but I've sometimes seen it<br />
take 10-20 seconds on my network.<br />
<br />
Factory reset, right, right, down, right, right, right.<br />
<br />
NET-UDAP perl script for setup<br />
<br />
== wifi cards ==<br />
SAMSUMG NP-R40 17-000660<br />
Sony Vaio VGN-FS515H Internal WLAN WIFI Wireless Card Board 178901432 AR5BMB5<br />
search for AR5BMB5 in the description<br />
<br />
== squeezebox boom problems ==<br />
malloc fail<br />
<br />
http://broadlyuseless.com/uncategorized/how-to-fix-a-flashing-unresponsive-squeezebox-boom/<br />
<br />
== build your own ==<br />
<br />
Make sure you have enough power if driving a touch screen and the pi or you get nasty pops<br />
<br />
=== configure the screen ===<br />
Edit the config.txt in the first partition add the lines for your touch device e.g.<br />
<br />
hdmi_group=2<br />
hdmi_mode=1<br />
hdmi_mode=87<br />
hdmi_cvt 1024 600 60 6 0 0 0<br />
<br />
<br />
===calibrate touch screen===<br />
/usr/local/bin/ts_calibrate<br />
<br />
=== make jivelite use the touch library and the right input ===<br />
<br />
copy the jivelite off the device ssh or mount the sd card:<br />
scp tc@pi-machine:/mnt/mmcblk0p2/tce/optional/pcp-jivelite.tcz .<br />
<br />
unpack<br />
<br />
unsquashfs pcp-jivelite.tcz<br />
vi squashfs-root/opt/jivelite/bin/jivelite.sh<br />
<br />
change prefix the jive lite command to say<br />
SDL_MOUSEDRV=TSLIB SDL_MOUSEDEV=/dev/input/by-id/usb-WaveShare_WaveShare_Touchscreen_2016-11-06-event-if00 /opt/jivelite/bin/jivelite >> /var/log/jivelite.log 2>&1<br />
<br />
repackage<br />
mksquashfs squashfs-root/ pcp-jivelite.tcz -noappend -always-use-fragments<br />
<br />
copy it back<br />
<br />
=== bluetooth audio input ==<br />
<br />
not yet working<br />
<br />
stopping squeezelight and running the following works:<br />
bluealsa-aplay -d plughw:CARD=sndrpijustboomd,DEV=0 00:00:00:00:00:00<br />
<br />
using the following radio url doesn't work:<br />
<br />
wavin:bluealsa:HCI=hci0,DEV=xx:xx:xx:xx:xx:xx,PROFILE=a2dp</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Robotics&diff=96Robotics2021-09-14T21:46:07Z<p>Martin: Created page with "= Parts = http://www.mindsetsonline.co.uk Linked from http://robots.open.ac.uk/space/robotics.html Newcaslte Makers also have a list: http://makerspace.pbworks.com/w/page/602..."</p>
<hr />
<div>= Parts =<br />
http://www.mindsetsonline.co.uk Linked from http://robots.open.ac.uk/space/robotics.html<br />
<br />
Newcaslte Makers also have a list:<br />
http://makerspace.pbworks.com/w/page/60254805/Component%20suppliers</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Main_Page&diff=95Main Page2021-09-14T21:45:43Z<p>Martin: </p>
<hr />
<div>== Debian ==<br />
* [[Disk wear]]<br />
* [[Debian on a USB stick]]<br />
* [[CDROM noisy when playing music]]<br />
* [[Adding gpg repository keys]]<br />
* [[Installing nvidia drivers]]<br />
* [[Building a kernel from standard source]]<br />
* [[Creating DVDs from VHS]]<br />
* [[Debian admin notes]]<br />
* [[Screen "Cannot open your terminal"]]<br />
* [[Fix orientation of images in gallery3 for ipad]]<br />
* [[MythTv]]<br />
* [[Android Development]]<br />
* [[Battery Management]]<br />
* [[Expect scripts]]<br />
* [[What hardware do I have]]<br />
* [[SNMP]]<br />
* [[EDID monitor autostart]]<br />
* [[Gnome]]<br />
<br />
== Work ==<br />
<br />
* [[Java]]<br />
* [[Java 5.0 certification]]<br />
* [[SCEA]]<br />
* [[Scala]]<br />
* [[Oracle Admin]]<br />
* [[Windows Software]]<br />
* [[Full Text Search]]<br />
* [[Network tools]]<br />
* [[Agile User Stories]]<br />
* [[Introduction to Securities 2014]]<br />
* [[Regex]]<br />
* [https://www.madboa.com/geek/openssl/#cert-self self signed certificates]<br />
* [[AngularJS]]<br />
<br />
== Perl ==<br />
<br />
[[Perl Notes]]<br />
<br />
== Oracle ==<br />
<br />
[[Oracle Notes]]<br />
<br />
== Beekeeping ==<br />
* [[Beekeeping]]<br />
<br />
== Stanford AI Course CS221 ==<br />
<br />
[[Artificial Intelligence]]<br />
<br />
== Educational Robotics ==<br />
[[Robotics]]<br />
<br />
== Squeeze box ==<br />
The excellent little network player - not the accordion!<br />
[[Squeezebox]]<br />
==Cygwin==<br />
[[Using Cygwin]]<br />
<br />
== Getting started ==<br />
<br />
* [http://www.mediawiki.org/wiki/Help:Configuration_settings Configuration settings list]<br />
* [http://www.mediawiki.org/wiki/Help:FAQ MediaWiki FAQ]<br />
* [http://mail.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]<br />
<br />
<br />
Consult the [http://meta.wikimedia.org/wiki/Help:Contents User's Guide] for information on using the wiki software.<br />
<br />
== Vegan ==<br />
* [[Cakes]]</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Beekeeping&diff=94Beekeeping2021-09-14T21:44:57Z<p>Martin: </p>
<hr />
<div>=General notes=<br />
* oil seed rape - Dark bees can work better than Italian bees<br />
** Summer - crystallises easily <br />
<br />
==Recommended reading==<br />
* Guide to Bees & Honey by Ted Hooper<br />
** Read - excellent introduction to bees and their ways<br />
** Feeding etc not necessarily the recommended way today<br />
* Principles of Practical Beekeeping by Robert Couston <br />
** Especially useful for northern beekeepers<br />
** excellent somewhat dated/difficult to get - out of print<br />
* Practical Beekeeping by Clive De Bruyn<br />
* Beekeeping Study Notes by J.D. Yates and B.D. Yates<br />
** for exam<br />
<br />
=Beekeeping year=<br />
<br />
==Spring==<br />
* Check for normal laying pattern<br />
<br />
==Summer==<br />
* Verroa strips impermeate wax don't use during heather honey collection<br />
<br />
==Autumn==<br />
* cover hive in chicken wire - protect from woodpeckers<br />
<br />
==Winter==<br />
* Don't insulate during winter so bees will properly hibernate - Dark bees in the north<br />
** Otherwise use up all stores and starve<br />
** Insulation can work well for larger colonies<br />
<br />
== Essential equipment ==<br />
* Hat<br />
* Smoker<br />
* Hive tool or two<br />
* Queen cage<br />
* Bee escapes<br />
* Tool box<br />
* Bee brush<br />
* Queen excluder<br />
<br />
Can expect 30lbs of honey per hive per year<br />
<br />
=Community=<br />
==Castes==<br />
{| class="wikitable"<br />
|-<br />
! Type !! number<br />
|-<br />
| Queen || 1<br />
|-<br />
| Drone || 250 to 2000<br />
|-<br />
| Female foragers || 20,000<br />
|-<br />
| Female house bees || 40,000<br />
|-<br />
| Lave || 9000<br />
|-<br />
| Pupae || 20,000<br />
|-<br />
| Eggs || 6,000<br />
|-<br />
| Total || 90,000 to 100,000<br />
|}<br />
<br />
===Identification===<br />
* Queen - size bigger especially abdomen, thorax wider, may be reddish, wings longer<br />
* Drones - Blunt, rounded abdomen, thorax wider bigger rounded eyes, wing shape<br />
<br />
Queen excluder relies on size of thorax - also stops drones<br />
<br />
=== Bee Space ===<br />
{| class="wikitable"<br />
|-<br />
|4.3mm||Queen excluder spacing<br />
|-<br />
|4.5 - 5mm|| Single bee space<br />
|-<br />
|5mm|| Pollen stripping space<br />
|-<br />
|7mm|| Good gap for top bars<br />
|-<br />
|9mm|| Back to back bee space<br />
|-<br />
|>9mm|| Brace comb<br />
|-<br />
|}<br />
http://website.lineone.net/~dave.cushman/bsp.html<br />
<br />
=Anatomy=<br />
* Antennae - Taste, smell, hearing ([http://www.amentsoc.org/insects/glossary/terms/johnstons-organ Johnston's organ])<br />
** Antennae cleaner notch on front leg<br />
* Tongue - five parts forms a tube<br />
* Eyes - compound, movement sensitive - more UV biased - no red<br />
* Honey stomach- carrying nectar home<br />
* Bristles on back leg to collect pollen from body <br />
* Pollen basked on hind leg<br />
* Notch in knee to compact pollen<br />
* Breath through spiracles (holes in body) by pulsating<br />
* Nasonov gland - scent to call bees to gather - Lemon balm similar scent<br />
** Use crushed lemon balm leaves on hands to help calm bees when handling<br />
** Used to attract bees to hive - Esp in Africa<br />
* Stings gives off attack scent - scrape out with hive tool asap<br />
Bee's ingeniously built - a flying swish army knife<br />
<br />
<br />
Tanging - banging pots/pans to make a swarm land - Theory is sound of thunder causes bees to try and find somewhere to settle<br />
<br />
= Angry Bees=<br />
==Reasons for angry/aggressive bees==<br />
# Handling at wrong time of day<br />
# Lack of pheromones - weak queen<br />
# Bad handling<br />
# Bad smells (for bees) Alcohol/perfume etc<br />
# Lack of crops - Bees are loyal to a particular crop if this goes out of season while many bees are still loyal to it...<br />
# Noise<br />
# They are an aggressive strain - genetic<br />
<br />
<br />
= Keeping tips =<br />
* Let the bees get cold in winter - don't over insulate<br />
** Don't make it too cosy or they keep too many over winter, they eat all their stores, they stave<br />
** Only for northern bees<br />
* Feed them honey over winter not sugar<br />
** The honey is a better food and will keep them healthier<br />
** Use only local honey - foreign may cause illness<br />
** Over heated honey (shop) will kill antibiotic properties<br />
* Use chicken wire to stop wood peckers<br />
* Bang tray/pans to capture/stop a swarm<br />
** Sound of thunder makes the swam land<br />
** Bees can hear - recently discovered<br />
* Bees nasanov gland is a call to other bees<br />
** Lemon balm can be used to capture bees - similar scent<br />
<br />
= Making food - sugar syrup =<br />
Over heading sugar syrup (boiling) creates HMF (HydroxyMethylFurfuraldehyde) toxic to bees<br />
Also commercial product: Ambrosia syrup<br />
<br />
<br />
= Shopping List =<br />
* Protective clothing<br />
* Smoker<br />
* Hive tool<br />
* Feeder<br />
* Marker pen<br />
* Queen cage<br />
* Bee escapes<br />
* Tool box<br />
* Bee brush/feather<br />
* Queen excluder</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Routing_Problem&diff=93Routing Problem2021-09-14T21:43:49Z<p>Martin: Created page with "=TreeSearch= <code> TreeSearch(Problem) frontier = {[InitialState]} loop: If frontier empty return fail - no route exists path = removeChoice(frontier) s = path.end..."</p>
<hr />
<div>=TreeSearch=<br />
<br />
<code><br />
TreeSearch(Problem)<br />
frontier = {[InitialState]}<br />
loop:<br />
If frontier empty return fail - no route exists<br />
path = removeChoice(frontier)<br />
s = path.end<br />
if goalTest(s) return path<br />
for a in actions<br />
add [ path + a -> result(s,a)] to frontier<br />
</code><br />
<br />
Key is how removeChoice is made<br />
<br />
Must continue until the next path returned from the frontier is the goal to get optimal route - i.e. not testing if found goal when adding state to frontier<br />
<br />
Tree search will return to start<br />
<br />
=GraphSearch=<br />
Graph search remembers nodes visited<br />
<code><br />
GraphSearch(Problem)<br />
frontier = {[InitialState]}<br />
explored = {}<br />
loop:<br />
If frontier empty return fail - no route exists<br />
path = removeChoice(frontier)<br />
s = path.end<br />
add s to explored<br />
if goalTest(s) return path<br />
for a in actions<br />
add [ path + a -> result(s,a)] to frontier unless result(s, a) in explored<br />
</code><br />
<br />
=Breadth first search=<br />
Looks for shortest (steps) next path<br />
<br />
=Uniform cost search=<br />
Looks for cheapest next<br />
<br />
=A* (best estimate shortest cost first)=<br />
f=g(path) + h(path)<br />
Where:<br />
* g(path) = path cost so far<br />
* h(path) == h(state) = estimate distance to goal (heuristic)<br />
<br />
==Admissible heuristics==<br />
heuristic must be optimistic<br />
* h(s) < true cost<br />
** h - never overestimates<br />
<br />
<br />
Finding lowest f :=<br />
* minimise g - minimise path so far<br />
* minimise h - focus search<br />
<br />
best heuristic - h = max(h1, h2) - where h1, h2 admissible<br />
<br />
==Finding a good heuristic==<br />
Take definition of problem, remove a constraint.<br />
Removing constraint effectively is adding a new operator that makes the problem simpler.<br />
<br />
=Complete=<br />
Will algorithm find goal given infinite set<br />
<br />
<br />
{| class="wikitable" border="1" cellspacing="0" cellpadding="5"<br />
|-<br />
! Search type !! Storage !! Complete<br />
|-<br />
| Breadth first || 2^n || Y<br />
|-<br />
| Uniform cost || ~ 2^n || Y<br />
|-<br />
| Depth first || ~n || N<br />
|}</div>Martinhttps://luminoussheep.net/mediawiki/index.php?title=Artificial_Intelligence_Terminology&diff=92Artificial Intelligence Terminology2021-09-14T21:43:29Z<p>Martin: Created page with "=Terminology= ;Intelligent Agent : Interacts with environment Sensors -> Control Policy -> Actuators = '''Perception Action Cycle''' ;Fully Observable : Sufficient informati..."</p>
<hr />
<div>=Terminology=<br />
<br />
;Intelligent Agent<br />
: Interacts with environment<br />
Sensors -> Control Policy -> Actuators = '''Perception Action Cycle'''<br />
<br />
;Fully Observable<br />
: Sufficient information to make optimal decision<br />
;Partially Observable<br />
: Memory required on agent - not all information available<br />
<br />
;Deterministic<br />
: Agents actions uniquely determine outcome<br />
;Stochastic<br />
: Outcomes include randomness - not wholly predicted by action e.g. dice game<br />
<br />
;Discrete<br />
: Finite number of sense/actions e.g. chess<br />
: Continuous - Infinite number of sense/actions e.g. darts<br />
<br />
;Benign<br />
: No others have objective that is contra to your objective e.g. weather<br />
;Adversal<br />
: They are out to get you - e.g. Chess<br />
<br />
{| class="wikitable" border="1" cellspacing="0" cellpadding="5"<br />
|-<br />
! Activity !! Fully Observable !! Stocastic !! Discrete !! Adversal<br />
|-<br />
| Chess || Y || N (Determined by Agent + Opponent) || Y || Y<br />
|-<br />
| Poker || N || Y || Y || Y<br />
|-<br />
| Robotic car || N || Y || N || N (Not in Stanford)<br />
|}<br />
<br />
=Rationality=<br />
Does the "right" thing given what it knows<br />
<br />
==Uncertainty management in software==<br />
What to do when you don't "know"<br />
* Causes - Sensor limits, Adversary, Laziness (could compute - e.g. too expensive), Ignorant - could know but don't care to know<br />
<br />
=Problem Solving=<br />
# Initial state<br />
# Action(State) -> {a1, a2, a3...} - actions from set may be dependent on state<br />
# Result(State, Action) -> S' - new state<br />
# GoalTest(State) -> True/False - reached goal<br />
# <nowiki>PathCost(S -a1-> S' -a2-> S''...) = n - cost of step, action combinations</nowiki><br />
# StepCost(S, a, S') = n - Most path costs can be considered additive thus this can be considered the sum of a StepCost<br />
<br />
=Admissible heuristics=<br />
heuristic must be optimistic<br />
* h(s) < true cost<br />
<br />
=Problem solving requirements=<br />
* fully observable<br />
* known domain - actions available<br />
* discrete domain - finite<br />
* deterministic<br />
* static - nothing else changes world other than our actions<br />
<br />
=Turing Test=<br />
Requires:<br />
* natural language processing<br />
* knowledge representation<br />
* automated reasoning<br />
* machine learning<br />
Full Turing test also:<br />
* computer vision<br />
* robotics<br />
<br />
=Syllogisms=<br />
* logical reasoned arguments<br />
<br />
Logic solving systems exist but modelling a problem 100% logic and resources required are limiting factors in using this</div>Martin