Subject: [VINUX-SUPPORT] Definitive fix for the pulseaudio crash issue.
I am happy to announce that I have finally come up with a fool proof fix for the pulseaudio crash issue. I have tried lots of different pulseaudio delay detings and no matter what I set it too some machines will still cause pulseaudio to crash. I have developed a fixer script which works in both the GUI and CLI as long as the volume is not muted, but they have to be run manually with a keybindings/command. I have also tried to get this to run automatically but I haven't been able to detect whether pulseaudio is running accurately as even when it is crashed it is still registered as a process and 'pulseaudio --check' only works in user mode not system mode. So I have done some lateral thinking and come up with a simple but ingenious solution.

I have made setting up pulseaudio in system mode an option in the build process. I then build vinux as usual but with pulseaudio running in user mode - which means gnome with Orca should work on any hardware. Of course this means you can't switch to speakup - however once you have installed it to a hard-drive you only have to run a simple script to enable pulseaudio running in system mode and restart if you want to use speakup, obviously if this crashes your system you can use the fixer script to restart the sound server - then either change the pulseaudio start delay to something thqat works on your hardware - or simply run another script to revert pulseaudio to user mode (I haven't written this yet). I have however testd out this idea and it works fine - I started off with a system with pulseaudio running in user mode, then ran the script to switch pulseaudio to system mode and restarted - and speakup worked.

So the advantage of this method is that we can be pretty sure everyone will have sound when they boot from the CD or into an installed system, the disadvantage is that you cannot switch to speakup on the live CD, and have to run a script if you want to after installation - but I figure people who are able to use speakup will be able to do this themselves. If there is still a demand for a speakup-enabled live CD/System then it will be very easy for me to create a separate iso with pulseaudio running in system mode.

So what do people think - this is the only way I can think of fixing the problem as it stands - if someone can provide a way of running the fix script automatically, or a simple way to enable speakup without switching to pulseaudio system mode I would be willing to try it. But otherwise this seems to be the only practical solution. What do people think?

--
You received this message because you are subscribed to the Google Groups "The Vinux Support Forum" group.
To post to this group, send email to vinux-support@xxxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to vinux-support+unsubscribe@xxxxxxxxxxxxxxxxx
For more options, visit this group at http://groups.google.com/group/vinux-support?hl=en.
 
Vinux Home Page: http://vinuxproject.org/
Vinux Wiki Documentation:http://wiki.vinuxproject.org/
(C)2011 mailinglist-archive.com