[Tutorials] 最新版本没声音问题解决办法
Tofloor
poster avatar
zwg873878042-
deepin
2021-02-20 02:43
Author

1:首先找到终端打开

2:复制   sudo apt install pavucontrol   进去粘贴回车,会提示你输入密码输入密码后执行,等待执行完毕。

3:复制 sudo apt install linux-image-5.8.14-amd64-desktop   进去粘贴回车,等待执行完毕,重启即可解决问题。

Reply Favorite View the author
All Replies
安洛
deepin
2021-02-20 02:45
#1

怎么还切换了内核?这不是通用的方法。

Reply View the author
zwg873878042-
deepin
2021-02-20 02:45
#2

希望管理员可以加亮或者收藏处理,我看到很多人都遇到这个问题了,

Reply View the author
zwg873878042-
deepin
2021-02-20 02:46
#3
安洛

怎么还切换了内核?这不是通用的方法。

难道目前为止还有更好的办法解决没有声音的问题,欢迎找方法。

Reply View the author
zwg873878042-
deepin
2021-02-20 02:54
#4
安洛

怎么还切换了内核?这不是通用的方法。

 测试了一下,把内核降级后再升级声音依旧正常。

Reply View the author
安洛
deepin
2021-02-20 03:15
#5
zwg873878042-

难道目前为止还有更好的办法解决没有声音的问题,欢迎找方法。

降级内核来解决问题会因为设备不同而有差异,所以我认为不是通用的解决方法。btw,你说降级再升级也能解决问题,说明根本不是内核的问题,是你的操作无意中解决了真正的问题,那更加不应该作为最终解决方案了。

Reply View the author
www970315
deepin
2021-02-20 08:22
#6

有大佬知道这个怎么解决嘛,我小白,人傻了

 

hhh@hhh-PC:~$ sudo apt install pavucontrol

请输入密码

[sudo] hhh 的密码:

验证成功

E: 无法获得锁 /var/lib/dpkg/lock-frontend - open (11: 资源暂时不可用)

E: 无法获取 dpkg 前端锁 (/var/lib/dpkg/lock-frontend),是否有其他进程正占用它?

hhh@hhh-PC:~$ 

Reply View the author
Fredoong
deepin
2021-02-20 22:57
#7

什么鬼,你到底知不知道你输入的命令是做什么的。。。。

Reply View the author
littlebat
deepin
2021-02-25 02:34
#8
www970315

有大佬知道这个怎么解决嘛,我小白,人傻了

 

hhh@hhh-PC:~$ sudo apt install pavucontrol

请输入密码

[sudo] hhh 的密码:

验证成功

E: 无法获得锁 /var/lib/dpkg/lock-frontend - open (11: 资源暂时不可用)

E: 无法获取 dpkg 前端锁 (/var/lib/dpkg/lock-frontend),是否有其他进程正占用它?

hhh@hhh-PC:~$ 

那是因为系统有系统更新进程正在运行,一般等一阵就行了。ps aux 可以查看

Reply View the author
lianhuan252
deepin
2021-05-18 16:32
#9

我的笔记本也是无法自动选择声卡,用pavucontrol手动切换后,能够正常发声。但不稳定,不知什么时候就不出声了,再切换一次。每次都是用pavucontrol把输出设备从headphones切换为monospeaker。用aplay -l查看声卡型号为es8316,然后打开sur-share-alsa-ucm-codecs-es8316文件夹,右击用管理员身份打开。把monospeaker.conf中的内容复制到headphones.conf,(前3行不用替换,headphones.conf除前3行外,其他内容与monospeaker.conf相同),这样外放就正常了,即使用pavucontrol切换输出设备,无论哪个都能正常工作。最后我把pavucontrol卸载了,因为已经不需要再切换了。但是我没有测试耳机能不能用,我从来不用耳机,反正再也不用为没有声音烦恼了。

headphones.conf原始内容为:

SectionDevice."Headphones" {

Comment "Headphones"

 

ConflictingDevice [

"Speaker"

"MonoSpeaker"

]

 

EnableSequence [

cdev "hw:bytchtes8316"

cset "name='Headphone Switch' on"

]

 

DisableSequence [

cdev "hw:bytchtes8316"

cset "name='Headphone Switch' off"

]

 

Value {

PlaybackChannels "2"

JackControl "Headphone Jack"

JackHWMute "Speaker MonoSpeaker"

}

}

 

修改后为

SectionDevice."Headphones" {

Comment "Headphones"

 

ConflictingDevice [

"Speaker"

"Headphones"

]

 

EnableSequence [

cdev "hw:bytchtes8316"

 

# BYT/CHT devices with an ES8316 codec use a single speaker

# connected between the headhpone LOUT and ROUT pins, expecting

# the output to be in a mono differential mode. Presumably this

# is done to use the power of both the left and right headphone

# amplifier channels to allow the speaker to be louder.

#

# The ES8316 codec does not have a differential output mode, but

# we can emulate one by making both channels output the exact

# same signal by setting the "DAC Mono Mix Switch", combined

# with setting the "Playback Polarity" control to "R Invert",

# which applies a 180 degrees phase inversion to the right chan.

cset "name='DAC Mono Mix Switch' on"

cset "name='Playback Polarity' 1"

 

cset "name='Speaker Switch' on"

]

 

DisableSequence [

cdev "hw:bytchtes8316"

cset "name='Speaker Switch' off"

# DAC settings back to normal for stereo headphones output

cset "name='Playback Polarity' 0"

cset "name='DAC Mono Mix Switch' off"

]

 

Value {

PlaybackChannels "2"

}

}

 

Reply View the author