View previous topic :: View next topic |
Author |
Message |
cozomo n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/12750433474784de147b2ed.gif)
Joined: 09 Jan 2008 Posts: 8
|
Posted: Fri Jan 11, 2008 2:13 am Post subject: problems compiling alsa-driver [SOLVED] |
|
|
hello, ive been trying desperately to get my sound to work. i have just spend a 7 hours or so trying to get sound to work with the alsa kernel module to no avail. it would say it was working fine, but output no actual sound. after following the alsa guide on gentoo.org i just went in circles getting no where. i have now decided to recompile my kernel to NOT have alsa support built in to be able to try the alsa-driver route. i then emerged alsa-driver and got the following error: http://rafb.net/p/nsQvMD50.html
i need sound on this thing before i can acknowledge it as a computer... please help
Last edited by cozomo on Sat Jan 12, 2008 2:30 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
OmSai l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/12114701764e99df50b7ec1.png)
Joined: 30 Sep 2007 Posts: 605 Location: Manchester, CT, USA
|
Posted: Fri Jan 11, 2008 3:49 am Post subject: |
|
|
Carefully follow this article:
http://gentoo-wiki.com/HOWTO_Compile_Kernel_with_ALSA
If it still doesn't work, in your next post please include the following information -
- Your sound card model
To find sound card model: | /usr/sbin/lspci | grep -i audio |
The output of aadebug
The "Notes" section at the end of that page explains how to run the script.
And lastly
Also what commands were you using to test your sound card? _________________ Gentoo is the stick-shift of Linux.
You work it manually, it has somewhat better performance, but it's really for the fun of it. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cozomo n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/12750433474784de147b2ed.gif)
Joined: 09 Jan 2008 Posts: 8
|
Posted: Fri Jan 11, 2008 7:00 am Post subject: |
|
|
it still does not work. i hope this info helps
i was using mplayer to try and play mp3 files
Code: |
mplayer *mp3
mplayer -ao alsa *mp3 |
1.
Code: | 00:0f.0 Audio device: Silicon Integrated Systems [SiS] Azalia Audio Controller |
2.
Code: | ALSA Audio Debug v0.1.0 - Thu Jan 10 22:57:09 PST 2008
http://alsa.opensrc.org/aadebug
http://www.gnu.org/licenses/gpl.txt
Kernel ----------------------------------------------------
Linux sword 2.6.23-gentoo-r3 #4 SMP Thu Jan 10 22:17:54 PST 2008 i686 Intel(R) Core(TM)2 Quad CPU @ 2.40GHz GenuineIntel GNU/Linux
Loaded Modules --------------------------------------------
snd_pcm_oss 25760 0
snd_mixer_oss 9728 1 snd_pcm_oss
snd_seq_dummy 1540 0
snd_seq_oss 18816 0
snd_seq_midi_event 3456 1 snd_seq_oss
snd_seq 27600 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 3724 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_hda_intel 207516 0
snd_pcm 37636 2 snd_pcm_oss,snd_hda_intel
snd_timer 11268 2 snd_seq,snd_pcm
snd 24804 8 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_pcm,snd_timer
snd_page_alloc 4744 2 snd_hda_intel,snd_pcm
Proc Config -----------------------------------------------
CONFIG_SOUND=m
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_SEQ_DUMMY=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RTCTIMER=m
CONFIG_SND_SEQ_RTCTIMER_DEFAULT=y
# CONFIG_SND_DYNAMIC_MINORS is not set
# CONFIG_SND_SUPPORT_OLD_API is not set
# CONFIG_SND_VERBOSE_PROCFS is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
CONFIG_SND_AC97_CODEC=m
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_MTS64 is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set
# CONFIG_SND_PORTMAN2X4 is not set
# CONFIG_SND_ADLIB is not set
# CONFIG_SND_AD1816A is not set
# CONFIG_SND_AD1848 is not set
# CONFIG_SND_ALS100 is not set
# CONFIG_SND_AZT2320 is not set
# CONFIG_SND_CMI8330 is not set
# CONFIG_SND_CS4231 is not set
# CONFIG_SND_CS4232 is not set
# CONFIG_SND_CS4236 is not set
# CONFIG_SND_DT019X is not set
# CONFIG_SND_ES968 is not set
# CONFIG_SND_ES1688 is not set
# CONFIG_SND_ES18XX is not set
# CONFIG_SND_GUSCLASSIC is not set
# CONFIG_SND_GUSEXTREME is not set
# CONFIG_SND_GUSMAX is not set
# CONFIG_SND_INTERWAVE is not set
# CONFIG_SND_INTERWAVE_STB is not set
# CONFIG_SND_OPL3SA2 is not set
# CONFIG_SND_OPTI92X_AD1848 is not set
# CONFIG_SND_OPTI92X_CS4231 is not set
# CONFIG_SND_OPTI93X is not set
# CONFIG_SND_MIRO is not set
# CONFIG_SND_SB8 is not set
# CONFIG_SND_SB16 is not set
# CONFIG_SND_SBAWE is not set
# CONFIG_SND_SGALAXY is not set
# CONFIG_SND_SSCAPE is not set
# CONFIG_SND_WAVEFRONT is not set
# CONFIG_SND_AD1889 is not set
# CONFIG_SND_ALS300 is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CA0106 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS5530 is not set
# CONFIG_SND_CS5535AUDIO is not set
# CONFIG_SND_DARLA20 is not set
# CONFIG_SND_GINA20 is not set
# CONFIG_SND_LAYLA20 is not set
# CONFIG_SND_DARLA24 is not set
# CONFIG_SND_GINA24 is not set
# CONFIG_SND_LAYLA24 is not set
# CONFIG_SND_MONA is not set
# CONFIG_SND_MIA is not set
# CONFIG_SND_ECHO3G is not set
# CONFIG_SND_INDIGO is not set
# CONFIG_SND_INDIGOIO is not set
# CONFIG_SND_INDIGODJ is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_EMU10K1X is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_FM801 is not set
CONFIG_SND_HDA_INTEL=m
# CONFIG_SND_HDSP is not set
# CONFIG_SND_HDSPM is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
CONFIG_SND_INTEL8X0=m
CONFIG_SND_INTEL8X0M=m
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_PCXHR is not set
# CONFIG_SND_RIPTIDE is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_YMFPCI is not set
# CONFIG_SND_AC97_POWER_SAVE is not set
# CONFIG_SND_USB_AUDIO is not set
# CONFIG_SND_USB_USX2Y is not set
# CONFIG_SND_USB_CAIAQ is not set
# CONFIG_SND_VXPOCKET is not set
# CONFIG_SND_PDAUDIOCF is not set
# CONFIG_SND_SOC is not set
# CONFIG_SOUND_PRIME is not set
Modprobe Conf ---------------------------------------------
alias char-major-116-* snd
alias char-major-14-* soundcore
alias snd-card-0 snd-intel-hda
alias sound-slot-0 snd-intel-hda
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
options snd cards_limit=1
Proc Asound -----------------------------------------------
Advanced Linux Sound Architecture Driver Version 1.0.14 (Fri Jul 20 09:12:58 2007 UTC).
0 [SIS966 ]: HDA-Intel - HDA SIS966
HDA SIS966 at 0xfbff4000 irq 21
0: [ 0] : control
1: : sequencer
16: [ 0- 0]: digital audio playback
17: [ 0- 1]: digital audio playback
24: [ 0- 0]: digital audio capture
33: : timer
00-01: ALC861VD Digital : ALC861VD Digital : playback 1
00-00: ALC861VD Analog : ALC861VD Analog : playback 1 : capture 2
Client info
cur clients : 3
peak clients : 3
max clients : 192
Client 0 : "System" [Kernel]
Port 0 : "Timer" (Rwe-)
Port 1 : "Announce" (R-e-)
Connecting To: 15:0
Client 14 : "Midi Through" [Kernel]
Port 0 : "Midi Through Port-0" (RWe-)
Client 15 : "OSS sequencer" [Kernel]
Port 0 : "Receiver" (-we-)
Connected From: 0:1
Dev Snd ---------------------------------------------------
controlC0 pcmC0D0c pcmC0D0p pcmC0D1p seq timer
CPU -------------------------------------------------------
model name : Intel(R) Core(TM)2 Quad CPU @ 2.40GHz
cpu MHz : 2399.382
model name : Intel(R) Core(TM)2 Quad CPU @ 2.40GHz
cpu MHz : 2399.382
model name : Intel(R) Core(TM)2 Quad CPU @ 2.40GHz
cpu MHz : 2399.382
model name : Intel(R) Core(TM)2 Quad CPU @ 2.40GHz
cpu MHz : 2399.382
RAM -------------------------------------------------------
MemTotal: 2075048 kB
SwapTotal: 506036 kB
Hardware --------------------------------------------------
00:00.0 Host bridge: Silicon Integrated Systems [SiS] Unknown device 0671 |
3.
Code: | Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 i686)
=================================================================
System uname: 2.6.23-gentoo-r3 i686 Intel(R) Core(TM)2 Quad CPU @ 2.40GHz
Timestamp of tree: Wed, 09 Jan 2008 23:46:01 +0000
app-shells/bash: 3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-O3 -mtune=i686 -pipe"
CHOST="i486-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://mirror.espri.arizona.edu/gentoo/ http://mirror.fslutd.org/linux/distributions/gentoo/ ftp://mirror.fslutd.org/linux/distributions/gentoo/ "
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X acl alsa apache2 apm arts avahi avi berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dri dvd eds emboss encode esd foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv imlib ipv6 isdnlog java jpeg kde libg++ libwww mad midi mikmod motif mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode vorbis x86 xml xorg xv zlib" ALSA_CARDS="intel-hda" ALSA_PCM_PLUGINS="adpcm shm ladspa rate route file dsnoop dshare copy alaw" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
OmSai l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/12114701764e99df50b7ec1.png)
Joined: 30 Sep 2007 Posts: 605 Location: Manchester, CT, USA
|
Posted: Fri Jan 11, 2008 11:37 am Post subject: |
|
|
You have correctly setup your kernel to run your SiS966 card on SND_HDA_INTEL module.
And according to the kernel alsa mailing list, support was added over a year ago.
But it seems you still have to help the card detection:
configuring snd_hda_intel for ALSA _________________ Gentoo is the stick-shift of Linux.
You work it manually, it has somewhat better performance, but it's really for the fun of it. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
OmSai l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/12114701764e99df50b7ec1.png)
Joined: 30 Sep 2007 Posts: 605 Location: Manchester, CT, USA
|
Posted: Fri Jan 11, 2008 11:40 am Post subject: |
|
|
cozomo wrote: | i was using mplayer to try and play mp3 files
Code: | mplayer *mp3
mplayer -ao alsa *mp3 |
|
Fair enough. I'd also try:
Test sound with .wav: | aplay /usr/share/sounds/alsa/Front_Center.wav |
_________________ Gentoo is the stick-shift of Linux.
You work it manually, it has somewhat better performance, but it's really for the fun of it. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cozomo n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/12750433474784de147b2ed.gif)
Joined: 09 Jan 2008 Posts: 8
|
Posted: Sat Jan 12, 2008 2:07 am Post subject: |
|
|
the guide does not seem to work for me. i've found out that my motherboard is an ECS 671T-M with:
Audio Chipset Realtek ALC660
Audio Channels 6 Channels
Audio Ports 3 Ports
it also says it uses the SiS671 and the SiS968 chipsets.
EDIT: Solved, ran alsamixer, front was muted. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
OmSai l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/12114701764e99df50b7ec1.png)
Joined: 30 Sep 2007 Posts: 605 Location: Manchester, CT, USA
|
Posted: Sat Jan 12, 2008 2:50 am Post subject: |
|
|
I'm glad it worked out
Could you please change your top post subject to something like:
"Realtek ALC660 sound using kernel drivers [SOLVED]"
...to help others browsing for the same problem? _________________ Gentoo is the stick-shift of Linux.
You work it manually, it has somewhat better performance, but it's really for the fun of it. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|