A while ago I had a go flashing my OpenFrame2 thing with Roobarb's clean customised OS. Why? Well although I was able to run a custom PnP III on the unit, it randomly tried to update itself from somewhere and restarted Tango (the OS). This sometimes led to the loss of the webserver and consequently apps. It was also annoying when running Squeezeplay, iPlayer, the Lounge radio app etc. I have tried all the recognised methods of preventing these with now success.
Anyway, flashing was no problem. However I couldn't get the sound to work so I've been putting up with the Tango restarts and 'false' update alerts.
Solution:
I was going to post a question about this, but what usually happens is I spend ages fiddling, get stuck, post and then solve my problem myself. However, on this occasion I remembered something PeteC said in a thread about it possibly having different audio drivers/setup.
I had a poke around and found /lib/modules/2.6.24-19-lpia/kernel/sound/. The OpenFrame2 has a single alsa directory whereas the Jogglers have three - core, pci, USB. I tried changing the drivers in these directories for a start with no success.
Then I had a poke around in etc/init.d/boot.d/s07boot.loadmodules on the reflashed OpenFrame2 and found references to loading the sound drivers. In particular I noted the lines
Code: Select all
echo "Setting up ALSA drivers (frame 2)"
if [ -d /lib/modules/2.6.24-19-lpia/kernel/sound/frame2-snd ]; then
rm -rf /lib/modules/2.6.24-19-lpia/kernel/sound/core
rm -rf /lib/modules/2.6.24-19-lpia/kernel/sound/pci
rm -rf /lib/modules/2.6.24-19-lpia/kernel/sound/usb
mv /lib/modules/2.6.24-19-lpia/kernel/sound/frame2-snd \
/lib/modules/2.6.24-19-lpia/kernel/sound/alsa
NEED_RESTART="yes"
fi
modprobe snd-hda-codec-idt
modprobe snd-hda-intel
modprobe snd-mixer-oss
modprobe snd-pcm-oss
modprobe snd-usb-audio
The result when rebooted was that the part of the script posted above removed almost all the directories in /lib/modules/2.6.24-19-lpia/kernel/sound, leaving just the alsa directory and sound works!
Thanks to Roobarb for his image and to Pete for the indirect prompt/help which spurred me on to get this issue resolved. I can now (hopefully) enjoy a proper PnP III experience on the OpenFrame2 unit without the random partial reboots!