Newsgroup: it.comp.os.linux.debian
Titolo: Driver alsa per Ensoniq 1371

Salve a tutti,
avrei bisogno di un aiuto nella configurazione dei driver alsa per la
mia scheda audio. Si tratta di una  Ensoniq ES1371
# lspci -vv
....
0000:00:04.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97]
(rev 08)
	Subsystem: Ensoniq Creative Sound Blaster AudioPCI64V, AudioPCI128
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
	Latency: 64 (3000ns min, 32000ns max)
	Interrupt: pin A routed to IRQ 11
	Region 0: I/O ports at 1040 [size=64]
	Capabilities: <available only to root>
....
Inizialmente ho compilato alla debian-way un kernel vanilla 2.4.32
davvero minimale con supporto built-in per pnp, unico modulo caricabile
soundcore.o, ho disabilitato completamente il supporto per OSS.
Ho compilato sempre alla debian-way i driver alsa con i seguenti
parametri di configurazione:
CC="gcc-3.4" ./configure --prefix=/usr
--with-kernel=/home/marcello/source/linux
--with-build=/home/marcello/source/linux
--with-moddir=/lib/modules/2.4.32andy-mac/updates/alsa
--with-sequencer=yes --with-isapnp=no --with-debug=detect
--with-cards="ens1371"
Installazione del kernel e dei moduli alsa completata con successo.
andy:/lib/modules/2.4.32andy-mac/updates/alsa# ls
snd-ac97-codec.o  snd-page-alloc.o  snd-seq-device.o      snd-seq-oss.o
snd-ens1371.o     snd-pcm.o         snd-seq-midi-event.o  snd-timer.o
snd-mixer-oss.o   snd-pcm-oss.o     snd-seq-midi.o
snd.o             snd-rawmidi.o     snd-seq.o
Manualmente con modprobe riesco a caricare i seguenti moduli:
andy:/lib/modules/2.4.32andy-mac/updates/alsa# lsmod
Module                  Size  Used by    Not tainted
snd-ac97-codec         67552   0  (unused)
snd-seq-oss            23008   0  (unused)
snd-seq-midi            3936   0  (unused)
snd-seq-midi-event      3144   0  [snd-seq-oss snd-seq-midi]
snd-rawmidi            13152   0  [snd-seq-midi]
snd-seq                37520   2  [snd-seq-oss snd-seq-midi
snd-seq-midi-event]
snd-seq-device          3764   0  [snd-seq-oss snd-seq-midi snd-rawmidi
snd-seq]
snd-pcm-oss            35456   0  (unused)
snd-mixer-oss          11992   0  [snd-pcm-oss]
snd-pcm                58596   0  [snd-ac97-codec snd-pcm-oss]
snd-timer              14288   0  [snd-seq snd-pcm]
snd                    38024   0  [snd-ac97-codec snd-seq-oss
snd-seq-midi snd-seq-midi-event snd-rawmidi snd-seq snd-seq-device
snd-pcm-oss snd-mixer-oss snd-pcm snd-timer]
snd-page-alloc          5428   0  [snd-seq-oss snd-rawmidi snd-seq
snd-seq-device snd-mixer-oss snd-pcm snd-timer snd]
soundcore               3396   2  [snd]
Il problema è con snd-ens1371
andy:/lib/modules/2.4.32andy-mac/updates/alsa# modprobe snd-ens1371
/lib/modules/2.4.32andy-mac/updates/alsa/snd-ens1371.o: init_module: No
such device
Hint: insmod errors can be caused by incorrect module parameters,
including invalid IO or IRQ parameters.
      You may find more information in syslog or the output from dmesg
      /lib/modules/2.4.32andy-mac/updates/alsa/snd-ens1371.o: insmod
/lib/modules/2.4.32andy-mac/updates/alsa/snd-ens1371.o failed
      /lib/modules/2.4.32andy-mac/updates/alsa/snd-ens1371.o: insmod
snd-ens1371 failed
      andy:/lib/modules/2.4.32andy-mac/updates/alsa#
Alsaconf mi restituisce lo stesso errore.
Qualcuno mi da' un aiuto?
Ciao
--
Marcello

 Qualcuno mi da' un aiuto?
Installa il pacchetto precompilato, ha gią i divers pronti e funzionanti.
Ciao
  Andrea

 Installa il pacchetto precompilato, ha già i divers pronti e funzionanti.
Fatto. Ho seguito il tuo consiglio. Ho installato il
kernel-image-2.4.27-3-386, l' ultimo disponibile in questo momento e i
relativi moduli alsa-modules-2.4.27-386.
L'errore che ottengo è sempre lo stesso, allego un estratto del dmesg
che forse puo' aiutare:
ALSA ../alsa-kernel/pci/ens1370.c:677: codec read timeout (final) at
0x1054, reg = 0x0 [0x0]
ALSA ../alsa-kernel/pci/ens1370.c:677: codec read timeout (final) at
0x1054, reg = 0x7c [0x0]
ALSA ../alsa-kernel/pci/ens1370.c:677: codec read timeout (final) at
0x1054, reg = 0x7e [0x0]
ALSA ../alsa-kernel/pci/ens1370.c:677: codec read timeout (final) at
0x1054, reg = 0x1c [0x0]
ALSA ../alsa-kernel/pci/ens1370.c:677: codec read timeout (final) at
0x1054, reg = 0x0 [0x0]
ALSA ../alsa-kernel/pci/ens1370.c:677: codec read timeout (final) at
0x1054, reg = 0x7c [0x0]
ALSA ../alsa-kernel/pci/ens1370.c:677: codec read timeout (final) at
0x1054, reg = 0x7e [0x0]
ALSA ../alsa-kernel/pci/ens1370.c:677: codec read timeout (final) at
0x1054, reg = 0x3c [0x0]
ALSA ../alsa-kernel/pci/ens1370.c:677: codec read timeout (final) at
0x1054, reg = 0x1c [0x0]
ALSA ../../alsa-kernel/pci/ac97/ac97_codec.c:1907: AC'97 0 does not
respond - RESET
ALSA ../alsa-kernel/pci/ens1370.c:677: codec read timeout (final) at
0x1054, reg = 0x7c [0x0]
ALSA ../alsa-kernel/pci/ens1370.c:677: codec read timeout (final) at
0x1054, reg = 0x7e [0x0]
ALSA ../../alsa-kernel/pci/ac97/ac97_codec.c:1916: AC'97 0 access is
not valid [0x0], removing mixer.
Ho provato a farla funzionare sotto knoppix con kernel 2.6 e il modulo
che viene caricato stranamente è es1371 di tipo OSS.
A questo punto credo che usero' i driver OSS per questa scheda.
Ciao