我的扬声器工作正常,但是当我插入耳机时,它们不工作。我正在运行 Ubuntu 10.04。
我的声卡是 Realtek ALC259 我的笔记本型号是 HP G62t a10em
在另一个线程中,有人解决了类似的问题(耳机工作,扬声器不工作),如下所示:
sudo vi /etc/modprobe.d/alsa-base.conf(或其他一些编辑器而不是 Vi) 在文件末尾附加以下内容:
别名 snd-card-0 snd-hda-intel 选项 snd-hda-intel 模型=自动
重启
但这对我不起作用。
在对 alsa 进行更改之前,这是输出:
alsamixer 给了我这个:![]()
![]()
我所做的事情:遵循此 HowTo但现在似乎没有硬件存在(之前,列出了 2 个项目):
现在,alsamixer 给了我这个:
alsamixer:重定位错误:alsamixer:符号 snd_mixer_get_hctl,版本 ALSA_0.9 未在带有链接时间参考的文件 libasound.so.2 中定义我猜在 alsa-driver 安装中有错误,所以我开始重新安装它。
cd alsa-driver* //这很好用// sudo ./configure --with-cards=hda-intel --with-kernel=/usr/src/linux-headers-$(uname -r) //这很好用// sudo make //这不起作用。见下面的输出错误// 须藤制作安装
sudo make 的最后几行:
hpetimer.c:在函数“snd_hpet_open”中: hpetimer.c:41: 警告:函数“hpet_register”的隐式声明 hpetimer.c:44: 警告:函数“hpet_control”的隐式声明 hpetimer.c:44: 错误:“无符号”之前的预期表达式 hpetimer.c:在函数“snd_hpet_close”中: hpetimer.c:51:警告:函数“hpet_unregister”的隐式声明 hpetimer.c:52: 错误:未定义类型“struct hpet_task”的无效使用 hpetimer.c:在函数“hpetimer_init”中: hpetimer.c:88: 错误: 'EINVAL' …