Hola lista, Hace unos días realicé la misma pregunta a la lista pero como no obtuve respuestas que me lo solucionaran y el problema persiste, ¡ahí va eso!.
Tengo una SoundBlaster PCI64 y el kernel 2.1.125 con todo puesto para que funcione el sonido para SB 100% compatibles y el sonido no me tira. Al ejecutar cualquier aplicación de sonido aparece el mensaje "/dev/dsp no configurado". En /proc/pci he descubierto que en dispositivos encontrados dice: Bus 0, device 11, function 0: Multimedia audio controller: Ensoniq AudioPCI (rev 0). Slow devsel. IRQ a. Master Capable. Latency=32. Min Gnt=12.Max Lat=128. I/O at 0xd000 [0xd001]. Adjunto tanto los mensajes de dmesg como otros que puedan aclarar el estado de mi sistema en el fichero snd_config.txt. Si hago un "make xconfig", en la sección sound existe las opciones: Ensoniq AudioPCI (ES1370) Creative Ensoniq AudioPCI 97 (ES1371) pero no me deja seleccionarlas. Parece que son las opciones que necesito pues leyendo el help de la ES1370 dice: "Say Y or M if you have a PCI sound card utilizing the Ensoniq ES1370 chipset, such as Ensoniq's Audio PCI (non-97). To find out if your sound card uses an ES1370 without removing your computer's cover, use lspci -n and look the PCI ID 1274:5000. Since Ensoniq was bought by Creative Labs, Sound Blaster 64/PCI models are either ES1370 or 1371 based. This driver differs slightly from OSS/Free, so PLEASE READ Documentation/sound/es1370." y si leo el de la ES1371 dice exactamente lo mismo pero referido al chip 1371. Tras leer Documentation/sound/es1370 y Documentation/sound/es1371 (que también adjunto: es1370.txt, es1371.txt) y no aclararme absolutamente nada, pido por favor al que pueda ayudarme, que me eche un cable pues estoy perdido. Perdón por el rollo y gracias, Javi
[EMAIL PROTECTED] dmesg Linux version 2.1.125 ([EMAIL PROTECTED]) (gcc version 2.7.2.3) #9 SMP Wed Nov 11 12:23:48 CET 1998 mapped APIC to ffffe000 (00236000) mapped IOAPIC to ffffd000 (00237000) Console: colour VGA+ 80x25 Calibrating delay loop... 400.59 BogoMIPS Memory: 63048k/65472k available (948k kernel code, 412k reserved, 1020k data, 44k init) Checking 386/387 coupling... OK, FPU using exception 16 error reporting. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX CPU0: Intel Pentium II (Deschutes) stepping 02 SMP motherboard not detected. Using dummy APIC emulation. PCI: PCI BIOS revision 2.10 entry at 0xf0750 PCI: Using configuration type 1 PCI: Probing PCI hardware Swansea University Computer Society NET3.039 for Linux 2.1 NET3: Unix domain sockets 0.16 for Linux NET3.038. Swansea University Computer Society TCP/IP for NET3.037 IP Protocols: ICMP, UDP, TCP Starting kswapd v 1.5 parport0: PC-style at 0x378 [SPP,ECP,ECPEPP,ECPPS2] parport0: detected irq 7; use procfs to enable interrupt-driven operation. Serial driver version 4.26 with no serial options enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A ttyS01 at 0x02f8 (irq = 3) is a 16550A pty: 256 Unix98 ptys configured lp0: using parport0 (polling). PS/2 auxiliary pointing device detected -- driver installed. APM BIOS version 1.2 Flags 0x03 (Driver version 1.6) Entry f000:7770 cseg16 f000 dseg fdbd cseg len e6ff, cseg16 len 15, dseg len aa Connection version 1.2 AC on line, battery status unknown, battery life unknown battery flag 0x80, battery life unknown Sound initialization started Sound initialization complete PIIX4: IDE controller on PCI bus 00 dev 21 PIIX4: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:DMA, hdb:DMA ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdc:pio, hdd:DMA hda: ST36531A, ATA DISK drive hdb: ST32122A, ATA DISK drive hdd: CREATIVE CD3231E, ATAPI CDROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 hda: ST36531A, 6204MB w/128kB Cache, CHS=790/255/63, UDMA hdb: ST32122A, 2014MB w/128kB Cache, CHS=1023/64/63, UDMA hdd: ATAPI 32X CDROM drive, 512kB Cache Uniform CDROM driver Revision: 2.14 Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 scsi : 0 hosts. scsi : detected total. Partition check: hda: hda1 hdb: hdb1 hdb2 < hdb5 > VFS: Mounted root (ext2 filesystem) readonly. Freeing unused kernel memory: 44k freed Adding Swap: 29700k swap-space (priority -1) lp0: using parport0 (polling). lp: unable to get major 6 CSLIP: code copyright 1989 Regents of the University of California PPP: version 2.3.3 (demand dialling) PPP line discipline registered. PPP BSD Compression module registered TIOCSER?WILD ioctl obsolete, ignored. TIOCSER?WILD ioctl obsolete, ignored. [EMAIL PROTECTED] bplay fichero.wav bplay: /dev/dsp: Operation not supported by device [EMAIL PROTECTED] cat /proc/sound OSS/Free:3.8s2++-971130 Load type: Driver compiled into kernel Kernel: Linux akela 2.1.125 #9 SMP Wed Nov 11 12:23:48 CET 1998 i686 Config options: 0 Installed drivers: Type 1: OPL-2/OPL-3 FM Type 26: MPU-401 (UART) Type 2: Sound Blaster Type 29: Sound Blaster PnP Type 7: SB MPU-401 Card config: (Sound Blaster at 0x220 irq 7 drq 1,5) (SB MPU-401 at 0x330 irq 1 drq 0) (OPL-2/OPL-3 FM at 0x388 drq 0) Audio devices: Synth devices: Midi devices: Timers: 0: System clock Mixers: [EMAIL PROTECTED] cat /proc/pci PCI devices found: Bus 0, device 0, function 0: Host bridge: Intel 440BX - 82443BX Host (rev 2). Medium devsel. Master Capable. Latency=64. Prefetchable 32 bit memory at 0xe4000000 [0xe4000008]. Bus 0, device 1, function 0: PCI bridge: Intel 440BX - 82443BX AGP (rev 2). Medium devsel. Master Capable. Latency=64. Min Gnt=136. Bus 0, device 4, function 0: ISA bridge: Intel 82371AB PIIX4 ISA (rev 2). Medium devsel. Fast back-to-back capable. Master Capable. No bursts. Bus 0, device 4, function 1: IDE interface: Intel 82371AB PIIX4 IDE (rev 1). Medium devsel. Fast back-to-back capable. Master Capable. Latency=32. I/O at 0xd800 [0xd801]. Bus 0, device 4, function 2: USB Controller: Intel 82371AB PIIX4 USB (rev 1). Medium devsel. Fast back-to-back capable. IRQ 5. Master Capable. Latency=32. I/O at 0xd400 [0xd401]. Bus 0, device 4, function 3: Bridge: Intel 82371AB PIIX4 ACPI (rev 2). Medium devsel. Fast back-to-back capable. Bus 0, device 11, function 0: Multimedia audio controller: Ensoniq AudioPCI (rev 0). Slow devsel. IRQ a. Master Capable. Latency=32. Min Gnt=12.Max Lat=128. I/O at 0xd000 [0xd001]. Bus 1, device 0, function 0: VGA compatible controller: Intel Unknown device (rev 33). Vendor id=8086. Device id=7800. Medium devsel. Fast back-to-back capable. IRQ b. Master Capable. No bursts. Prefetchable 32 bit memory at 0xe3000000 [0xe3000008]. Non-prefetchable 32 bit memory at 0xe2000000 [0xe2000000].
ALaw/uLaw sample formats ------------------------ This driver does not support the ALaw/uLaw sample formats. ALaw is the default mode when opening a sound device using OSS/Free. The reason for the lack of support is that the hardware does not support these formats, and adding conversion routines to the kernel would lead to very ugly code in the presence of the mmap interface to the driver. And since xquake uses mmap, mmap is considered important :-) and no sane application uses ALaw/uLaw these days anyway. In short, playing a Sun .au file as follows: cat my_file.au > /dev/dsp does not work. Instead, you may use the play script from Chris Bagwell's sox-12.14 package (available from the URL below) to play many different audio file formats. The script automatically determines the audio format and does do audio conversions if necessary. http://home.sprynet.com/sprynet/cbagwell/projects.html Blocking vs. nonblocking IO --------------------------- Unlike OSS/Free this driver honours the O_NONBLOCK file flag not only during open, but also during read and write. This is an effort to make the sound driver interface more regular. Timidity has problems with this; a patch is available from http://www.ife.ee.ethz.ch/~sailer/linux/pciaudio.html. (Timidity patched will also run on OSS/Free). MIDI UART --------- The driver supports a simple MIDI UART interface, with no ioctl's supported. MIDI synthesizer ---------------- This soundcard does not have any hardware MIDI synthesizer; MIDI synthesis has to be done in software. To allow this the driver/soundcard supports two PCM (/dev/dsp) interfaces. The second one goes to the mixer "synth" setting and supports only a limited set of sampling rates (44100, 22050, 11025, 5512). By setting lineout to 1 on the driver command line (eg. insmod es1370 lineout=1) it is even possible on some cards to convert the LINEIN jack into a second LINEOUT jack, thus making it possible to output four independent audio channels! There is a freely available software package that allows MIDI file playback on this soundcard called Timidity. See http://www.cgs.fi/~tt/timidity/. Thomas Sailer [EMAIL PROTECTED]
ALaw/uLaw sample formats ------------------------ This driver does not support the ALaw/uLaw sample formats. ALaw is the default mode when opening a sound device using OSS/Free. The reason for the lack of support is that the hardware does not support these formats, and adding conversion routines to the kernel would lead to very ugly code in the presence of the mmap interface to the driver. And since xquake uses mmap, mmap is considered important :-) and no sane application uses ALaw/uLaw these days anyway. In short, playing a Sun .au file as follows: cat my_file.au > /dev/dsp does not work. Instead, you may use the play script from Chris Bagwell's sox-12.14 package (available from the URL below) to play many different audio file formats. The script automatically determines the audio format and does do audio conversions if necessary. http://home.sprynet.com/sprynet/cbagwell/projects.html Blocking vs. nonblocking IO --------------------------- Unlike OSS/Free this driver honours the O_NONBLOCK file flag not only during open, but also during read and write. This is an effort to make the sound driver interface more regular. Timidity has problems with this; a patch is available from http://www.ife.ee.ethz.ch/~sailer/linux/pciaudio.html. (Timidity patched will also run on OSS/Free). MIDI UART --------- The driver supports a simple MIDI UART interface, with no ioctl's supported. MIDI synthesizer ---------------- This soundcard does not have any hardware MIDI synthesizer; MIDI synthesis has to be done in software. To allow this the driver/soundcard supports two PCM (/dev/dsp) interfaces. There is a freely available software package that allows MIDI file playback on this soundcard called Timidity. See http://www.cgs.fi/~tt/timidity/. Thomas Sailer [EMAIL PROTECTED]