[Lugge] Nuovo ma non in panico ;-)

  • From: Andrea Ungaro <semperfi@xxxxxx>
  • To: "[Lugge]" <lugge@xxxxxxxxxxxx>
  • Date: Wed, 6 Jun 2001 19:08:58 -0400

Salve a tutti, sono un novello utente di Linux, ma con una discreta 
esperienza di computer. Sono laureato in ingegneria navale e ho 26 anni.

Conclusa la piccola presentazione, vengo giusto al punto: ho installato Linux 
Mandrake 8.0 e va più o meno tutto bene salvo per un problemino... Harddrake 
(che per chi non usa Mandrake è il software che riconosce e aiuta a 
configurare l' hardware del computer) non vuole saperne di vedere la mia 
normalissima ESS688 (che è SB compatibile al 100%) e me la dà come 
dispositivo sconosciuto.

E va beh, dato che in passato avevo usato RedHat mi sono lanciato subito su 
sndconfig, però stranamente esso non funziona se non lancio prima linuxconf e 
vado su Peripherals / ISA PnP e non confermo la configurazione rilevata (che 
è uno strano ESS0968). Se faccio così e poi lancio sndconfig allora dice che 
non rileva niente e mi permette di scegliere la scheda da una lista, 
configurare i soliti parametri 220/5/1 e poi va tutto bene (suona).

Salvo che al successivo riavvio mi dà un errore (nei moduli del kernel, non 
sono sicuro di aver capito bene perchè scorrono veloci) e se voglio usare l' 
audio devo rifare tutto da capo, il che è piuttosto seccante come potete 
immaginarvi. Credo che i messaggi che dà siano gli stessi che si ottengono 
con modprobe sb:

/lib/modules/2.4.3-20mdk/kernel/drivers/sound/sb.o.gz: init_module: No such 
device
Hint: insmod errors can be caused by incorrect module parameters, including 
invalid IO or IRQ parameters
/lib/modules/2.4.3-20mdk/kernel/drivers/sound/sb.o.gz: insmod 
/lib/modules/2.4.3-20mdk/kernel/drivers/sound/sb.o.gz failed
/lib/modules/2.4.3-20mdk/kernel/drivers/sound/sb.o.gz: insmod sb failed

Questo è il mio file modules.conf
pre-install pcmcia_core CARDMGR_OPTS=-f /etc/rc.d/init.d/pcmcia start
alias scsi_hostadapter ide-scsi
alias sound-slot-0 sb
options sound dmabuf=1
alias synth0 opl3
options opl3 io=0x388
options sb io=0x220 irq=5 dma=1

A questo punto parmi di capire (da un bell' articolo che avevo letto su Linux 
& C. un anno fa) che mi tocca installare i sorgenti del kernel e installare i 
moduli per il supporto audio. O mi sbaglio? Spero di sì ;-) In effetti è 
strano... Se non ci fossero i moduli come mai riesco a suonare dopo tutta la 
procedura di cui sopra?

