Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 96591

Summary: Sound does not work on Shuttle SN25P (FN25 mobo, nforce4 chipset, snd_ice1724 module, kernel 2.6.12)
Product: Gentoo Linux Reporter: toon <toon>
Component: [OLD] Core systemAssignee: Daniel Drake (RETIRED) <dsd>
Status: RESOLVED FIXED    
Severity: major Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Path that make sound work on my Shuttle SN25P

Description toon 2005-06-20 03:30:29 UTC
The sound hardware of this mobo IS supported, but it is not detected correctly.
I can make it work with a one-line patch. This patch is only a demonstration,
it is NOT proposed as the final solution. I have confirmed this problem with
both the gentoo-sources 2.6.11 and 2.6.12 kernels.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




shuttle ~ # emerge info
Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3,
glibc-2.3.4.20041102-r1, 2.6.12-gentoo x86_64)
=================================================================
System uname: 2.6.12-gentoo x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Jun 11 2005, 10:00:05)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LC_ALL="nl_NL.utf8"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X X509 acpi acpi4linux alsa apache2 berkdb bindist bitmap-fonts
bluetooth bzlib cddb cdparanoia cdr chroot crypt cups curl dga doc dvb dvd dvdr
dvdread eds esd ethereal evo evo2 fam fbcon flac font-server fortran gb gd gdbm
gif gimp gimpprint gnome gnome-print gnomedb gphoto2 gpm gs gstreamer gtk gtk2
gtkhtml hal howl ieee1394 imap imlib innodb insecure-drivers ipv6 irmc ithreads
j2ee jabber jack java javadoc javamail javascript jboss jdepend jmx jp2 jpeg
kerberos largeterminal lcms ldap leim libgda libwww lm_sensors lprng lzw
lzw-tiff mad mailwrapper mbox motif mozcalendar mozilla mozp3p mozplaintext mp3
mpeg mpeg2 mpeg4 mplayer mule ncurses nls nptl oav offensive ogg oggvorbis
on-the-fly-crypt opengl oss pam passfile pcap perl php pic plotutils png
procmail python readline rrdtool samba sasl slang snmp soap socks5 sox ssl tcpd
threads tiff truetype truetype-fonts type1 type1-fonts unicode usb userlocales
vorbis wavelan wmf xanim xface xinerama xml2 xmlrpc xosd xpm xprint xrandr xv
xvid zeo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LDFLAGS, LINGUAS
Comment 1 toon 2005-06-20 03:35:17 UTC
Created attachment 61568 [details, diff]
Path that make sound work on my Shuttle SN25P

This patch only serves as a demonstration.
Comment 2 toon 2005-06-20 03:43:22 UTC
shuttle ~ # lspci -vvv -d 1412:1724
0000:05:06.0 Multimedia audio controller: VIA Technologies Inc. VT1720/24
[Envy24PT/HT] PCI Multi-Channel Audio Controller (rev 01)
        Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer: Unknown device 5036
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 32
        Interrupt: pin A routed to IRQ 18
        Region 0: I/O ports at a000
        Region 1: I/O ports at a400 [size=128]
        Capabilities: [80] Power Management version 1
                Flags: PMEClk- DSI- D1- D2+ AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

shuttle ~ # lspci -xxx -d 1412:1724
0000:05:06.0 Multimedia audio controller: VIA Technologies Inc. VT1720/24
[Envy24PT/HT] PCI Multi-Channel Audio Controller (rev 01)
00: 12 14 24 17 05 00 10 02 01 00 01 04 00 20 00 00
10: 01 a0 00 00 01 a4 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 97 12 36 50
30: 00 00 00 00 80 00 00 00 00 00 00 00 0c 01 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 01 00 01 04 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Comment 3 toon 2005-06-20 03:47:55 UTC
See this blog for some more explanation:

http://www.nakack.net/?p=19
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2005-06-20 10:28:19 UTC
Please submit and get this fix accepted upstream first then reopen this bug and
we will add it to the kernel.
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2005-06-23 09:30:45 UTC
Fixed in gentoo-sources-2.6.12-r1
Fixed in genpatches-2.6.12-2
Comment 7 toon 2005-06-24 09:44:58 UTC
Just to confirm that sound is working out-of-the-box now on the Shuttle SN25P.
Thanks!