[RISOLTO] Problema audio alsa

Se avete problemi con l'installazione e la configurazione di Slackware postate qui. Non usate questo forum per argomenti generali... per quelli usate Gnu/Linux in genere.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware, se l'argomento è generale usate il forum Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute.
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Avatar utente
blackman85
Linux 2.x
Linux 2.x
Messaggi: 333
Iscritto il: dom 22 giu 2008, 14:41
Slackware: 13.1 x86_64
Kernel: 2.6.33.4
Desktop: kde 4.4

[RISOLTO] Problema audio alsa

Messaggio da blackman85 »

Ciao a tutti! Ho un problema con alsa. Dopo l'installazione di slackware ho lanciato alsaconf e mi ha riconosciuto la scheda audio con i driver snd-hda-intel. Tutto è andato a buon fine solo che non riesco comunque a sentire alcun suono dalle casse. Come mai?
Ultima modifica di blackman85 il mar 26 ago 2008, 18:11, modificato 1 volta in totale.

Avatar utente
aLvArO
Linux 4.x
Linux 4.x
Messaggi: 1201
Iscritto il: mer 30 mar 2005, 0:00
Nome Cognome: alessio
Slackware: current64
Kernel: 2.6.30-rc8-smp
Desktop: kde 4.2.4
Località: Catanzaro Lido (CZ)

Re: PROBLEMA AUDIO

Messaggio da aLvArO »

prova ad attivare ed alzare tutti i volumi con kmix, con alsamixer, e se non sei da root, aggiungi il tuo utente al gruppo audio.

Avatar utente
blackman85
Linux 2.x
Linux 2.x
Messaggi: 333
Iscritto il: dom 22 giu 2008, 14:41
Slackware: 13.1 x86_64
Kernel: 2.6.33.4
Desktop: kde 4.4

Re: Problema audio alsa

Messaggio da blackman85 »

già fatto niente! Allroa che faccio?

klose87
Linux 0.x
Linux 0.x
Messaggi: 66
Iscritto il: gio 1 mar 2007, 22:22
Slackware: 13.37
Kernel: 2.6.37.6
Desktop: KDE4
Località: Cannara (PG)

Re: Problema audio alsa

Messaggio da klose87 »

Se non ricordo male, con quel driver a volte bisogna rendere muto uno dei controlli perché l'audio funzioni... rendi muto un controllo per volta (su alsamixer basta premere il tasto "m"), fai un po' di prove e facci sapere. :thumbright:

Avatar utente
blackman85
Linux 2.x
Linux 2.x
Messaggi: 333
Iscritto il: dom 22 giu 2008, 14:41
Slackware: 13.1 x86_64
Kernel: 2.6.33.4
Desktop: kde 4.4

Re: Problema audio alsa

Messaggio da blackman85 »

provato niente da fare! Che faccio? :-k

Avatar utente
blackman85
Linux 2.x
Linux 2.x
Messaggi: 333
Iscritto il: dom 22 giu 2008, 14:41
Slackware: 13.1 x86_64
Kernel: 2.6.33.4
Desktop: kde 4.4

Re: Problema audio alsa

Messaggio da blackman85 »

