Я возвращаюсь в Ubuntu после паузы в несколько лет, поэтому совсем немного забыл.
Моя проблема в том, что ALSA вообще не будет перечислять мою звуковую карту. Не может найти ее. Команда aplay возвращает: aplay: device_list:221: no soundcard found...
Мое оборудование распознает это, хотя:
:~$ lspci -v | grep -A7 -i "audio"
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
Subsystem: Lenovo Device 38af
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at 9b100000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel modules: snd-hda-intel
01:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller (rev a1)
Subsystem: Lenovo Device 392d
Flags: bus master, fast devsel, latency 0, IRQ 5
Memory at 93000000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel modules: snd-hda-intel**
Я пробовал несколько вещей. Это: https://help.ubuntu.com/community/SoundTrou устранение неполадок
Обновленное ядро: https://askubuntu.com/questions/150215/my-sound-is -not-working-in-ubuntu-12-04
После этого обновления моя система сломалась, поэтому обновилось ядро до 3.5.0-45-generic
Я думаю, вы хотите спецификации также: http://www.lapspecs.com/detail/lenovo+g560 || Это i5 430M '
Каждый раз, когда я загружаюсь, я получаю сообщение об ошибке на oss4-dkms:
DKMS make.log для oss4-4.2-build2005 для ядра 3.5.0 -45-generic (i686)
cp: невозможно stat` / lib / modules / 3.5.0-45-generic / source / include / linux / limit.h ': такого файла или каталога нет
У меня нет идей, как это исправить. Помощь приветствуется!
Проблема решена! Я немного покопался и нашел скрипт для обновления системы ALSA. http://www.stchman.com/alsa_update.html
После загрузки скрипта необходимо дать ему разрешение на выполнение, например
chmod u+x alsa_setup.sh
#!/bin/sh
# This script will recompile the ALSA drivers for Ubuntu
# This procedure was gotten from
# https://help.ubuntu.com/community/HdaIntelSoundHowto
#
# Authored by Bob Nelson admin@stchman.com
#
# This script updated 9/6/2007
script_name="alsa_setup.sh"
# Script must run as root
if [ $USER != "root" ]; then
echo "You need to run this script as root."
echo "Use 'sudo ./$script_name' then enter your password when prompted."
exit 1
fi
# Install the required tools
apt-get -y install build-essential ncurses-dev gettext
# Install your kernel headers
apt-get -y install linux-headers-`uname -r`
# Change to users home folder
cd ~
# Get the files from www.stchman.com
wget http://www.stchman.com/tools/alsa/alsa-driver-1.0.16.tar.bz2
wget http://www.stchman.com/tools/alsa/alsa-lib-1.0.16.tar.bz2
wget http://www.stchman.com/tools/alsa/alsa-utils-1.0.16.tar.bz2
# make a new folder
mkdir -p /usr/src/alsa
# Change to that folder
cd /usr/src/alsa
# Copy the downloaded files to the newly made folder
cp ~/alsa* .
# Unpack the tar archive files
tar xjf alsa-driver*
tar xjf alsa-lib*
tar xjf alsa-utils*
#Compile and install alsa-driver
cd alsa-driver*
./configure --with-cards=hda-intel --with-kernel=/usr/src/linux-headers-$(uname -r)
make
make install
# Compile and install alsa-lib
cd ../alsa-lib*
./configure
make
make install
# Compile and install alsa-utils
cd ../alsa-utils*
./configure
make
make install
# Remove the archives as they are no longer needed
rm -f ~/alsa-driver*
rm -f ~/alsa-lib*
rm -f ~/alsa-utils*
# Add the following line to the file, replacing '3stack' with your model
echo -e '\n' >> /etc/modprobe.d/alsa-base
echo "options snd-hda-intel model=3stack" >> /etc/modprobe.d/alsa-base
# Reboot the computer
reboot
Я все еще получите ошибку oss4. Но звук работает!
Установка OSS4 отключает встроенные в ядро звуковые драйверы. (И в вашем случае ошибки в OSS отключают драйверы OSS.)
Удалите OSS4.