On Thu, Jul 30, 2015 at 09:29:31PM +0200, Alexander Shendi wrote:
> Dear list subscribers,
>  
> I have installed OpenBSD-current on my Acer C720p Chromebook.  
> I am using -current because I had problems with X11 with 
> the 5.7 release.
>  
> Audio used to work out of the box on that device with earlier 
> versions of -current, but has stopped working in the most recent 
> version I have installed (Playback of an MP3-file with either 
> VLC or mpg123 produced no sound)
>  
> $ uname -a
> OpenBSD alex-acer-720p.my.domain 5.8 GENERIC.MP#1206 amd64
> 
> Excerpt from dmesg follows:
>  
> [...]
> azalia0 at pci0 dev 3 function 0 "Intel Core 4G HD Audio" rev 0x09: msi
> azalia0: No codecs found
> [...]
> azalia1 at pci0 dev 27 function 0 "Intel 8 Series HD Audio" rev 0x04: msi
> azalia1: codecs: Realtek/0x0283
> audio0 at azalia1
> [...]
> 
> (The entire dmesg can be found at: 
> http://www.alexshendi.org/tmp/dmesg-c720p-20150730.txt)
> 
> However I had some success in getting sound to work: I added the line:
> 
> sndiod_flags='-f /dev/audio1'
> 
> to /etc/rc.conf.local
> 

there's no /dev/audio1 according to your dmesg and -f uses another
syntax (see sndio(7) man page)

> Now playing an MP3-file in VLC works, but I'm not able to adjust the volume
> in VLC. Does this have something to do with /dev/audioctl?
> 
> I noticed that both /dev/audio and /dev/audioctl are symlinks to 
> /dev/audio0 resp. /dev/audioctl0. Sould I change these links 
> to point to audio1 and audioctl1? 

The symlinks are only used by audioctl and mixerctl utilities, no
need to change them.

> 
> Any suggestions will be appreciated. Many thanks in advance.

could you do the following: build & install a new kernel with these
options defined.

option AUDIO_DEBUG
option AZALIA_DEBUG

Then, boot it, kill sndiod, and start it in a terminal with:

sndiod -dd

and in another terminal, play a .mp3 with mpg123 (or whatever you
use) and see what errors sndiod displays and what dmesg says. Let
me know if you have questions and/or you need help for the setup.

thanks

Reply via email to