Gå til innhold

[IKKE LØST] Lydtrøbbel i Ubuntu


Anbefalte innlegg

Videoannonse
Annonse
Det er en kommando du kan kjøre, det vil lage et flott bråk om du har lyd, men det har du jo ikke, så kommandoen er egentlig liten vits...men kjør den gjerne, får du lyd fungerer lyden, får du ingen lyd er du like langt.

7152547[/snapback]

Det er ikkje alltid ein får lyd up av applikasjoner, sjølv om lydkortet fungerer. Det kan t.d. være at det er problem med ein lydtjenar/mixer.

Enklaste måten å kontrolere det på er å sende data direkte til lydkortet.

Lenke til kommentar
paste resultatet av:

lspci | grep audio

 

..da får man detaljert info om hvilket (lyd-)chipset du har..

7152578[/snapback]

marcus@marcus-laptop:~$ lspci

0000:00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 03)

0000:00:01.0 PCI bridge: Intel Corporation Mobile PCI Express Graphics Port (rev 03)

0000:00:1b.0 0403: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)

0000:00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)

0000:00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)

0000:00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)

0000:00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)

0000:00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)

0000:00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)

0000:00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)

0000:00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)

0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)

0000:00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)

0000:00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controllers cc=IDE (rev 02)

0000:00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)

0000:01:00.0 VGA compatible controller: nVidia Corporation: Unknown device 0398 (rev a1)

0000:02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller

0000:03:00.0 Network controller: Intel Corporation: Unknown device 4222 (rev 02)0000:0a:04.0 CardBus bridge: Texas Instruments: Unknown device 8039

0000:0a:04.1 FireWire (IEEE 1394): Texas Instruments: Unknown device 803a

0000:0a:04.2 Mass storage controller: Texas Instruments: Unknown device 803b

0000:0a:04.3 0805: Texas Instruments: Unknown device 803c

Lenke til kommentar
paste resultatet av:

lspci | grep audio

 

..da får man detaljert info om hvilket (lyd-)chipset du har..

7152578[/snapback]

marcus@marcus-laptop:~$ lspci

0000:00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 03)

0000:00:01.0 PCI bridge: Intel Corporation Mobile PCI Express Graphics Port (rev 03)

0000:00:1b.0 0403: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)

0000:00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)

0000:00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)

0000:00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)

0000:00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)

0000:00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)

0000:00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)

0000:00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)

0000:00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)

0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)

0000:00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)

0000:00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controllers cc=IDE (rev 02)

0000:00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)

0000:01:00.0 VGA compatible controller: nVidia Corporation: Unknown device 0398 (rev a1)

0000:02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller

0000:03:00.0 Network controller: Intel Corporation: Unknown device 4222 (rev 02)0000:0a:04.0 CardBus bridge: Texas Instruments: Unknown device 8039

0000:0a:04.1 FireWire (IEEE 1394): Texas Instruments: Unknown device 803a

0000:0a:04.2 Mass storage controller: Texas Instruments: Unknown device 803b

0000:0a:04.3 0805: Texas Instruments: Unknown device 803c

7162302[/snapback]

 

 

ok, et kjapt google-søk (intel 82801 linux) tilsier at det er flere som har problemer med dette chipsettet (lyd-delen i hvertfall)

 

flere som har forsøkt litt diverse ting; fjerne alsa-driverene fra kjernen og kompilere egne .. o.l., men det enkleste - som jeg i hvertfall så én har fått til var å legge til en option til alsa-driveren:

 

options snd_hda_intel model=3stack

 

når det gjelder ubuntu så blir dette i filen /etc/modprobe.d/alsa-base .. hm - tror jeg

Endret av oxymora
Lenke til kommentar
Hvis vi går utifra at oxymora har gitt rett adresse :

 sudo gedit /etc/modprobe.d/alsa-base

.

EDIT: Skrivelief

EDIT-Tissedam: fikset leifen du skulle fikse. :D

7162599[/snapback]

gedit var det ja. :D

 

EDIT: Alsa-filen ser naa slik ut:

 

Klikk for å se/fjerne innholdet nedenfor
# autoloader aliases

install sound-slot-0 modprobe snd-card-0

install sound-slot-1 modprobe snd-card-1

install sound-slot-2 modprobe snd-card-2

install sound-slot-3 modprobe snd-card-3

install sound-slot-4 modprobe snd-card-4

install sound-slot-5 modprobe snd-card-5

install sound-slot-6 modprobe snd-card-6

install sound-slot-7 modprobe snd-card-7

 

# Cause optional modules to be loaded above generic modules

install snd modprobe --ignore-install snd $CMDLINE_OPTS && { modprobe -Qb snd-ioctl32 ; : ; }

install snd-pcm modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { modprobe -Qb snd-pcm-oss ; : ; }

install snd-mixer modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { modprobe -Qb snd-mixer-oss ; : ; }

install snd-seq modprobe --ignore-install snd-seq $CMDLINE_OPTS && { modprobe -Qba snd-seq-midi snd-seq-oss ; : ; }

 

# Cause optional modules to be loaded above sound card driver modules

install snd-emu10k1 modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { modprobe -Qb snd-emu10k1-synth ; }

install snd-via82xx modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { modprobe -Qb snd-seq ; }

 

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)

install saa7134 modprobe --ignore-install saa7134 $CMDLINE_OPTS && { modprobe -Qb saa7134-alsa ; : ; }

# Prevent abnormal drivers from grabbing index 0

options snd-bt87x index=-2

options snd-atiixp-modem index=-2

options snd-intel8x0m index=-2

options snd-via82xx-modem index=-2

options snd_hda_intel model=3stack

Endret av tissedam
Lenke til kommentar

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
  • Hvem er aktive   0 medlemmer

    • Ingen innloggede medlemmer aktive
×
×
  • Opprett ny...