Hallo,
Ich habe es geschafft die Alsa 0.9 beta Treiber zum teilweise zum laufen zu
bekommen (SuSE 7.0 kernel 2.2.16 and cmipci sundcard). Ich kann auf die
Karte via alsactl und alsamixer und alsamix zugreifen und die Karte
kontrollieren .. ABER wenn ich versuche einen Sound zu spielen püassiert
folgendes:
unimatrix:~ # aplay
ALSA lib pcm_hw.c:593:(snd_pcm_hw_open_subdevice) SNDRV_PCM_IOCTL_PVERSION
failed: Invalid argument
aplay: main:440: audio open error: Invalid argument
unimatrix:~ # dmesg
ALSA control.c:583: unknown ioctl = 0x80044100
oder es crashed die ganze box wenn ich versuche ein MP3 zu spielen (KMP3).
Was ich gemacht habe:
Compile driver (nur cmipci und debug full) - OK
Compile lib - OK
Compile utils - OK
modified modules.conf:
alias char-major-116 snd
alias char-major-14 soundcore
alias snd-card-0 snd-card-cmipci
options snd snd_major=116 snd_cards_limit=1
#options snd-card-cmipci snd_index=0 snd_id=card1 <-- Diese Zeile kommt vom
yast2 -- mit der Zeile laedt das modul nicht
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
Den Treiber via "rcalsasound start" geladen
folgende Module sind danach geladen:
snd-card-cmipci 11804 0
snd-pcm 56600 0 [snd-card-cmipci]
snd-timer 11316 0 [snd-pcm]
snd-mpu401-uart 3572 0 [snd-card-cmipci]
snd-rawmidi 12408 0 [snd-mpu401-uart]
snd-seq-device 4424 0 [snd-rawmidi]
snd 35220 1 [snd-card-cmipci snd-pcm snd-timer
snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 2564 0 [snd]
rtl8139 12224 1 (autoclean)
memstat 1476 0 (unused)
usb-uhci 21248 0 (unused)
serial 42484 1 (autoclean)
usbcore 42760 0 [usb-uhci]
Ich habe eine neue asound.conf via "alsactl store" angelegt - OK
was ist falsch ??
Ach ja wenn ich versuche ac3play vom alsaplayer project zu compilieren
bekomme ich folgende Meldung .. evtl hilft das:
checking for libasound headers version >= 0.6.0... found.
checking for snd_cards in -lasound... no
configure: error: No linkable libasound was found.
unimatrix:/usr/src/ac3play-0.3.0 #
Und als letztes noch: wenn ich versuche einen joystick zu konfigurieren
klappt das einfach nicht ...
insmod joystick - OK
unimatrix:~ # insmod joy-analog
Using /lib/modules/2.2.16/misc/joy-analog.o
/lib/modules/2.2.16/misc/joy-analog.o: init_module: Device or resource busy
Hint: this error can be caused by incorrect module parameters, including
invalid IO or IRQ parameters
unimatrix:~ # dmesg
js: Joystick driver v1.2.15 (c) 1999 Vojtech Pavlik