Se qualcuno può darmi una mano con qualche indicazione più precisa, mi 
farebbe davvero un gran piacere, anche perchè come per quanto mi sforzi di 
capire tutto all' inizio è abbastanza difficile e sono piuttosto in 
confusione :-( Per la cronaca, la mia Linux box è un vecchio P133 con 64 MB 
di RAM. A seguire trovate anche il mio file 
pnpdump.

-- 
Andrea
   @=

# $Id: pnpdump_main.c,v 1.25 2001/01/06 20:45:58 fox Exp $
# Release isapnptools-1.24
# 
# This is free software, see the sources for details.
# This software has NO WARRANTY, use at your OWN RISK
# 
# For details of the output file format, see isapnp.conf(5)
# 
# For latest information and FAQ on isapnp and pnpdump see:
# http://www.roestock.demon.co.uk/isapnptools/
# 
# Compiler flags:  -DREALTIME -DHAVE_PROC -DENABLE_PCI 
-DHAVE_SCHED_SETSCHEDULER -DHAVE_NANOSLEEP -DWANT_TO_VALIDATE
# 
# Trying port address 0273
# Board 1 has serial identifier e9 4d 00 00 00 68 09 73 16

# (DEBUG)
(READPORT 0x0273)
(ISOLATE PRESERVE)
(IDENTIFY *)
(VERBOSITY 2)
(CONFLICT (IO FATAL)(IRQ FATAL)(DMA FATAL)(MEM FATAL)) # or WARNING

# Card 1: (serial identifier e9 4d 00 00 00 68 09 73 16)
# Vendor Id ESS0968, Serial Number 1291845632, checksum 0xE9.
# Version 1.0, Vendor version 1.0
# ANSI string -->ESS PnP AudioDrive<--
#
# Logical device id ESS0969
#     Device supports vendor reserved register @ 0x3a
#     Device supports vendor reserved register @ 0x3d
#     Device supports vendor reserved register @ 0x3e
#
# Edit the entries below to uncomment out the configuration required.
# Note that only the first value of any range is given, this may be changed 
if required
# Don't forget to uncomment the activate (ACT Y) when happy

(CONFIGURE ESS0968/1291845632 (LD 0
#     Logical device decodes 10 bit IO address lines
#         Minimum IO base address 0x0220
#         Maximum IO base address 0x0250
#         IO base alignment 16 bytes
#         Number of IO addresses required: 16
# (IO 0 (SIZE 16) (BASE 0x0220))
#     IRQ 5, 7, 9 or 10.
#         High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))
#     First DMA channel 0, 1 or 3.
#         8 bit DMA only
#         Logical device is a bus master
#         DMA may not execute in count by byte mode
#         DMA may not execute in count by word mode
#         DMA channel speed in compatible mode
# (DMA 0 (CHANNEL 0))
 (NAME "ESS0968/1291845632[0]{ESS PnP AudioDrive  }")
# (ACT Y)
))
#
# Logical device id PNPb020
#     Device supports vendor reserved register @ 0x3a
#     Device supports vendor reserved register @ 0x3d
#     Device supports vendor reserved register @ 0x3e
#
# Edit the entries below to uncomment out the configuration required.
# Note that only the first value of any range is given, this may be changed 
if required
# Don't forget to uncomment the activate (ACT Y) when happy

(CONFIGURE ESS0968/1291845632 (LD 1
#     Fixed IO base address 0x0388
#         Number of IO addresses required: 4
# (IO 0 (SIZE 4) (BASE 0x0388))
 (NAME "ESS0968/1291845632[1]{ESS PnP AudioDrive  }")
# (ACT Y)
))
#
# Logical device id PNPb02f
#     Device supports vendor reserved register @ 0x3a
#     Device supports vendor reserved register @ 0x3d
#     Device supports vendor reserved register @ 0x3e
#
# Edit the entries below to uncomment out the configuration required.
# Note that only the first value of any range is given, this may be changed 
if required
# Don't forget to uncomment the activate (ACT Y) when happy

(CONFIGURE ESS0968/1291845632 (LD 2
#     Fixed IO base address 0x0201
#         Number of IO addresses required: 1
# (IO 0 (SIZE 1) (BASE 0x0201))
 (NAME "ESS0968/1291845632[2]{ESS PnP AudioDrive  }")
# (ACT Y)
))
#
# Logical device id PNPb006
#     Device supports vendor reserved register @ 0x38
#     Device supports vendor reserved register @ 0x3a
#     Device supports vendor reserved register @ 0x3d
#     Device supports vendor reserved register @ 0x3e
#
# Edit the entries below to uncomment out the configuration required.
# Note that only the first value of any range is given, this may be changed 
if required
# Don't forget to uncomment the activate (ACT Y) when happy

(CONFIGURE ESS0968/1291845632 (LD 3
#     Logical device decodes 10 bit IO address lines
#         Minimum IO base address 0x0300
#         Maximum IO base address 0x0330
#         IO base alignment 16 bytes
#         Number of IO addresses required: 2
# (IO 0 (SIZE 2) (BASE 0x0300))
#     IRQ 5, 7 or 10.
#         High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))
 (NAME "ESS0968/1291845632[3]{ESS PnP AudioDrive  }")
# (ACT Y)
))
#
# Logical device id PNP0600
#     Device supports vendor reserved register @ 0x3a
#     Device supports vendor reserved register @ 0x3d
#     Device supports vendor reserved register @ 0x3e
#
# Edit the entries below to uncomment out the configuration required.
# Note that only the first value of any range is given, this may be changed 
if required
# Don't forget to uncomment the activate (ACT Y) when happy

(CONFIGURE ESS0968/1291845632 (LD 4

# Multiple choice time, choose one only !

#     Start dependent functions: priority acceptable
#       Fixed IO base address 0x0170
#             Number of IO addresses required: 8
# (IO 0 (SIZE 8) (BASE 0x0170))
#       IRQ 15.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 15 (MODE +E)))

#       Start dependent functions: priority acceptable
#       Fixed IO base address 0x01e8
#             Number of IO addresses required: 8
# (IO 0 (SIZE 8) (BASE 0x01e8))
#       IRQ 11.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 11 (MODE +E)))

#       Start dependent functions: priority acceptable
#       Fixed IO base address 0x0168
#             Number of IO addresses required: 8
# (IO 0 (SIZE 8) (BASE 0x0168))
#       IRQ 9 or 10.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 9 (MODE +E)))

#     End dependent functions
 (NAME "ESS0968/1291845632[4]{ESS PnP AudioDrive  }")
# (ACT Y)
))
# End tag... Checksum 0x00 (OK)

# Returns all cards to the "Wait for Key" state
(WAITFORKEY)

Other related posts: