Subject: kern/37273: azalia(4) generates too long mixer name
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <tshiozak@netbsd.org>
List: netbsd-bugs
Date: 11/03/2007 19:30:00
>Number:         37273
>Category:       kern
>Synopsis:       azalia(4) generates too long mixer name
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 03 19:30:00 +0000 2007
>Originator:     Takuya SHIOZAKI
>Release:        trunk
>Organization:
>Environment:
NetBSD aoi.bogus-hosts.imou.to 4.99.30 NetBSD 4.99.30 (AOI.MP) #9: Wed Sep 19 03:14:31 JST 2007  tshiozak@aoi.bogus-hosts.imou.to:/home/current-build/src/sys/arch/i386/compile/AOI.MP i386
>Description:
On ASUS M2A-VM HDMI (Realtek ALC883), mixerctl generates duplicate fields:
% mixerctl -a | grep mix0b\\.unknown1c
inputs.mix0b.unknown1c=off
inputs.mix0b.unknown1c=123,123

I think the former should be "inputs.mix0b.unknown1c.mute",
but subfield "mix0b.unknown1c.mute" is too long (over 16 bytes 
including '\0') to be stored to the name field of mixer_devinfo.
>How-To-Repeat:
use ASUS M2A-VM HDMI.
>Fix:
make it shorter.