Subject: bin/5991: audio tools use non-unit'ized /dev/{audio,audioctl,...}
To: None <gnats-bugs@gnats.netbsd.org>
From: Jason R Thorpe <thorpej@nas.nasa.gov>
List: netbsd-bugs
Date: 08/19/1998 13:00:30
>Number:         5991
>Category:       bin
>Synopsis:       audio tools use non-unit'ized /dev/{audio,audioctl,...}
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 19 13:20:02 1998
>Last-Modified:
>Originator:     
>Organization:
Numerical Aerospace Simulation Facility - NASA Ames
>Release:        NetBSD 1.3G, Wed Aug 19 12:55:14 PDT 1998
>Environment:
	
System: NetBSD jaws 1.3G NetBSD 1.3G (JAWS) #81: Tue Aug 18 10:40:12 PDT 1998 thorpej@jaws:/tmp_mnt/dracul/u5/netbsd/src/sys/arch/arm32/compile/JAWS arm32


>Description:
	The NetBSD audio code allows for multiple audio, mixer, control,
	etc. units, but the audio tools use device files with no unit
	numbers.  This is because most ports INCORRECTLY generate only
	/dev/audio, /dev/audioctl, etc. files, without unit numbers.

>How-To-Repeat:
	Attempt to use audioctl(1) on a Shark.  Note that it attempts to
	open /dev/audioctl, which does not exist.

>Fix:
	These other ports are broken, and their MAKEDEVs must be fixed,
	and the audio tools fixed to use /dev/audio0, etc. by default.

	For compatibility with old applications, MAKEDEV could be changed
	to automatically symlink audio -> audio0, etc., but new code
	should be fixed/ported correctly.
>Audit-Trail:
>Unformatted: