|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
macmini audio
Hello everybody,
I'm running openbsd 4.3 on a macmini ppc, and I'm getting better and better with unix and openbsd thanks to all of you. One of the issues I still haven't resolved with this macmini is audio control. I have audio, but cannot control its volume. Luckily my loudspeakers are powered, so I can do it from there. But it would be nice to be able to control volume through the softwares I'm using. Any idea? |
|
|||
Quote:
http://openbsd.org/faq/faq13.html#confaudio Note, however, that the developers writing drivers are at continuing odds with the seemingly nonstandard way in which various manufacturers do or do not expose controls which can be seen in recent misc@ discussion: http://marc.info/?l=openbsd-misc&w=2&r=1&s=audio&q=b In short, the answer depends upon what chip is used on your system. Poke about what features are exposed, but in the end, you may or may not have adequate control. |
|
|||
hello ocicat,
of course I'v tried what stated in the faq, but with no luck. With any player I used it does not work (xmms, vlc, mplayer, xine, ogle, cdio, aucat...). This is why I don't know what to do. |
|
|||
This was committed recently, not a software approach.. but perhaps related.
http://marc.info/?l=openbsd-cvs&m=123161063532146&w=2 Also, have you tried controlling the volume via mixerctl(8)? that's the preferred method.. and you can set a sane default in /etc/mixerctl.conf. Good luck. |
|
|||
What may not be clear from the Section 13.1 is that the output of mixerctl(1) can be saved as /etc/mixerctl.conf (mixerctl.conf(5)) such that the default settings of mixerctl can be modified & modified permanently. Locate what parameters are exposed, & alter them. If this gives the results you want, great. If not, as was noted earlier, sound can be problematic.
|
|
|||
I remember I did try many different mixerctl settings but did not work.
Now, bsdfan666, here's my stupid question: how do I install the modified files stated in the link? That would be a good option if it works. tks |
|
|||
Quote:
Not stupid, just uninformed.. backporting those changes would not be supported, compiling -CURRENT or waiting for a snapshot that includes the changes would be the advisable point of action. |
|
|||
here's the mixerctl output, actually, if I try to modify it (for example: mixerctl outputs.master=200,200) it does not seem to accept changes, it goes back to 0:
Code:
# mixerctl outputs.master=200,200 outputs.master: 0,0 -> 0,0 Code:
$ mixerctl -a outputs.select=headphones outputs.master=0,0 record.source= record.record=0,0 |
|
|||
Quote:
Quote:
As stated before, many sound chips in use don't follow the standards recognized by OpenBSD's developers. Your system may have one of them. |
|
|||
I didn't notice that you were running 4.3; but if it's sticking at 0.. perhaps it was a bug? try upgrading to 4.4 or running -CURRENT.
|
|
|||
ok, thanks a lot
|
|
|||
Ok guys, sorry about wasting your time, I tried find by myself the audio driver in dmesg, checked the man page and, as you see here, it has no volume control, I checked the 4.4 man pages, and it is the same. At least we now all now what it's all about.
Code:
AOA(4) OpenBSD Programmer's Manual (MacPPC) AOA(4) NAME aoa - Apple aoa audio device SYNOPSIS aoa* at macobio? audio* at aoa? DESCRIPTION The aoa driver provides support for the audio hardware found in some macppc machines. HARDWARE Machines supported by the aoa driver include: - PowerMac7,3 - PowerMac10,1 - PowerMac10,2 SEE ALSO audio(4), intro(4) HISTORY The aoa driver first appeared in OpenBSD 3.9. AUTHORS The aoa driver was written by Tsubai Masanari and ported to OpenBSD by Joris Vink. BUGS This driver needs more testing. This manual page needs more precision and detail. Right now this driver does not support volume control. OpenBSD 4.3 May 31, 2007 |
|
|||
Right, so.. your only option would be a software mixer, mplayer supports this via the -softvol argument.
Quote:
|
|
|||
it works, thank you!
What if I wanted to control sounds which are not mplayer related (e.g. beeps from pidgin etc)? |
|
|||
I don't know.. as I said, a sound mixer would do the trick.. AFAIK, pidgin directly manipulates the audio device unfortunately.
In 4.4-CURRENT, aucat(1) has turned into something quite similar to ESD/aRts/Jack, but it doesn't currently support emulated volume control. Sorry.. |
|
|||
I can definitely live with this, thanks a lot
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
4.4 on macmini ppc xorg problem | gosha | OpenBSD Installation and Upgrading | 27 | 14th February 2009 10:06 PM |
Audio & Headphones | JMJ_coder | General Hardware | 3 | 10th November 2008 05:21 PM |
Linux: Pulse My Audio | vermaden | Off-Topic | 5 | 8th October 2008 07:05 AM |
Audio Chat for Solaris? | whispersGhost | Solaris | 9 | 19th June 2008 12:09 AM |
mplayer osd - set label of audio channel | Grizzly | FreeBSD General | 0 | 7th June 2008 08:37 PM |