Gary: > I am trying to set up a machine with Solaris 10 U2. Its a Sun Ultra 25 > workstation. > > I have found out about a program called sdtaudiocontrol which has this Java > GUI. > > When I do a jumpstart install the machine is setup with the default built in > speaker set up for audio output. I would like to be able to have each machine > set up with > the headphones set up and the Line out working. But having the built in > speaker disabled. Kind of the opposite of the default settings in Solaris 10. > > I can run sdtaudiocontrol to set this up by hand. But is there some command > line way of > doing this so that I could script it somehow? That way my machines could just > be set up correctly on the first time they boot after being installed via > jumpstart. The machines will be in a lab so thats why I want to disable the > built in speakers. I figure it would be too distracting if you had a bunch of > users in a lab. If they have headphones I want them to be able to hear audio > though. > > Thanks for any ideas anyone might have.
I don't think there is an easy way to do this. However, it wouldn't be too difficult to write a c program that calls the Sun Audio interfaces (run "man audio") that would set up the defaults as you like. Then you could setup your machine to run this program when your machine boots. You can refer to the sunaudiomixer code in gst-plugins-good module (http://www.gstreamer.net/) for an example of code that interacts with the SunAudio interfaces. Or perhaps someone else might have a suggestion of an easier way to do this. Brian
