Karta dzwiekowa

BondPLD bondpld w inf.sgsp.edu.pl
Śro, 9 Paź 2002, 15:16:42 CEST


Instaluje gosciowi karte online
oczywiscie nie wie jaka ma karte dzwiekowa ;/
wiec uzywam polecenia pnpdump, ktore daje
-----------------------
# $Id: pnpdump_main.c,v 1.27 2001/04/30 21:54:53 fox Exp $
# Release isapnptools-1.26
# 
# 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 0f ff ff ff ff 00 08 a8 65

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

# Card 1: (serial identifier 0f ff ff ff ff 00 08 a8 65)
# Vendor Id YMH0800, No Serial Number (-1), checksum 0x0F.
# Version 1.0, Vendor version 0.0
# ANSI string -->OPL3-SA3 Sound Board<--
#
# Logical device id YMH0021
#
# 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 YMH0800/-1 (LD 0

# Multiple choice time, choose one only !

#     Start dependent functions: priority preferred
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0220
#             Maximum IO base address 0x0220
#             IO base alignment 16 bytes
#             Number of IO addresses required: 16
# (IO 0 (SIZE 16) (BASE 0x0220))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0530
#             Maximum IO base address 0x0530
#             IO base alignment 8 bytes
#             Number of IO addresses required: 8
# (IO 1 (SIZE 8) (BASE 0x0530))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0388
#             Maximum IO base address 0x0388
#             IO base alignment 8 bytes
#             Number of IO addresses required: 8
# (IO 2 (SIZE 8) (BASE 0x0388))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0330
#             Maximum IO base address 0x0330
#             IO base alignment 2 bytes
#             Number of IO addresses required: 2
# (IO 3 (SIZE 2) (BASE 0x0330))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0370
#             Maximum IO base address 0x0370
#             IO base alignment 2 bytes
#             Number of IO addresses required: 2
# (IO 4 (SIZE 2) (BASE 0x0370))
#       IRQ 5.
#             High true, edge sensitive interrupt
# (INT 0 (IRQ 5 (MODE +E)))
#       First DMA channel 0.
#             8 bit DMA only
#             Logical device is not a bus master
#             DMA may execute in count by byte mode
#             DMA may not execute in count by word mode
#             DMA channel speed type F
# (DMA 0 (CHANNEL 0))
#       Next DMA channel 1.
#             8 bit DMA only
#             Logical device is not a bus master
#             DMA may execute in count by byte mode
#             DMA may not execute in count by word mode
#             DMA channel speed type F
# (DMA 1 (CHANNEL 1))

#       Start dependent functions: priority acceptable
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0240
#             Maximum IO base address 0x0240
#             IO base alignment 16 bytes
#             Number of IO addresses required: 16
# (IO 0 (SIZE 16) (BASE 0x0240))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0e80
#             Maximum IO base address 0x0e80
#             IO base alignment 8 bytes
#             Number of IO addresses required: 8
# (IO 1 (SIZE 8) (BASE 0x0e80))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0388
#             Maximum IO base address 0x0388
#             IO base alignment 8 bytes
#             Number of IO addresses required: 8
# (IO 2 (SIZE 8) (BASE 0x0388))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0300
#             Maximum IO base address 0x0300
#             IO base alignment 2 bytes
#             Number of IO addresses required: 2
# (IO 3 (SIZE 2) (BASE 0x0300))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0100
#             Maximum IO base address 0x0ffe
#             IO base alignment 2 bytes
#             Number of IO addresses required: 2
# (IO 4 (SIZE 2) (BASE 0x0100))
#       IRQ 5, 7, 9, 10 or 11.
#             High true, edge sensitive interrupt
# (INT 0 (IRQ 5 (MODE +E)))
#       First DMA channel 0, 1 or 3.
#             8 bit DMA only
#             Logical device is not a bus master
#             DMA may execute in count by byte mode
#             DMA may not execute in count by word mode
#             DMA channel speed type F
# (DMA 0 (CHANNEL 0))
#       Next DMA channel 0, 1 or 3.
#             8 bit DMA only
#             Logical device is not a bus master
#             DMA may execute in count by byte mode
#             DMA may not execute in count by word mode
#             DMA channel speed type F
# (DMA 1 (CHANNEL 0))

