Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

prob alsa sur testing 2.6.9

7 réponses
Avatar
Fabrice Régnier
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.


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to debian-user-french-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

7 réponses

Avatar
Jean-Luc Coulon (f5ibh)
Le 08.02.2005 20:37:13, Fabrice Régnier a écrit :
Salut la liste ;)



[ ... ]

Est-ce que vous avez lancé alsamixer ?
Peut-être votre son est-il tout simplement en sourdine (mute)...

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.



Quels sont les droits sur /dev/rtc ?
Et pour quoi bien sûr pas moyen de les changer ?


J-L



--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Avatar
laurent HENRY
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.






--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Avatar
Philippe
Le mardi 08 février 2005 à 20:37 +0100, Fabrice Régnier a écrit :


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




ça me fais pareil avec 3 cartes audio differente
il te faut un fichier de conf de alsa
tu mets ça dans /etc/asound.conf
#debut
pcm.playback
{
# The ipc_key needs to be unique.
ipc_key 135
type dmix
slave {
pcm "hw:0,0"
period_size 1024
periods 128
perIod_time 0
buffer_size 8192
}
bindings {
# Add or reduce the number of channels as needed.
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
}
}

pcm.mux
{
type asym
playback.pcm "playback"
capture.pcm "capture"
}

pcm.!default
{
type plug
slave.pcm "mux"
}

pcm.dsp0
{
type plug
slave.pcm "playback"
}

ctl.mixer0 {
type hw
card 0
}

pcm.capture
{
type dsnoop
# The ipc_key needs to be unique.
ipc_key 137
slave {
pcm "hw:0,0"
period_size 1024
periods 128
period_time 0
}
bindings {
# Add or reduce the number of channels as needed.
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
}
}
#fin
normalement tu auras le playback dans ton kde
si tu as aussi l'entrée qui marche ça m'interesse (chez moi ça marche
pas ...ça devrait :) )

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...




ça c'est pas forcement alsa, tu as testé avec un fichier local ?


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.




tu avais pas déjà lancé un mplayer avant ?
fait un fuser -v /dev/rtc
si il est occupé (surement par un mplayer ;) )
un fuser -k 9 /dev/rtc ou un killall -9 mplayer lui fera son affaire

il faut que tu mettes ton user dans le group de /dev/rtc

mplayer va aussi te demander de mettre 1024 pour la frequence de rtc
tu mets
dev.rtc.max-user-freq = 1024
dans /etc/sysctl.conf
puis sysctl -c /etc/sysctl.conf pour le prendre en comptes tout de suite

hth

--
Philippe


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Avatar
Fabrice Régnier
> Est-ce que vous avez lancé alsamixer ?


Oui

> Peut-être votre son est-il tout simplement en sourdine (mute)...
Non, le master est à fond (dans le rouge).

> Quels sont les droits sur /dev/rtc ?
avant: crw-rw----
maintenant: crw-rw-rw-

> Et pour quoi bien sûr pas moyen de les changer ?
Je suis un boulet, quand j'ai essayé, je n'étais pas root. *blush*

Ok, donc mplayer se lance sans erreur mais je n'ai toujours pas de son.
Je poursuis mes investigations.

a+

f.


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Avatar
Jean-Luc Coulon (f5ibh)
Le 09.02.2005 09:01:52, Fabrice Régnier a écrit :
> Est-ce que vous avez lancé alsamixer ?
Oui

> Peut-être votre son est-il tout simplement en sourdine (mute)...
Non, le master est à fond (dans le rouge).

> Quels sont les droits sur /dev/rtc ?
avant: crw-rw----
maintenant: crw-rw-rw-



Oui, mais quels propriétaires ?


> Et pour quoi bien sûr pas moyen de les changer ?
Je suis un boulet, quand j'ai essayé, je n'étais pas root. *blush*



Ben, c'est sûr que ça ne va pas amrcher ...


Ok, donc mplayer se lance sans erreur mais je n'ai toujours pas de
son. Je poursuis mes investigations.

a+

f.



J-L



--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Avatar
Thomas Labourdette
Le Mercredi 09 Février 2005 09:01, Fabrice Régnier a écrit :
> Est-ce que vous avez lancé alsamixer ?

Oui

> Peut-être votre son est-il tout simplement en sourdine (mute)...

Non, le master est à fond (dans le rouge).



Et le PCM ?

@+
--
Noémie LAIVOILE (signature aléatoire)
"On vous demande pas grand chose, juste d'en faire beaucoup..."


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Avatar
Fabrice Régnier
Salut La liste,

Merci à tous pour vos précieuse réponses ;)
Voici comment je m'en suis sorti (pas franchement glorieux):
J'ai installé le dernier noyau 2.6.10 avec:

# 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 is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RTCTIMER=m
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
CONFIG_SND_MPU401_UART=m

#
# PCI devices
#
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_ATIIXP=m
CONFIG_SND_INTEL8X0=m
CONFIG_SND_VIA82XX=m


J'ai réinstallé alsa:
apt-get remove --purge alsa-base
apt-get install alsa-base
alsaconf
alsamixer

Test dans Control Centar de KDE : ok
Test avec mplayer -cache 50 mms://vipbu.yacast.fr/encodereurope2 : ok

a+

f.


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact