Re: [Alsa-user] No sound on internal speaker

2020-08-04 Thread Nicolas Martin
Card 1 is a Nvidia graphic card; it does not allow to play sound on the
internal speaker.

I found the solution. The Lenovo P520 is a dual codec workstation; ALC662
(hw:0,0) drives the rear audio plugs; ALC233 (hw:0,4) drives the front
audio plugs and the internal speaker.
So hw:0,4 should be used for playback.

Hope it will help other people.

NM

On Thu, Jul 30, 2020 at 1:16 AM Alan Corey  wrote:

> Try using card 1.  Look at amixer -c 1
>
> On 7/29/20, Nicolas Martin  wrote:
> > Hi,
> >
> > I have a Lenovo P520 workstation with an internal speaker on which I'd
> like
> > to play sound.
> > OS installed is RHEL 7U6 with alsa 1.1.6
> >
> > the internal speaker is enabled in BIOS; however I don't have any sound
> > output on it.
> >
> > The only way to have sound is to plug an external speaker.
> >
> > If I load the module snd-pcsp, there is an additional card that appears
> > that I can use to play sound on the internal speaker, although the sound
> > quality is very poor (crackling).
> >
> > I don't really know where to dig concerning this issue; whether it's a
> bug
> > with the kernel module or alsa; I'd appreciate some guidance.
> >
> > The audio chipset (not using the Nvidia output):
> >  # lspci -v | grep -i audio
> > 00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio
> > 65:00.1 Audio device: NVIDIA Corporation GP107GL High Definition Audio
> > Controller (rev a1)
> >
> > Below the output of aplay -l and aplay -L:
> > # aplay -l
> >  List of PLAYBACK Hardware Devices 
> > card 0: PCH [HDA Intel PCH], device 0: ALC662 rev3 Analog [ALC662 rev3
> > Analog]
> >   Subdevices: 1/1
> >   Subdevice #0: subdevice #0
> > card 0: PCH [HDA Intel PCH], device 4: ALC233 Analog [ALC233 Analog]
> >   Subdevices: 1/1
> >   Subdevice #0: subdevice #0
> > card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
> >   Subdevices: 1/1
> >   Subdevice #0: subdevice #0
> > card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
> >   Subdevices: 1/1
> >   Subdevice #0: subdevice #0
> > card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
> >   Subdevices: 1/1
> >   Subdevice #0: subdevice #0
> > card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
> >   Subdevices: 1/1
> >   Subdevice #0: subdevice #0
> >
> > # aplay -L
> > null
> > Discard all samples (playback) or generate zero samples (capture)
> > pulse
> > PulseAudio Sound Server
> > default:CARD=PCH
> > HDA Intel PCH, ALC662 rev3 Analog
> > Default Audio Device
> > sysdefault:CARD=PCH
> > HDA Intel PCH, ALC662 rev3 Analog
> > Default Audio Device
> > front:CARD=PCH,DEV=0
> > HDA Intel PCH, ALC662 rev3 Analog
> > Front speakers
> > surround21:CARD=PCH,DEV=0
> > HDA Intel PCH, ALC662 rev3 Analog
> > 2.1 Surround output to Front and Subwoofer speakers
> > surround40:CARD=PCH,DEV=0
> > HDA Intel PCH, ALC662 rev3 Analog
> > 4.0 Surround output to Front and Rear speakers
> > surround41:CARD=PCH,DEV=0
> > HDA Intel PCH, ALC662 rev3 Analog
> > 4.1 Surround output to Front, Rear and Subwoofer speakers
> > surround50:CARD=PCH,DEV=0
> > HDA Intel PCH, ALC662 rev3 Analog
> > 5.0 Surround output to Front, Center and Rear speakers
> > surround51:CARD=PCH,DEV=0
> > HDA Intel PCH, ALC662 rev3 Analog
> > 5.1 Surround output to Front, Center, Rear and Subwoofer speakers
> > surround71:CARD=PCH,DEV=0
> > HDA Intel PCH, ALC662 rev3 Analog
> > 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
> > hdmi:CARD=NVidia,DEV=0
> > HDA NVidia, HDMI 0
> > HDMI Audio Output
> > hdmi:CARD=NVidia,DEV=1
> > HDA NVidia, HDMI 1
> > HDMI Audio Output
> > hdmi:CARD=NVidia,DEV=2
> > HDA NVidia, HDMI 2
> > HDMI Audio Output
> > hdmi:CARD=NVidia,DEV=3
> > HDA NVidia, HDMI 3
> > HDMI Audio Output
> >
>
>
> --
> -
> No, I won't  call it "climate change", do you have a "reality problem"? -
> AB1JX
> Cities are cages built to contain excess people and keep them from
> cluttering up nature.
> Impeach  Impeach  Impeach  Impeach  Impeach  Impeach  Impeach  Impeach
>
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] No sound on internal speaker

2020-07-29 Thread Nicolas Martin
Hi,

I have a Lenovo P520 workstation with an internal speaker on which I'd like
to play sound.
OS installed is RHEL 7U6 with alsa 1.1.6

the internal speaker is enabled in BIOS; however I don't have any sound
output on it.

The only way to have sound is to plug an external speaker.

If I load the module snd-pcsp, there is an additional card that appears
that I can use to play sound on the internal speaker, although the sound
quality is very poor (crackling).

I don't really know where to dig concerning this issue; whether it's a bug
with the kernel module or alsa; I'd appreciate some guidance.

The audio chipset (not using the Nvidia output):
 # lspci -v | grep -i audio
00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio
65:00.1 Audio device: NVIDIA Corporation GP107GL High Definition Audio
Controller (rev a1)

Below the output of aplay -l and aplay -L:
# aplay -l
 List of PLAYBACK Hardware Devices 
card 0: PCH [HDA Intel PCH], device 0: ALC662 rev3 Analog [ALC662 rev3
Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 4: ALC233 Analog [ALC233 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

# aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default:CARD=PCH
HDA Intel PCH, ALC662 rev3 Analog
Default Audio Device
sysdefault:CARD=PCH
HDA Intel PCH, ALC662 rev3 Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, ALC662 rev3 Analog
Front speakers
surround21:CARD=PCH,DEV=0
HDA Intel PCH, ALC662 rev3 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, ALC662 rev3 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, ALC662 rev3 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, ALC662 rev3 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, ALC662 rev3 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, ALC662 rev3 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=NVidia,DEV=0
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
HDA NVidia, HDMI 1
HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
HDA NVidia, HDMI 2
HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
HDA NVidia, HDMI 3
HDMI Audio Output
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user