[Alsa-user] Maxi Sound Guillemot problem
Brought to you by:
perex
From: Gilles D. <gd...@sa...> - 2001-11-27 10:58:51
|
Hi all, I'm trying to have a Guillemot Maxi Sound Home Studio working with Linux RH7.1 and Alsa es18xx driver. After reading many document about that I still have problem with it. All seems to be well recognized by the system but alsamixer still fail to run with error: alsamixer: simple.c:868: simple_add1: Assertion `!simple->ctls[type].elem' failed. Aborted (core dumped) I really don't know what's happen. If someone have the same card working and can give the solution and/or his configuration files it should be a great help. Here is my configurations files and what the system (and me) understand: uname -a Linux www 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 unknown Alsa-driver 0.9.0beta9 /etc/modules.conf alias char-major-14 soundcore alias char-major-116 snd alias sound-slot-0 snd-card-0 alias sound-service-0-0 snd-mixer-oss alias sound-service-0-1 snd-seq-oss alias sound-service-0-3 snd-pcm-oss alias sound-service-0-8 snd-seq-oss alias sound-service-0-12 snd-pcm-oss alias snd-card-0 snd-card-es18xx I first activate the isapnp card and then I load this modules with the /etc/rc.d/init.d/alsasound start script. ESS AudioDrive ES1868 and mixer00 are NOT ENABLE IN CONFIG when I run /proc/asound/sndstat and after loading snd-pcm-oss with modprobe all seems to be well. ---------------------------------------------------------------------------------- cat /proc/asound/sndstat Sound Driver:3.8.1a-980706 (ALSA v0.9.0beta9 emulation code) Kernel: Linux www 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 Config options: 0 Installed drivers: Type 10: ALSA emulation Card config: ESS AudioDrive ES1868 at 0x220, irq 5, dma1 1, dma2 3 Audio devices: 0: ESS AudioDrive ES1868 (DUPLEX) Synth devices: 0: OPL3 FM Midi devices: 0: MPU-401 (UART) Timers: 7: system timer Mixers: 0: mixer00 ---------------------------------------------------------------------------------- cat /proc/interrupts CPU0 0: 73080 XT-PIC timer 1: 1025 XT-PIC keyboard 2: 0 XT-PIC cascade 5: 1 XT-PIC ES18xx 8: 1 XT-PIC rtc 12: 2276 XT-PIC PS/2 Mouse 14: 52721 XT-PIC ide0 15: 12 XT-PIC ide1 NMI: 0 ERR: 0 ----------------------------------------------------------------------------------- cat /proc/dma [No write since last change] 1: ES18xx DMA 1 3: ES18xx DMA 2 4: cascade ----------------------------------------------------------------------------------- lsmod Module Size Used by snd-pcm-oss 41488 0 (unused) snd-mixer-oss 9392 0 [snd-pcm-oss] snd-synth-opl3 10928 0 (unused) snd-seq-instr 5200 0 [snd-synth-opl3] snd-seq-midi-emul 5312 0 [snd-synth-opl3] snd-seq 39632 0 [snd-synth-opl3 snd-seq-instr snd-seq-midi-emul] snd-ainstr-fm 1904 0 [snd-synth-opl3] snd-card-es18xx 16624 0 snd-pcm 51392 0 [snd-pcm-oss snd-card-es18xx] snd-opl3 6320 0 [snd-synth-opl3 snd-card-es18xx] snd-timer 9904 0 [snd-seq snd-pcm snd-opl3] snd-hwdep 4016 0 [snd-opl3] snd-mpu401-uart 3312 0 [snd-card-es18xx] snd-rawmidi 12448 0 [snd-mpu401-uart] snd-seq-device 4336 0 [snd-synth-opl3 snd-seq snd-opl3 snd-rawmidi] snd 29792 0 [snd-pcm-oss snd-mixer-oss snd-synth-opl3 snd-seq-instr snd-seq snd-card-es18xx snd-pcm snd-opl3 snd-timer snd-hwdep snd-mpu401-uart snd-rawmidi snd-seq-device] soundcore 4464 6 [snd] parport_pc 17968 1 (autoclean) lp 5168 0 (autoclean) parport 25952 1 (autoclean) [parport_pc lp] ipchains 38976 0 (unused) ide-scsi 8352 0 scsi_mod 95104 1 [ide-scsi] ide-cd 26848 0 cdrom 27232 0 [ide-cd] ----------------------------------------------------------------------------------- strace -s 128 -f -e trace=all alsamixer execve("/usr/bin/alsamixer", ["alsamixer"], [/* 28 vars */]) = 0 uname({sys="Linux", node="www", ...}) = 0 brk(0) = 0x804ff80 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=84574, ...}) = 0 old_mmap(NULL, 84574, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000 close(3) = 0 open("/usr/lib/libncurses.so.5", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\342\0\0004\0\0\0004\352\3\0\0\0\0\0004\0 \0\3\0(\0\30\0\27\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0^\3\0\0^\3\0\5\0\0\0\0\20\0\0\1\0\0\0\0^\3\0\0n\3\0\0n\3\0004\200\0\0\300\256\0\0\6\0\0\0\0\20\0\0\2"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0755, st_size=257524, ...}) = 0 old_mmap(NULL, 269504, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4002d000 mprotect(0x40063000, 48320, PROT_NONE) = 0 old_mmap(0x40063000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x35000) = 0x40063000 old_mmap(0x4006c000, 11456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4006c000 close(3) = 0 open("/usr/lib/libasound.so.2", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0ps\1\0004\0\0\0\274\355\27\0\0\0\0\0004\0 \0\3\0(\0#\0 \0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0l\323\6\0l\323\6\0\5\0\0\0\0\20\0\0\1\0\0\0\200\323\6\0\200\343\6\0\200\343\6\0\224.\0\0\320.\0\0\6\0\0\0\0\20"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0755, st_size=1660238, ...}) = 0 old_mmap(NULL, 463440, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4006f000 mprotect(0x400dd000, 12880, PROT_NONE) = 0 old_mmap(0x400dd000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x6d000) = 0x400dd000 close(3) = 0 open("/lib/i686/libm.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320J\0\0004\0\0\0T\362\10\0\0\0\0\0004\0 \0\6\0(\0#\0 \0\6\0\0\0004\0\0\0004\0\0\0004\0\0\0\300\0\0\0\300\0\0\0\5\0\0\0\4\0\0\0\3\0\0\0 )\2\0 )\2\0 )\2\0\23\0\0\0\23\0\0\0\4\0\0\0\1\0\0\0\1\0\0\0\0\0"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0755, st_size=627312, ...}) = 0 old_mmap(NULL, 146212, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x400e1000 mprotect(0x40104000, 2852, PROT_NONE) = 0 old_mmap(0x40104000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x22000) = 0x40104000 close(3) = 0 open("/lib/libdl.so.2", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240 \0\0004\0\0\0\24\34\1\0\0\0\0\0004\0 \0\6\0(\0 \0\35\0\6\0\0\0004\0\0\0004\0\0\0004\0\0\0\300\0\0\0\300\0\0\0\5\0\0\0\4\0\0\0\3\0\0\0\356#\0\0\356#\0\0\356#\0\0\23\0\0\0\23\0\0\0\4\0\0\0\1\0\0\0"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0755, st_size=79024, ...}) = 0 old_mmap(NULL, 13760, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40105000 mprotect(0x40108000, 1472, PROT_NONE) = 0 old_mmap(0x40108000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2000) = 0x40108000 close(3) = 0 open("/lib/i686/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\302\1\0004\0\0\0h\247S\0\0\0\0\0004\0 \0\6\0(\0B\0?\0\6\0\0\0004\0\0\0004\0\0\0004\0\0\0\300\0\0\0\300\0\0\0\5\0\0\0\4\0\0\0\3\0\0\0$_\22\0$_\22\0$_\22\0\23\0\0\0\23\0\0\0\4\0\0\0\1\0\0\0\1\0\0\0"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0755, st_size=5634864, ...}) = 0 old_mmap(NULL, 1242920, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40109000 mprotect(0x4022f000, 38696, PROT_NONE) = 0 old_mmap(0x4022f000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x125000) = 0x4022f000 old_mmap(0x40235000, 14120, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40235000 close(3) = 0 open("/lib/i686/libpthread.so.0", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0PQ\0\0004\0\0\0\34\300\7\0\0\0\0\0004\0 \0\6\0(\0#\0 \0\6\0\0\0004\0\0\0004\0\0\0004\0\0\0\300\0\0\0\300\0\0\0\5\0\0\0\4\0\0\0\3\0\0\0\260\315\0\0\260\315\0\0\260\315\0\0\23\0\0\0\23\0\0\0\4\0\0\0\1\0"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0755, st_size=528849, ...}) = 0 old_mmap(NULL, 84820, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40239000 mprotect(0x40246000, 31572, PROT_NONE) = 0 old_mmap(0x40246000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xc000) = 0x40246000 close(3) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4024e000 munmap(0x40018000, 84574) = 0 modify_ldt(0x1, 0xbffff9d4, 0x10) = 0 getpid() = 1105 rt_sigaction(SIGRT_0, {0x402423b0, [], 0x4000000}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {0x40241800, [], 0x4000000}, NULL, 8) = 0 rt_sigaction(SIGRT_2, {0x40242400, [], 0x4000000}, NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [RT_0], NULL, 8) = 0 _sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbffff684, 30, (nil), 0}) = 0 getpid() = 1105 brk(0) = 0x804ff80 brk(0x804ffb0) = 0x804ffb0 brk(0x8050000) = 0x8050000 brk(0x8051000) = 0x8051000 stat64("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=7029, ...}) = 0 open("/usr/share/alsa/alsa.conf", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=7029, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000 read(3, "#\n# ALSA library configuration file\n#\n\n# preload configuration files\n\n@hooks [\n\t{\n\t\tfunc load\n\t\tfiles [\n\t\t\t\"/etc/asound.conf\"\n\t"..., 4096) = 4096 brk(0x8052000) = 0x8052000 brk(0x8053000) = 0x8053000 brk(0x8054000) = 0x8054000 read(3, "ts.ctl.card\n\t\t\t}\n\t\t}\n\t}\n\ttype hw\n\tcard $CARD\n}\n\nctl.shm {\n\t@args [ SOCKET CTL ]\n\t...@ar...CKET {\n\t\ttype string\n\t}\n\t@args.CTL {\n\t\t"..., 4096) = 2933 brk(0x8055000) = 0x8055000 brk(0x8056000) = 0x8056000 brk(0x8057000) = 0x8057000 read(3, "", 4096) = 0 read(3, "", 4096) = 0 close(3) = 0 munmap(0x40018000, 4096) = 0 access("/etc/asound.conf", R_OK) = -1 ENOENT (No such file or directory) access("/root/.asoundrc", R_OK) = 0 brk(0x8058000) = 0x8058000 open("/root/.asoundrc", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=32, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000 read(3, "ctl.mixer0 {\n\ttype hw\n\tcard 0\n}\n", 4096) = 32 read(3, "", 4096) = 0 read(3, "", 4096) = 0 close(3) = 0 munmap(0x40018000, 4096) = 0 open("/dev/snd/controlC0", O_RDONLY) = 3 close(3) = 0 open("/dev/snd/controlC0", O_RDWR) = 3 ioctl(3, 0x80045500, 0xbffff5cc) = 0 ioctl(3, 0x81785501, 0xbffff850) = 0 close(3) = 0 stat64("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=7029, ...}) = 0 open("/dev/snd/controlC0", O_RDONLY) = 3 close(3) = 0 open("/dev/snd/controlC0", O_RDWR) = 3 ioctl(3, 0x80045500, 0xbffff56c) = 0 fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR) fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 ioctl(3, 0xc0485510, 0xbffff7a0) = 0 ioctl(3, 0xc0485510, 0xbffff7a0) = 0 ioctl(3, 0xc1105511, 0xbffff4c0) = 0 brk(0x8059000) = 0x8059000 ioctl(3, 0xc2c45512, 0xbfffed80) = 0 ioctl(3, 0xc1105511, 0xbffff4c0) = 0 ioctl(3, 0xc2c45512, 0xbfffed80) = 0 ioctl(3, 0xc2c45512, 0xbfffed80) = 0 ioctl(3, 0xc1105511, 0xbffff4c0) = 0 ioctl(3, 0xc2c45512, 0xbfffed80) = 0 ioctl(3, 0xc1105511, 0xbffff4c0) = 0 ioctl(3, 0xc2c45512, 0xbfffed80) = 0 ioctl(3, 0xc1105511, 0xbffff4c0) = 0 ioctl(3, 0xc2c45512, 0xbfffed80) = 0 ioctl(3, 0xc2c45512, 0xbfffed80) = 0 ioctl(3, 0xc1105511, 0xbffff4c0) = 0 ioctl(3, 0xc2c45512, 0xbfffed80) = 0 ioctl(3, 0xc1105511, 0xbffff4c0) = 0 ioctl(3, 0xc2c45512, 0xbfffed80) = 0 ioctl(3, 0xc1105511, 0xbffff4c0) = 0 brk(0x805a000) = 0x805a000 ioctl(3, 0xc2c45512, 0xbfffed80) = 0 ioctl(3, 0xc1105511, 0xbffff4c0) = 0 ioctl(3, 0xc2c45512, 0xbfffed80) = 0 ioctl(3, 0xc1105511, 0xbffff4c0) = 0 ioctl(3, 0xc2c45512, 0xbfffed80) = 0 ioctl(3, 0xc1105511, 0xbffff4c0) = 0 write(2, "alsamixer: simple.c:868: simple_add1: Assertion `!simple->ctls[type].elem\' failed.\n", 83alsamixer: simple.c:868: simple_add1: Assertion `!simple->ctls[type].elem' failed. ) = 83 rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0 getpid() = 1105 kill(1105, SIGABRT) = 0 --- SIGABRT (Aborted) --- +++ killed by SIGABRT +++ ----------------------------------------------------------------------------------- /proc/isapnp Card 1 'ESS1868:Maxi Sound 64 Series' PnP version 1.0 Product version 1.0 Logical device 0 'ESS8600:Unknown' Device is active Active port 0x800 Resources 0 Priority preferred Port 0x800-0xff8, align 0x7, size 0x8, 16-bit address decoding Logical device 1 'ESS8601:Unknown' Device is active Active port 0x220,0x388,0x320 Active IRQ 5 [0x2],5 [0x2] Active DMA 1,3 Resources 0 Priority preferred Port 0x220-0x220, align 0x0, size 0x10, 10-bit address decoding Port 0x388-0x388, align 0x0, size 0x4, 10-bit address decoding Port 0x320-0x320, align 0x0, size 0x2, 10-bit address decoding IRQ 5 High-Edge DMA 1 8-bit byte-count compatible DMA 0,3 8-bit byte-count compatible Alternate resources 0:1 Priority acceptable Port 0x220-0x240, align 0x1f, size 0x10, 16-bit address decoding Port 0x388-0x388, align 0x0, size 0x4, 10-bit address decoding Port 0x300-0x320, align 0xf, size 0x2, 16-bit address decoding IRQ 5,7,10,11 High-Edge DMA 1 8-bit byte-count compatible DMA 0,3 8-bit byte-count compatible Alternate resources 0:2 Priority acceptable Port 0x220-0x280, align 0x1f, size 0x10, 16-bit address decoding Port 0x388-0x388, align 0x0, size 0x4, 10-bit address decoding Port 0x300-0x330, align 0xf, size 0x2, 16-bit address decoding IRQ 5,7,2/9,10,11,12 High-Edge DMA 0,1,3 8-bit byte-count compatible DMA 0,1,3 8-bit byte-count compatible Alternate resources 0:3 Priority acceptable Port 0x220-0x280, align 0x1f, size 0x10, 16-bit address decoding Port 0x388-0x388, align 0x0, size 0x4, 10-bit address decoding Port 0x800-0xffe, align 0x1, size 0x2, 16-bit address decoding IRQ 5,7,2/9,10,11,12 High-Edge DMA 0,1,3 8-bit byte-count compatible DMA 0,1,3 8-bit byte-count compatible Alternate resources 0:4 Priority functional Port 0x220-0x280, align 0x1f, size 0x10, 16-bit address decoding Port 0x800-0xffc, align 0x3, size 0x4, 16-bit address decoding Port 0x800-0xffe, align 0x1, size 0x2, 16-bit address decoding IRQ 5,7,2/9,10,11,12 High-Edge DMA 0,1,3 8-bit byte-count compatible DMA 0,1,3 8-bit byte-count compatible Logical device 2 'ESS8602:Unknown' Compatible device PNPb02f Device is active Resources 0 Priority preferred Port 0x201-0x201, align 0x0, size 0x1, 10-bit address decoding Alternate resources 0:1 Priority acceptable Port 0x200-0x20f, align 0x0, size 0x1, 16-bit address decoding Logical device 3 'ESS8603:Unknown' Device is active Resources 0 Priority preferred Port 0x330-0x330, align 0x0, size 0x6, 10-bit address decoding IRQ 2/9 High-Edge Alternate resources 0:1 Priority acceptable Port 0x330-0xff0, align 0xf, size 0x6, 16-bit address decoding IRQ 5,7,2/9,10,11,12 High-Edge Regards Gilles DAROLD |