Vi do un info, ho scoperto che quando avvio kmix e faccio un solo click sulla cassa per regolare il volume mi segna come se fossero collegate le cuffie ma non è così, comunque ho provato a collegare le cuffie ma non si sente niente lo stesso! Che faccio? [-o<

Avatar utente
giberg
Linux 4.x
Linux 4.x
Messaggi: 1282
Iscritto il: mer 21 set 2005, 17:28
Nome Cognome: Gianni
Slackware: current64
Kernel: 3.7.1
Desktop: 4.8.5
Località: S. Biagio di Callalta (TV)

Re: Problema audio alsa

Messaggio da giberg »

È un portatile, giusto?
Di solito con quel driver c'è sempre
qualche problemino, risolvibile aggiungendo
un'opzione nel file /etc/modprobe.d/sound.
L'opzione però dipende dal modello del portatile
(o dalla marca).

Avatar utente
blackman85
Linux 2.x
Linux 2.x
Messaggi: 333
Iscritto il: dom 22 giu 2008, 14:41
Slackware: 13.1 x86_64
Kernel: 2.6.33.4
Desktop: kde 4.4

Re: Problema audio alsa

Messaggio da blackman85 »

:thumbright: :thumbright: :thumbright: :thumbright: Grazie a tutti ma ho risolto in qst modo: ho rimosso alsa con tutti i suoi componenti e ho compilato l'ultima versione di alsa (mi sembra la 1.0.17) in particolare penso che il pacchetto alsa-driver mi abbia definitivamente risolto il problema! :D :D :D :D
Se avete problemi e volete chiarimenti vi posto tutta la procedura Ciao :D :D :D :D

Avatar utente
nyquist
Linux 2.x
Linux 2.x
Messaggi: 269
Iscritto il: sab 2 ago 2008, 16:02
Nome Cognome: Cristiano Urban
Slackware: 14.2 multilib
Kernel: 4.4.240
Desktop: KDE
Località: Gonars (UD)
Contatta:

Re: [RISOLTO] Problema audio alsa

Messaggio da nyquist »

Ciao,
anche io avrei lo stesso problema su un portatile Acer Aspire 5315... Ho provato più o meno le stesse cose e non mi funzionava... Ti sarei grato (quando hai tempo) se potessi postare la procedura che hai utilizzato per risolvere il problema...

Grazie ancora..


Saluti.

Avatar utente
blackman85
Linux 2.x
Linux 2.x
Messaggi: 333
Iscritto il: dom 22 giu 2008, 14:41
Slackware: 13.1 x86_64
Kernel: 2.6.33.4
Desktop: kde 4.4

Re: [RISOLTO] Problema audio alsa

Messaggio da blackman85 »

Ecco la procedura, apri la shell e dai i seguenti comandi (loggati da root):

Codice: Seleziona tutto

removepkg alsa-utils
removepkg alsa-lib
removepkg alsa-oss
Con questo abbiamo rimosso alsa! Se ti da qualche errore controlla bene i nome dei pacchetti in /var/log/packages/

Ora vai al sito http://www.alsa-project.org/main/index.php/Main_Page e scarica dalla tabella "current versions" i seguenti pacchetti:
alsa-driver-1.0.17, alsa-lib-1.0.17a, alsa-utils-1.0.17, alsa-oss-1.0.17

Scompatta i pacchetti:

Codice: Seleziona tutto

tar xvf alsa-driver-1.0.17
tar xvf alsa-lib-1.0.17a
tar xvf alsa-utils-1.0.17
tar xvf alsa-oss-1.0.17
Entra in ogni directory appena scompattata, tranne quella degli alsa-driver-1.0.17, e dai i classici comandi:

Codice: Seleziona tutto

./configure
make && make install
Infine entra nella directory alsa-driver-1.0.17 e scrivi:

Codice: Seleziona tutto

./configure --with-cards=hda-intel
make && make install
Poi configura la scheda con il comando "alsaconf" e setta la regolazione del volume con "alsamixer" (perchè la prima volta il volume è impostato al 0%. Per salvare la regolazione puoi dare il comado "alsactl store")

Questo è tutto fammi sapere come va a finire! ;)

Avatar utente
nyquist
Linux 2.x
Linux 2.x
Messaggi: 269
Iscritto il: sab 2 ago 2008, 16:02
Nome Cognome: Cristiano Urban
Slackware: 14.2 multilib
Kernel: 4.4.240
Desktop: KDE
Località: Gonars (UD)
Contatta:

Re: [RISOLTO] Problema audio alsa

Messaggio da nyquist »

Ciao!

Ti ringrazio molto per la tua disponibilità! Adesso ho qualche problemino... Ma comunque quando proverò a configurare la scheda audio utilizzando la tua procedura ti farò sapere se mi funziona!

Grazie ancora! =D>


Saluti.

