Bug 452846

Summary: FEAT: RHEL 4.8 HDA ALSA driver update from mainstream
Product: Red Hat Enterprise Linux 4 Reporter: Jaroslav Kysela <jkysela>
Component: kernelAssignee: Jaroslav Kysela <jkysela>
Status: CLOSED ERRATA QA Contact: Martin Jenner <mjenner>
Severity: low Docs Contact:
Priority: high    
Version: 4.8CC: bhavna.sarathy, bmaly, bnagendr, cward, jeff.burrell, jfeeney, libin.yang, riek, rlerch, rpacheco, shane.huang, tao, tom.gao
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
The IntelĀ® High Definition Audio (HDA) driver in ALSA has been updated. This update improves audio support for newer hardware with HDA integrated audio.
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-18 19:18:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 437118, 450195, 454696, 458752, 461297    
Attachments:
Description Flags
update from mainstream for RHEL 4.7 none

Description Jaroslav Kysela 2008-06-25 12:55:42 UTC
HDA ALSA driver code update for RHEL 4.7 (maybe 4.8)

The goal is to backport HDA ALSA driver code from mainstream ALSA development to
RHEL 5.3 kernel. It will add support for new hardware (integrated soundcards on
motherboards and notebooks).

Comment 1 Jaroslav Kysela 2008-06-25 13:13:27 UTC
The bug#451007 contains identical backported code.

The test kernels are available here:

http://people.redhat.com/jkysela/hdaUpdate2/

Comment 2 Jaroslav Kysela 2008-06-25 13:38:42 UTC
Created attachment 310265 [details]
update from mainstream for RHEL 4.7

Comment 3 Jaroslav Kysela 2008-07-22 12:18:06 UTC
New test kernels and patches (update from 2008-07-22) are available at:

http://people.redhat.com/jkysela/hdaUpdate3/RHEL4.8/

Comment 4 Shane Huang 2008-07-23 01:16:54 UTC
Reply to Jaroslav's comment #55 of BZ #428964
> Shane, I am planning to do a big ALSA HDA driver update for RHEL 4.8.
> Could you test also kernels in bug#452846 (hdaUpdate3)? 
> These kernels contains latest ALSA HDA driver code. Thank you.

That is okay, I can ask our QA to do some test to the alsa update
with our SB700 platform. But
1. Which items do you want to be tested? HD audio and HDMI audio?
2. From which ISO release this update will be included? RHEL4.8 Beta?
We can test the RHEL4.8 release if it will come soon.

Thanks


Comment 5 Jaroslav Kysela 2008-07-23 14:33:46 UTC
(In reply to comment #4)

> That is okay, I can ask our QA to do some test to the alsa update
> with our SB700 platform. But
> 1. Which items do you want to be tested? HD audio and HDMI audio?
> 2. From which ISO release this update will be included? RHEL4.8 Beta?
> We can test the RHEL4.8 release if it will come soon.

The whole snd-hda-intel driver (HD + HDMI audio) is affected. I would like just
to get some preliminary test results before inclusion to RHEL 4.8 kernel.
Please, just do only a really quick test for the moment (install hdaUpdate3
kernel in comment#3 and try basic audio functionality). Thanks.


Comment 6 Shane Huang 2008-07-24 03:41:52 UTC
OK, our QA will do a basic test on our platform.


Comment 7 tom 2008-07-24 09:01:32 UTC
I've done some basic test for HDA&HDMI. All HDA functions seems to be good so far.
But there is some command line changing when aplay audio file via HDMI.

aplay -Dhw:1 xxx.wav(HDMI device is on cards 1) ----- works in RHEL4U7 RC,
failed with this new patch, error message as below:
>ALSA lib pcm_hw.c:1155:(snd_pcm_hw_open) open /dev/snd/pcmC1D0p failed: No such
>file or directory
>aplay: main:508: audio open error: No such file or directory

aplay -Dhw:1,3 xxx.wav ----- works well with this new patch.

Comment 8 Jaroslav Kysela 2008-07-24 10:12:22 UTC
Yes, PCM device indexes were changed, because we tried to solve other problem:

    [ALSA] hda-intel - Fix PCM device number assignment

    In the current scheme, PCM device numbers are assigned incrementally
    in the order of codecs.  This causes problems when the codec number
    is irregular, e.g. codec #0 for HDMI and codec #1 for analog.  Then
    the HDMI becomes the first PCM, which is picked up as the default
    output device.  Unfortuantely this doesn't work well with normal
    setups.

    This patch introduced the fixed device numbers for the PCM types,
    namely, analog, SPDIF, HDMI and modem.  The PCM devices are assigned
    according to the corresponding PCM type.  After this patch, HDMI will
    be always assigned to PCM #3, SPDIF to PCM #1, and the first analog
    to PCM #0, etc.

Thank you for testing.

Comment 10 Jaroslav Kysela 2008-08-21 10:37:40 UTC
*** Bug 454696 has been marked as a duplicate of this bug. ***

Comment 11 Jaroslav Kysela 2008-08-26 08:44:30 UTC
*** Bug 450195 has been marked as a duplicate of this bug. ***

Comment 12 Jaroslav Kysela 2008-08-26 08:50:11 UTC
*** Bug 437118 has been marked as a duplicate of this bug. ***

Comment 14 RHEL Program Management 2008-09-03 12:50:46 UTC
Updating PM score.

Comment 15 Vivek Goyal 2008-09-03 16:19:29 UTC
Committed in 78.7.EL . RPMS are available at http://people.redhat.com/vgoyal/rhel4/

Comment 16 Shane Huang 2008-09-08 06:22:28 UTC
HD audio and HDMI audio can work on SB700+RS780 Shiner board with -78.7

Comment 17 Jaroslav Kysela 2008-09-08 15:26:26 UTC
*** Bug 453117 has been marked as a duplicate of this bug. ***

Comment 24 Jaroslav Kysela 2009-03-09 13:01:45 UTC
*** Bug 457943 has been marked as a duplicate of this bug. ***

Comment 26 Jaroslav Kysela 2009-03-23 15:03:37 UTC
Release note added. If any revisions are required, please set the 
"requires_release_notes" flag to "?" and edit the "Release Notes" field accordingly.
All revisions will be proofread by the Engineering Content Services team.

New Contents:
The ALSA sound driver for Intel HDA and compatible chipsets (AMD, NVidia)
was updated with more recent version from upstream Linux kernel development.

This update improves audio support for newer hardware with HDA integrated audio.

Comment 28 Ryan Lerch 2009-03-31 23:47:15 UTC
Release note updated. If any revisions are required, please set the 
"requires_release_notes"  flag to "?" and edit the "Release Notes" field accordingly.
All revisions will be proofread by the Engineering Content Services team.

Diffed Contents:
@@ -1,4 +1 @@
-The ALSA sound driver for Intel HDA and compatible chipsets (AMD, NVidia)
+The IntelĀ® High Definition Audio (HDA) driver in ALSA has been updated. This update improves audio support for newer hardware with HDA integrated audio.-was updated with more recent version from upstream Linux kernel development.
-
-This update improves audio support for newer hardware with HDA integrated audio.

Comment 29 Linda Wang 2009-04-06 18:50:23 UTC
*** Bug 213122 has been marked as a duplicate of this bug. ***

Comment 30 Chris Ward 2009-05-05 13:56:50 UTC
Any updates here? Has this issue been resolved in the RHEL 4.8 Beta? later kernel?

Comment 32 errata-xmlrpc 2009-05-18 19:18:48 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2009-1024.html