Hi Hakim, In a previous thread (in 2007 or so), there was a pointer provided to a utility:
http://www.eos.ncsu.edu/hardware/rpms/openpkg/audioctl-1.5.0-1.src.rpm which used the openpkg build system to build a simple binary on Solaris. Unfortunately, this seems to no longer work. At the time, I extracted this src rpm, using rpm2cpio (I think) which gave me a source tarball (which I can't seem to locate anywhere on-line using google): audioctl-1.5.0.tar.gz I've put this up on my blog as: http://blogs.sun.com/dar/resource/audioctl-1.5.0.tar.gz Feel free to take this and build it - it works for me, and I have a .desktop file in my ${HOME}/.config/autostart directory that has the entries: [Desktop Entry] Type=Application Name=Set Volume Exec=audioctl =30%% -SPDIF Icon=system-run Comment=Set volume on login Name[en_IE]=Set Audio Volume Comment[en_IE]=Set volume on login X-GNOME-Autostart-enabled=true which turns off SDIF (that red light on a MacbookPro in the headphone socket) and sets the volume to 30% (the double %% is needed in the .desktop file only). HTH, Darren. S. Hakim Hamdani [ML] wrote: > Hello all, > > great to see that new audiohd driver working so nicely with the various > Intel chips out there. One thing though (I asked this before, when I > was still using oss for sound, which incidentally doesn't work anymore > for the soundchips integrated with the ich9 chipsets, so i'm doubly > grateful to have working audio on my desktop system): > > I've checked the manpages for mixerctl et al. but I can't seem to find > any way to control volume channels via the command line. I don't run > GNOME / JDS but WindowMaker and well, most of the wmapps that deal with > sound control didn't run with oss 4 for solaris and i reverted to just > using scripts instead, but now that I am dealing with the audiohd > driver, I can't seem to find the necessary commands... > > Any help appreciated. Basically what I'm looking for is the correct way > to tell the audiohd driver to set volume of channel blah to x dB or % > of full volume or whatever else. > > Thanks and best wishes from Kabul (feels like UNIX in a war zone today > and technically is, I suppose), > > Hakim >
