Public bug reported:

It seems as though an .asoundrc I created in my home directory is not
loaded, or the instructions are ignored.

I have been trying to get two stereo devices on one card into one four-channel 
device (M-Audio FastTrack Pro), to use with jack and mixxx [0].
Currently I just have the following in it, provided by a very helpful Patrick 
Shirkey (on the linux audio users mailing list) as a way to check that 
.asoundrc was being handled [1]:

----8<----
pcm.mycard{
     type hw
     card 1
     device 0
}

ctl.mycard{
     type hw
     card 1
} 
----8<----

After putting that in the .asoundrc and running `sudo alsa-utils
restart`, I test it and get the following:

----8<----
~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC262 Analog [ALC262 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Pro [FastTrack Pro], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: Pro [FastTrack Pro], device 1: USB Audio [USB Audio #1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


 ~$ pasuspender -- jackd -d alsa -dhw:mycard 
jackd 0.118.0
Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and 
others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details


Memory locking is unlimited - this is dangerous. You should probably alter the 
line:
     @audio   -  memlock    unlimited
in your /etc/limits.conf to read:
     @audio   -  memlock    1536810
no message buffer overruns
JACK compiled with System V SHM support.
loading driver ..
SSE2 detected
creating alsa driver ... 
hw:mycard|hw:mycard|1024|2|48000|0|0|nomon|swmeter|-|32bit
control open "hw:mycard" (No such device)
ALSA lib pcm_hw.c:1401:(_snd_pcm_hw_open) Invalid value for card
ALSA lib pcm_hw.c:1401:(_snd_pcm_hw_open) Invalid value for card
ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to 
capture-only mode
cannot load driver module alsa
----8<----


I would expect hw:mycard to be found, and the sound to play through card 1, but 
it just fails.

[0] http://lalists.stanford.edu/lau/2010/07/0526.html
[1] http://lalists.stanford.edu/lau/2010/07/0589.html

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: alsa-base 1.0.22.1+dfsg-0ubuntu3
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/pcmC1D0p:   david      2128 F...m pulseaudio
 /dev/snd/controlC0:  david      2128 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xff8d8000 irq 22'
   Mixer name   : 'Realtek ALC262'
   Components   : 'HDA:10ec0262,11790588,00100100 
HDA:11c13026,11790001,00100700'
   Controls      : 22
   Simple ctrls  : 15
Card1.Amixer.info:
 Card hw:1 'Pro'/'M-Audio FastTrack Pro at usb-0000:00:1d.2-1, full speed'
   Mixer name   : 'USB Mixer'
   Components   : 'USB0763:2012'
   Controls      : 0
   Simple ctrls  : 0
Card1.Amixer.values:
 
Date: Mon Jul 19 21:09:53 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release Candidate amd64 
(20091020.3)
PackageArchitecture: all
ProcEnviron:
 LANG=en_GB.utf8
 SHELL=/bin/bash
SourcePackage: alsa-driver
dmi.bios.date: 11/22/2007
dmi.bios.vendor: TOSHIBA
dmi.bios.version: Version 1.70
dmi.board.name: Portable PC
dmi.board.vendor: TOSHIBA
dmi.board.version: Version A0
dmi.chassis.asset.tag: 0000000000
dmi.chassis.type: 10
dmi.chassis.vendor: TOSHIBA
dmi.chassis.version: Version 1.0
dmi.modalias: 
dmi:bvnTOSHIBA:bvrVersion1.70:bd11/22/2007:svnTOSHIBA:pnTECRAA9:pvrPTS52E-06300YEN:rvnTOSHIBA:rnPortablePC:rvrVersionA0:cvnTOSHIBA:ct10:cvrVersion1.0:
dmi.product.name: TECRA A9
dmi.product.version: PTS52E-06300YEN
dmi.sys.vendor: TOSHIBA

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


** Tags: amd64 apport-bug lucid

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

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

Reply via email to