kernel ALSA drivers are loaded, but It doesn't play sound.
Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 i686) ================================================================= System uname: 2.6.24-gentoo-r8 i686 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz Timestamp of tree: Sun, 01 Jun 2008 15:00:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-lang/python: 2.4.4-r13 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -msse3 -mfpmath=sse -O2 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=prescott -msse3 -mfpmath=sse -O2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="us ru ka" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl acpi alsa bash-completion berkdb cdr cli cracklib crypt cups dbus dri dvd fortran gdbm glibc-omitfp gpm hal iconv isdnlog kde midi mmx mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python qt3 qt4 readline reflection session spl sse sse2 ssl ssse3 tcpd unicode userlocales x86 xorg zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" 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 evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="us ru ka" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 155419 [details] lspci
Created attachment 155421 [details] codecgraph svg
Thank you. This doesn't appear to be any of the Realtek codecs with their familiar layout. Could I have /proc/asound/card0/codec#0 attached please? The PCI output and codecgraph are very useful.
Created attachment 155423 [details] cat /proc/asound/card0/codec#0
Excellent. ALC268 with speakers on 0x14, headphone output on 0x15, external mic jack on 0x18 and internal mic on 0x19. EAPD (External Amplifier PowerDown) support is present. Also, 0x1d appears to carry the beeper "PC speaker" signal. Currently looking for a good match in the ALC268 model table. A moment.
Created attachment 155427 [details, diff] COMPAL-ALC268_TOSHIBA.patch Quirk table patch.
Could you please apply the attached patch to your kernel, recompile (I recommend make clean && make && make modules_install) and reboot? That should get you audio.
Created attachment 155429 [details] rej I cannot apply the patch. here is rej file. I am grateful to you for your help.
Very well. Can you attach your patch_realtek.c file here, and I'll attach an updated patch.
Created attachment 155431 [details] patch_realtek.c
Created attachment 155433 [details] the file patch_realtek.c
Created attachment 155439 [details, diff] COMPAL-ALC268_TOSHIBA-v2.patch Respun patch.
Please let me know how this one does.
Finally I heard some sound coming out of my external speakers :) internal and external both work just fine!!! loud and clear. You are Mighty, how you did that? :P
Thank you. I appreciate your time and help.
Excellent. I will do two things: 1) submit this patch to the ALSA project so it can be picked up for kernel 2.6.27 (perhaps 2.6.26; but I'm not counting on it) 2) submit this patch to Daniel Drake for addition to gentoo-sources
(In reply to comment #17) > Excellent. I will do two things: > 1) submit this patch to the ALSA project so it can be picked up for kernel > 2.6.27 (perhaps 2.6.26; but I'm not counting on it) > 2) submit this patch to Daniel Drake for addition to gentoo-sources > I will post your fix to other forums. It will help people with same the laptop who have sound problems on linux.I hope they will include this fix in next kernel or gentoo-sources. It will be great for us to have sound out of the box! :) oh and tell me should i close this bug? Thanks. N VB B Thanks you.
(In reply to comment #18) > I hope they will include this fix in next kernel or gentoo-sources. Yes, the fix will be included in kernel 2.6.26 I have requested that the fix be included in the next gentoo-sources, but I haven't received an answer from Daniel Drake yet. > oh and tell me should i close this bug? Feel free, it seems fairly fixed to me :) > Thanks. You're welcome. Thank you for taking the time to report this properly so it can be fixed in the right place.