#       Start dependent functions: priority functional
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0220
#             Maximum IO base address 0x0280
#             IO base alignment 16 bytes
#             Number of IO addresses required: 16
# (IO 0 (SIZE 16) (BASE 0x0220))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0530
#             Maximum IO base address 0x0f48
#             IO base alignment 8 bytes
#             Number of IO addresses required: 8
# (IO 1 (SIZE 8) (BASE 0x0530))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0388
#             Maximum IO base address 0x03f8
#             IO base alignment 8 bytes
#             Number of IO addresses required: 8
# (IO 2 (SIZE 8) (BASE 0x0388))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0300
#             Maximum IO base address 0x0334
#             IO base alignment 2 bytes
#             Number of IO addresses required: 2
# (IO 3 (SIZE 2) (BASE 0x0300))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0100
#             Maximum IO base address 0x0ffe
#             IO base alignment 2 bytes
#             Number of IO addresses required: 2
# (IO 4 (SIZE 2) (BASE 0x0100))
#       IRQ 3, 5, 7, 9, 10 or 11.
#             High true, edge sensitive interrupt
# (INT 0 (IRQ 3 (MODE +E)))
#       First DMA channel 0, 1 or 3.
#             8 bit DMA only
#             Logical device is not a bus master
#             DMA may execute in count by byte mode
#             DMA may not execute in count by word mode
#             DMA channel speed type F
# (DMA 0 (CHANNEL 0))
#       Next DMA channel 0, 1 or 3.
#             8 bit DMA only
#             Logical device is not a bus master
#             DMA may execute in count by byte mode
#             DMA may not execute in count by word mode
#             DMA channel speed type F
# (DMA 1 (CHANNEL 0))

#     End dependent functions
 (NAME "YMH0800/-1[0]{OPL3-SA3 Sound Board}")
# (ACT Y)
))
#
# Logical device id YMH0022
#
# 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 YMH0800/-1 (LD 1
#     Compatible device id PNPb02f

# Multiple choice time, choose one only !

#     Start dependent functions: priority preferred
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0201
#             Maximum IO base address 0x0201
#             IO base alignment 1 bytes
#             Number of IO addresses required: 1
# (IO 0 (SIZE 1) (BASE 0x0201))

#       Start dependent functions: priority acceptable
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0202
#             Maximum IO base address 0x0202
#             IO base alignment 1 bytes
#             Number of IO addresses required: 1
# (IO 0 (SIZE 1) (BASE 0x0202))

#       Start dependent functions: priority acceptable
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0203
#             Maximum IO base address 0x0203
#             IO base alignment 1 bytes
#             Number of IO addresses required: 1
# (IO 0 (SIZE 1) (BASE 0x0203))

#       Start dependent functions: priority acceptable
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0204
#             Maximum IO base address 0x020f
#             IO base alignment 1 bytes
#             Number of IO addresses required: 1
# (IO 0 (SIZE 1) (BASE 0x0204))

#     End dependent functions
 (NAME "YMH0800/-1[1]{OPL3-SA3 Sound Board}")
# (ACT Y)
))
# End tag... Checksum 0x00 (OK)

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

-----------
no to mysle sobie ze to Yamaha opl3/sa3

wiec poldek -i alsaconf kernel-sound-alsa

sciaga sie i instaluje bez problemu
nastepnie alsaconf
i wyskakuje komunikacik
Initializing ... please wait ...
modprobe: Can`t locate module snd
cat: /proc/asound/version: Nie ma takiego pliku ani katalogu
expr: błąd składniowy

myśle sobie wystartowała i konfiguruje dalej wybierając
Select card: Yamaha_OPL3-SA2/SA3
Card identifier: CARD-0
IO port: 0x370
WSS IP port: 0x530
MIDI (MPU-401 UART) port: 0x300
FM port (-1 disable): 0x388
IRQ: 5
First DMA: 1
Max. first DMA size in kb: 64
Second DMA: 3
Max. second DMA size in kB: 64

no i /etc/rc.d/init.d/alsasound start
w wyniku czego dostaje:

Starting sound driver: snd-card-0...........................[ ZAJETY ] modprobe: Can`t locate module snd-cart-0
							    [ZROBIONE]
Starting sound driver: sound-service-0-0....................[ ZAJETY ] modprobe: Can`t locate module sound-service-0-0
							    [ZROBIONE]
Starting sound driver: sound-service-0-1....................[ ZAJETY ] modprobe: Can`t locate module sound-service-0-1
							    [ZROBIONE]
Starting sound driver: sound-service-0-3....................[ ZAJETY ] modprobe: Can`t locate module sound-service-0-3
							    [ZROBIONE]
Starting sound driver: sound-service-0-8....................[ ZAJETY ] modprobe: Can`t locate module sound-service-0-8
							    [ZROBIONE]
Startind sound driver: sound-service-0-12...................[ ZAJETY ] modprobe: Can`t locate module sound-service-0-12
							    [ZROBIONE]
Starting up blocking state for card [0-9] device [0-9]......[ ZAJETY ] /etc/rc.d/init.d/alsasound[186]: cannot create /proc/asound/[0-9]/pcmD[0-9]o: Np such file or directory
/etc/rc.d/init.d/alsasound[186]: cannot create /proc/asound/[0-9]/pcmD[0-9]o: No surch or directory
/etc/rc.d/init.d/alsasound[186]: cannot create /proc/asound/[0-9]/pcmD[0-9]o: No surch or directory
							    [ZROBIONE]
alsactl: Error in configuration file '/etc/asound.conf' (line 1): parse error

i oczywiscie karta nie gra ;/

ponadto plik /etc/asound.conf jest pusty


Czy może ktoś ma pomysł co dalej z tym mam zrobić.

Bonder



Więcej informacji o liście dyskusyjnej pld-users-pl