PDA

View Full Version : Problemi su ubuntu con scheda audio realtek


The Fava
09-01-2008, 12:57
non riesco a far funzionare l'audio su ubuntu...
mi date qualche consiglio su cosa fare?

Gollum63
09-01-2008, 22:08
Qui hai una guida (http://wiki.ubuntu-it.org/Hardware/Audio/IntelRealtekHda?highlight=%28CategoryHardware%29%7C%28GuidaWiki%29%7C%28CategoryHardware%29)

The Fava
11-01-2008, 10:04
ma io non ho un asus....ho un hp pavilion

Gollum63
11-01-2008, 20:39
Se Hp ha una realtek la guida non cambia io ho un Acer ed ho la realtek, comunque x garanzia digita
sudo lspci -l
e copia qui l'output

The Fava
12-01-2008, 13:09
digita
sudo lspci -l
e copia qui l'output


ecco l'output

-v Be verbose
-n Show numeric ID's
-nn Show both textual and numeric ID's (names & numbers)
-b Bus-centric view (PCI addresses and IRQ's instead of those seen by the CPU)
-x Show hex-dump of the standard portion of config space
-xxx Show hex-dump of the whole config space (dangerous; root only)
-xxxx Show hex-dump of the 4096-byte extended config space (root only)
-s [[[[<domain>]:]<bus>]:][<slot>][.[<func>]] Show only devices in selected slots
-d [<vendor>]:[<device>] Show only selected devices
-t Show bus tree
-m Produce machine-readable output
-i <file> Use specified ID database instead of /usr/share/misc/pci.ids.gz
-D Always show domain numbers
-M Enable 'bus mapping' coe (dangerous;root only)
-P <dir> Use specified directory instead of /proc/bus/pci
-H <mode> Use direct hardware access (<mode> = 1 or 2)
-F <file> Read configuration data form given file
-G Enable PCI access debugging

Gollum63
12-01-2008, 15:17
Scusa ho sbagliato io quello è il man di lspci
il comando giusto è
sudo lspci -v

Jamax
12-01-2008, 20:45
stesso problema lho avuto anche io con mandriva.

soltanto che reistallandolo il problema l'ho risolto in un'altra maniera, ma in fondo sempre quella.

prima installa tutto quello che riguarda gli ALSA (driver audio) con versione 1.0.15

dalla shell lancia il comando "ALSACONF" e configura la scheda audio

o sul file /etc/modprobe.conf o sul file /etc/modprobe.d/sound editalo con un programma testuale (io uso nano con mandriva) e devi aggiungere una voce options hda-snd-intel model=xxxxx dove su xxxxx deve essere modificata con una stringa che trovi sul sito di ALSA (che produce i driver per linux)

nel mio caso con una realtek ALC662 ho inserito come model=3stack-6dig (o simile)

riavviato a tutto funzionato con perfezione.

The Fava
22-01-2008, 16:40
Scusa ho sbagliato io quello è il man di lspci
il comando giusto è
sudo lspci -v

00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
Subsystem: Hewlett-Packard Company Unknown device 30cc
Flags: bus master, fast devsel, latency 0
Capabilities: [e0] Vendor Specific Information

00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 0c) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00002000-00002fff
Memory behind bridge: cc000000-ceffffff
Prefetchable memory behind bridge: 00000000d0000000-00000000dfffffff
Capabilities: [88] Subsystem: Hewlett-Packard Company Unknown device 30cc
Capabilities: [80] Power Management version 3
Capabilities: [90] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Capabilities: [a0] Express Root Port (Slot+) IRQ 0

00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Contoller #4 (rev 03) (prog-if 00 [UHCI])
Subsystem: Hewlett-Packard Company Unknown device 30cc
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at 1800 [size=32]

00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03) (prog-if 00 [UHCI])
Subsystem: Hewlett-Packard Company Unknown device 30cc
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at 1820 [size=32]

00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03) (prog-if 20 [EHCI])
Subsystem: Hewlett-Packard Company Unknown device 30cc
Flags: bus master, medium devsel, latency 0, IRQ 19
Memory at f8504800 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port

00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
Subsystem: Hewlett-Packard Company Unknown device 30cc
Flags: bus master, fast devsel, latency 0, IRQ 23
Memory at f8500000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [70] Express Unknown type IRQ 0

00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=03, sec-latency=0
Memory behind bridge: f8000000-f80fffff
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Capabilities: [90] Subsystem: Hewlett-Packard Company Unknown device 30cc
Capabilities: [a0] Power Management version 2

