View previous topic :: View next topic |
Author |
Message |
k01 Arch/Herd Tester
Joined: 13 Feb 2008 Posts: 617 Location: Milano
|
Posted: Tue Apr 29, 2008 10:05 am Post subject: [RISOLTO] scheda audio vaio pcg-c1x |
|
|
buongiorno a tutti, sto cercando di installare gentoo su un vaio pcg-c1x, ma ho dei problemi con la scheda audio, non riesco proprio a trovarla. questo è l'output di lspci:
Code: |
00:00.0 Host bridge: Intel Corporation 430TX - 82439TX MTXC (rev 01)
00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
00:08.0 VGA compatible controller: Neomagic Corporation NM2200 [MagicGraph 256AV] (rev 20)
00:09.0 FireWire (IEEE 1394): Sony Corporation CXD1947Q i.LINK Controller (rev 01)
00:0a.0 CardBus bridge: Ricoh Co Ltd RL5c475
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
|
all'inizio avevo pensato che fosse attaccata al bus isa e non pci, ma poi nella configurazione del kernel, tra le periferiche PCI, ho trovato "NeoMagic NM256AV/ZX". Ho provato a caricarlo come modulo con modprobe snd-nm256, e i moduli caricati risultano essere:
Code: | Module Size Used by
snd_nm256 64544 0
snd_ac97_codec 88356 1 snd_nm256
ac97_bus 1920 1 snd_ac97_codec
snd_pcm 59524 2 snd_nm256,snd_ac97_codec
snd_timer 16260 1 snd_pcm
snd_page_alloc 7304 1 snd_pcm
snd 34040 4 snd_nm256,snd_ac97_codec,snd_pcm,snd_timer
pcmcia 29100 0
yenta_socket 21260 2
rsrc_nonstatic 10240 1 yenta_socket
pcmcia_core 29460 3 pcmcia,yenta_socket,rsrc_nonstatic |
ma quando provo ad avviare alsamixer mi da il solito errore come se non ci fosse la periferica:
Code: | alsamixer: function snd_ctl_open failed for default: No such file or directory |
qualche suggerimento?
Last edited by k01 on Wed Apr 30, 2008 4:13 pm; edited 1 time in total |
|
Back to top |
|
|
k01 Arch/Herd Tester
Joined: 13 Feb 2008 Posts: 617 Location: Milano
|
Posted: Tue Apr 29, 2008 10:31 am Post subject: |
|
|
piccolo aggiornamento, ho provato ad aggiungere alsasound al boot, cerca di caricare tutti i driver disponibili, ma alla fine dice che non trova quello necessario. nel kernel sono tutti abilitati come moduli: pci, isa, usb, pcmcia |
|
Back to top |
|
|
djinnZ Advocate
Joined: 02 Nov 2006 Posts: 4831 Location: somewhere in L.O.S.
|
Posted: Tue Apr 29, 2008 1:07 pm Post subject: |
|
|
Qualora non ti sia di troppo disturbo ti inviterei a dare una scorsa al file /usr/src/linux/Documentation/sound/alsa/ALSA_Configuration.txt (od anche tramite google, ci ho messo un paio di secondi a trovarlo); giusto in tema di sony vaio (noti per essere assai rognosi) sono riportati un paio di parametri per il modulo che hai scelto di adottare (o per la linea di comando del kernel se il driver lo preferisci builtin; basta nomedelfiledelmodulo.parametro), hai mai provato soluzioni del genere?!
Suppongo di no, voi giovani siete abituati a troppe comodità oggi... cosa ne volete sapere dei vecchi unix dove dovevi usare l'editor sul binario per cambiare l'indirizzo del driver software e dissaldare un ponticello sulla scheda per l'hardware (con tanto di elettroshock gentilmente offerto dal gruppo di continuità integrato a 24v) o dei tempi in cui dovevi specificare irq, indirizzo e quant'altro per ogni driver su linux. Beh sono finiti i tempi comodi finalmente con hda-intel e compagni si ritorna alle care vecchie bestemmie di un tempo, che cos'era questa rilassatezza che ti limitavi ad abilitare in configurazione il driver, pure builtin, e tutto funzionava a prima botta, le bestemmie ci vogliono!
@mods: per l'ennesima volta non ho resistito alla tentazione di fare il pagliaccio, come sempre mi cospargo il capo di cenere e vado mestamente ad inchiodarmi i legni della croce, invece che in sala mensa, però, potrei operare all'aperto? Dalle mie parti è una bella giornata di primavera a parte il cielo velato.
@The Extremer: la prossima volta non aprire un nuovo post ma edita quello originale.
edit: dimenticavo, alcuni driver, non ricordo dove lo ho letto e perché, mi pare si escludano a vicenda e se non mi sbaglio nmvattelapesca e ac97 o opl3sax (tra l'altro provali) sono tra questi. _________________ scita et risus abundant in ore stultorum sed etiam semper severi insani sunt
mala tempora currunt...mater stultorum semper pregna est
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist |
|
Back to top |
|
|
k01 Arch/Herd Tester
Joined: 13 Feb 2008 Posts: 617 Location: Milano
|
Posted: Tue Apr 29, 2008 5:05 pm Post subject: |
|
|
dunque:
Quote: | Module snd-nm256
----------------
Module for NeoMagic NM256AV/ZX chips
playback_bufsize - max playback frame size in kB (4-128kB)
capture_bufsize - max capture frame size in kB (4-128kB)
force_ac97 - 0 or 1 (disabled by default)
buffer_top - specify buffer top address
use_cache - 0 or 1 (disabled by default)
vaio_hack - alias buffer_top=0x25a800
reset_workaround - enable AC97 RESET workaround for some laptops
reset_workaround2 - enable extended AC97 RESET workaround for some
other laptops
This module supports one chip and autoprobe.
The power-management is supported.
Note: on some notebooks the buffer address cannot be detected
automatically, or causes hang-up during initialization.
In such a case, specify the buffer top address explicitly via
the buffer_top option.
For example,
Sony F250: buffer_top=0x25a800
Sony F270: buffer_top=0x272800
The driver supports only ac97 codec. It's possible to force
to initialize/use ac97 although it's not detected. In such a
case, use force_ac97=1 option - but *NO* guarantee whether it
works!
Note: The NM256 chip can be linked internally with non-AC97
codecs. This driver supports only the AC97 codec, and won't work
with machines with other (most likely CS423x or OPL3SAx) chips,
even though the device is detected in lspci. In such a case, try
other drivers, e.g. snd-cs4232 or snd-opl3sa2. Some has ISA-PnP
but some doesn't have ISA PnP. You'll need to specify isapnp=0
and proper hardware parameters in the case without ISA PnP.
Note: some laptops need a workaround for AC97 RESET. For the
known hardware like Dell Latitude LS and Sony PCG-F305, this
workaround is enabled automatically. For other laptops with a
hard freeze, you can try reset_workaround=1 option.
Note: Dell Latitude CSx laptops have another problem regarding
AC97 RESET. On these laptops, reset_workaround2 option is
turned on as default. This option is worth to try if the
previous reset_workaround option doesn't help.
Note: This driver is really crappy. It's a porting from the
OSS driver, which is a result of black-magic reverse engineering.
The detection of codec will fail if the driver is loaded *after*
X-server as described above. You might be able to force to load
the module, but it may result in hang-up. Hence, make sure that
you load this module *before* X if you encounter this kind of
problem. |
ho provato:
# modprobe snd-nm256 force_ac97=1
# modprobe snd-nm256 force_ac97=0
# modprobe snd-cs4232
# modprobe snd-opl3sa2
# modprobe snd-nm256 vaio_hack
# modprobe snd-nm256 force_ac97=1 reset_workaround=1 vaio_hack
# modprobe snd-nm256 force_ac97=1 reset_workaround=1 buffer_top=0x25a800
ma mi ritorna sempre il medesimo errore
Code: | alsamixer: function snd_ctl_open failed for default: No such file or directory |
|
|
Back to top |
|
|
k01 Arch/Herd Tester
Joined: 13 Feb 2008 Posts: 617 Location: Milano
|
Posted: Wed Apr 30, 2008 4:11 pm Post subject: |
|
|
dopo un po' di tentativi ho trovato il modulo giusto: ISA snd-es18xx ora la scheda audio funziona |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|