Dúvida na instalação de driver.

LfinalDJ

Membro
Boa Noite.

Sou um novato em Linux e a minha experiência em linha de comandos é pouca.
Decidi instalar um linux para testar. Instalei LinuxMint 14.
Testei as versões 64 bit e 32 bit.

No entanto tenho um problema com o som. Este sai de forma errada e distorcida, e o subwoofer não funciona.
apenas tenho som limpo em 2.0
Tenho umas logitech 5.1

O som é onboard de uma Asus A8N-E que usa Realtek ALC850.

o linux vem com o ultima alsa instalada.

Fui ao site da asus e fiz o download das drives, que são antigas, mas para testar e ver se ficava tudo funcional, mas não estou a conseguir instalar.


Os passos são:

Step 1. unzip source code
tar xfvj alcsound.tar.bz2 OK

Step 2. Turn on sound support (soundcore module, default turn on) não sei o que pretendem com isto!

Step 3. Complied source code
a. ./configure OK
b. make não dá
c. make install não dá
d. ./snddevices OK

Step 4. Edit your /etc/modules.conf or conf.modules depending on the distribution OK
(Please refer to the attached modules.conf)

Step 5. reboot your machine OK

Note: 1. The most detail information, can refer the alsa-kernel/Documenttation/ALSA-Configuration.txt
in the alcsound.tar.bz2.
2. Kernel Version must be 2.2.14 or later.
3. All mixer channels are muted by default. You must use a native
or OSS mixer program to unmute appropriate channels.
4. If can not compile the source code, try to rename the /usr/src/linux-2.x -> /usr/src/linux.
5. The driver added to support the SPDIF functoin.
6. Suggest use alsamixer to control mixer function. you can find it in the alsa-utils-0.9.4 (http://www.alsa-project.org).

Gostava de saber como usar o 'make' este não está a compilar. Nas notas no item 4 diz para alterar o nome, não sei onde nem como!
E visto que o linux já é o 3.5.0-17


Se alguém me pudesse ajudar agradecia.
 
Ajudava se desses mais informação sobre o que está a falhar no make, além de "não dá".


obrigado, é que não estou ainda habituado a isto.

Dá-me:

nuno@nuno-LinuxMint ~/Transferências/Audio/alsa-driver-1.0.4 $ make
find: "/usr/src/linux-2.4.18-3/alsa-driver-1.0.4": Ficheiro ou directoria inexistente
find: "/usr/src/linux-2.4.18-3/alsa-driver-1.0.4/alsa-kernel/": Ficheiro ou directoria inexistente
find: "/usr/src/linux-2.4.18-3/alsa-driver-1.0.4": Ficheiro ou directoria inexistente
find: "/usr/src/linux-2.4.18-3/alsa-driver-1.0.4/alsa-kernel/": Ficheiro ou directoria inexistente
find: "/usr/src/linux-2.4.18-3/alsa-driver-1.0.4": Ficheiro ou directoria inexistente
find: "/usr/src/linux-2.4.18-3/alsa-driver-1.0.4/alsa-kernel/": Ficheiro ou directoria inexistente
make dep
find: "/usr/src/linux-2.4.18-3/alsa-driver-1.0.4": Ficheiro ou directoria inexistente
find: "/usr/src/linux-2.4.18-3/alsa-driver-1.0.4/alsa-kernel/": Ficheiro ou directoria inexistente
find: "/usr/src/linux-2.4.18-3/alsa-driver-1.0.4": Ficheiro ou directoria inexistente
find: "/usr/src/linux-2.4.18-3/alsa-driver-1.0.4/alsa-kernel/": Ficheiro ou directoria inexistente
find: "/usr/src/linux-2.4.18-3/alsa-driver-1.0.4": Ficheiro ou directoria inexistente
find: "/usr/src/linux-2.4.18-3/alsa-driver-1.0.4/alsa-kernel/": Ficheiro ou directoria inexistente
make[1]: Entering directory `/home/nuno/Transferências/Audio/alsa-driver-1.0.4'
make[2]: Entering directory `/home/nuno/Transferências/Audio/alsa-driver-1.0.4/acore'
Makefile:5: /usr/src/linux-2.4.18-3/alsa-driver-1.0.4/toplevel.config: Ficheiro ou directoria inexistente
Makefile:6: /usr/src/linux-2.4.18-3/alsa-driver-1.0.4/Makefile.conf: Ficheiro ou directoria inexistente
Makefile:11: /usr/src/linux-2.4.18-3/alsa-driver-1.0.4/alsa-kernel/core/Makefile: Ficheiro ou directoria inexistente
Makefile:15: /usr/src/linux-2.4.18-3/alsa-driver-1.0.4/Rules.make: Ficheiro ou directoria inexistente
make[2]: *** No rule to make target `/usr/src/linux-2.4.18-3/alsa-driver-1.0.4/Rules.make'. Stop.
make[2]: Leaving directory `/home/nuno/Transferências/Audio/alsa-driver-1.0.4/acore'
make[1]: *** [dep] Error 1
make[1]: Leaving directory `/home/nuno/Transferências/Audio/alsa-driver-1.0.4'
make: *** [include/sndversions.h] Error 2

no ./configure tenho isto:

nuno@nuno-LinuxMint ~/Transferências/Audio/alsa-driver-1.0.4 $ sudo ./configure
[sudo] password for nuno:
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /home/nuno/Transferências/Audio/alsa-driver-1.0.4
checking cross compile...
checking for directory with kernel source... /lib/modules/3.5.0-17-generic/build
checking for kernel version... 0.0.0
checking for GCC version... ./configure: eval: line 3442: syntax error near unexpected token `)'
./configure: eval: line 3442: `my_compiler_version=4.7.2-2ubuntu1)'
 
Última edição:
obrigado, fiz uma correcção tal como indicada no site que me mandas-te ver e no ./configure obtive isto:

checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /home/nuno/Transferências/Audio/alsa-driver-1.0.4
checking cross compile...
checking for directory with kernel source... /lib/modules/3.5.0-17-generic/build
checking for kernel version... 0.0.0
checking for GCC version... Kernel compiler: Used compiler: gcc (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2

*** NO PREDEFINED KERNEL COMPILER IS DETECTED
*** Assuming the same compiler is used with the current system compiler.

*** Please make sure that the same compiler version was used for building kernel.

checking for built-in ALSA... "no"
checking for existing ALSA module... "no"
checking for Red Hat kernel... "auto"
checking for Red Hat kernel... "no"
checking to modify of kernel linux/kmod.h... "no"
checking for kernel linux/compiler.h... "yes"
checking for kernel linux/pm.h... "yes"
checking for kernel linux/spinlock.h... "yes"
checking for kernel linux/irq.h... "yes"
checking for kernel linux/threads.h... "yes"
checking for kernel linux/rwsem.h... "yes"
checking for kernel linux/gameport.h... "yes"
checking for kernel linux/devfs_fs_kernel.h... "no"
Creating a dummy <linux/devfs_fs_kernel.h>...
checking for kernel linux/highmem.h... "yes"
checking for kernel linux/workqueue.h... "yes"
Removing a dummy linux/workqueue.h.
checking for kernel linux/dma-mapping.h... "yes"
Removing a dummy linux/dma-mapping.h.
checking for kernel asm/hw_irq.h... "no"
Creating a dummy <asm/hw_irq.h>...
checking for kernel linux/device.h... "yes"
Removing a dummy linux/device.h.
checking for kernel linux/jiffies.h... "yes"
Removing a dummy linux/jiffies.h.
checking for kernel linux/compat.h... "yes"
Removing a dummy linux/compat.h.
checking for kernel linux/adb.h... "yes"
checking for kernel linux/cuda.h... "yes"
checking for kernel linux/pmu.h... "yes"
checking for exported symbol dump_stack... grep: /lib/modules/3.5.0-17-generic/build/kernel/ksyms.c: No such file or directory
"no"
checking for kernel module symbol versions... "no"
checking for PCI support in kernel... "no"
checking for Experimental drivers in kernel... "no"
checking for SGI/MIPS (HAL2) architecture... "no"
checking for directory to store kernel modules... /lib/modules/0.0.0/misc
checking for verbose printk... on
checking for debug level... none
checking for processor type... "unknown"
checking for SMP... "no"
checking for ISA PnP driver in kernel... yes
checking for PnP driver in kernel... yes
checking for Kernel ISA-PnP support... "no"
checking for Kernel ISA-PnP module support... "no"
checking for strlcpy... "no"
checking for snprintf... "no"
checking for scnprintf... "no"
checking for vmalloc_to_page... "no"
checking for old kmod... "yes"
checking for PDE... "no"
checking for pci_set_consistent_dma_mask... "no"
checking for tty->count is the atomic type... "no"
checking for old kill_fasync... "no"
checking for dma_addr_t... "no"
checking for MUTEX macros... "no"
Removing local linux/pnp.h.
checking for driver version... 1.0.4
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for RTC callback support in kernel... "no"
checking for USB support... "no"
checking for USB module support... "no"
checking for kernel PCMCIA
checking for PCMCIA support... "no"
checking for PCMCIA module support... "no"
checking for PC9800 support in kernel... "no"
checking for which soundcards to compile driver for... all
configure: creating ./config.status
config.status: creating version
config.status: creating Makefile.conf
config.status: creating snddevices
config.status: creating utils/alsa-driver.spec
config.status: creating utils/buildrpm
config.status: creating toplevel.config
config.status: creating utils/alsasound
config.status: creating utils/alsasound.posix
config.status: creating include/config.h
config.status: creating include/config1.h
config.status: creating include/version.h
config.status: include/version.h is unchanged
config.status: creating include/autoconf-extra.h
config.status: include/autoconf-extra.h is unchanged


O make:

nuno@nuno-LinuxMint ~/Transferências/Audio/alsa-driver-1.0.4 $ make
make dep
make[1]: Entering directory `/home/nuno/Transferências/Audio/alsa-driver-1.0.4'
make[2]: Entering directory `/home/nuno/Transferências/Audio/alsa-driver-1.0.4/acore'
make -C ioctl32 fastdep
make[3]: Entering directory `/home/nuno/Transferências/Audio/alsa-driver-1.0.4/acore/ioctl32'
make[3]: Leaving directory `/home/nuno/Transferências/Audio/alsa-driver-1.0.4/acore/ioctl32'
make -C oss fastdep
make[3]: Entering directory `/home/nuno/Transferências/Audio/alsa-driver-1.0.4/acore/oss'
copying file alsa-kernel/core/oss/mixer_oss.c
patching file mixer_oss.c
Hunk #1 succeeded at 385 (offset 9 lines).
copying file alsa-kernel/core/oss/pcm_oss.c
patching file pcm_oss.c
Hunk #1 succeeded at 2214 (offset 133 lines).
Hunk #2 succeeded at 2392 (offset 141 lines).
Hunk #3 succeeded at 2540 (offset 141 lines).
gcc -M -D__KERNEL__ -D__isapnp_now__ -DMODULE=1 -I/home/nuno/Transferências/Audio/alsa-driver-1.0.4/include -I/lib/modules/3.5.0-17-generic/build/include -O2 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -nostdinc -iwithprefix include -I/home/nuno/Transferências/Audio/alsa-driver-1.0.4/alsa-kernel/core/oss -fno-omit-frame-pointer mixer_oss.c pcm_oss.c pcm_plugin.c io.c copy.c linear.c mulaw.c route.c rate.c > .depend
In file included from mixer_oss.c:22:0:
/home/nuno/Transferências/Audio/alsa-driver-1.0.4/include/sound/driver.h:29:26: fatal error: linux/config.h: Ficheiro ou directoria inexistente
compilation terminated.
In file included from pcm_oss.c:29:0:
/home/nuno/Transferências/Audio/alsa-driver-1.0.4/include/sound/driver.h:29:26: fatal error: linux/config.h: Ficheiro ou directoria inexistente
compilation terminated.
In file included from /home/nuno/Transferências/Audio/alsa-driver-1.0.4/include/../alsa-kernel/core/oss/pcm_plugin.c:27:0,
from pcm_plugin.c:2:
/home/nuno/Transferências/Audio/alsa-driver-1.0.4/include/sound/driver.h:29:26: fatal error: linux/config.h: Ficheiro ou directoria inexistente
compilation terminated.
In file included from /home/nuno/Transferências/Audio/alsa-driver-1.0.4/include/../alsa-kernel/core/oss/io.c:22:0,
from io.c:2:
/home/nuno/Transferências/Audio/alsa-driver-1.0.4/include/sound/driver.h:29:26: fatal error: linux/config.h: Ficheiro ou directoria inexistente
compilation terminated.
In file included from /home/nuno/Transferências/Audio/alsa-driver-1.0.4/include/../alsa-kernel/core/oss/copy.c:22:0,
from copy.c:2:
/home/nuno/Transferências/Audio/alsa-driver-1.0.4/include/sound/driver.h:29:26: fatal error: linux/config.h: Ficheiro ou directoria inexistente
compilation terminated.
In file included from /home/nuno/Transferências/Audio/alsa-driver-1.0.4/include/../alsa-kernel/core/oss/linear.c:23:0,
from linear.c:2:
/home/nuno/Transferências/Audio/alsa-driver-1.0.4/include/sound/driver.h:29:26: fatal error: linux/config.h: Ficheiro ou directoria inexistente
compilation terminated.
In file included from /home/nuno/Transferências/Audio/alsa-driver-1.0.4/include/../alsa-kernel/core/oss/mulaw.c:24:0,
from mulaw.c:2:
/home/nuno/Transferências/Audio/alsa-driver-1.0.4/include/sound/driver.h:29:26: fatal error: linux/config.h: Ficheiro ou directoria inexistente
compilation terminated.
In file included from /home/nuno/Transferências/Audio/alsa-driver-1.0.4/include/../alsa-kernel/core/oss/route.c:22:0,
from route.c:2:
/home/nuno/Transferências/Audio/alsa-driver-1.0.4/include/sound/driver.h:29:26: fatal error: linux/config.h: Ficheiro ou directoria inexistente
compilation terminated.
In file included from /home/nuno/Transferências/Audio/alsa-driver-1.0.4/include/../alsa-kernel/core/oss/rate.c:22:0,
from rate.c:2:
/home/nuno/Transferências/Audio/alsa-driver-1.0.4/include/sound/driver.h:29:26: fatal error: linux/config.h: Ficheiro ou directoria inexistente
compilation terminated.
make[3]: *** [fastdep] Error 1
make[3]: Leaving directory `/home/nuno/Transferências/Audio/alsa-driver-1.0.4/acore/oss'
make[2]: *** [_sfdep_oss] Error 2
make[2]: Leaving directory `/home/nuno/Transferências/Audio/alsa-driver-1.0.4/acore'
make[1]: *** [dep] Error 1
make[1]: Leaving directory `/home/nuno/Transferências/Audio/alsa-driver-1.0.4'
make: *** [include/sndversions.h] Error 2
 
Última edição:
Agora o .configure já correu bem, mas o make falhou porque falta o config.h. Esses drivers devem ser muito antigos. Em vez de tentares instalá-los deve ser melhor ideia investigares no google se há mais alguém com esse problema, e experimentar drivers mais recentes, se houver, ou pelo menos outras versões mais próximas da atual, para ver se houve alguma regressão.
 
Boa tarde,

Como já estava com erros, reinstalei o LinuxMint, este já vem com os drivers ALSA 1.0.25, visto os divers originais do site da asus serem Alsa 1.0.4 deveria dar.
O problema afinal é em varios computadores, porém estes conseguiram reparar.

Tal como eles, quando faço o teste:
speaker-test -Dplug:surround51 -c6

Não tenho som no frontal e subwoofer

http://www.linuxformat.com/forums/viewtopic.php?t=5223

http://ubuntuforums.org/showthread.php?t=1751107

Eu não percebi muito bem como conseguiram, se me pudesses ajudar...
 
Eu também não percebo muito de alsamixer e de som em geral, não sei o que ele quer dizer com upmixing, mas vai a um terminal e corre o comando "alsamixer". Podes carregar no F6 para escolher a placa de som, se não estiver selecionada a certa, e com os cursores podes andar pelas colunas em baixo e aumentar o volume de canais específicos. Vê também se há canais com MM, que quer dizer muted. A minha sugestão seria aumentar o volume dos canais que estiverem no mínimo ou muted (se houver algum) e experimentar o som. Para tirar o mute carrega no M.
 
Não resulta.

Fui directamente à pagina da ALSA e este é a minha placa de som:

http://www.alsa-project.org/main/index.php/Matrix:Module-intel8x0

no

modinfo soundcore

aparece-me isto:

filename: /lib/modules/3.5.0-17-generic/kernel/sound/soundcore.ko
alias: char-major-14-*
license: GPL
author: Alan Cox
description: Core sound module
srcversion: D85A7B72DAA26F9E01F3856
depends:
intree: Y
vermagic: 3.5.0-17-generic SMP mod_unload modversions
parm: preclaim_oss:int

As drivers consegui instalar.

no 'Now insert the modules into the kernel:'
não faz nada. regressa ao 'nuno@nuno-LinuxMint ~ $'

Quanto ao "Setting up modprobe and kmod support" aí não entendi muito bem. Eu não tenho nenhum ficheiro modules.conf apenas tenho modules.

Já ando a ficar louco com isto loool



Obrigado pela ajuda mas desisto, demasiada incompatibilidade com hardware no linux
 
Última edição:
Back
Topo