00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=04, subordinate=05, sec-latency=0
I/O behind bridge: 00003000-00003fff
Memory behind bridge: f4000000-f7ffffff
Prefetchable memory behind bridge: 00000000f0000000-00000000f3ffffff
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Capabilities: [90] Subsystem: Hewlett-Packard Company Unknown device 30cc
Capabilities: [a0] Power Management version 2

00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=06, subordinate=06, sec-latency=0
I/O behind bridge: 00004000-00004fff
Memory behind bridge: f8100000-f81fffff
Prefetchable memory behind bridge: 0000000088000000-00000000880fffff
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Capabilities: [90] Subsystem: Hewlett-Packard Company Unknown device 30cc
Capabilities: [a0] Power Management version 2

00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03) (prog-if 00 [UHCI])
Subsystem: Hewlett-Packard Company Unknown device 30cc
Flags: bus master, medium devsel, latency 0, IRQ 20
I/O ports at 1840 [size=32]

00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03) (prog-if 00 [UHCI])
Subsystem: Hewlett-Packard Company Unknown device 30cc
Flags: bus master, medium devsel, latency 0, IRQ 22
I/O ports at 1860 [size=32]

00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03) (prog-if 00 [UHCI])
Subsystem: Hewlett-Packard Company Unknown device 30cc
Flags: bus master, medium devsel, latency 0, IRQ 19
I/O ports at 1880 [size=32]

00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03) (prog-if 20 [EHCI])
Subsystem: Hewlett-Packard Company Unknown device 30cc
Flags: bus master, medium devsel, latency 0, IRQ 20
Memory at f8504c00 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3) (prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=07, subordinate=07, sec-latency=32
Memory behind bridge: f8200000-f82fffff
Capabilities: [50] Subsystem: Hewlett-Packard Company Unknown device 30cc

00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
Subsystem: Hewlett-Packard Company Unknown device 30cc
Flags: bus master, medium devsel, latency 0
Capabilities: [e0] Vendor Specific Information

00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03) (prog-if 8a [Master SecP PriP])
Subsystem: Hewlett-Packard Company Unknown device 30cc
Flags: bus master, medium devsel, latency 0, IRQ 22
I/O ports at 01f0 [size=8]
I/O ports at 03f4 [size=1]
I/O ports at 0170 [size=8]
I/O ports at 0374 [size=1]
I/O ports at 18a0 [size=16]

00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03) (prog-if 01 [AHCI 1.0])
Subsystem: Hewlett-Packard Company Unknown device 30cc
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 22
I/O ports at 18d8 [size=8]
I/O ports at 18cc [size=4]
I/O ports at 18d0 [size=8]
I/O ports at 18c8 [size=4]
I/O ports at 18e0 [size=32]
Memory at f8504000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/2 Enable-
Capabilities: [70] Power Management version 3
Capabilities: [a8] #12 [0010]

00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
Subsystem: Hewlett-Packard Company Unknown device 30cc
Flags: medium devsel, IRQ 10
Memory at 88100000 (32-bit, non-prefetchable) [size=256]
I/O ports at 1c00 [size=32]

01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400M GS (rev a1) (prog-if 00 [VGA])
Subsystem: Hewlett-Packard Company Unknown device 30cc
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at ce000000 (32-bit, non-prefetchable) [size=16M]
Memory at d0000000 (64-bit, prefetchable) [size=256M]
Memory at cc000000 (64-bit, non-prefetchable) [size=32M]
I/O ports at 2000 [size=128]
Capabilities: [60] Power Management version 2
Capabilities: [68] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [78] Express Endpoint IRQ 0

02:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
Subsystem: Hewlett-Packard Company Unknown device 135c
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at f8000000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [c8] Power Management version 2
Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [e0] Express Legacy Endpoint IRQ 0

06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
Subsystem: Hewlett-Packard Company Unknown device 30cc
Flags: bus master, fast devsel, latency 0, IRQ 17
I/O ports at 4000 [size=256]
Memory at f8100000 (64-bit, non-prefetchable) [size=4K]
[virtual] Expansion ROM at 88000000 [disabled] [size=128K]
Capabilities: [40] Power Management version 2
Capabilities: [48] Vital Product Data
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/1 Enable-
Capabilities: [60] Express Endpoint IRQ 0
Capabilities: [84] Vendor Specific Information

07:09.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05) (prog-if 10 [OHCI])
Subsystem: Hewlett-Packard Company Unknown device 30cc
Flags: bus master, medium devsel, latency 32, IRQ 21
Memory at f8200000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [dc] Power Management version 2

07:09.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
Subsystem: Hewlett-Packard Company Unknown device 30cc
Flags: bus master, medium devsel, latency 32, IRQ 18
Memory at f8200800 (32-bit, non-prefetchable) [size=256]
Capabilities: [80] Power Management version 2

