Public bug reported:

I have an ALC268 sound chipset (Santa Rosa platform) in my laptop (a Znote 
6625WD) and just did a clean reinstall of Gutsy to get rid of some problems.
Before I did the reinstall I had sound, albeit with some quirks (like the 
integrated speakers not muting when I plugged in my external speakers), but now 
that I've reinstalled, I get no sound at all anymore.
These are the steps I take to get sound:

I made a collection of 3 scripts to make getting sound in Gutsy easier.
I did that in steps, and between steps I'd have to reboot:

#Install the appropriate kernel headers
sudo apt-get install linux-headers-`uname -r` 
echo "\nLinux headers installed.\n"

#Get some prerequisite packages, at least I think they're still prerequisite 
for alsa 1.0.15 (they WERE for 1.0.14, at least)
sudo apt-get install libncurses5 libncurses5-dbg libncurses5-dev 
build-essential ncurses-dev gettext
echo "\nPrequisite packages installed.\n"

#Extract the sources
tar xjf alsa-driver-1.0.15.tar.bz2
tar xjf alsa-lib-1.0.15.tar.bz2
tar xjf alsa-utils-1.0.15.tar.bz2
echo "\nall alsa tar.bz2 files unpacked.\n"

#Remove the /usr/src/alsa dir, if it exists
sudo rm -r -f /usr/src/alsa
echo "\n/usr/src/alsa removed.\n"

#Make the dir alsa in /usr/src
sudo mkdir /usr/src/alsa
echo "\n/usr/src/alsa created.\n"

#Move the extracted sources to /usr/src/alsa
sudo mv ./alsa-driver-1.0.15 /usr/src/alsa
echo "\nalsa-driver-1.0.15 moved.\n"
sudo mv ./alsa-lib-1.0.15 /usr/src/alsa
echo "\nalsa-lib-1.0.15 moved.\n"
sudo mv ./alsa-utils-1.0.15 /usr/src/alsa
echo "\nalsa-utils-1.0.15 moved.\n"

#make alsa-driver-1.0.15
cd /usr/src/alsa/alsa-driver-1.0.15
sudo ./configure --with-cards=hda-intel
echo "\nconfigured.\n"
sudo make
echo "\nmade.\n"
sudo make install
echo "\ninstalled.\n"
cd ..

#make alsa-lib-1.0.15
cd /usr/src/alsa/alsa-lib-1.0.15
sudo ./configure
echo "\nconfigured.\n"
sudo make
echo "\nmade.\n"
sudo make install
echo "\ninstalled.\n"
cd ..

#make alsa-utils-1.0.15
cd /usr/src/alsa/alsa-utils-1.0.15
sudo ./configure
echo "\nconfigured.\n"
sudo make
echo "\nmade.\n"
sudo make install
echo "\ninstalled.\n"
cd ..


Then reboot, then the 2nd script: 

#step 2 of the process. After this step you should reboot.
sudo echo "options snd-hda-intel model=auto" >> /etc/modprobe.d/alsa-base
echo "\n\"options snd-hda-intel model=auto\"\nadded to the end 
of\n\"/etc/modprobe.d/alsa-base\".\n"

Then  reboot again, then the 3rd script:

#copy snd-hda-intel.ko to the right location
sudo cp /lib/modules/2.6.22-14-generic/kernel/sound/pci/hda/snd-hda-intel.ko 
/lib/modules/2.6.22-14-generic/ubuntu/media/snd-hda-intel/
echo 
"\n/lib/modules/2.6.22-14-generic/kernel/sound/pci/hda/snd-hda-intel.ko\ncopied 
to\n/lib/modules/2.6.22-14-generic/ubuntu/media/snd-hda-intel/\n"

#copy the needed kernel modules to the right location in /lib
sudo cp /usr/src/alsa/alsa-driver-1.0.15/modules/* 
/lib/modules/2.6.22-14-generic/kernel/sound/
echo "/usr/src/alsa/alsa-driver-1.0.15/modules/* copied to 
/lib/modules/2.6.22-14-generic/kernel/sound/\n"

#Run depmod to update modules.dep and map files
sudo depmod -a
echo "depmod -a run.\n"


After that, reboot one last time.
Steps 1 and 2 I got from the howto at 
https://help.ubuntu.com/community/HdaIntelSoundHowto and step 3 I got from 
http://ubuntuforums.org/showpost.php?p=3566719&postcount=8

I've (s you can see) already gotten a solution in the past, but for some
reason that has stopped working. Any ideas anybody?

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
[Gutsy] alsa 1.0.15 not working on ALC268
https://bugs.launchpad.net/bugs/175204
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to