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 Desktop
Packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/1249705

Title:
  HDMI output not available in 13.10

Status in ALSA driver:
  Unknown
Status in “alsa-driver” package in Ubuntu:
  Incomplete
Status in “pulseaudio” package in Ubuntu:
  Confirmed

Bug description:
  Hello,

  My issue here is with the HDMI output, it is non existent.  I have had no 
issues with earlier versions of Ubuntu from 10.x, 12.04 LTS and 13.04.  Even 
the original distro which was originally on this HTPC, Susse.
  I have researched all avenues for a remedy to my issue including #ALSA, 
#Pulseaudio and #Ubuntu IRCs.
  Some have mention it is possibly a kernel issue. I do have audio via S/PDIF 
which is stereo only.

  I did not upgrade the existing version; which most would, I have done a clean 
install of Ubuntu 13.10.  Everything is working fine except for my audio 
issues.  HDMI output is not showing in either ALSA or Pavucontrol. 
  On the previous versions of Ubuntu I had many options of Digital 5.1 surround 
ouputs including HDMI.   All that is available now for surround sound is analog 
options.

  In the Sound configuration panel I only have Digital Output (S/PDIF)Built-in 
Audio and Analog Output Built-in Audio which are only Stereo, HDMI is now 
missing in 13.10
  I have tried so many apparent fixes in various forums which included  editing 
confg files, uninstalling and reinstalling Alsa-base and Pulseaudio.  I am 
surprised that I have any sound out of the S/PDIF Coax or Optical now.
  Thank you for taking the time to look this over.  I am not 100% sure  this is 
a bug , but by all the research, suggestions on the IRCs and not having this 
issue on previous versions,  I am leaning towards it being a bug.  If you need 
any further information please let me know and I will respond asap.

  
  Here is a link to my system info that was uploaded via alsa-info.sh:
  HTTP://pastebin.com/Mwhwvwxw

  This is the original alsa upload link:
  HTTP://www.alsa-project.org/db/?f=ecbcde4ed5874b18b8c18ea54d85ce7033287134

  Here is my system information:
  Description:  Ubuntu 13.10
  Release:      13.10
  Kernel-release version
  3.11.0-13-generic
  uname -a string
  Linux HTPC 3.11.0-13-generic #20-Ubuntu SMP Wed Oct 23 07:38:26 UTC 2013 
x86_64 x86_64 x86_64 GNU/Linux

  HTPC System Info:
  Processor: AMD Athlon(tm) 64 X2 Dual Core Processor 4000+ × 2
  Memory: 4GiB
  Graphics: GeForce 7050 PV / nForce 630a/integrated/SSE2
  OS Type: Ubuntu 13.10 64-bit
  Disk: 320 GB
  DVB: AVerTVHD MCE A180
  Remote: ATI USB RF wireless remote ( Remote Wonder)
  Keyboard/Mouse: Wireless
  System formerly a Captiveworks 3000/4000 ATSC and DVB-S Satellite HTPC,  
Distro used, Susse
  --- 
  ApportVersion: 2.12.5-0ubuntu2.1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  gee        2171 F.... cairo-dock
  DistroRelease: Ubuntu 13.10
  InstallationDate: Installed on 2013-10-30 (13 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 
(20131016.1)
  MarkForUpload: True
  NonfreeKernelModules: nvidia
  Package: pulseaudio 1:4.0-0ubuntu6 [modified: 
usr/share/pulseaudio/alsa-mixer/paths/iec958-stereo-output.conf]
  PackageArchitecture: amd64
  ProcEnviron:
   LANGUAGE=en_US
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 3.11.0-13.20-generic 3.11.6
  PulseList:
   Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not 
accessible: Permission denied
   No PulseAudio daemon running, or not running as session daemon.
  Tags:  saucy saucy
  Uname: Linux 3.11.0-13-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:
   
  dmi.bios.date: 03/19/2008
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: CaptiveWorks CW-3000HD V2.37
  dmi.board.asset.tag: To Be Filled By O.E.M.
  dmi.board.name: MS-7349
  dmi.board.vendor: MSI
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrCaptiveWorksCW-3000HDV2.37:bd03/19/2008:svnMSI:pnMS-7349:pvr1.0:rvnMSI:rnMS-7349:rvr1.0:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.name: MS-7349
  dmi.product.version: 1.0
  dmi.sys.vendor: MSI
  --- 
  ApportVersion: 2.12.5-0ubuntu2.1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  gee        1257 F.... pulseaudio
   /dev/snd/controlC2:  gee        1257 F.... pulseaudio
   /dev/snd/controlC1:  gee        1257 F.... pulseaudio
  CurrentDmesg:
   [   19.643569] init: plymouth-splash main process (1074) terminated with 
status 1
   [   21.504805] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
   [   21.506028] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
   [   21.511928] forcedeth 0000:00:0a.0: irq 47 for MSI/MSI-X
   [   21.511981] forcedeth 0000:00:0a.0 eth0: MSI enabled
  DistroRelease: Ubuntu 13.10
  InstallationDate: Installed on 2013-11-14 (0 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 
(20131016.1)
  MarkForUpload: True
  NonfreeKernelModules: nvidia
  Package: pulseaudio 1:4.0-0ubuntu6
  PackageArchitecture: amd64
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Tags:  saucy saucy
  Uname: Linux 3.11.0-12-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  dmi.bios.date: 03/19/2008
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: CaptiveWorks CW-3000HD V2.37
  dmi.board.asset.tag: To Be Filled By O.E.M.
  dmi.board.name: MS-7349
  dmi.board.vendor: MSI
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrCaptiveWorksCW-3000HDV2.37:bd03/19/2008:svnMSI:pnMS-7349:pvr1.0:rvnMSI:rnMS-7349:rvr1.0:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.name: MS-7349
  dmi.product.version: 1.0
  dmi.sys.vendor: MSI

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to