lnhoa
07-05-2009, 05:31 PM
Một số máy laptop khi cài ubuntu thì không nghe được âm thanh.Driver thì không phải hãng nào cũng hỗ trợ cho linux.
Điển hình như HP
http://welcome.hp.com/country/us/en/support.html
hầu hết chỉ hỗ trợ cho vista hoặc win 7,ko có sound driver cho xp hay linux.
Khi gặp tình huống đó (trên ubuntu) bạn có thể thử cách sau :)
1. copy-paste the following command into the Terminal:
gksudo gedit /etc/modprobe.d/alsa-base.conf
2. and add these lines to the end of the /etc/modprobe.d/alsa-base.conf file:
# Keep snd-pcsp from beeing loaded as first soundcard
options snd-pcsp index=-2
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=dell-m4-1
options snd-hda-intel enable_msi=1
3. Then navigate to System>Preferences>Sound and change everything to ALSA
4. copy-paste the following command into the Terminal:
gksudo gedit /etc/group
5. replace the following line (or something very similar to it):
audio:x:29:pulse
with this line:
audio:x:29:<your Ubuntu logon name>,pulse
6. reboot and retest sound
7. In the Mixer control panel, make sure to unmute all channels and increase the volume on all channels
Nguồn:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/364706
Điển hình như HP
http://welcome.hp.com/country/us/en/support.html
hầu hết chỉ hỗ trợ cho vista hoặc win 7,ko có sound driver cho xp hay linux.
Khi gặp tình huống đó (trên ubuntu) bạn có thể thử cách sau :)
1. copy-paste the following command into the Terminal:
gksudo gedit /etc/modprobe.d/alsa-base.conf
2. and add these lines to the end of the /etc/modprobe.d/alsa-base.conf file:
# Keep snd-pcsp from beeing loaded as first soundcard
options snd-pcsp index=-2
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=dell-m4-1
options snd-hda-intel enable_msi=1
3. Then navigate to System>Preferences>Sound and change everything to ALSA
4. copy-paste the following command into the Terminal:
gksudo gedit /etc/group
5. replace the following line (or something very similar to it):
audio:x:29:pulse
with this line:
audio:x:29:<your Ubuntu logon name>,pulse
6. reboot and retest sound
7. In the Mixer control panel, make sure to unmute all channels and increase the volume on all channels
Nguồn:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/364706