Raymond, 
I do not use the onboard AC97, so normally it is disabled in BIOS. I reenabled 
it just for debugging this issue.
When the oboard audio is disabled in BIOS, the USB card is the only sound card 
ALSA sees. Still it reports as hw:1.
!default refers to hw:0 by default, so ALSA applications break when no card 0 
is present. That's why I overwrite it in /etc/asound.conf.

-- 
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/1208982

Title:
  USB sound card always reports as hw:1 (even if it is the only one)

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

Bug description:
  I have a system where the USB sound card is the only sound card in the system 
(for good reasons).
  I took me over an hour finding out why I have no sound. Then I found this in 
/etc/modprobe.d/alsa-base.conf:

  --- snip ---
   # Keep snd-usb-audio from beeing loaded as first soundcard
   options snd-usb-audio index=-2
  --- snip ---

  This line prevents my USB (and only) sound card to report as "card 0",
  forcing it to report as "card 1" instead -- without any "card 0" being
  present! To my understanding, sound cards in ALSA get enumerated
  consecutively, starting with 0, and 0 being the "default card".

  With this line in /etc/modprobe.d/alsa-base.conf, my system booted
  with no default sound card present (although my USB card was plugged
  in). And that is exactly what I got: no sound, and lots of headache.

  I believe that this is a bug. It obviously is related to #46996, where
  a user argues that he does not want his USB card to appear as card 0.
  I strongly argue against this, at least if the USB card is the *only*
  card in the system.

  WHAT HAPPENS:
  - I have a system with no internal/onboard sound card.
  - I plug in a USB sound card and reboot.
  - I have no sound at all. Alsamixer and other applications break, because 
they cannot access the "default" sound card (i.e. card 0).
  - After lots of reading and debugging (only feasible for advanced users), I 
discover the line in /etc/modprobe.d/alsa-base.conf.
  - After some more reading, I manage to create /etc/asound.conf to make card 1 
the default.
  - After that I have sound-

  WHAT I EXPECT (and what happens in windows, and probably other OSes/distros):
  - I have a system with  no internal/onboard sound card.
  - I plug in a USB sound card and reboot.
  - I have sound.

  I believe this is a bug that instantly drives not so advanced users
  back to windows.

  Cross Reference: #46996

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu4
  ProcVersionSignature: Ubuntu 3.8.0-27.40-generic 3.8.13.4
  Uname: Linux 3.8.0-27-generic i686
  ApportVersion: 2.9.2-0ubuntu8.1
  Architecture: i386
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-id', 
'/dev/snd/controlC1', '/dev/snd/pcmC1D0c', '/dev/snd/pcmC1D0p', 
'/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/pcmC0D0c', 
'/dev/snd/pcmC0D0p', '/dev/snd/pcmC0D1c', '/dev/snd/pcmC0D2c', 
'/dev/snd/pcmC0D3c', '/dev/snd/pcmC0D4p', '/dev/snd/seq', '/dev/snd/timer'] 
failed with exit code 1:
  Date: Tue Aug  6 20:49:21 2013
  MarkForUpload: True
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: alsa-driver
  UpgradeStatus: Upgraded to raring on 2013-05-06 (92 days ago)
  dmi.bios.date: 04/23/2004
  dmi.bios.vendor: FUJITSU SIEMENS // Phoenix Technologies Ltd.
  dmi.bios.version: 4.06  Rev. 1.09.1562
  dmi.board.name: D1562
  dmi.board.vendor: FUJITSU SIEMENS
  dmi.board.version: S26361-D1562
  dmi.chassis.type: 6
  dmi.chassis.vendor: exone
  dmi.modalias: 
dmi:bvnFUJITSUSIEMENS//PhoenixTechnologiesLtd.:bvr4.06Rev.1.09.1562:bd04/23/2004:svnexone:pnD156200:pvr:rvnFUJITSUSIEMENS:rnD1562:rvrS26361-D1562:cvnexone:ct6:cvr:
  dmi.product.name: D156200
  dmi.sys.vendor: exone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1208982/+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