← Back to team overview

touch-packages team mailing list archive

[Bug 1383207] [NEW] Different system settings show different sound cards and chosen sound card will only play on command line test.

 

Public bug reported:

$ lsb_release -rd
Description:	Ubuntu 14.04.1 LTS
Release:	14.04
--------

Sound has been troublesome on my system.

I noticed this happened twice. I have two different system settings
programs (because of the first time this happened). In one program (KDE
system settings), my soundcard is listed, in the other (Ubuntu's default
system settings),  it is not listed. I cannot play sound out of it with
graphical desktop programs, but `aplay
/usr/share/sounds/alsa/Front_Center.wav` does play sound fine.

I followed these instructions:
https://help.ubuntu.com/community/SoundTroubleshooting

`pacmd` looked fine. My chosen sound card had an asterisk next to it.

`aplay /usr/share/sounds/alsa/Front_Center.wav` ran as user fine

`sudo aplay -l` lists it accurately

`find /lib/modules/`uname -r` | grep snd` gave an appropriate driver:
/lib/modules/3.13.0-37-generic/kernel/sound/pci/echoaudio/snd-layla24.ko

`lspci -v | grep -A7 -i "audio"` showed my sound card:
03:00.0 PCI bridge: Pericom Semiconductor PI7C9X111SL PCIe-to-PCI Reversible Bridge (rev 02) (prog-if 00 [Normal decode])
--
	Subsystem: Echo Digital Audio Corporation Layla24
	Flags: bus master, medium devsel, latency 192, IRQ 18
	Memory at fa200000 (32-bit, non-prefetchable) [size=1M]
	Kernel driver in use: snd_layla24

I tried `modprobe snd_layla24` and `modprobe snd-layla24` with no
difference being made.


I tried adding it to /etc/modprobe.d/alsa-base.conf, but it still doesn't show up in the ubuntu system settings (gnome I think), which I think is the one that determines if it'll play through regular desktop applications or not (7th to last line snd_layla24):
----------------------
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
options snd_layla24 index=0
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
----------------------

I tried `sudo alsa reload`, `pulseaudio -k`, and `sudo pulseaudio -k`

** Affects: alsa-utils (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: alsa audio pulseaudio sound sound-card

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to alsa-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1383207

Title:
  Different system settings show different sound cards and chosen sound
  card will only play on command line test.

Status in “alsa-utils” package in Ubuntu:
  New

Bug description:
  $ lsb_release -rd
  Description:	Ubuntu 14.04.1 LTS
  Release:	14.04
  --------

  Sound has been troublesome on my system.

  I noticed this happened twice. I have two different system settings
  programs (because of the first time this happened). In one program
  (KDE system settings), my soundcard is listed, in the other (Ubuntu's
  default system settings),  it is not listed. I cannot play sound out
  of it with graphical desktop programs, but `aplay
  /usr/share/sounds/alsa/Front_Center.wav` does play sound fine.

  I followed these instructions:
  https://help.ubuntu.com/community/SoundTroubleshooting

  `pacmd` looked fine. My chosen sound card had an asterisk next to it.

  `aplay /usr/share/sounds/alsa/Front_Center.wav` ran as user fine

  `sudo aplay -l` lists it accurately

  `find /lib/modules/`uname -r` | grep snd` gave an appropriate driver:
  /lib/modules/3.13.0-37-generic/kernel/sound/pci/echoaudio/snd-layla24.ko

  `lspci -v | grep -A7 -i "audio"` showed my sound card:
  03:00.0 PCI bridge: Pericom Semiconductor PI7C9X111SL PCIe-to-PCI Reversible Bridge (rev 02) (prog-if 00 [Normal decode])
  --
  	Subsystem: Echo Digital Audio Corporation Layla24
  	Flags: bus master, medium devsel, latency 192, IRQ 18
  	Memory at fa200000 (32-bit, non-prefetchable) [size=1M]
  	Kernel driver in use: snd_layla24

  I tried `modprobe snd_layla24` and `modprobe snd-layla24` with no
  difference being made.

  
  I tried adding it to /etc/modprobe.d/alsa-base.conf, but it still doesn't show up in the ubuntu system settings (gnome I think), which I think is the one that determines if it'll play through regular desktop applications or not (7th to last line snd_layla24):
  ----------------------
  # autoloader aliases
  install sound-slot-0 /sbin/modprobe snd-card-0
  install sound-slot-1 /sbin/modprobe snd-card-1
  install sound-slot-2 /sbin/modprobe snd-card-2
  install sound-slot-3 /sbin/modprobe snd-card-3
  install sound-slot-4 /sbin/modprobe snd-card-4
  install sound-slot-5 /sbin/modprobe snd-card-5
  install sound-slot-6 /sbin/modprobe snd-card-6
  install sound-slot-7 /sbin/modprobe snd-card-7

  # Cause optional modules to be loaded above generic modules
  install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
  #
  # Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
  install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
  install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
  install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
  #
  install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
  # Cause optional modules to be loaded above sound card driver modules
  install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
  install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

  # Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
  install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
  # Prevent abnormal drivers from grabbing index 0
  options bt87x index=-2
  options cx88_alsa index=-2
  options saa7134-alsa index=-2
  options snd-atiixp-modem index=-2
  options snd-intel8x0m index=-2
  options snd-via82xx-modem index=-2
  options snd-usb-audio index=-2
  options snd-usb-caiaq index=-2
  options snd-usb-ua101 index=-2
  options snd-usb-us122l index=-2
  options snd-usb-usx2y index=-2
  options snd_layla24 index=0
  # Ubuntu #62691, enable MPU for snd-cmipci
  options snd-cmipci mpu_port=0x330 fm_port=0x388
  # Keep snd-pcsp from being loaded as first soundcard
  options snd-pcsp index=-2
  # Keep snd-usb-audio from beeing loaded as first soundcard
  options snd-usb-audio index=-2
  ----------------------

  I tried `sudo alsa reload`, `pulseaudio -k`, and `sudo pulseaudio -k`

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-utils/+bug/1383207/+subscriptions


Follow ups

References