LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-13-2008, 01:22 PM   #1
doraimom
Member
 
Registered: Nov 2005
Posts: 288

Rep: Reputation: 30
Installing ALSA drivers 1.0.18


Hi.
I have a laptop (dell inspiron 1720) and I have installed on it Debian Lenny.
The sound is working fine, but the microfone and the sound in some applications like AMSN are not. After many posts in many different places it seems like it's better to just update my alsa and see if that solves the problem. But the new problem that arrived is that I can't install the new ALSA. the MAKE command is giving me error messages.

So the intention here is to install alsa driver like:

$ ./configure --with-card-options=all
$ make
# make install

Then install alsa-lib and alsa-utils

$ ./configure
$ make
# make install

Let's start with my lspci.

Quote:
root@dell-notebook:/home/eu# lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 0c)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f2)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8600M GT (rev a1)
03:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
03:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
03:01.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
03:01.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)
0c:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection (rev 61)
Installing ALSA

Quote:
root@dell-notebook:/home/eu/arquivos/Alsa drivers/alsa-driver-1.0.18a# ./configure --with-card-options=all
Quote:
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/eu/arquivos/Alsa drivers/alsa-driver-1.0.18a
checking cross compile...
checking for directory with kernel source... /lib/modules/2.6.26-1-686/build
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.26-1-686
checking for GCC version... ./configure: eval: line 5136: syntax error near unexpected token `)'
./configure: eval: line 5136: `my_compiler_version=4.3.2-1)'
Kernel compiler: gcc 4.1.3 20080623 (prerelease) (Debian 4.1.2-23) Used compiler: gcc (Debian 4.3.2-1) 4.3.2
./configure: line 5161: test: too many arguments
./configure: line 5166: test: too many arguments
checking for built-in ALSA... no
checking for existing ALSA module... yes
checking for Red Hat kernel... auto
checking for Red Hat kernel... no
checking for SUSE kernel... auto
checking for SUSE kernel... no
checking for updating alsa-kernel version.h... yes
checking for CONFIG_EXPERIMENTAL... yes
checking for directory to store kernel modules... /lib/modules/2.6.26-1-686/kernel/sound
checking for verbose procfs... on
checking for verbose printk... on
checking for debug level... none
checking for ISA support in kernel... yes
checking for processor type... i686
checking for i386 machine type... default
checking for ISA DMA API... yes
checking for kernel linux/config.h... no
Creating <linux/config.h>...
checking for deprecated linux/config.h... checking to modify of kernel linux/kmod.h... no
checking for kernel linux/utsrelease.h... yes
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 media/v4l2-dev.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
checking for kernel linux/dma-mapping.h... yes
checking for kernel asm/hw_irq.h... yes
checking for kernel linux/device.h... yes
checking for kernel linux/platform_device.h... yes
checking for kernel linux/isa.h... yes
checking for kernel linux/jiffies.h... yes
checking for kernel linux/compat.h... yes
checking for kernel linux/log2.h... yes
checking for kernel linux/adb.h... yes
checking for kernel linux/cuda.h... yes
checking for kernel linux/pmu.h... yes
checking for kernel linux/io.h... yes
checking for kernel linux/moduleparam.h... yes
checking for kernel linux/syscalls.h... yes
checking for kernel linux/firmware.h... yes
checking for kernel linux/err.h... yes
checking for kernel linux/bitmap.h... yes
checking for kernel linux/mutex.h... yes
checking for kernel linux/pm_qos_params.h... yes
checking for kernel linux/kthread.h... yes
checking for kernel asm/irq_regs.h... yes
checking for kernel linux/seq_file.h... yes
checking for kernel linux/debugfs.h... yes
checking for kernel module symbol versions... yes
checking for has ioport support... yes
checking for PCI support in kernel... yes
checking for I2C driver in kernel... module
checking for I2C_POWERMAC in kernel... unknown
checking for firmware loader... module
checking for input subsystem in kernel... yes
checking for pc-speaker platform in kernel... yes
checking for SMP... yes
checking for Video device support in kernel... yes
checking for ISA PnP driver in kernel... yes
checking for PnP driver in kernel... yes
checking for Kernel ISA-PnP support... yes
checking for strlcpy... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for scnprintf... yes
checking for sscanf... yes
checking for vmalloc_to_page... yes
checking for old kmod... no
checking for PDE... yes
checking for pci_set_consistent_dma_mask... yes
checking for pci_dev_present... yes
checking for msleep... yes
checking for msleep_interrupt... yes
checking for msecs_to_jiffies... yes
checking for tty->count is the atomic type... no
checking for video_get_drvdata... yes
checking for video_drvdata... no
checking for V4L1 layer... yes
checking for io_remap_pfn_range... yes
checking for kcalloc... yes
checking for kstrdup... yes
checking for kstrndup... yes
checking for kzalloc... yes
checking for create_workqueue with flags... no
checking for pci_ioremap_bar... no
checking for saved_config_space in pci_dev... yes
checking for new pci_save_state... yes
checking for register_sound_special_device... yes
checking for driver extra-version...
checking for driver version... 1.0.18a
checking for dynamic minor numbers... no
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for OSS PCM plugin system inclusion... yes
checking for RTC support... no
checking for HPET support... yes
checking for Procfs support... yes
checking for USB support... yes
checking for class_simple... no
checking for old driver suspend/resume callbacks... no
checking for removal of page-reservation for nopage/mmap... yes
checking for nested class_device... no
checking for new IRQ handler... yes
checking for gfp_t... yes
checking for GFP_DMA32... yes
checking for page_to_pfn... yes
checking for PnP suspend/resume... yes
checking for device_create_drvdata... yes
checking for new unlocked/compat_ioctl... yes
checking for x86-compatible PC... yes
checking for High-Res timers... yes
checking for kernel PCMCIA
checking for PCMCIA support... yes
checking for PC9800 support in kernel... no
checking for parallel port support... yes
checking for power management... yes
checking for CONFIG_HAS_DMA... yes
checking for cards to compile driver for... all
checking for additonal options to compile driver for... all
configure: creating ./config.status
config.status: creating version
config.status: creating Makefile.conf
config.status: WARNING: Makefile.conf.in seems to ignore the --datarootdir setting
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/pci_ids_compat.h
config.status: creating include/i2c-id_compat.h
config.status: creating include/config.h
config.status: include/config.h is unchanged
config.status: creating include/config1.h
config.status: include/config1.h is unchanged
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
Hacking autoconf.h...
root@dell-notebook:/home/eu/arquivos/Alsa drivers/alsa-driver-1.0.18a# make
find: `/home/eu/arquivos/Alsa': Arquivo ou diretório não encontrado
find: `drivers/alsa-driver-1.0.18a': Arquivo ou diretório não encontrado
find: `/home/eu/arquivos/Alsa': Arquivo ou diretório não encontrado
find: `drivers/alsa-driver-1.0.18a/alsa-kernel/': Arquivo ou diretório não encontrado
find: `/home/eu/arquivos/Alsa': Arquivo ou diretório não encontrado
find: `drivers/alsa-driver-1.0.18a': Arquivo ou diretório não encontrado
find: `/home/eu/arquivos/Alsa': Arquivo ou diretório não encontrado
find: `drivers/alsa-driver-1.0.18a/alsa-kernel/': Arquivo ou diretório não encontrado
find: `/home/eu/arquivos/Alsa': Arquivo ou diretório não encontrado
find: `drivers/alsa-driver-1.0.18a': Arquivo ou diretório não encontrado
find: `/home/eu/arquivos/Alsa': Arquivo ou diretório não encontrado
find: `drivers/alsa-driver-1.0.18a/alsa-kernel/': Arquivo ou diretório não encontrado
make dep
find: `/home/eu/arquivos/Alsa': Arquivo ou diretório não encontrado
find: `drivers/alsa-driver-1.0.18a': Arquivo ou diretório não encontrado
find: `/home/eu/arquivos/Alsa': Arquivo ou diretório não encontrado
find: `drivers/alsa-driver-1.0.18a/alsa-kernel/': Arquivo ou diretório não encontrado
find: `/home/eu/arquivos/Alsa': Arquivo ou diretório não encontrado
find: `drivers/alsa-driver-1.0.18a': Arquivo ou diretório não encontrado
find: `/home/eu/arquivos/Alsa': Arquivo ou diretório não encontrado
find: `drivers/alsa-driver-1.0.18a/alsa-kernel/': Arquivo ou diretório não encontrado
find: `/home/eu/arquivos/Alsa': Arquivo ou diretório não encontrado
find: `drivers/alsa-driver-1.0.18a': Arquivo ou diretório não encontrado
find: `/home/eu/arquivos/Alsa': Arquivo ou diretório não encontrado
find: `drivers/alsa-driver-1.0.18a/alsa-kernel/': Arquivo ou diretório não encontrado
make[1]: Entrando no diretório `/home/eu/arquivos/Alsa drivers/alsa-driver-1.0.18a'
make[2]: Entrando no diretório `/home/eu/arquivos/Alsa drivers/alsa-driver-1.0.18a/acore'
Makefile:5: /home/eu/arquivos/Alsa: Arquivo ou diretório não encontrado
Makefile:5: drivers/alsa-driver-1.0.18a/toplevel.config: Arquivo ou diretório não encontrado
Makefile:6: /home/eu/arquivos/Alsa: Arquivo ou diretório não encontrado
Makefile:6: drivers/alsa-driver-1.0.18a/Makefile.conf: Arquivo ou diretório não encontrado
Makefile:16: /home/eu/arquivos/Alsa: Arquivo ou diretório não encontrado
Makefile:16: drivers/alsa-driver-1.0.18a/alsa-kernel/core/Makefile: Arquivo ou diretório não encontrado
Makefile:28: /home/eu/arquivos/Alsa: Arquivo ou diretório não encontrado
Makefile:28: drivers/alsa-driver-1.0.18a/Rules.make: Arquivo ou diretório não encontrado
make[2]: *** Sem regra para processar o alvo `drivers/alsa-driver-1.0.18a/Rules.make'. Pare.
make[2]: Saindo do diretório `/home/eu/arquivos/Alsa drivers/alsa-driver-1.0.18a/acore'
make[1]: ** [dep] Erro 1
make[1]: Saindo do diretório `/home/eu/arquivos/Alsa drivers/alsa-driver-1.0.18a'
make: ** [include/sndversions.h] Erro 2

Last edited by doraimom; 12-13-2008 at 01:23 PM.
 
Old 12-13-2008, 03:32 PM   #2
manwithaplan
Member
 
Registered: Nov 2008
Location: ~/
Distribution: Arch || Sidux
Posts: 393

Rep: Reputation: 45
Alsa is always fun... Though I can help with your install. There is an easy tutorial on the web I have used in the past to help upgrade. Assuming you have a Intel onboard audio. Go to this link here. They should be simalier for Debian, in fact I think they where taken from Debian's site. Make sure you have all build essentials installed. Its straight forward on the installation instructions, and gives the proper prefixes for your card. Hope it helps, If not just print the output, and well go from there.
 
Old 12-15-2008, 10:11 PM   #3
doraimom
Member
 
Registered: Nov 2005
Posts: 288

Original Poster
Rep: Reputation: 30
Installation seems to be going well now! The only thing I did was to change the alsa installation directory to /usr/local. Then, MAKE didn't complain about anything anymore! Installation is now finished yet though. But it seems it will work now.
 
Old 12-15-2008, 11:01 PM   #4
doraimom
Member
 
Registered: Nov 2005
Posts: 288

Original Poster
Rep: Reputation: 30
LOL.. the solution was s.t.u.p.i.d! Since it was complainning about file or directory not found, I had the ideia of moving the instalation folder from /home to /usr/local. After that I tried .configure, make and make install again, and ALL of them worked just fine. I only got this warning after make install of alsa-drivers:

Quote:
WARNING!!! The mixer channels for the ALSA driver are muted by default!!!
**************************************************************************
You would use some ALSA or OSS mixer to set the appropriate volume.
Anyway, Alsa 1.0.18 was installed, later I did alsaconf and alsamixer, but unfortantly it didn't solve my problem! My MIC is still not working (tested with Skype) and AMSN is not detecting neither any sound card nor the microfone is working.

For the rest, sound is working as it was before. I hear system sounds, amarok plays my musics, but no microfone and no sound in AMSN.
 
Old 12-15-2008, 11:12 PM   #5
doraimom
Member
 
Registered: Nov 2005
Posts: 288

Original Poster
Rep: Reputation: 30
LOL.. Crazy world. I have just removed mute from MUX, MUX1 and DIGITAL, and somehow now the mic is working in skype. AMSN seems to be with some installation problem. Anyway, the mic is working now in alsa 1.0.18.

Thanks everyone for the help
 
Old 12-24-2008, 03:31 PM   #6
doraimom
Member
 
Registered: Nov 2005
Posts: 288

Original Poster
Rep: Reputation: 30
Hi. I have installed Debian again, but this time, when I was trying to istall Alsa-util I got the following error:

Quote:
root@meu-laptop:/usr/local/alsa-utils-1.0.18# make
Making all in include
make[1]: Entrando no diretório `/usr/local/alsa-utils-1.0.18/include'
make all-am
make[2]: Entrando no diretório `/usr/local/alsa-utils-1.0.18/include'
make[2]: Saindo do diretório `/usr/local/alsa-utils-1.0.18/include'
make[1]: Saindo do diretório `/usr/local/alsa-utils-1.0.18/include'
Making all in alsactl
make[1]: Entrando no diretório `/usr/local/alsa-utils-1.0.18/alsactl'
Making all in init
make[2]: Entrando no diretório `/usr/local/alsa-utils-1.0.18/alsactl/init'
make[2]: Nada a ser feito para `all'.
make[2]: Saindo do diretório `/usr/local/alsa-utils-1.0.18/alsactl/init'
make[2]: Entrando no diretório `/usr/local/alsa-utils-1.0.18/alsactl'
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -MT alsactl.o -MD -MP -MF ".deps/alsactl.Tpo" -c -o alsactl.o alsactl.c; \
then mv -f ".deps/alsactl.Tpo" ".deps/alsactl.Po"; else rm -f ".deps/alsactl.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -MT state.o -MD -MP -MF ".deps/state.Tpo" -c -o state.o state.c; \
then mv -f ".deps/state.Tpo" ".deps/state.Po"; else rm -f ".deps/state.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -MT utils.o -MD -MP -MF ".deps/utils.Tpo" -c -o utils.o utils.c; \
then mv -f ".deps/utils.Tpo" ".deps/utils.Po"; else rm -f ".deps/utils.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -MT init_parse.o -MD -MP -MF ".deps/init_parse.Tpo" -c -o init_parse.o init_parse.c; \
then mv -f ".deps/init_parse.Tpo" ".deps/init_parse.Po"; else rm -f ".deps/init_parse.Tpo"; exit 1; fi
gcc -g -O2 -o alsactl alsactl.o state.o utils.o init_parse.o -lasound -lm -ldl -lpthread
make[2]: Saindo do diretório `/usr/local/alsa-utils-1.0.18/alsactl'
make[1]: Saindo do diretório `/usr/local/alsa-utils-1.0.18/alsactl'
Making all in alsaconf
make[1]: Entrando no diretório `/usr/local/alsa-utils-1.0.18/alsaconf'
Making all in po
make[2]: Entrando no diretório `/usr/local/alsa-utils-1.0.18/alsaconf/po'
mv: impossível fazer stat em `t-ja.gmo': Arquivo ou diretório não encontrado
make[2]: ** [ja.gmo] Erro 1
make[2]: Saindo do diretório `/usr/local/alsa-utils-1.0.18/alsaconf/po'
make[1]: ** [all-recursive] Erro 1
make[1]: Saindo do diretório `/usr/local/alsa-utils-1.0.18/alsaconf'
make: ** [all-recursive] Erro 1
How Can I solve it? alsa-driver and alsa-libs were installed with no problems.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
need help in installing alsa drivers for soundblaster pci 4.1 digital sivakrdy Linux - Hardware 2 02-01-2005 09:15 AM
Installing ALSA Drivers transeunt Linux - Newbie 5 12-10-2003 04:49 PM
Installing Alsa Drivers woodi2259 Linux - Hardware 11 09-25-2003 05:59 PM
installing alsa sound drivers nakedjohn Slackware 6 07-19-2003 01:45 PM
need help installing alsa drivers. ratbert90 Slackware 4 01-04-2003 06:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration