Visualizzazione dei risultati da 1 a 8 su 8
  1. #1
    Utente di HTML.it
    Registrato dal
    Jul 2004
    Messaggi
    147

    driver oss non funzionano con kernel 2.6.10

    ho ricompilato il kernel e ho messo il 2.6.10
    tutto ok tranne una cosa.
    vi scrivo parte del file config del 2.6.9:

    #
    # Sound
    #
    CONFIG_SOUND=m

    #
    # Advanced Linux Sound Architecture
    #
    CONFIG_SND=m
    CONFIG_SND_TIMER=m
    CONFIG_SND_PCM=m
    CONFIG_SND_HWDEP=m
    CONFIG_SND_RAWMIDI=m
    # CONFIG_SND_SEQUENCER is not set
    CONFIG_SND_OSSEMUL=y
    CONFIG_SND_MIXER_OSS=m
    CONFIG_SND_PCM_OSS=m
    CONFIG_SND_RTCTIMER=m
    # CONFIG_SND_VERBOSE_PRINTK is not set
    # CONFIG_SND_DEBUG is not set

    poi ...
    #
    # Open Sound System
    #
    CONFIG_SOUND_PRIME=m
    # CONFIG_SOUND_BT878 is not set
    CONFIG_SOUND_CMPCI=m
    # CONFIG_SOUND_CMPCI_FM is not set
    # CONFIG_SOUND_CMPCI_MIDI is not set
    # CONFIG_SOUND_CMPCI_JOYSTICK is not set
    CONFIG_SOUND_EMU10K1=m
    # CONFIG_MIDI_EMU10K1 is not set
    # CONFIG_SOUND_FUSION is not set
    # CONFIG_SOUND_CS4281 is not set
    # CONFIG_SOUND_ES1370 is not set
    # CONFIG_SOUND_ES1371 is not set
    # CONFIG_SOUND_ESSSOLO1 is not set
    # CONFIG_SOUND_MAESTRO is not set
    # CONFIG_SOUND_MAESTRO3 is not set
    CONFIG_SOUND_ICH=m
    # CONFIG_SOUND_SONICVIBES is not set
    # CONFIG_SOUND_TRIDENT is not set
    # CONFIG_SOUND_MSNDCLAS is not set
    # CONFIG_SOUND_MSNDPIN is not set
    # CONFIG_SOUND_VIA82CXXX is not set
    CONFIG_SOUND_OSS=m
    CONFIG_SOUND_TRACEINIT=y
    CONFIG_SOUND_DMAP=y
    # CONFIG_SOUND_AD1816 is not set
    # CONFIG_SOUND_AD1889 is not set
    # CONFIG_SOUND_SGALAXY is not set
    # CONFIG_SOUND_ADLIB is not set
    CONFIG_SOUND_ACI_MIXER=m
    # CONFIG_SOUND_CS4232 is not set
    # CONFIG_SOUND_SSCAPE is not set
    # CONFIG_SOUND_GUS is not set
    # CONFIG_SOUND_VMIDI is not set
    # CONFIG_SOUND_TRIX is not set
    # CONFIG_SOUND_MSS is not set
    # CONFIG_SOUND_MPU401 is not set
    # CONFIG_SOUND_NM256 is not set
    # CONFIG_SOUND_MAD16 is not set
    # CONFIG_SOUND_PAS is not set
    # CONFIG_SOUND_PSS is not set
    CONFIG_SOUND_SB=m
    # CONFIG_SOUND_AWE32_SYNTH is not set
    # CONFIG_SOUND_WAVEFRONT is not set
    # CONFIG_SOUND_MAUI is not set
    # CONFIG_SOUND_YM3812 is not set
    # CONFIG_SOUND_OPL3SA1 is not set
    # CONFIG_SOUND_OPL3SA2 is not set
    # CONFIG_SOUND_YMFPCI is not set
    # CONFIG_SOUND_UART6850 is not set
    # CONFIG_SOUND_AEDSP16 is not set
    # CONFIG_SOUND_TVMIXER is not set
    # CONFIG_SOUND_KAHLUA is not set
    # CONFIG_SOUND_ALI5455 is not set
    # CONFIG_SOUND_FORTE is not set
    # CONFIG_SOUND_RME96XX is not set
    # CONFIG_SOUND_AD1980 is not set

    #
    Nel nuovo kernel manca questa opzione:
    CONFIG_SND_OSSEMUL=y

    non capisco come mai...

    ho provato anche ad aggionrare i driver, gli oss, utils, lib di alsa prima di ricompilare il kernel.

    così se poi lancio xmms e utilizzo gli oss mi da questo errore:

    ** WARNING **: oss_open(): Failed to open audio device (/dev/dsp): No such file or directory

    se uso alsa tutto ok.




    se invece uso alsa tutto ok

  2. #2
    che scheda hai ?

  3. #3
    Utente di HTML.it
    Registrato dal
    Jul 2004
    Messaggi
    147
    altra cosa di cui mi sono accorata!!!

    #
    # PCI devices
    #
    CONFIG_SND_AC97_CODEC=m
    # CONFIG_SND_ALI5451 is not set
    # CONFIG_SND_ATIIXP is not set
    # CONFIG_SND_ATIIXP_MODEM is not set
    # CONFIG_SND_AU8810 is not set
    # CONFIG_SND_AU8820 is not set
    # CONFIG_SND_AU8830 is not set
    # CONFIG_SND_AZT3328 is not set
    # CONFIG_SND_BT87X is not set
    # CONFIG_SND_CS46XX is not set
    # CONFIG_SND_CS4281 is not set
    CONFIG_SND_EMU10K1=m
    # CONFIG_SND_KORG1212 is not set
    # CONFIG_SND_MIXART is not set
    # CONFIG_SND_NM256 is not set
    # CONFIG_SND_RME32 is not set
    # CONFIG_SND_RME96 is not set
    # CONFIG_SND_RME9652 is not set
    # CONFIG_SND_HDSP is not set
    # CONFIG_SND_TRIDENT is not set
    # CONFIG_SND_YMFPCI is not set
    # CONFIG_SND_ALS4000 is not set
    CONFIG_SND_CMIPCI=m
    # CONFIG_SND_ENS1370 is not set
    # CONFIG_SND_ENS1371 is not set
    # CONFIG_SND_ES1938 is not set
    # CONFIG_SND_ES1968 is not set
    # CONFIG_SND_MAESTRO3 is not set
    # CONFIG_SND_FM801 is not set
    # CONFIG_SND_ICE1712 is not set
    # CONFIG_SND_ICE1724 is not set
    CONFIG_SND_INTEL8X0=m
    CONFIG_SND_INTEL8X0M=m
    # CONFIG_SND_SONICVIBES is not set
    # CONFIG_SND_VIA82XX is not set
    # CONFIG_SND_VX222 is not set

    questo è il module della mia scheda audio nel config del kernel 2.6.9
    CONFIG_SND_AC97_CODEC=m

    non c'è l'opzione del config del 2.6.10

    come mai?

  4. #4
    Originariamente inviato da Ali79
    CONFIG_SND_AC97_CODEC=m

    non c'è l'opzione del config del 2.6.10
    come mai?
    Boh, problema di configurazione credo, perche`...
    codice:
    $ grep OSSEMUL /usr/local/src/kernel/linux-2.6.10/.config
    CONFIG_SND_OSSEMUL=y
    $ grep AC97 /usr/local/src/kernel/linux-2.6.10/.config
    CONFIG_SND_AC97_CODEC=m
    $ tree -fi /lib/modules/2.6.10-3xr-k7/ | grep ac97
    /lib/modules/2.6.10-3xr-k7//kernel/sound/pci/ac97
    /lib/modules/2.6.10-3xr-k7//kernel/sound/pci/ac97/snd-ac97-codec.ko
    /lib/modules/2.6.10-3xr-k7//kernel/sound/pci/ac97/snd-ak4531-codec.ko
    "Qualsiasi esperto ha paura di combattere usando la katana vera. Anch'io. Ma non ignoro la mia paura, riesco ad accettarla, e a metterla da parte accanto a me".

  5. #5
    Utente di HTML.it
    Registrato dal
    Jul 2004
    Messaggi
    147
    ho provato usando il file .config che avevo per il 2.6.9 (e lì tutto funzionava benissimo)
    ho pravo senza usare un file .config vecchio
    ho pravo con il file config del kernel 2.6.10 preso dal sito della slackware.
    Sempre uguale...

  6. #6
    Utente di HTML.it
    Registrato dal
    Jan 2005
    Messaggi
    287
    ma hai caricato i moduli? cioè tu carichi staticamente l'emulazione oss e poi CONFIG_SND_MIXER_OSS=m
    CONFIG_SND_PCM_OSS=m come moduli ma poi li carichi?

    P.S. Ma perchè nn li compili nel kernel? tanto la scheda sonora la usi sempre penso :P
    Slackware Linux... Because it works.

  7. #7
    Utente di HTML.it
    Registrato dal
    Jul 2004
    Messaggi
    147
    non ho mai avuto bisogno di caricarli "a mano"
    fino ad ora è sempre andato tutto bene
    CONFIG_SND_OSSEMUL=y --> questa opzione era l'unica che non compilavo come modulo

    cmq ho risolto, magari non nel modo più giusto, ma...
    ho messo nel kernel senza metterlo come modulo l'opzione CONFIG_SND_PCM_OSS=y

    e ora anche gli oss funzionano bene
    solo strano perché fino ad ora non mai avuto questo problema

  8. #8
    Utente di HTML.it
    Registrato dal
    Jan 2005
    Messaggi
    287
    Beh può darsi che altre volte avevi una configurazione che te lo caricasse automaticamente il modulo. Cmq penso che quando nn si tratta di periferiche che vengono usate di rado, convenga compilarle direttamente nel kernel. A che pro usare un modulo se questo verrà sempre caricato?
    Slackware Linux... Because it works.

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.