[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: prob alsa sur testing 2.6.9



Salut,

j'ai eu le meme pb en 2.6.10 et j'ai corrigé la chose en mettant les options en dur dans le kernel
En plus j'ai créé un lien dans /etc/rc2.d
ln -s ../init.d/alsa S99alsa

fichier config
#
CONFIG_SOUND=y
#
# Advanced Linux Sound Architecture
#
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_AC97_CODEC=y



Si ça peut d'aider.

Laurent

Fabrice Régnier a écrit :

Salut la liste  ;)

Je me tourne vers vous, j'ai épuisé toutes mes "maigres" connaissances. Je n'arrive plus à faire fonctionner le son sur une unstable 2.6.9.

Ou j'en suis:

Le son fonctionne sous windows.
Le son fonctionnait avant sous unstable 2.6.9 (avant que je casse tout quoi :( )

Dans le noyau:
#
# Sound
#
CONFIG_SOUND=m

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

#
# Generic devices
#
CONFIG_SND_MPU401_UART=m
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set

#
# PCI devices
#
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_INTEL8X0=m

La reinstall:
apt-get remove --purge alsa-base
apt-get install alsa-base
alsaconf

FR:/boot# lsmod
Module                  Size  Used by
snd_seq_midi            6432  0
snd_seq_oss            31360  0
snd_seq_midi_event      6144  2 snd_seq_midi,snd_seq_oss
snd_seq 48272 5 snd_seq_midi,snd_seq_oss,snd_seq_midi_event
snd_intel8x0           28840  3
snd_ac97_codec         67920  1 snd_intel8x0
snd_pcm_oss            47144  0
snd_mixer_oss          17536  2 snd_pcm_oss
snd_pcm                82696  3 snd_intel8x0,snd_pcm_oss
snd_timer              20996  2 snd_seq,snd_pcm
snd_page_alloc          7688  2 snd_intel8x0,snd_pcm
snd_mpu401_uart         6272  1 snd_intel8x0
snd_rawmidi            19876  2 snd_seq_midi,snd_mpu401_uart
snd_seq_device 6536 4 snd_seq_midi,snd_seq_oss,snd_seq,snd_rawmidi snd 45028 14 snd_seq_oss,snd_seq,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore               7392  2 snd

Dans kde, j'ai bien mis "activer le système sonore" dans l'onglet général. Dans l'onglet matériel, j'ai choisi "ALSA" en périph audio.

Et quuand je clique sur "Tester le son" : rien

Et quand je lance mplayer -cache 50 mms://vipbu.yacast.fr/encodereurope2
j'ai ça:
MPlayer 1.0pre6-3.3.5 (C) 2000-2004 MPlayer Team
CPU: Intel Pentium 4/Xeon Willamette (Family: 8, Stepping: 2)
Detected cache-line size is 64 bytes
MMX2 supported but disabled
SSE2 supported but disabled
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX SSE



73 audio & 180 video codecs
Failed to open /dev/rtc: Permission non accordée (it should be readable by the user.)
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : Permission non accordée
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: Aucun fichier ou répertoire de ce type
Failed to open LIRC support.
You will not be able to use your remote control.
Playing mms://vipbu.yacast.fr/encodereurope2.
Resolving vipbu.yacast.fr for AF_INET...
Connecting to server vipbu.yacast.fr[193.201.103.107]:1755 ...
connected
unknown object
unknown object
file object, packet length = 1311 (1311)
unknown object
stream object, stream id: 1
stream object, stream id: 3
unknown object
unknown object
data object
mmst packet_length = 1311
Cache size set to 50 KBytes
Connected to server: vipbu.yacast.fr
Cache fill: 16,00% (8192 bytes)    ASF file format detected.
Clip info:
 name:
 author:
 copyright:
==========================================================================
Trying to force audio codec driver family libmad...
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 32000 Hz, 1 ch, 16 bit (0x10), ratio: 2500->64000 (20,0 kbit)
Selected audio codec: [ffwmav2] afm:ffmpeg (DivX audio v2 (ffmpeg))
==========================================================================
Checking audio filter chain for 32000Hz/1ch/16bit -> 32000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 1 ch, 32000 hz, little endian signed int
AF_pre: 32000Hz 1ch Signed 16-bit (Little-Endian)
alsa-init: got device=0, subdevice=0
alsa-init: 1 soundcard found, using: default

et puis il s'arrête et puis j'attends, j'attends...

Curieux, il me dit "Failed to open /dev/rtc: Permission non accordée (it should be readable by the user.)" (cf un peu plus haut) et bien sur pas moyen de changer les autorisations à coup de chmod.

Quand je teste avec Noatun, rien non plus mais pas d'erreur, le fichier défile.

Dernier détail, root et mon user font partie de groupe audio.

Bien, merci à tous ceux qui pourront m'éclairer un peu plus.


a+

f.





Reply to: