Audio driver for linux

Debian User Forums

[?]Are Realtek Audio Drivers for Linux available for use

bkpsusmitaa Posts: 485 Joined: 2009-07-04 06:32 Location: Home: Barrackpore and Mysore Has thanked: 5 times

[?]Are Realtek Audio Drivers for Linux available for use

#1 Post by bkpsusmitaa » 2021-03-12 08:29

The details of the Lenovo laptop, earlier with my daughter who used it with Doze OS, is now used by me, obtained from Hardinfo scan is here: Notes on some issues with lenovo laptop network set up .
The audio device can’t record audio while playing, i.e., in duplex mode. Pulse audio Volume Control or System tray can’t be used.
Using the Hardinfo data, the internet was searched for the said laptop, reaching the Lenovo site. The Motherboard audio appears to be from Realtek.
Lenovo doesn’t appear to have Linux drivers hosted for their laptops.
The Lenovo site says that the audio driver is Realtek audio drivers «Lenovo ideapad 320-15ISK» LNVNB161216 with the following details:
Realtek Audio_6.0.1.8652.A
Again checked the internet with the string:

Unable to find any Linux drivers for Realtek audio hardware device.
I am afraid that without Realtek drivers the audio hardware won’t work in Duplex mode with PulseAudio Volume Control or Pulse Audio System Tray packages.
Any help in this regard please?

Freedom is impossible to conceive.
Books that help:
Dale Carnegie’s How To Win Friends And Influence People and Emilie Post’s Etiquette In Society, In Business, In Politics, And At Home

Head_on_a_Stick Posts: 13946 Joined: 2014-06-01 17:46 Location: London, England Has thanked: 53 times Been thanked: 84 times

Re: [?]Are Realtek Audio Drivers for Linux available for use

#2 Post by Head_on_a_Stick » 2021-03-12 19:43

The drivers are probably already included in the kernel (unless the hardware is too new for buster’s two year old kernel). Use ‘lspci -k’ to check if they’re loaded for the device. You probably just need the non-free firmware.

bkpsusmitaa Posts: 485 Joined: 2009-07-04 06:32 Location: Home: Barrackpore and Mysore Has thanked: 5 times

Читайте также:  Linux get file directory

Re: [?]Are Realtek Audio Drivers for Linux available for use

#3 Post by bkpsusmitaa » 2021-03-19 02:27

Thank you, «Head_on_a_Stick», for replying to my post. I am feeling horrible for the absence of duplex operations.

Please feel free to advise in further details please.

Head_on_a_Stick wrote: The drivers are probably already included in the kernel (unless the hardware is too new for buster’s two year old kernel) .

. . [snipped] . .
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
Subsystem: Lenovo Sunrise Point-LP HD Audio
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_soc_skl
. . [snipped] . .

Freedom is impossible to conceive.
Books that help:
Dale Carnegie’s How To Win Friends And Influence People and Emilie Post’s Etiquette In Society, In Business, In Politics, And At Home

Global Moderator

FreewheelinFrank Global Moderator
Posts: 1617 Joined: 2010-06-07 16:59 Has thanked: 23 times Been thanked: 143 times

Re: [?]Are Realtek Audio Drivers for Linux available for use

#4 Post by FreewheelinFrank » 2021-03-19 05:04

You don’t by any chance have a program called Timidity installed do you? The reason I ask is that it seems to block sound with this card for a lot of people.

bkpsusmitaa Posts: 485 Joined: 2009-07-04 06:32 Location: Home: Barrackpore and Mysore Has thanked: 5 times

Re: [?]Are Realtek Audio Drivers for Linux available for use

#5 Post by bkpsusmitaa » 2021-03-19 06:20

FreewheelinFrank wrote: You don’t by any chance have a program called Timidity installed do you? The reason I ask is that it seems to block sound with this card for a lot of eople.

Thank you for this suggesting a change of tack.
«No» in Debian stretch 9.11.0 and «Yes» in Knoppix 8.6.1. In the either of the two, pulseaudio doesn’t work. While in Debian it operates but doesn’t record in duplex, in Knoppix the pulseaudio Volume Control can’t establish connection to PulseAudio.
Have uninstalled Timidity in Knoppix. But no change in the end result.
I have also uninstalled the two packages appearing to be connected with timidity: libsdl2-mixer-2.0-0, ver 2.0.4+dfsg1-1libsdl-mixer1.2 and libsdl2-mixer-2.0-0, ver 1.2.12-15,
Thank you once again. Please keep at it. We all together shall ultimately achieve a breakthrough in this.

Freedom is impossible to conceive.
Books that help:
Dale Carnegie’s How To Win Friends And Influence People and Emilie Post’s Etiquette In Society, In Business, In Politics, And At Home

Global Moderator

FreewheelinFrank Global Moderator
Posts: 1617 Joined: 2010-06-07 16:59 Has thanked: 23 times Been thanked: 143 times

Re: [?]Are Realtek Audio Drivers for Linux available for use

#6 Post by FreewheelinFrank » 2021-03-19 08:45

Читайте также:  Чем установить nvidia linux

These two commands should tell you if there are any errors reported for the sound card either while the computer is booting up or running. Please post the output. I’m no expert, but I came across the commands while looking into a sound issue of my own. They may help you.

journalctl -k | grep -Ei "snd|sound|audio|multi"

bkpsusmitaa Posts: 485 Joined: 2009-07-04 06:32 Location: Home: Barrackpore and Mysore Has thanked: 5 times

Re: [?]Are Realtek Audio Drivers for Linux available for use

#7 Post by bkpsusmitaa » 2021-03-19 15:10

FreewheelinFrank wrote: . I’m no expert, but I came across the commands while looking into a sound issue of my own. They may help you.

[ 8.012382] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops vgt_balloon_space [i915])
[ 8.685035] snd_hda_codec_generic hdaudioC0D0: autoconfig for Generic: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[ 8.685042] snd_hda_codec_generic hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 8.685047] snd_hda_codec_generic hdaudioC0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 8.685050] snd_hda_codec_generic hdaudioC0D0: mono: mono_out=0x0
[ 8.685053] snd_hda_codec_generic hdaudioC0D0: inputs:
[ 8.685057] snd_hda_codec_generic hdaudioC0D0: Mic=0x19
[ 8.685061] snd_hda_codec_generic hdaudioC0D0: Internal Mic=0x12

 journalctl -k | grep -Ei "snd|sound|audio|multi"

Mar 19 20:41:59 lenovodebian kernel: ata1.00: 3907029168 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
Mar 19 20:42:00 lenovodebian kernel: ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no)
Mar 19 20:42:02 lenovodebian kernel: snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops vgt_balloon_space [i915])
Mar 19 20:42:03 lenovodebian kernel: snd_hda_codec_generic hdaudioC0D0: autoconfig for Generic: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
Mar 19 20:42:03 lenovodebian kernel: snd_hda_codec_generic hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
Mar 19 20:42:03 lenovodebian kernel: snd_hda_codec_generic hdaudioC0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
Mar 19 20:42:03 lenovodebian kernel: snd_hda_codec_generic hdaudioC0D0: mono: mono_out=0x0
Mar 19 20:42:03 lenovodebian kernel: snd_hda_codec_generic hdaudioC0D0: inputs:
Mar 19 20:42:03 lenovodebian kernel: snd_hda_codec_generic hdaudioC0D0: Mic=0x19
Mar 19 20:42:03 lenovodebian kernel: snd_hda_codec_generic hdaudioC0D0: Internal Mic=0x12
Mar 19 20:42:03 lenovodebian kernel: input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input9
Mar 19 20:42:03 lenovodebian kernel: input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1f.3/sound/card0/input10
Mar 19 20:42:03 lenovodebian kernel: input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input11
Mar 19 20:42:03 lenovodebian kernel: input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input12
Mar 19 20:42:03 lenovodebian kernel: input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input13
Mar 19 20:42:03 lenovodebian kernel: Bluetooth: BNEP filters: protocol multicast

I shall also give you the outputs from my other laptop where PulseAudio Volume Control works the way it should.

[ 11.469157] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC3227: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[ 11.469163] snd_hda_codec_realtek hdaudioC1D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 11.469167] snd_hda_codec_realtek hdaudioC1D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 11.469169] snd_hda_codec_realtek hdaudioC1D0: mono: mono_out=0x0
[ 11.469172] snd_hda_codec_realtek hdaudioC1D0: inputs:
[ 11.469176] snd_hda_codec_realtek hdaudioC1D0: Mic=0x19
[ 11.469179] snd_hda_codec_realtek hdaudioC1D0: Internal Mic=0x12
[ 13.323572] snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])

journalctl -k | grep -Ei "snd|sound|audio|multi"

Mar 19 21:19:04 HPdebian kernel: ata1.00: 1953525168 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
Mar 19 21:19:07 HPdebian kernel: snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC3227: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
Mar 19 21:19:07 HPdebian kernel: snd_hda_codec_realtek hdaudioC1D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
Mar 19 21:19:07 HPdebian kernel: snd_hda_codec_realtek hdaudioC1D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
Mar 19 21:19:07 HPdebian kernel: snd_hda_codec_realtek hdaudioC1D0: mono: mono_out=0x0
Mar 19 21:19:07 HPdebian kernel: snd_hda_codec_realtek hdaudioC1D0: inputs:
Mar 19 21:19:07 HPdebian kernel: snd_hda_codec_realtek hdaudioC1D0: Mic=0x19
Mar 19 21:19:07 HPdebian kernel: snd_hda_codec_realtek hdaudioC1D0: Internal Mic=0x12
Mar 19 21:19:07 HPdebian kernel: input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/sound/card1/input9
Mar 19 21:19:07 HPdebian kernel: input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card1/input10
Mar 19 21:19:07 HPdebian kernel: input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card1/input11
Mar 19 21:19:09 HPdebian kernel: ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no)
Mar 19 21:19:09 HPdebian kernel: snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
Mar 19 21:19:10 HPdebian kernel: input: HDA Intel HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/sound/card0/input15
Mar 19 21:19:13 HPdebian kernel: Bluetooth: BNEP filters: protocol multicast

Читайте также:  Чем клонировать диск linux

The difference is immediately apparent in ordering of the lines. If you and i aren’t able to discern, there must be excellent systems admins who must be browsing these forums.
Would they address our issue? That’s the imperative question.

Freedom is impossible to conceive.
Books that help:
Dale Carnegie’s How To Win Friends And Influence People and Emilie Post’s Etiquette In Society, In Business, In Politics, And At Home

Global Moderator

FreewheelinFrank Global Moderator
Posts: 1617 Joined: 2010-06-07 16:59 Has thanked: 23 times Been thanked: 143 times

Re: [?]Are Realtek Audio Drivers for Linux available for use

#8 Post by FreewheelinFrank » 2021-03-19 22:55

This is Debian Vs Knoppix, right? One seems to have recognised the Codec chip as ALC3227, the other is using a generic driver. Do you have firmware-linux-nonfree installed as Head_on_a_Stick suggested?

This Soundcard/chip/codec/driver whatever does seem to be vulnerable to being jammed up by sound apps like Timidity. Try

If anything apart from Pulse/Alsa are using sound, it could be a problem.

lspci -knn | grep -iA2 audio

There seem to be a lot of issues with this card producing less sound in Linux than Windows because it has two outputs and Linux uses the wrong one by default. This might help. Possibly. Maybe.

Of course ideally the person helping there could comment as he seems to know what he’s talking about. Maybe he’ll drop by.

You could try this too (it possibly does the same thing, so one or the other.

Lenovo laptops with dual codecs

options snd-hda-intel model=dual-codecs

Источник

Оцените статью
Adblock
detector