ALSA driver compileringsproblem: manglende compile.h???
ALSA driver for Intel ICH8 audio device: NO SOUND!?! HELP needed!
(Det er ok at skrive engelsk, ikke?)
I installed 'Gutsy Gibbon' Kubuntu - first time I install Linux. The vendor of my laptop (Zepto) say my sound will work if I update the ALSA driver. So I updated to 1.0.15 following their instructions.
Not a sound.
I studied the Soundtroubleshooting page at https://help.ubuntu.com/community/SoundTroubleshooting and the troubleshooting page at http://alsa.opensrc.org/index.php/TroubleShooting and more....
I have done sudo apt-get install libncurses5-dev build-essential ncurses-dev gettext linux-headers-`uname -r` and they ran without error (say nothing needs updating when I do it again).
lspci v correctly reports the 82801H IHC8 audio controller.
The file snd_hda_intel.ko is actually put in /lib/modules/2.6.22-14-generic/kernel/sound/pci/hda/ when make install runs.
But /var/log/messages tells me that snd_hda_intel has unknown symbols and 'disagrees about versions of symbols'. Many.
And in the config.log produced by sudo ./configure --with-cards=hda-intel --with-oss=yes there is an information that I suspect to be crucial:
configure:4805: gcc -o conftest -g -O2 -I/lib/modules/2.6.22-14-generic/build/include conftest.c >&5
conftest.c:14:72: error: /lib/modules/2.6.22-14-generic/build/include/linux/compile.h: No such file or directory
That directory contains compiler.h, but no compile.h.
Can anyone tell me: is this the root cause of my trouble? Is the missing compile.h supposed to be part of the distro or part of the linux-headers I've installed or how is it expected to end up where it should? Thankful for any advice!
(Det er ok at skrive engelsk, ikke?)
I installed 'Gutsy Gibbon' Kubuntu - first time I install Linux. The vendor of my laptop (Zepto) say my sound will work if I update the ALSA driver. So I updated to 1.0.15 following their instructions.
Not a sound.
I studied the Soundtroubleshooting page at https://help.ubuntu.com/community/SoundTroubleshooting and the troubleshooting page at http://alsa.opensrc.org/index.php/TroubleShooting and more....
I have done sudo apt-get install libncurses5-dev build-essential ncurses-dev gettext linux-headers-`uname -r` and they ran without error (say nothing needs updating when I do it again).
lspci v correctly reports the 82801H IHC8 audio controller.
The file snd_hda_intel.ko is actually put in /lib/modules/2.6.22-14-generic/kernel/sound/pci/hda/ when make install runs.
But /var/log/messages tells me that snd_hda_intel has unknown symbols and 'disagrees about versions of symbols'. Many.
And in the config.log produced by sudo ./configure --with-cards=hda-intel --with-oss=yes there is an information that I suspect to be crucial:
configure:4805: gcc -o conftest -g -O2 -I/lib/modules/2.6.22-14-generic/build/include conftest.c >&5
conftest.c:14:72: error: /lib/modules/2.6.22-14-generic/build/include/linux/compile.h: No such file or directory
That directory contains compiler.h, but no compile.h.
Can anyone tell me: is this the root cause of my trouble? Is the missing compile.h supposed to be part of the distro or part of the linux-headers I've installed or how is it expected to end up where it should? Thankful for any advice!
Kommentarer5
følg opskriften:
http://ubuntuforums.org/showthread.php?t=551615&highlight=ALC268
Har du spørgsmål til de enkelte punkter så spørg:
Løsning som virker på Zepto 3215W.
Jeg brugte denne løsning: http://www.eksperten.dk/spm/804807?Esession=5cb071...
Jeg har også fundet et lille program, som gør det automatisk. Jeg kan desværre ikke finde et link til det forum, hvor den svenske fyr omtaler sit lille script.
J
Så fandt jeg scriptet! Nemmere bliver det ikke
J
Et søvnigt tusind tak - glæder mig til at prøve Jeres forslag
Kompilerede drivere nu tilgængelige
Tak for hjælpen - desværre lykkedes det mig aldrig at få kompileringen til at virke.
Men nu er der færdigkompilerede drivere som apt kan skaffe:
#!/bin/bash
sudo apt-get install linux-backports-modules
sudo echo "options snd-hda-intel model=toshiba" | sudo tee -a /etc/modprobe.d/alsa-base
sudo reboot
(tak til 'jronnholm')