07:09.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12)
Subsystem: Hewlett-Packard Company Unknown device 30cc
Flags: bus master, medium devsel, latency 32, IRQ 11
Memory at f8200c00 (32-bit, non-prefetchable) [size=256]
Capabilities: [80] Power Management version 2

07:09.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
Subsystem: Hewlett-Packard Company Unknown device 30cc
Flags: bus master, medium devsel, latency 32, IRQ 11
Memory at f8201000 (32-bit, non-prefetchable) [size=256]
Capabilities: [80] Power Management version 2

07:09.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)
Subsystem: Hewlett-Packard Company Unknown device 30cc
Flags: bus master, medium devsel, latency 32, IRQ 11
Memory at f8201400 (32-bit, non-prefetchable) [size=256]
Capabilities: [80] Power Management version 2

The Fava
22-01-2008, 16:43
è uscito tutta questa simpatica schermata...e ora?

per jamax
daniele@daniele:~$ ALSACONF
bash: ALSACONF: command not found

M_82
22-01-2008, 16:52
con alsamixer (da shell), nella cartella che ti compare, in alto a sx, alla voce card, chip, view, item, cosa trovi scritto?

The Fava
22-01-2008, 17:10
con alsamixer (da shell), nella cartella che ti compare, in alto a sx, alla voce card, chip, view, item, cosa trovi scritto?

AlsaMixer v1.0.14 (Press Escape to quit)
│ Card: HDA Intel
│ Chip: Realtek ID 268
│ View: [Playback] Capture All
│ Item: Master [dB gain=0.00, 0.00]

M_82
22-01-2008, 17:16
premettendo che tu abbia i canali attivati e con il volume non a zero, entrato in alsamixer, con il tab ti sposti da playback a all (alla voce View) ed attivi i canali ancora spenti.
ps: si attivano premendo la lettera M da tastiera

The Fava
22-01-2008, 17:20
qua è tutto acceso ma non si sente ninda

The Fava
22-01-2008, 17:22
se provassimo a disintallare tutto e ripartire da zero?

M_82
22-01-2008, 17:23
prova a tenere attivato solo i seguenti canali:

master,
master m,
pcm,
surround,
cd,
duplicat,
external

e disattivare tutti gli altri

Jamax
22-01-2008, 17:27
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
Subsystem: Hewlett-Packard Company Unknown device 30cc
Flags: bus master, fast devsel, latency 0, IRQ 23
Memory at f8500000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [70] Express Unknown type IRQ 0


questa è la tua scheda audio.
io utilizzo mandriva 2008 e non so i comandi di ubuntu.

io con il mio facevo questi passi
urpmi alsa (ossia faccio scaricare dal repository tutto quello che riguarda la alsa)
avvio alsaconf e mi preconfigura i driver alsa.
ora andavo a modificare su /etc/modprobe.conf o /etc/modprobe.d/sound ed inserivo la stringa alsa mia.
nel mio caso era "options hda-sound-intel model=3stack-6ch" in uno dei due file.
a causa del diverso sistema non so se sono gli stessi passi.

comunque la tua scheda audio drovebbe essere una ALC268, ossia una realtek. prova a fare una ricerca su un motore di ricerca, con alc268 ubuntu, sicuramente trovi intanto qualcosa, dato che per molte mie problematiche su linux, trovo + aiuti per ubunto che per mandriva.

The Fava
22-01-2008, 17:28
Master PCM Caller I Digital <Off-hook>

questi sono i canali che ho

M_82
22-01-2008, 17:31
per installare tutto il pacchetto alsa in ubuntu, prova con:

sudo apt-get install alsa-*

M_82
22-01-2008, 17:33
googlando ho trovato questo per la tua scheda:

* Install the required tools
sudo apt-get install build-essential ncurses-dev gettext

* Install your kernel headers
sudo apt-get install linux-headers-`uname -r`

*Download the latest version of alsa from http://www.alsa-project.org/main/index.php/Main_Page (driver, lib, and utils) to a directory (eg. ~/downloads). In the following we assume that the latest version is 1.0.14. Please change this in accordance with the one you downloaded from the Alsa project site.

* alsa-driver
* alsa-lib
* alsa-utils

* download realtek10.tar.gz.
Extract to ../alsa-driver-1.0.14/alsa-kernel/pci/hda/

* Setup installation directories

sudo mkdir -p /usr/src/alsa
cd /usr/src/alsa
sudo cp ~/downloads/alsa* .
sudo tar xjf alsa-driver*.bz2
sudo tar xjf alsa-lib*.tar.bz2
sudo tar xjf alsa-utils*.tar.bz2

* Compile and install alsa-driver

cd alsa-driver-1.0.14
sudo ./configure --with-cards=hda-intel
sudo make
sudo make install

* Compile and install alsa-lib

cd ../alsa-lib-1.0.14a
sudo ./configure
sudo make
sudo make install

* Compile and install alsa-utils

cd ../alsa-utils-1.0.14
sudo ./configure
sudo make
sudo make install

* sudo apt-get install libncurses5-dev

* Reboot

* Edit /etc/modprobe.d/alsa-base and insert "options snd-hda-intel model=toshiba" at the end of the file.

* Reboot again

The Fava
22-01-2008, 17:34
daniele@daniele:~$ sudo apt-get install alsa-*
Lettura della lista dei pacchetti in corso... Fatto
Generazione dell'albero delle dipendenze in corso
Reading state information... Fatto
E: Impossibile trovare alsa-driver-1.0.15
daniele@daniele:~$

Jamax
22-01-2008, 17:34
"""sudo nano /etc/modprobe.d/alsa-base

and edit(wrote this line at the end:

options snd-hda-intel model=ALC268

rebooted and suddenly the sound worked :D""""

questo dovrebbe risolvere il tuo problema :D :D


EDITATO
dato che sto al lavoro ho duvuto postare in fretta e cambiare pagina di visualizzazione.

comunque se non lo sai, nano è un editor sotto shell che utilizzo anche io
non è detto che /etc/modprobe.d/alsa-base ci sia, vedi se lo hai, poi se hai /etc/modprobe.d/sound .
infine se non hai nessuno dei due /etc/modprobe.conf
basta aggiungere quella riga options snd ecc ecc..... e riavviare.
essendo precisamente i passi che ho fatto io con mandriva dovrebbe funzionare.

The Fava
22-01-2008, 17:54
con nano come si fa a salvare la modifica effettuata?

Jamax
22-01-2008, 18:05
CTRL+X
premi S
e di nuovo invio

The Fava
22-01-2008, 18:41
no no è successo un bordello...
come ho riavviato dopo aver fatto quella cosa con nano nn me lo riapre piu ubuntu...mi esce uno schermo nero prima cn ttt scritte e poi mi chiede login e password e poi niente rimane la a chiede i comandi da dare come se stessi nel terminale

Jamax
23-01-2008, 09:56
allora, mi sembra strano, dato che hai aggiunto solo una riga di configurazione.

comunque, basta rieditare e togliere la riga aggiunta.

anche se prima potresti provare a fare XFdrake e reimpostare a nuovo lo xorg.conf che, nel mio caso, mi fa la stessa cosa, quando modifico i driver video.
ossia, quello che ti sta facendo l'ho fa anche a me quanto non mi prende subito una modifica.

stamattina ho cambiato il kernel del mio linux ed ho lo stesso problema.


ps. dove hai modificato il file ? qual'è nel tuo caso il file in questione tra quelli che to ho elencato?
tu usando ubuntu dovrestri avere l'interfaccia Gnome.

prova a farlo partire manualmente, logandoti e scrivendo $\gnome e si dovrebbe capire perchè non parte.

The Fava
25-01-2008, 16:31
siccome per sta cacchio di scheda audio ho fatto parecchi impicci vorrei fare cosi...disinstallare ubuntu e rifa tutto da capo con calma...
ora: partendo dal fatto che mi è successo quel casino posso eliminare ubuntu da vista?

Jamax
25-01-2008, 16:43
ma togliendo la riga che ti ho detto, non è ritornato apposto?

comunque mi sembra strano che una riga del genere ti abbia fatto un macello.

io ho reinstallato la mia mandriva, ma xkè ho ossato aggiornare il kernel con un'altra versione.

comunque se reinstalli da live cd di ubuntu, ti conviene lanciare la live come al solito e da dentro decidere di reinstallare nelle stesse partizioni, magari formattando la root. (penso che hai fatto solo due partizioni, / e /swap)
perchè da live, puoi ancora salvare magari che dato dalla home, che magari ti può servire.

mi sento un po responsabile, ma ti ho detto le stesse cose che ho fatto io per il mio linux che è andato tutto a meraviglia.

The Fava
26-01-2008, 12:05
ma non ti sta a preoccupa..sai quanti bordelli ho fatto con vari computer dal momento che mi mettevo a smanetta...cmq non mi apre proprio gnome non so perche...quindi inserisco il cd faccio parti la live e reinstallo sulla stessa partizione?? non ho ben capito il resto di quanto mi hai detto
che significa formattare la root??