Hello Raymond,

I followed through on your question from the kernel bug report page here.  I 
figure, best to leave the Kernel people alone until it is proven that it is a 
Kernel issue.
Being that I was lost on how to apply the patch that you posted the URL for; I 
had to do a bit of research on how to apply this a52 patch.
This is what I found on this issue with some insite on applying the patch.

http://ubuntuforums.org/showthread.php?t=1608804

The first test was " aplay -D a52:0 " and the results were as follows:

ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM a52:0
aplay: main:722: audio open error: No such file or directory
---------------------------------------------------------------

Next I followed step #1  With this result after " aplay -D a52:0 "

ALSA lib conf.c:1686:(snd_config_load1) _toplevel_:14:5:Unexpected char
ALSA lib conf.c:3406:(config_file_open) /etc/asound.conf may be old or 
corrupted: consider to remove or fix it
ALSA lib conf.c:3328:(snd_config_hooks_call) function snd_config_hook_load 
returned error: Invalid argument
ALSA lib conf.c:3777:(snd_config_update_r) hooks failed, removing configuration
aplay: main:722: audio open error: Invalid argument

Results were just as stated.
--------------------------------------------
" sudo alsa reload "

Unloading ALSA sound driver modules: snd-seq-midi snd-seq-midi-event snd-seq 
snd-hda-codec-hdmi snd-hda-codec-realtek snd-usb-audio snd-usbmidi-lib 
snd-hda-intel snd-hda-codec snd-hwdep snd-pcm snd-page-alloc snd-rawmidi 
snd-seq-device snd-timer (failed: modules still loaded: snd-hda-codec-hdmi 
snd-hda-codec-realtek snd-hda-codec snd-hwdep snd-pcm snd-page-alloc snd-timer).
Loading ALSA sound driver modules: snd-seq-midi snd-seq-midi-event snd-seq 
snd-hda-codec-hdmi snd-hda-codec-realtek snd-usb-audio snd-usbmidi-lib 
snd-hda-intel snd-hda-codec snd-hwdep snd-pcm snd-page-alloc snd-rawmidi 
snd-seq-device snd-timer.
------------------------------------------------------------------------------------

" speaker-test -Da52:0 -c6 " results:


speaker-test 1.0.27.1

Playback device is a52:0
Stream parameters are 48000Hz, S16_LE, 6 channels
Using 16 octaves of pink noise
ALSA lib conf.c:1686:(snd_config_load1) _toplevel_:14:5:Unexpected char
ALSA lib conf.c:3406:(config_file_open) /etc/asound.conf may be old or 
corrupted: consider to remove or fix it
ALSA lib conf.c:3328:(snd_config_hooks_call) function snd_config_hook_load 
returned error: Invalid argument
ALSA lib conf.c:3777:(snd_config_update_r) hooks failed, removing configuration
Playback open error: -22,Invalid argument
-----------------------------------------------------------------

"asound.conf may be old or corrupted: consider to remove or fix it"
This looks interesting, but what is old or corrupted?
Maybe due to the file not being in the location of /etc.

" locate asound.conf "
/usr/share/doc/libasound2-plugins/examples/asound.conf_jack
/usr/share/doc/libasound2-plugins/examples/asound.conf_oss
/usr/share/xbmc/system/asound.conf
----------------------------------------------------------

What is quite interesting is that 5.1 surround works under XBMC, so I am
going to copy this asound.conf to /etc and see what happens.

Now with the asound.conf  copied to the  /etc folder from the XBMC folder this 
has changed things a bit.
" speaker-test -Da52:0 -c6 " results:

speaker-test 1.0.27.1

Playback device is a52:0
Stream parameters are 48000Hz, S16_LE, 6 channels
Using 16 octaves of pink noise
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM a52:0
Playback open error: -2,No such file or directory
--------------------------------------------------------------------------

I usually don't C/P lengthy conf files to a posting, but this one is a long as 
one of my rants... ;)
I am also going to follow up in another comment.

asound.conf
-------------------

# downmixing to 2 channels
pcm.xbmc_71to2 {
  @args.0 SLAVE
  @args.SLAVE {
    type string
    default "default"
  }
  type plug
  slave.pcm $SLAVE
  slave.channels 2
  route_policy duplicate
  ttable.0.0 1          # front left speaker
  ttable.1.1 1          # front right speaker
  ttable.2.0 0.7        # rear left speaker
  ttable.3.1 0.7        # rear right speaker
  ttable.4.0 0.7        # center to left mapping
  ttable.4.1 0.7        # center to right mapping
  ttable.5.0 0.5        # LFE (base) to left mapping
  ttable.5.1 0.5        # LFE to right mapping
  ttable.6.0 0.6        # SL to left mapping
  ttable.7.0 0.6        # SR to right mapping
}

# downmixing to 2 channels
pcm.xbmc_51to2 {
  @args.0 SLAVE
  @args.SLAVE {
    type string
    default "default"
  }
  type plug
  slave.pcm $SLAVE
  slave.channels 2
  route_policy duplicate
  ttable.0.0 1          # front left speaker
  ttable.1.1 1          # front right speaker
  ttable.2.0 0.7        # rear left speaker
  ttable.3.1 0.7        # rear right speaker
  ttable.4.0 0.7        # center to left mapping
  ttable.4.1 0.7        # center to right mapping
  ttable.5.0 0.5        # LFE (base) to left mapping
  ttable.5.1 0.5        # LFE to right mapping
}

# downmixing to 2 channels
pcm.xbmc_50to2 {
  @args.0 SLAVE
  @args.SLAVE {
    type string
    default "default"
  }
  type plug
  slave.pcm $SLAVE
  slave.channels 2
  route_policy duplicate
  ttable.0.0 1          # front left speaker
  ttable.1.1 1          # front right speaker
  ttable.2.0 0.7        # rear left speaker
  ttable.3.1 0.7        # rear right speaker
  ttable.4.0 0.7        # center to left mapping
  ttable.4.1 0.7        # center to right mapping
}

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1249705

Title:
  HDMI output not available in 13.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/alsa-driver/+bug/1249705/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to