Avatar utente
nyquist
Linux 2.x
Linux 2.x
Messaggi: 269
Iscritto il: sab 2 ago 2008, 16:02
Nome Cognome: Cristiano Urban
Slackware: 14.2 multilib
Kernel: 4.4.240
Desktop: KDE
Località: Gonars (UD)
Contatta:

Re: [RISOLTO] Problema audio alsa

Messaggio da nyquist »

Salve Blackman85!
La tua procedura è impeccabile!!! L'audio funziona alla perfezione!! Solo non mi vede il modem 56k interno.. Ma per quello vedrò di combinare...

Grazie mille!!! :thumbright:



Saluti!!!

Avatar utente
blackman85
Linux 2.x
Linux 2.x
Messaggi: 333
Iscritto il: dom 22 giu 2008, 14:41
Slackware: 13.1 x86_64
Kernel: 2.6.33.4
Desktop: kde 4.4

Re: [RISOLTO] Problema audio alsa

Messaggio da blackman85 »

Mi fa piacere se posti il modello del modem vediamo di aiutarti...

Avatar utente
nyquist
Linux 2.x
Linux 2.x
Messaggi: 269
Iscritto il: sab 2 ago 2008, 16:02
Nome Cognome: Cristiano Urban
Slackware: 14.2 multilib
Kernel: 4.4.240
Desktop: KDE
Località: Gonars (UD)
Contatta:

Re: [RISOLTO] Problema audio alsa

Messaggio da nyquist »

Ciao,
grazie di nuovo per la pazienza e la disponibilità!!

Allora, dunque, quando ho acquistato il pc (Acer Aspire 5315) sopra c'era installato Linpus Linux... L'unica cosa che funzionava era proprio il modem (sembra impossibile...)... Infatti scheda di rete e wifi non andavano... Ora mi ritrovo nella situazione inversa: sono riuscito a far funzionare correttamente scheda di rete e scheda wifi ma non va il modem... Quando avevo ancora Linpus Linux mi sembrava di aver visto che il modem fosse un agere e che funzionasse con slmodemd 2.9.11....

Ora dopo aver messo Slackware 12.1 ho i seguenti risultati:

1) Dando 'lspci':

Codice: Seleziona tutto

00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
05:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express (rev 02)
06:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
2) Usando "ScanModem" ho ottenuto il seguente file 'ModemData.txt":

Codice: Seleziona tutto

 Only plain text email is forwarded by the  Discuss@Linmodems.org List Server,
 as HTML can contain viruses. Use as the email Subject Line:
           YourName, YourCountry 
Welcome to  kernel 2.6.24.5-smp 
 With this Subject Line cogent experts will be alerted, and useful case names left in the Archive.
 YourCountry will enable Country specific guidance. Linux experts in YourCountry 
 can be found through: http://www.linux.org/groups/index.html.
They will know your Country's modem code, which may be essential for dialup service.
Responses from Discuss@Linmodems.org are sometimes blocked by an Internet Provider mail filters.
 So in a day, also check the Archived responses at http://www.linmodems.org 
--------------------------  System information ----------------------------
CPU=i686,  
Welcome to 
Linux version 2.6.24.5-smp (root@midas) (gcc version 4.2.3) #2 SMP Wed Apr 30 13:41:38 CDT 2008
 scanModem update of:  2008_07_23

Modem drivers blocked from loading during bootup are listed in /etc/modprobe* file lines:
/etc/modprobe.d/blacklist:blacklist snd-atiixp-modem
/etc/modprobe.d/blacklist:blacklist snd-via82xx-modem
/etc/modprobe.d/blacklist:blacklist snd-intel8x0m

Attached USB devices are:
 ID 13fe:1c23 Kingston Technology Company Inc. 
 ID 064e:a101 Suyin Corp. 

USB modems not recognized

For candidate card in slot 00:1b.0, firmware information and bootup diagnostics are:
 PCI slot	PCI ID		SubsystemID	Name
 ----------	---------	---------	--------------
 00:1b.0	8086:284b	1025:0136	Audio device: Intel Corporation 82801H 

 Modem interrupt assignment and sharing: 
 22:       3857   IO-APIC-fasteoi   HDA Intel
 --- Bootup diagnostics for card in PCI slot 00:1b.0 ----
ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 22
PCI: Setting latency timer of device 0000:00:1b.0 to 64


===== Advanced Linux Sound Architecture (ALSA) diagnostics ===== 
The ALSA packages provide audio support and also drivers for some modems.
ALSA diagnostics are written during bootup to /proc/asound/ folders.

 PCI slot 00:1b.0 has a High Definition Audio Card
 The drivers are in the kernel modules tree at:
 /lib/modules/2.6.24.5/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.24.5-smp/kernel/sound/pci/hda/snd-hda-intel.ko

The ALSA verion is 1.0.17
The modem cards detected by "aplay -l"  are: None


The /proc/asound/pcm file reports:
-----------------------
00-00: ALC268 Analog : ALC268 Analog : playback 1 : capture 1

about /proc/asound/cards:
------------------------
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0x58300000 irq 22
=== Finished firmware and bootup diagnostics, next deducing cogent software. ===

A candidate modem is not evident among the PCI devices:
------------------------------------------------
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
05:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express (rev 02)
06:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
------------------------------------------------
 with USB and bridge devices not displayed.

 If your modem is connected by an external serial cable,
 or mounted internally on an ISA card, scanModem would not access it. 
 Try with Root permission
 $  wvdialconf  /etc/wvdial.conf
 to detect these modem types and some USB modems.
 If the detection is successful, read the DOCs/wvdial.txt .
 Edit the /etc/wvdial.conf with Root permission:
 	  gedit  /etc/wvdial.conf
  will be able to dial out with Root permission:
	 wvdial

 Many modems for which scanModem fails have Conexant chips. 
 From http://www.linuxant.com/drivers/modemident.php
 get the ListModem tool, which will report on Conexant chipset modems

 If the above tests fail, please provide any independent information available on your modem.
 If an alternative boot into Microsoft windows can be done, do mouse
clicks on:
   Start > Settings > Control Panel > Classical View (for Window XP) > System
> Hardware > Device Manager > Modems > Click on the + > Modem. Double click to
expand the graphic. Manufacturer information may be displayed. For example, CXT
stands for Conexant. Click the Diagnostics Tab. Record any hardware ID or vendor
and device information. From the Driver Details TAB, copy out the VENdor and DEVice information.
Next do the Query Modem and record the ATI specifications displayed such as:
    ATI3 - Agere SoftModem Version 2.1.22
    ATI5 - 2.1.22, AMR Intel MB, AC97 ID:SIL REV:0x27
Try to identify the modem setup file, with name perhaps MODEM.INF.
If may contain chipset Vendor informaton.

 The /proc/asound/ audio+modem diagostics are being copied.
 Finished copy to Modem/ALSAroot.tgz

Predictive diagnostics for card in bus 00:1b.0:
	Modem chipset not detected on
NAME="Audio device: Intel Corporation 82801H "
CLASS=0403
PCIDEV=8086:284b
SUBSYS=1025:0136
IRQ=22
HDA=8086:284b
SOFT=8086:284b.HDA


 High Definition Audio (HDA) cards MAY host a modem chip in their Subsystem, 
 and many are supported by the ALSA audio+modem driver snd-hda-intel
 A modem was not detected on HDA card 8086:284b.
 If another modem card is present, then most likely 8086:284b does not host a modem.
 If another modem card has not been detected, then possibilities are:
	1) A Conexant modem chip is present on 8086:284b, as Conexant chips
 are frequently not detectable by ALSA diagnostics
	2) The modem may be of the older non-PCI Controller Chipset (hardware) type.
Try detection with Root permission:
	 wvdialconf  /etc/wvdial.conf

 For candidate modem in:  00:1b.0
   0403 Audio device: Intel Corporation 82801H 
      Primary device ID:  8086:284b
    Subsystem PCI_id  1025:0136 
    Softmodem codec or chipset from diagnostics: 
                               from    Archives: 
                        
      

Support type needed or chipset:	

Support can likely be achieved through two mutually exclusive alternatives:
1) The hsfmodem software for Conexant chipset modems: Read DOCs/Conexant.txt
The following ALSA alternative CANNOT work with Conexant modems.

2) An ALSA modem driver plus slmodemd.  Read DOCs/Smartlink.txt for details, and
to test get the package SLMODEMD.gcc4.2.tar.gz from:  
	http://linmodems.technion.ac.il/packages/smartlink/

----------------end Softmodem section --------------

Writing DOCs/Intel.txt

For owners of a Dell PCs with Conexant HSF modems, a driver source package with full speed enabled is available, but requires driver compiling. Read DOCs/Conexant.txt

 Start at  http://www.linuxant.com/drivers/hsf/full for
 eventually download of a hsfmodem-7.68.00.12full_k.???.zip package
 with ??? the package type (deb, rpm, tar etc)
 These packages have compiled drivers but will also compile a driver, 
 if there is a mismatch between the resident kernel and provided driver.
 The generic hsfmodem-7.68.00.12full.tar.gz package only provides compiling support

 Read DOCs/Conexant.txt

Writing DOCs/Conexant.txt

Writing DOCs/Smartlink.txt
============ end Smartlink section =====================


 The base of the UDEV device file system is: /dev/.udev

 Versions adequately match for the compiler installed: 4.2.3
             and the compiler used in kernel assembly: 4.2.3


 
 Minimal compiling resources appear complete:
   make utility - /usr/bin/make
   Compiler version 4.2
   linuc_headers base folder /lib/modules/2.6.24.5-smp/build

 However some compilations and executable functions may need additional files,
 in the FileNames.h (so called kernel "h"eaders) collection installed in  /usr/include/ .
 For martian_modem, additional required packages are n. The also required headers of package libc6 are commonly installed by default. 
 Compiling hsfmodem drivers does require linux-libc-dev and libc6-dev packages, for kernels 2.6.24 and later versions.
 In not included on your install CD, search for them at http://packages.ubuntu.com
 or comparable Repository for other Linux distros.
 When compiling ALSA drivers, the utility "patch" will also be needed.




If a driver compilation fails, with message including some lack of some FileName.h (stdio.h for example), then
Some additional kernel-header files need installation to /usr/include. The minimal additional packages are libc6-dev
and any of its dependents, under Ubuntu linux-libc-dev

If an alternate ethernet connection is available,
$  apt-get update
$  apt-get -s install linux-kernel-devel
will install needed packages.
For Debian/Ubuntu related distributions, run the following command to display the needed package list:

Otherwise packages have to be found through http://packages.ubuntu.com
Once downloaded and transferred into a Linux partition,
they can be installed alltogether with:
$ sudo dpkg -i *.deb


Checking pppd properties:
	-rwxr-xr-x 1 root root 366440 2006-06-29 08:50 /usr/sbin/pppd

In case of an "error 17" "serial loopback" problem, see:
    http://linmodems.technion.ac.il/linmodems/archive-sixth/msg02637.html

To enable dialout without Root permission do:
	$ su - root  (not for Ubuntu)
         chmod a+x /usr/sbin/pppd
or under Ubuntu related Linuxes
	 chmod a+x /usr/sbin/pppd

Checking settings of:	/etc/ppp/options
asyncmap 0
crtscts
lock
modem
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4

In case of a message like:
   Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
see http://linmodems.technion.ac.il/bigarch/archive-sixth/msg04656.html

Read Modem/DOCs/YourSystem.txt concerning other COMM channels: ath0 eth0 wifi0
Which can interfere with Browser naviagation.

 Don't worry about the following, it is for experts should trouble shooting be necessary.
==========================================================

 Checking for modem support lines:
 --------------------------------------
     /device/modem symbolic link:   
slmodemd created symbolic link /dev/ttySL0:  
     Within /etc/udev/ files:
/etc/udev/rules.d/50-udev-default.rules:KERNEL=="mwave",		NAME="modems/mwave", GROUP="uucp"
     Within /etc/modprobe.conf files:
/etc/modprobe.d/blacklist:# ALSA modules to support sound modems.  These should be loaded manually
/etc/modprobe.d/blacklist:blacklist snd-atiixp-modem
/etc/modprobe.d/blacklist:blacklist snd-via82xx-modem
     Within any ancient /etc/devfs files:

     Within ancient kernel 2.4.n /etc/module.conf files:

--------- end modem support lines --------
3) Dando 'lsmod' ottengo:

Codice: Seleziona tutto

Module                  Size  Used by
i915                   25600  2 
drm                    73620  3 i915
ipv6                  234724  27 
pcmcia                 35884  0 
pcmcia_core            35988  1 pcmcia
lp                     13348  0 
parport_pc             27556  0 
parport                34632  2 lp,parport_pc
fuse                   45588  1 
wlan_scan_sta          16896  1 
thermal                16540  0 
snd_hda_intel         365336  0 
snd_pcm                70148  1 snd_hda_intel
battery                14340  0 
snd_timer              22916  1 snd_pcm
video                  19472  0 
ac                      8068  0 
ath_rate_sample        17792  1 
snd_page_alloc         11656  2 snd_hda_intel,snd_pcm
output                  6656  1 video
ath_pci               241848  0 
processor              32680  1 thermal
button                 10000  0 
snd_hwdep              10756  1 snd_hda_intel
i2c_i801               11792  0 
intel_agp              25236  1 
wlan                  222064  4 wlan_scan_sta,ath_rate_sample,ath_pci
rtc_cmos               11040  0 
snd                    51748  4 snd_hda_intel,snd_pcm,snd_timer,snd_hwdep
psmouse                40336  0 
agpgart                30664  3 drm,intel_agp
iTCO_wdt               13988  0 
rtc_core               18696  1 rtc_cmos
ath_hal               305376  3 ath_rate_sample,ath_pci
iTCO_vendor_support     7044  1 iTCO_wdt
tg3                   113028  0 
serio_raw               9092  0 
rtc_lib                 6528  1 rtc_core
evdev                  12672  7 
soundcore               9824  1 snd
sg                     30224  0 
... e come si nota il modulo "snd-hda-intel" risulta caricato...

4) Dando il comando 'cat /proc/asound/cards' ottengo:

Codice: Seleziona tutto

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0x58300000 irq 22

5) Dando il comando 'cat /proc/asound/pcm' ottengo:

Codice: Seleziona tutto

00-00: ALC268 Analog : ALC268 Analog : playback 1 : capture 1
...si nota che manca la riga relativa al modem...

Questo è tutto... Ringrazio in anticipo!!!





Saluti!

Avatar utente
blackman85
Linux 2.x
Linux 2.x
Messaggi: 333
Iscritto il: dom 22 giu 2008, 14:41
Slackware: 13.1 x86_64
Kernel: 2.6.33.4
Desktop: kde 4.4

Re: [RISOLTO] Problema audio alsa

Messaggio da blackman85 »

Ciao,ti consiglio di usare i driver alsa (suppongo che il tuo audio funzioni correttamente) con slmodem (avevi visto giusto).
Innanzitutto devi fare in modo che il modem venga riconosciuto come dispositivo 1 anzichè 0 altrimenti l'audio non funziona, quindi aggiungi al file di configurazione le seguenti righe:

Codice: Seleziona tutto

install snd-intel8x0m { /sbin/modprobe snd-intel8x0; } ; /sbin/modprobe --first-time --ignore-install snd-intel8x0m
Riavvia. Scaircati slmodem e scompattalo poi entra nella directory e dai il comando:

Codice: Seleziona tutto

make SUPPORT_ALSA=1
ora hai ottenuto un file slmodemd (che puoi copiare in "/usr/sbin"). Dai il seguente comando:

Codice: Seleziona tutto

/usr/sbin/slmodemd --alsa --country='ITALY' modem:1 &
Ora questo comando avrebbe dovuto crearti il device per usare il modem (di solito ttySL0). :thumbright:

Rispondi