simplesi
Posts: 2327
Joined: Fri Feb 24, 2012 6:19 pm
Location: Euxton, Lancashire, UK
Contact: Website

Re: Scratch locks up? (when playing sound?)

Tue May 07, 2013 1:50 pm

yep - will do as soon as I get back home :)
Simon
Seeking help with Scratch and I/O stuff for Primary age children
http://cymplecy.wordpress.com/ @cymplecy on twitter

timrowledge
Posts: 1287
Joined: Mon Oct 29, 2012 8:12 pm
Location: Vancouver Island
Contact: Website

Re: Scratch locks up? (when playing sound?)

Tue May 07, 2013 5:07 pm

This is very odd; I've been running Scratch sounds for *hundreds* of hours with no problems a t all until yesterday when BOOM - or rather '?' which is the lack of boom when required. Total lock-up of the sort that I always thought was impossible on unix.

I'm pretty sure it's not a specifically Squeak/Scratch issue since the same code runs on other machines and indeed other OSs without this happening; so probably some detail of the ALSA driver for this particular hardware.
Making Smalltalk on ARM since 1986; making your Scratch better since 2012

simplesi
Posts: 2327
Joined: Fri Feb 24, 2012 6:19 pm
Location: Euxton, Lancashire, UK
Contact: Website

Re: Scratch locks up? (when playing sound?)

Tue May 07, 2013 9:12 pm

I'm getting

Code: Select all

fatal: destination path '//root/.rpi-firmware' already exists and is not an empty directory.
 !!! Failed to download new firmware files
when trying sudo rpi-update

:(

Simon
Seeking help with Scratch and I/O stuff for Primary age children
http://cymplecy.wordpress.com/ @cymplecy on twitter

simplesi
Posts: 2327
Joined: Fri Feb 24, 2012 6:19 pm
Location: Euxton, Lancashire, UK
Contact: Website

Re: Scratch locks up? (when playing sound?)

Tue May 07, 2013 11:00 pm

I think my update problems might be due to running out of space on my sd card if the error msgs are right :(

Just have to dig out a Linux machine tomorrow and do a bit of partition resizing

Simon
Seeking help with Scratch and I/O stuff for Primary age children
http://cymplecy.wordpress.com/ @cymplecy on twitter

simplesi
Posts: 2327
Joined: Fri Feb 24, 2012 6:19 pm
Location: Euxton, Lancashire, UK
Contact: Website

Re: Scratch locks up? (when playing sound?)

Wed May 08, 2013 8:44 pm

I did
sudo apt-get update

followed by
sudo apt-get dist upgrade

then
sudo rpi-update

then
sudo rm /etc/asound.conf

I can now do
When Green Flag Press
play note
rest
play drun
rest
play meow

without any crashing :0

Thanks

Simon
Seeking help with Scratch and I/O stuff for Primary age children
http://cymplecy.wordpress.com/ @cymplecy on twitter

Return to “Scratch”