Bug 1320099 - [ca0106] Multi-channel audio doesn't work
Summary: [ca0106] Multi-channel audio doesn't work
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: alsa-utils
Version: 6.8
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Jaroslav Kysela
QA Contact: Ken Benoit
URL:
Whiteboard:
Depends On:
Blocks: 1270066
TreeView+ depends on / blocked
 
Reported: 2016-03-22 10:15 UTC by Jiri Koten
Modified: 2016-05-11 00:40 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2016-05-11 00:40:10 UTC
Target Upstream Version:


Attachments (Terms of Use)
alsa-info (20.19 KB, text/plain)
2016-03-22 10:15 UTC, Jiri Koten
no flags Details
alsaunmute debug (20.75 KB, text/plain)
2016-03-22 15:20 UTC, Jiri Koten
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0921 0 normal SHIPPED_LIVE alsa-utils bug fix and enhancement update 2016-05-10 22:53:08 UTC

Description Jiri Koten 2016-03-22 10:15:00 UTC
Created attachment 1138969 [details]
alsa-info

Description of problem:
Multi-channel audio is broken on Creative Labs CA0106 Soundblaster [1102:0007]


Version-Release number of selected component (if applicable):
alsa-utils-1.1.0-3.el6
alsa-lib-1.1.0-4.el6
kernel-2.6.32-629.el6

How reproducible:
100%

Steps to Reproduce:
1. speaker-test -Dsurround51:CA0106 -twav -c6
2.
3.

Actual results:
Sound is audible only from Front Left, Rear Left, Front Center channels, others are silent.

Expected results:
Sound is audible from all channels.

Additional info:
It's a regression, I have tested the setup with alsa-utils-1.0.22-9.el6_6 and it works correctly. Also hw specific, other cards like Creative Labs SB0400 Audigy2 Value [1102:0008] are working correctly with the new package.

Comment 2 Jaroslav Kysela 2016-03-22 12:18:45 UTC
The mixer setting is wrong:

  Front Right: Playback 0 [0%] [-99999.99dB]

Does 'alsaunmute' command help ? (or any mixer app)

Comment 3 Jiri Koten 2016-03-22 13:11:50 UTC
alsaunmute does nothing. I have to run: 
$ amixer -c0 sset 'Analog Front',0 81%,81% unmute

Then it's working ok.

Comment 4 Jaroslav Kysela 2016-03-22 13:18:39 UTC
Could you add '-d' argument to alsaunmute (for alsactl) and provide the debug output?

Comment 5 Jiri Koten 2016-03-22 14:05:24 UTC
$ alsactl -d monitor #0
card 0, #35 (2,0,0,Master Playback Switch,0) VALUE
card 0, #30 (2,0,0,Analog Front Playback Switch,0) VALUE
card 0, #31 (2,0,0,Analog Rear Playback Switch,0) VALUE
card 0, #32 (2,0,0,Analog Center/LFE Playback Switch,0) VALUE
card 0, #33 (2,0,0,Analog Side Playback Switch,0) VALUE

Comment 6 Jaroslav Kysela 2016-03-22 14:30:06 UTC
I meant - use alsactl command like in alsaunmute script (all arguments), but add '-d'.

Comment 7 Jiri Koten 2016-03-22 15:20:24 UTC
Created attachment 1139099 [details]
alsaunmute debug

Comment 8 Jaroslav Kysela 2016-03-22 15:42:30 UTC
OK, are you sure that it works with alsa-utils-1.0.22-9 ? I think that this bug must be there, too.

There must be replaced all strings {value} as {values} in file /lib/alsa/init/ca0106 to set all channels.

Comment 9 Jiri Koten 2016-03-22 17:34:03 UTC
(In reply to Jaroslav Kysela from comment #8)
> OK, are you sure that it works with alsa-utils-1.0.22-9 ? I think that this
> bug must be there, too.
> 
> There must be replaced all strings {value} as {values} in file
> /lib/alsa/init/ca0106 to set all channels.

There is no ca0106 file in alsa-utils-1.0.22-9.

Comment 10 Jaroslav Kysela 2016-03-23 16:26:26 UTC
I have a fix, but I need (rhel-6.8.0 == + and blocker == +) for push to the git repository.

Comment 19 errata-xmlrpc 2016-05-11 00:40:10 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-0921.html


Note You need to log in before you can comment on or make changes to this bug.