-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

problem:
Code:
 $ cat /proc/asound/cards
 0 [AudioPCI       ]: ENS1371 - Ensoniq AudioPCI
                      Ensoniq AudioPCI ENS1371 at 0x9c00, irq 11
 1 [U0x46d0x8a2    ]: USB-Audio - USB Device 0x46d:0x8a2
                      USB Device 0x46d:0x8a2 at usb-0000:02:07.1-1, full
speed
 2 [CS46xx         ]: CS46xx - Sound Fusion CS46xx
                      Sound Fusion CS46xx at 0xe3128000/0xe3000000, irq 11
[EMAIL PROTECTED] ~ $ su
Password:
bigone niv # /etc/init.d/alsasound restart
 * Storing ALSA Mixer Levels ...
  [ ok ]
 * Unloading ALSA ...
  [ ok ]
 * Unloading ALSA modules ...
  [ ok ]
 * Loading ALSA modules ...
 *   Loading: snd-card-0 ...
  [ ok ]
 *   Loading: snd-card-1 ...
  [ ok ]
 *   Loading: snd-card-2 ...
  [ ok ]
 *   Loading: snd-card-3 ...
FATAL: Error inserting snd_bt_sco
(/lib/modules/2.6.16-ck6-r1/misc/snd-bt-sco.ko
): Invalid module format
  [ !! ]
 *   Loading: snd-seq-midi ...
  [ ok ]
 * Restoring Mixer Levels ...
/usr/sbin/alsactl: load_state:1250: Cannot find soundcard '2'...
 * Errors while restoring defaults, ignoring
  [ ok ]
bigone niv # cat /proc/asound/cards
 0 [CS46xx         ]: CS46xx - Sound Fusion CS46xx
                      Sound Fusion CS46xx at 0xe3128000/0xe3000000, irq 11
 1 [AudioPCI       ]: ENS1371 - Ensoniq AudioPCI
                      Ensoniq AudioPCI ENS1371 at 0x9c00, irq 11
 2 [U0x46d0x8a2    ]: USB-Audio - USB Device 0x46d:0x8a2
                      USB Device 0x46d:0x8a2 at usb-0000:02:07.1-1, full
speed



starting after cold reset of the system , if I reset alsa , it chanages
the order the sound cards are mapped.
I allready solved it by using the /etc/modules.d/alsa :
Code:

cat /etc/modules.d/alsa
# Alsa 0.9.X kernel modules' configuration file.
# $Header:
/var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v
1.4 2004/11/16 01:31:22 eradicator Exp $

alias snd-card-0 snd-cs46xx
alias snd-card-1 snd-ens1371
alias snd-card-2 snd-usb-audio
alias snd-card-3 snd-bt-sco


I also wrote udev rules to have the oss devices as /dev/snd/pcmC0D0
constant:

Code:

# cat /etc/udev/rules.d/07-local.rules

KERNEL=="pcm[CD0-9cp]*" ,BUS=="usb",SYSFS{idVendor}=="046d",
SYSFS{idProduct}=="08a2", NAME="snd/pcmC2D0c" , SYMLINK="pcmC2D0c" ,
GROUP="audio"
KERNEL=="controlC[0-9]*",BUS=="usb",SYSFS{idVendor}=="046d",
SYSFS{idProduct}=="08a2", NAME="sound/controlIC2" , SYMLINK="controlIC2"
, GROUP="audio"
KERNEL=="audio[0-9]*",BUS=="usb",SYSFS{idVendor}=="046d",
SYSFS{idProduct}=="08a2", NAME="sound/audio2" , SYMLINK="audio2" ,
GROUP="audio"
KERNEL=="dsp[0-9]*", BUS=="usb",SYSFS{idVendor}=="046d",
SYSFS{idProduct}=="08a2", NAME="sound/dsp2" , SYMLINK="dsp2" , GROUP="audio"
KERNEL=="mixer[0-9]*",BUS=="usb",SYSFS{idVendor}=="046d",
SYSFS{idProduct}=="08a2", NAME="sound/mixer2" , SYMLINK="mixer2" ,
GROUP="audio"


uname : 2.6.16-ck6-r1 #0 PREEMPT Sun Apr 23 00:01:33 IDT 2006 i686
Intel(R) Pentium(R) 4 CPU 1.80GHz GNU/Linux

running sys-apps/hotplug-20040923-r2

Should this be reported at the hotplug ML?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFES1c0kwazfG0MmCYRAnhFAJ9sLhHjyOXdG3s74L1bAQEPHViS/ACgpvok
TUIph9gBd9w47KLSbP+9/vQ=
=MWHX
-----END PGP SIGNATURE-----


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to