From nobody@FreeBSD.org  Sun Dec  2 13:45:15 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 042D1ED
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  2 Dec 2012 13:45:15 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id DB4278FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  2 Dec 2012 13:45:14 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qB2DjEtH017446
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 2 Dec 2012 13:45:14 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id qB2DjEqP017445;
	Sun, 2 Dec 2012 13:45:14 GMT
	(envelope-from nobody)
Message-Id: <201212021345.qB2DjEqP017445@red.freebsd.org>
Date: Sun, 2 Dec 2012 13:45:14 GMT
From: Tomasz CEDRO <cederom@tlen.pl>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Default Linux ALSA configuration update request
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         174055
>Category:       ports
>Synopsis:       Default Linux ALSA configuration update request
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 02 13:50:00 UTC 2012
>Closed-Date:    Tue Nov 12 14:04:47 UTC 2013
>Last-Modified:  Tue Nov 12 14:04:47 UTC 2013
>Originator:     Tomasz CEDRO
>Release:        FreeBSD 9.1-RC3
>Organization:
CeDeROM
>Environment:
FreeBSD hexagon 9.1-RC3 FreeBSD 9.1-RC3 #0 r242324: Tue Oct 30 00:58:57 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
I have installed and started Skype (2.1 and 2.2 devel) with success on 9.1-RC3
using Linux binaries provided in port tree. However there is an issue
with default ALSA configuration and sound/calls does not work properly
off out the box. I suggest to set /dev/dsp0 and /dev/mixer0 as default
devices in the alsa configuration, so the sound works on the default/first
audio device. Right now it does not work at all. Maybe the /dev/dsp should
point at the /dev/dsp0 instead..? How does the relation work?

cederom@hexagon:/home/cederom % ls -al /dev/dsp
crw-rw-rw-  1 root  wheel    0, 181 Dec  2 14:41 /dev/dsp
cederom@hexagon:/home/cederom % ls -al /dev/dsp*
crw-rw-rw-  1 root  wheel    0, 179 Dec  2 14:41 /dev/dsp0.0
crw-rw-rw-  1 root  wheel    0, 211 Dec  2 14:34 /dev/dsp0.1
crw-rw-rw-  1 root  wheel    0, 181 Dec  2 14:41 /dev/dsp0.2
crw-rw-rw-  1 root  wheel    0, 213 Dec  2 14:34 /dev/dsp1.1
crw-rw-rw-  1 root  wheel    0, 215 Dec  2 14:34 /dev/dsp2.1
crw-rw-rw-  1 root  wheel    0, 217 Dec  2 14:34 /dev/dsp3.1
crw-rw-rw-  1 root  wheel    0, 219 Dec  2 14:34 /dev/dsp4.1

>How-To-Repeat:

>Fix:
# pcm-oss plugin configuration

pcm.oss {
        type oss
        device /dev/dsp0
        hint {
                description "Open Sound System"
        }
}

ctl.oss {
        type oss
        device /dev/mixer0
        hint {
                description "Open Sound System"
        }
}


>Release-Note:
>Audit-Trail:

From: CeDeROM <cederom@tlen.pl>
To: FreeBSD-gnats-submit@freebsd.org, freebsd-ports-bugs@freebsd.org
Cc:  
Subject: Re: ports/174055: Default Linux ALSA configuration update request
Date: Sun, 2 Dec 2012 22:51:13 +0100

 As suggested by Boris Samorodov linking the native FreeBSD Alsa-Lib
 configuration to the Linux emulation works perfectly! :-)
 
 mv /compat/linux/etc/asound.conf /compat/linux/etc/asound.conf.orig
 ln -s /usr/local/etc/asound.conf /compat/linux/etc/asound.conf
 
 The change has been submitted according to Boris :-) Case solved! :-)
 
 Thanks :-)
 Tomek
 
 -- 
 CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
Responsible-Changed-From-To: freebsd-ports-bugs->bsam 
Responsible-Changed-By: arved 
Responsible-Changed-When: Fri Dec 7 16:51:08 UTC 2012 
Responsible-Changed-Why:  
bsam can probably commit his patch if he has not already 

http://www.freebsd.org/cgi/query-pr.cgi?pr=174055 
Responsible-Changed-From-To: bsam->freebsd-ports-bugs 
Responsible-Changed-By: bsam 
Responsible-Changed-When: Mon Jan 21 13:50:51 UTC 2013 
Responsible-Changed-Why:  
The patch was reverted due to problems it created. And I do not track 
the case any more. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=174055 
State-Changed-From-To: open->closed 
State-Changed-By: jadawin 
State-Changed-When: Tue Nov 12 14:04:46 UTC 2013 
State-Changed-Why:  
bsam didn't track the case anymore. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=174055 
>Unformatted:
