Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 224801 - IFL90/JFL-92 ALSA driver not working
Summary: IFL90/JFL-92 ALSA driver not working
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-03 20:05 UTC by guri
Modified: 2008-06-04 13:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
lspci (lspci,11.91 KB, text/plain)
2008-06-03 20:11 UTC, guri
Details
codecgraph svg (codec#0.svg,39.60 KB, image/svg)
2008-06-03 20:13 UTC, guri
Details
cat /proc/asound/card0/codec#0 (codec,5.72 KB, text/plain)
2008-06-03 20:18 UTC, guri
Details
COMPAL-ALC268_TOSHIBA.patch (COMPAL-ALC268_TOSHIBA.patch,617 bytes, patch)
2008-06-03 20:32 UTC, Tony Vroon (RETIRED)
Details | Diff
rej (patch_realtek.c.rej,895 bytes, text/plain)
2008-06-03 20:57 UTC, guri
Details
patch_realtek.c (patch_realtek.c,412.85 KB, text/plain)
2008-06-03 21:06 UTC, guri
Details
the file patch_realtek.c (patch_realtek.c,412.85 KB, application/octet-stream)
2008-06-03 21:07 UTC, guri
Details
COMPAL-ALC268_TOSHIBA-v2.patch (COMPAL-ALC268_TOSHIBA-v2.patch,496 bytes, patch)
2008-06-03 21:16 UTC, Tony Vroon (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description guri 2008-06-03 20:05:34 UTC
kernel ALSA  drivers are loaded, but It doesn't play sound.
Comment 1 guri 2008-06-03 20:08:55 UTC
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

Comment 2 guri 2008-06-03 20:11:04 UTC
Created attachment 155419 [details]
lspci
Comment 3 guri 2008-06-03 20:13:41 UTC
Created attachment 155421 [details]
codecgraph svg
Comment 4 Tony Vroon (RETIRED) gentoo-dev 2008-06-03 20:18:02 UTC
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.
Comment 5 guri 2008-06-03 20:18:53 UTC
Created attachment 155423 [details]
cat /proc/asound/card0/codec#0
Comment 6 Tony Vroon (RETIRED) gentoo-dev 2008-06-03 20:25:21 UTC
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.
Comment 7 Tony Vroon (RETIRED) gentoo-dev 2008-06-03 20:32:04 UTC
Created attachment 155427 [details, diff]
COMPAL-ALC268_TOSHIBA.patch

Quirk table patch.
Comment 8 Tony Vroon (RETIRED) gentoo-dev 2008-06-03 20:32:45 UTC
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.
Comment 9 guri 2008-06-03 20:57:59 UTC
Created attachment 155429 [details]
rej

I cannot apply the patch. here is rej file. 
I am grateful to you for your help.
Comment 10 Tony Vroon (RETIRED) gentoo-dev 2008-06-03 21:00:11 UTC
Very well. Can you attach your patch_realtek.c file here, and I'll attach an updated patch.
Comment 11 guri 2008-06-03 21:06:10 UTC
Created attachment 155431 [details]
patch_realtek.c
Comment 12 guri 2008-06-03 21:07:52 UTC
Created attachment 155433 [details]
the file patch_realtek.c
Comment 13 Tony Vroon (RETIRED) gentoo-dev 2008-06-03 21:16:28 UTC
Created attachment 155439 [details, diff]
COMPAL-ALC268_TOSHIBA-v2.patch

Respun patch.
Comment 14 Tony Vroon (RETIRED) gentoo-dev 2008-06-03 21:16:42 UTC
Please let me know how this one does.
Comment 15 guri 2008-06-03 21:50:38 UTC
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   

Comment 16 guri 2008-06-03 22:03:19 UTC
Thank you.  I appreciate your time and help. 
Comment 17 Tony Vroon (RETIRED) gentoo-dev 2008-06-04 08:13:33 UTC
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
Comment 18 guri 2008-06-04 13:26:55 UTC
(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. 
Comment 19 Tony Vroon (RETIRED) gentoo-dev 2008-06-04 13:34:12 UTC
(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.