Na ubuntu sa mi nedari rozbehat zvuk trochu som hladal a nasiel
toto, takze som pochopil ze mi treba novu alsu. potom som nasiel
toto, sice je to na 64bitovu ale to by nemal byt problem. Tam sa to vyriesilo
tymto navodom a tu je kamen urazu, lebo ja tam nerozumiem nic (anglinu neviem) nenasla by sa nejaka dobra dusa ktora by sa nato mrkla a pomohla mi? Ako sa to vlastne instaluje ta nova alsa, aky je podtup este som az take veci nerobil. Ved vsetko je v zivote po prvy raz :) kto ma nasmeruje? DIKI.
https://help.ubuntu.com/community/HdaIntelSoundHowto
Snad dajake zaklady anglictiny mas a rozumies slovam download a pod. ;)
A nasledne len staci vykonat nasledne prikazy.
sudo cp -v /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/snd-hda-intel.ko
sudo cp -v /usr/src/alsa/alsa-driver-1.0.15/modules/* /lib/modules/2.6.22-14-generic/kernel/sound/
sudo depmod -a
ls -l /lib/modules/2.6.22-14-generic/kernel/sound/
Mozno ten navod nieje presny.
pavol@pavol-laptop:~$ ls -l /lib/modules/2.6.22-14-generic/kernel/sound/
celkom 7912
drwxr-xr-x 4 root root 4096 2008-01-27 17:32 acore
drwxr-xr-x 4 root root 4096 2008-01-27 17:32 core
drwxr-xr-x 6 root root 4096 2008-01-27 17:32 drivers
drwxr-xr-x 3 root root 4096 2008-01-27 17:32 i2c
drwxr-xr-x 10 root root 4096 2008-01-27 17:32 isa
drwxr-xr-x 2 root root 4096 2007-10-16 01:20 oss
drwxr-xr-x 21 root root 4096 2008-01-27 17:32 pci
drwxr-xr-x 4 root root 4096 2007-10-16 01:20 pcmcia
-rw-r--r-- 1 root root 2005146 2008-01-27 18:10 snd-hda-intel.ko
-rw-r--r-- 1 root root 134672 2008-01-27 18:10 snd-hwdep.ko
-rw-r--r-- 1 root root 1044068 2008-01-27 18:10 snd.ko
-rw-r--r-- 1 root root 170501 2008-01-27 18:10 snd-mixer-oss.ko
-rw-r--r-- 1 root root 230367 2008-01-27 18:10 snd-page-alloc.ko
-rw-r--r-- 1 root root 836944 2008-01-27 18:10 snd-pcm.ko
-rw-r--r-- 1 root root 894713 2008-01-27 18:10 snd-pcm-oss.ko
-rw-r--r-- 1 root root 111956 2008-01-27 18:10 snd-rtctimer.ko
-rw-r--r-- 1 root root 127047 2008-01-27 18:10 snd-seq-device.ko
-rw-r--r-- 1 root root 1113884 2008-01-27 18:10 snd-seq.ko
-rw-r--r-- 1 root root 124042 2008-01-27 18:10 snd-seq-midi-event.ko
-rw-r--r-- 1 root root 957803 2008-01-27 18:10 snd-seq-oss.ko
-rw-r--r-- 1 root root 205530 2008-01-27 18:10 snd-timer.ko
drwxr-xr-x 2 root root 4096 2008-01-27 17:32 soc
-rw-r--r-- 1 root root 11568 2007-10-15 03:40 soundcore.ko
-rw-r--r-- 1 root root 4896 2007-10-15 03:40 sound_firmware.ko
drwxr-xr-x 3 root root 4096 2008-01-27 17:32 synth
drwxr-xr-x 4 root root 4096 2008-01-27 17:32 usb
pavol@pavol-laptop:~$
este pridam
pavol@pavol-laptop:~$ aplay -l
**** Zoznam PLAYBACK Hardwarových Zariadení ****
karta 0: NVidia [HDA NVidia], zariadenie 0: ALC861VD Analog [ALC861VD Analog]
Subdevices: 1/1
Subzariadenie #0: subdevice #0
karta 0: NVidia [HDA NVidia], zariadenie 6: Si3054 Modem [Si3054 Modem]
Subdevices: 1/1
Subzariadenie #0: subdevice #0
pavol@pavol-laptop:~$
.
pavol@pavol-laptop:~$ cat /proc/asound/modules
0 snd_hda_intel
pavol@pavol-laptop:~$
.
pavol@pavol-laptop:~$ cat /proc/asound/card0/codec#* | grep Codec
Codec: Realtek ALC660-VD
Codec: Motorola Si3054
pavol@pavol-laptop:~$
cat /etc/modprobe.d/alsa-base
pavol@pavol-laptop:~$ cat /etc/modprobe.d/alsa-base
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7
# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet snd-ioctl32 ; : ; }
install snd-pcm /sbin/modprobe --ignore-install snd-pcm && { /sbin/modprobe --quiet snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer && { /sbin/modprobe --quiet snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq && { /sbin/modprobe --quiet snd-seq-midi ; /sbin/modprobe --quiet snd-seq-oss ; : ; }
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { /sbin/modprobe --quiet snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-seq ; }
# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe -Qb saa7134-alsa ; : ; }
# Load snd-seq for devices that don't have hardware midi;
# Ubuntu #26283, #43682, #56005; works around Ubuntu #34831 for
# non-Creative Labs PCI hardware
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe -Qb snd-seq ; }
# Prevent abnormal drivers from grabbing index 0
options snd-bt87x index=-2
options cx88-alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-usx2y index=-2
options snd-usb-caiaq index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
options snd-hda-intel model=MODEL
pavol@pavol-laptop:~$
pavol@pavol-laptop:~$ uname -r
2.6.22-14-generic
pavol@pavol-laptop:~$
Asi len ten jeden riadok by som upravil
options snd-hda-intel model=MODEL
To slovo MODEL by malo byt driver co ma pouzit ak sa nepletiem.
Vies aku tam mas zvukovku presne? (Vyrobca a pod.)
Skus tam dat napr
options snd-hda-intel model=lenovo
alebo tak skus dat "auto"
Takze vobec netreba davat novsiu verziu alsy ale staci v editore pod rootom editovat tento subor
/etc/modprobe.d/alsa-base
a na koniec pridat tento riadokoptions snd-hda-intel model=MODEL
a na miestoMODEL
pridat model NB (acer, asus, lenovo...). Hoc ja mam asus, mne zvuk funguje len ked tam mam napisanelenovo
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7
# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet snd-ioctl32 ; : ; }
install snd-pcm /sbin/modprobe --ignore-install snd-pcm && { /sbin/modprobe --quiet snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer && { /sbin/modprobe --quiet snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq && { /sbin/modprobe --quiet snd-seq-midi ; /sbin/modprobe --quiet snd-seq-oss ; : ; }
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { /sbin/modprobe --quiet snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-seq ; }
# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe -Qb saa7134-alsa ; : ; }
# Load snd-seq for devices that don't have hardware midi;
# Ubuntu #26283, #43682, #56005; works around Ubuntu #34831 for
# non-Creative Labs PCI hardware
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe -Qb snd-seq ; }
# Prevent abnormal drivers from grabbing index 0
options snd-bt87x index=-2
options cx88-alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-usx2y index=-2
options snd-usb-caiaq index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
ked si v konzole tak napis "su" a potom zadaj heslo pre roota , a potom to mozes editovat a uz ti to pojde ulozit.
sudo gedit /etc/modprobe.d/alsa-base
potom zadaj heslo a daj enter (pozor pri zadavani hesla sa nezobrazuju ziadne znaky). Takze ked chces nieco robit pod root v ubuntu pouziva sa sudo. gedit je textovy editor.