$ uname -r
2.6.24-16-generic
/*
Manually Specify Module Parameters
*
First you must find which model of sound card you use, so run this
command:
cat /proc/asound/card0/codec#* | grep Codec
*/
[EMAIL PROTECTED]:~$ cat /proc/asound/card0/codec#* | grep Codec
Codec: SigmaTel STAC9250
Codec: Motorola Si3054
/*
It will return model of your sound card(s), for example: "Codec: Realtek
ALC260", so your sound card is ALC260.
*
You should open a file in ALSA documentation. This file is here (replace
KERNEL_VERSION with your kernel's version!):
/usr/src/KERNEL_VERSION/Documentation/sound/alsa/ALSA-Configuration.txt
If you didn't have this file, for version 2.6.22, you can check out [WWW] this
link or you can find ALSA-Configuration.txt in the subdirectory
/alsa-kernel/Documentation/ of the alsa-driver-1.x.x directory you created.
*
*/
Search for your model, and take a look at its types, for example I found
the following lines for STA9250
ALSA-Configuration.txt info from Alsa 1.0.16 Drivers:
STAC9202/9250/9251
ref Reference board, base config
m2-2 Some Gateway MX series laptops
m6 Some Gateway NX series laptops
pa6 Gateway NX860 series
[EMAIL PROTECTED]:~$ lspci -nv
00:00.0 0600: 8086:27a0 (rev 03)
Subsystem: 107b:0366
Flags: bus master, fast devsel, latency 0
Capabilities: <access denied>
00:02.0 0300: 8086:27a2 (rev 03) (prog-if 00 [VGA controller])
Subsystem: 107b:0366
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at d8100000 (32-bit, non-prefetchable) [size=512K]
I/O ports at 1800 [size=8]
Memory at c0000000 (32-bit, prefetchable) [size=256M]
Memory at d8200000 (32-bit, non-prefetchable) [size=256K]
Capabilities: <access denied>
00:02.1 0380: 8086:27a6 (rev 03)
Subsystem: 107b:0366
Flags: bus master, fast devsel, latency 0
Memory at d8180000 (32-bit, non-prefetchable) [size=512K]
Capabilities: <access denied>
00:1b.0 0403: 8086:27d8 (rev 02)
Subsystem: 107b:0366
Flags: bus master, fast devsel, latency 0, IRQ 21
Memory at d8240000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
00:1c.0 0604: 8086:27d0 (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 00002000-00002fff
Memory behind bridge: d4000000-d5ffffff
Prefetchable memory behind bridge: 00000000d0000000-00000000d1ffffff
Capabilities: <access denied>
00:1c.1 0604: 8086:27d2 (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: 00003000-00003fff
Memory behind bridge: d6000000-d7ffffff
Prefetchable memory behind bridge: 00000000d2000000-00000000d3ffffff
Capabilities: <access denied>
00:1d.0 0c03: 8086:27c8 (rev 02) (prog-if 00 [UHCI])
Subsystem: 107b:0366
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at 1820 [size=32]
00:1d.1 0c03: 8086:27c9 (rev 02) (prog-if 00 [UHCI])
Subsystem: 107b:0366
Flags: bus master, medium devsel, latency 0, IRQ 19
I/O ports at 1840 [size=32]
00:1d.2 0c03: 8086:27ca (rev 02) (prog-if 00 [UHCI])
Subsystem: 107b:0366
Flags: bus master, medium devsel, latency 0, IRQ 20
I/O ports at 1860 [size=32]
00:1d.3 0c03: 8086:27cb (rev 02) (prog-if 00 [UHCI])
Subsystem: 107b:0366
Flags: bus master, medium devsel, latency 0, IRQ 17
I/O ports at 1880 [size=32]
00:1d.7 0c03: 8086:27cc (rev 02) (prog-if 20 [EHCI])
Subsystem: 107b:0366
Flags: bus master, medium devsel, latency 0, IRQ 18
Memory at d8444000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
00:1e.0 0604: 8086:2448 (rev e2) (prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=04, subordinate=08, sec-latency=32
Memory behind bridge: d8000000-d80fffff
Capabilities: <access denied>
00:1f.0 0601: 8086:27b9 (rev 02)
Subsystem: 107b:0366
Flags: bus master, medium devsel, latency 0
Capabilities: <access denied>
00:1f.1 0101: 8086:27df (rev 02) (prog-if 8a [Master SecP PriP])
Subsystem: 107b:0366
Flags: bus master, medium devsel, latency 0, IRQ 19
I/O ports at 01f0 [size=8]
I/O ports at 03f4 [size=1]
I/O ports at 0170 [size=8]
I/O ports at 0374 [size=1]
I/O ports at 1810 [size=16]
00:1f.2 0106: 8086:27c5 (rev 02) (prog-if 01 [AHCI 1.0])
Subsystem: 107b:0366
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 221
I/O ports at 18d0 [size=8]
I/O ports at 18c4 [size=4]
I/O ports at 18c8 [size=8]
I/O ports at 18c0 [size=4]
I/O ports at 18b0 [size=16]
Memory at d8444400 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
00:1f.3 0c05: 8086:27da (rev 02)
Subsystem: 107b:0366
Flags: medium devsel, IRQ 10
I/O ports at 18e0 [size=32]
02:00.0 0200: 11ab:4352 (rev 14)
Subsystem: 107b:0366
Flags: bus master, fast devsel, latency 0, IRQ 220
Memory at d4000000 (64-bit, non-prefetchable) [size=16K]
I/O ports at 2000 [size=256]
Capabilities: <access denied>
03:00.0 0280: 8086:4222 (rev 02)
Subsystem: 8086:1000
Flags: bus master, fast devsel, latency 0, IRQ 219
Memory at d6000000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
04:09.0 0607: 104c:8039
Subsystem: 107b:0366
Flags: bus master, medium devsel, latency 168, IRQ 16
Memory at d8006000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=04, secondary=05, subordinate=08, sec-latency=176
Memory window 0: 50000000-53fff000 (prefetchable)
Memory window 1: 54000000-57fff000
I/O window 0: 00001400-000014ff
I/O window 1: 00001c00-00001cff
16-bit legacy interface ports at 0001
04:09.1 0c00: 104c:803a (prog-if 10 [OHCI])
Subsystem: 107b:0366
Flags: bus master, medium devsel, latency 64, IRQ 20
Memory at d8005000 (32-bit, non-prefetchable) [size=2K]
Memory at d8000000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
04:09.2 0180: 104c:803b
Subsystem: 107b:0366
Flags: bus master, medium devsel, latency 64, IRQ 16
Memory at d8004000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
[EMAIL PROTECTED]:~$ sudo gedit /etc/modprobe.d/alsa-base
# 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 && { /sbin/modprobe --quiet
snd-ioctl32 ; : ; }
install snd-pcm /sbin/modprobe --ignore-install snd-pcm && { /sbin/modprobe
--quiet snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer && { /sbin/modprobe
--quiet snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq && { /sbin/modprobe
--quiet snd-seq-midi ; /sbin/modprobe --quiet snd-seq-oss ; : ; }
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && {
/sbin/modprobe --quiet 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 -Qb snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS
&& { /sbin/modprobe -Qb 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 -Qb saa7134-alsa ; : ; }
# Load snd-seq for devices that don't have hardware midi;
# Ubuntu #26283, #43682, #56005; works around Ubuntu #34831 for
# non-Creative Labs PCI hardware
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe -Qb snd-seq
; }
# 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-usx2y index=-2
options snd-usb-caiaq index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
options snd-hda-intel model=ref
--
Alsa doesn't work with Ekiga Softphone
https://bugs.launchpad.net/bugs/229149
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to ekiga in ubuntu.
--
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs