Amigos, tenho uma palca de som nvidea MCP61 que não funciona no Debian 4.0:

# lspci -nn | grep Audio
00:05.0 Audio device [0403]: nVidia Corporation MCP61 High Definition
Audio [10de:03f0] (rev a2)

#modprobe -c | egrep '10de.*03f0'  não retorna nada.

#  dmesg | grep '00:05.0' não retorna nada.

Achei melho baixar a ultima versão do alsa e compilar, porem ao rodar
o ./configure:

# ./configure --with-card-options=all
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 ISO C89... 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 grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/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/rodolfo/tmp/ALSA/alsa-driver-1.0.15
checking cross compile...
checking for directory with kernel source... /usr/src/linux
checking for directory with kernel build...
checking for kernel linux/version.h... no
The file /usr/src/linux/include/linux/version.h does not exist.
Please install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /usr/src/linux).

Então eu instalei o kernel-sources no Debian, o apt baixou da internet
um arquivo compactado no diretorio /usr/src, eu descompactei e ele
criou um diretorio chamado /usr/src/linux- source-2.6.18, então
novamente:

# ./configure --with-card-options=all --with-kernel=/usr/src/linux-source-2.6.18

ele continuou dizendo que não acha version.h e autoconf.h, encontrei
estes dois arquivos em /usr/include/linux, copiei para /usr/src/linux-
source-2.6.18/include/linux e novamente:

# ./configure --with-card-options=all --with-kernel=/usr/src/linux-source-2.6.18
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 ISO C89... 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 grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/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/rodolfo/tmp/ALSA/alsa-driver-1.0.15
checking cross compile...
checking for directory with kernel source... /usr/src/linux- source-2.6.18
checking for directory with kernel build...
checking for kernel linux/version.h... yes
checking for kernel linux/autoconf.h... yes
checking for kernel version... 2.6.18
checking for GCC version... Kernel compiler:  Used compiler: gcc (GCC)
4.1.2 20061115 (prerelease) (Debian 4.1.1-21)

*** 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... yes
configure: error: You have built-in ALSA in your kernel.

Estou fazendo algo de errado ou é possivel achar o drive para esta
placa na internet?
---------------------------------------------------------------------------
Esta lista é patrocinada pela Conectiva S.A. Visite http://www.conectiva.com.br

Arquivo: http://bazar2.conectiva.com.br/mailman/listinfo/linux-br
Regras de utilização da lista: http://linux-br.conectiva.com.br
FAQ: http://www.zago.eti.br/menu.html

Responder a