| Re: amixer Was: Re: [CBLX] pas de son..... | 
[ Thread Index | 
Date Index
| More lists.tuxfamily.org/carrefourblinux Archives
] 
Re Hello Jeremy et Philippe :
On Fri, Feb 25, 2022 at 01:02:41PM +0100, Philippe Delavalade wrote:
> Bonjour Jérémy
> 
> Le vendredi 25 février à 12:45, Jérémy Prego a écrit :
> > bonjour,
> > 
> > tu peux essayer de blacklister le module snd_hda_codec_hdmi
> 
> ici, où le son marche très bien, ce module est actif ; de plus pulseaudio
> n'est pas lancé et le son fonctionne même sous root.
Voici le test que je viens de faire:
j'ai créé sous /etc/modprobe.d/ un fichier blacklist.snd_hda_codec_hdmi.conf
contenant la ligne:
blacklist snd_hda_codec_hdmi
Mais au redémarrage toujours rien.
Voici la sortie ps aux:
[01;32m
$ sudo su
root@linuxlaptop:/tmp# ps aux |grep pulse 
aldo        1202  5.4  0.2 1942440 19876 ?       S<sl 16:24   0:06 /usr/bin/[01;31m[Kpulse[m[Kaudio --daemonize=no --log-target=journal 
root        2816  0.0  0.0  17704   736 pts/1    S+   16:26   0:00 grep --color=auto pulse 
root@linuxlaptop:/tmp# ps aux |grep alsa
root        2819  0.0  0.0  17704   660 pts/1    S+   16:27   0:00 grep --color=auto
alsa
root@linuxlaptop:/tmp# ps aux |grep oss
root        2821  0.0  0.0  17704   736 pts/1    S+   16:27   0:00 grep --color=auto
oss
root@linuxlaptop:/tmp# ps aux |grep snd
root        2824  0.0  0.0  17704   732 pts/1    S+   16:27   0:00 grep --color=auto
snd
root@linuxlaptop:/tmp# lsmod |grep hdmi
snd_hda_codec_hdmi     61440  1
snd_hda_codec         147456  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core           94208  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek 
snd_pcm               114688  5 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core 
snd                    94208  22 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
root@linuxlaptop:/tmp# 
Enfin pour amixer je vois:
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 87 [100%] [0.00dB] [off]
$ amixer set Master toggle 
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 87 [100%] [0.00dB] [on]
$ amixer set Master 30+
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 87 [100%] [0.00dB] [on]
Si je lance le script r1 pour (radio1.be), je vois le flux mais n'entends
rien,
ni en retirant la fiche minijack ni en utilisant les +/- de volume de
mplayer au-dessus du 8 et 9 du pavé.
 
$ r1
MPlayer 1.3.0 (Debian), built with gcc-9 (C) 2000-2016 MPlayer Team
Playing http://icecast.vrtcdn.be/radio1-high.mp3.
Resolving icecast.vrtcdn.be for AF_INET6...
Connecting to server icecast.vrtcdn.be[2600:9000:21c7:8c00:14:8356:dcc0:93a1]: 80...
Resolving playerservices.streamtheworld.com for AF_INET6...
Couldn't resolve name for AF_INET6: playerservices.streamtheworld.com
Resolving playerservices.streamtheworld.com for AF_INET...
Connecting to server playerservices.streamtheworld.com[208.92.55.233]:80...
Resolving 23613.live.streamtheworld.com for AF_INET6...
Couldn't resolve name for AF_INET6: 23613.live.streamtheworld.com
Resolving 23613.live.streamtheworld.com for AF_INET...
Connecting to server 23613.live.streamtheworld.com[192.173.31.58]: 80...
Name   : Radio 1
Genre  : Pop
Website: https://radio1.be/
Bitrate: 128kbit/s
Cache size set to 256 KBytes
Cache fill:  0.00% (0 bytes)   
ICY Info: StreamTitle='SYLVIE KREUSCH - Walk walk';
Audio only file format detected.
==========================================================================
Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III)
==========================================================================
AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:   0.0 (unknown) of 0.0 (unknown) ??,?% 71% [J
A:   0.1 (00.0) of 0.0 (unknown) ??,?% 84% [J
A:   0.1 (00.1) of 0.0 (unknown) ??,?% 90% [J
A:   0.2 (00.2) of 0.0 (unknown) ??,?% 90% [J
A:   0.3 (00.2) of 0.0 (unknown)  0.3% 89% [J
A:   0.3 (00.3) of 0.0 (unknown)  0.3% 89% [J
A:   0.4 (00.4) of 0.0 (unknown)  0.3% 89% [J
A:   0.5 (00.5) of 0.0 (unknown)  0.3% 87% [J
A:   0.6 (00.5) of 0.0 (unknown)  0.4% 87% [J
A:   0.6 (00.6) of 0.0 (unknown)  0.4% 87% [J
A:   0.7 (00.7) of 0.0 (unknown)  0.4% 87% [J
A:   0.8 (00.7) of 0.0 (unknown)  0.4% 85% [J
A:   0.8 (00.8) of 0.0 (unknown)  0.4% 85% [J
A:   0.9 (00.9) of 0.0 (unknown)  0.4% 85% [J
A:   1.0 (00.9) of 0.0 (unknown)  0.4% 85% [J
A:   1.1 (01.0) of 0.0 (unknown)  0.4% 84% [J
A:   1.1 (01.1) of 0.0 (unknown)  0.4% 84% [J
A:   1.2 (01.2) of 0.0 (unknown)  0.4% 84% [J
A:   1.3 (01.2) of 0.0 (unknown)  0.4% 82% [J
A:   1.4 (01.3) of 0.0 (unknown)  0.4% 82% [J
A:   1.4 (01.4) of 0.0 (unknown)  0.4% 82% [J
A:   1.5 (01.4) of 0.0 (unknown)  0.4% 82% [J
A:   1.6 (01.5) of 0.0 (unknown)  0.4% 81% [J
[A
[KVolume: 100 %
A:   1.6 (01.6) of 0.0 (unknown)  0.4% 81% 
[J
A:   1.7 (01.6) of 0.0 (unknown)  0.4% 81% 
[J
A:   1.8 (01.7) of 0.0 (unknown)  0.4% 79% 
etc etc ... 
Voilà la preuve que l'appli tourne mais qu'il n'y a pas de son.
Aldo. 
--
   CBLX - CarrefourBLinuX MailingListe
   Pour obtenir de l'aide, envoyez le sujet  help  à:
   carrefourblinux-request@xxxxxxxxxxxxxxxxxxx
   Archives:
   http://listengine.tuxfamily.org/lists.tuxfamily.org/carrefourblinux
   ou
   http://www.mail-archive.com/carrefourblinux@xxxxxxxxxxxxxxxxxxx/