Hi there, I plan already some time to give the ALSA project a try. Thi is, because OSS in real in NOSS ( Not Open Sound System ;o)
So hookay, Lasy weekend I've tied to install ALSA due to the Alsa-sound-mini-HOWTO and the INSTALL in the driver source tree. ... no luck :o( ... Here are my systemm parameters> OS: i686-pc-linux-gnu kernel: 2.4.16 kerneld support not in use devfs active library: glibc-2.2.4 compiler: gcc-2.95.3 ( patched for glibc-2.2.x ) soundcard: SoundBlaster PCI 64, ( ens1370 ) ALSA-driver: 0.5.12a ALSA-libs: 0.5.10b ALSA-utils: 0.5.10 Configuration for ALSA-driver: # ./configure --with-debug=none --with-isapnp=no \ > --with-oss=yes My devfsd contains: LOOKUP snd MODLOAD ACTION snd REGISTER sound/.* PERMISSIONS root.root 660 REGISTER snd/.* PERMISSIONS root.root 660 The HOWTO says to load the module `snd-card-audiopci', but this module doesn't exist, so I load the module `snd-card-ens1370'. # modprobe soundcore # modprobe snd-card-ens1370 # lsmod Module Size Used by snd-card-ens1370 1856 0 (unused) snd-ens1370 7248 0 [snd-card-ens1370] snd-pcm 27904 0 [snd-ens1370] snd-timer 7824 0 [snd-pcm] snd-rawmidi 9024 0 [snd-ens1370] snd-seq-device 3680 0 [snd-rawmidi] snd-ak4531-codec 13920 0 [snd-ens1370] snd-mixer 21888 0 [snd-ens1370 snd-ak4531-codec] snd 30256 1 [snd-card-ens1370 snd-ens1370 snd-pcm snd-timer snd-rawmidi snd-seq-device snd-ak4531-codec snd-mixer] # modprobe snd-pcm-oss # lsmod Module Size Used by snd-pcm-oss 17696 0 (unused) snd-pcm-plugin 13968 0 [snd-pcm-oss] snd-mixer-oss 4544 0 [snd-pcm-oss] snd-card-ens1370 1856 0 (unused) snd-ens1370 7248 0 [snd-card-ens1370] snd-pcm 27904 0 [snd-pcm-oss snd-pcm-plugin snd-ens1370] snd-timer 7824 0 [snd-pcm] snd-rawmidi 9024 0 [snd-ens1370] snd-seq-device 3680 0 [snd-rawmidi] snd-ak4531-codec 13920 0 [snd-ens1370] snd-mixer 21888 0 [snd-mixer-oss snd-ens1370 snd-ak4531-codec] snd 30256 1 [snd-pcm-oss snd-pcm-plugin snd-mixer-oss snd-card-ens1370 snd-ens1370 snd-pcm snd-timer snd-rawmidi snd-seq-device snd-ak4531-codec snd-mixer] # ls /proc/asound 0 card1 cards devices oss-devices pcm seq sndstat timers version # cat /proc/asound/cards 0 [card1 ]: AudioPCI - Ensoniq AudioPCI Ensoniq AudioPCI ES1370 at 0xe400, irq 11 # ls -l /proc/asound/card1 -rw-r--r-- 1 root root 0 Jan 27 11:30 ak4531 -rw-r--r-- 1 root root 0 Jan 27 11:30 audiopci -r--r--r-- 1 root root 0 Jan 27 11:30 midiD0 -rw-r--r-- 1 root root 0 Jan 27 11:30 mixerD0 -rw-r--r-- 1 root root 0 Jan 27 11:55 pcmD0o -rw-r--r-- 1 root root 0 Jan 27 11:55 pcmD1o -r--r--r-- 1 root root 0 Jan 27 11:30 pcmloopD0S0c -r--r--r-- 1 root root 0 Jan 27 11:30 pcmloopD0S0p -r--r--r-- 1 root root 0 Jan 27 11:30 pcmloopD1S0p As you see I get a lot of empty files in `/proc/asound/cards'. By the way: If I load soundcore before snd-card-ens1370 I get soundcore 3344 0 [snd] from lsmod; If I don't load soundcore, I get soundcore 3344 2 [snd] from `lsmod' after loading snd-card-ens1370. In this approach I included soundcore and ens1370 as modules in the kernel config, and I've removed the ens1370.o after `make modules_install'. So far, so good. I made a kernel recompile with sound support compiled into the kernel without any soundcard as says the HOWTO. Then I rebuilt the driver with full debug. Here are the results: After the `modprobe snd-card-ens1370' I get from the syslog: (none) kernel: PCI: Found IRQ 11 for device 00:08.0 ... that's all. From here on all is as described above. .. whooooo ... trying insmod ... # insmod snd-card-ens1370 /lib/modules/2.4.16/misc/snd-card-ens1370.o: unresolved symbol snd_card_unregist er /lib/modules/2.4.16/misc/snd-card-ens1370.o: unresolved symbol snd_register_inte rrupt /lib/modules/2.4.16/misc/snd-card-ens1370.o: unresolved symbol snd_ensoniq_1370_ pcm /lib/modules/2.4.16/misc/snd-card-ens1370.o: unresolved symbol snd_register_iopo rt /lib/modules/2.4.16/misc/snd-card-ens1370.o: unresolved symbol snd_kcalloc /lib/modules/2.4.16/misc/snd-card-ens1370.o: unresolved symbol snd_register_dma_ channel /lib/modules/2.4.16/misc/snd-card-ens1370.o: unresolved symbol snd_ensoniq_1370_ interrupt /lib/modules/2.4.16/misc/snd-card-ens1370.o: unresolved symbol snd_unregister_io ports /lib/modules/2.4.16/misc/snd-card-ens1370.o: unresolved symbol snd_ensoniq_1370_ create /lib/modules/2.4.16/misc/snd-card-ens1370.o: unresolved symbol snd_ensoniq_1370_ midi /lib/modules/2.4.16/misc/snd-card-ens1370.o: unresolved symbol snd_ensoniq_1370_ mixer /lib/modules/2.4.16/misc/snd-card-ens1370.o: unresolved symbol _snd_kfree /lib/modules/2.4.16/misc/snd-card-ens1370.o: unresolved symbol snd_card_register /lib/modules/2.4.16/misc/snd-card-ens1370.o: unresolved symbol snd_ensoniq_1370_ pcm2 /lib/modules/2.4.16/misc/snd-card-ens1370.o: unresolved symbol snd_card_free /lib/modules/2.4.16/misc/snd-card-ens1370.o: unresolved symbol snd_card_new Turning kmod on, and adding: # ALSA portion alias char-major-116 snd alias snd-card-0 snd-card-ens1370 # # (n)OSS - OSS/FREE portion alias char-major-14 soundcore 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 to modules.conf doesn't change anything. Here are the contents of the files in /proc/asound: ./pcm 00-00: ES1370/1 : ES1370 DAC2/ADC : playback 1 : capture 1 00-01: ES1370/2 : ES1370 DAC1 : playback 1 ./timers G0: system timer : 10000.0us (10000000 ticks) ./sndstat Sound Driver:3.8.2-980706 (ALSA v0.5.12a emulation code) Kernel: Linux (none) 2.4.16 #1 Sun Jan 27 12:22:42 CET 2002 i686 Config options: 0 Installed drivers: Type 10: ALSA emulation Card config: Ensoniq AudioPCI ES1370 at 0xe400, irq 11 Audio devices: NOT ENABLED IN CONFIG Synth devices: NOT ENABLED IN CONFIG Midi devices: 0: ES1370 Timers: 7: system timer Mixers: NOT ENABLED IN CONFIG ( In which config and how can I enable the not enabled devices mentioned here? ) ./oss-devices 2: [0- 2]: raw midi 9: [0- 9]: raw midi ./devices 0: [0] : control 6: [0- 0]: mixer 8: [0- 0]: raw midi 16: [0- 0]: digital audio playback 17: [0- 1]: digital audio playback 24: [0- 0]: digital audio capture 33: : timer ./meminfo pages : 0 bytes (0 pages) kmalloc: 15691 bytes vmalloc: 4096 bytes ./seq/drivers snd-seq-midi,empty,1 The /proc/devices contains: 14 sound 116 alsa As we can't expect in any other kind `amixer' outputs: The ALSA sound driver was not detected in this system. Any clue??? Thanks in advance Frank _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user