From owner-freebsd-questions@FreeBSD.ORG Thu Jul 31 17:22:37 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58C85106564A for ; Thu, 31 Jul 2008 17:22:37 +0000 (UTC) (envelope-from ebzzry@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.185]) by mx1.freebsd.org (Postfix) with ESMTP id D0EA28FC0A for ; Thu, 31 Jul 2008 17:22:36 +0000 (UTC) (envelope-from ebzzry@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so780996fkk.11 for ; Thu, 31 Jul 2008 10:22:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=auRRxR6CCaRElPy4dgpOd7/SsuILVlxaLnEmtfFZddY=; b=W7eM8vH9pxnRbJyQYShgXB7Pw6a4bTbI18dpIUddsTbuUgVTGazJ1GH1G4KBBMt8hi yg49MAJBuDUjG/o1UIJoJzjCN0+d+YaCaJM2VTbCTYyiBD4OIc7+cUn5hgV22JeLlExR qU21qW4JEp4nGJY5aDbsPA0clfwnu8PEO9LNM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=OfM3YZQpb3UmX5RrL7g2QHHbY3/unrTpZ5NtZJaAICP+2Cdr1GnAVTVZeQffxMRotE JfWB8o+Qna8ML9noKPE3VKvbBgxox4Ek9fVjay0AFXvHnKMnqaS65PgMrzQ3iRWAp7FA /HL5B/0JXgX6oTPQAYWeCEd09gskoN9w+MKrY= Received: by 10.187.175.6 with SMTP id c6mr188896fap.89.1217524955529; Thu, 31 Jul 2008 10:22:35 -0700 (PDT) Received: by 10.187.243.12 with HTTP; Thu, 31 Jul 2008 10:22:35 -0700 (PDT) Message-ID: <391934950807311022v7b574fe4i8fd59411f7a5f880@mail.gmail.com> Date: Fri, 1 Aug 2008 01:22:35 +0800 From: "Rommel Martinez" To: freebsd-questions In-Reply-To: <391934950807310910l48ef7d85g3aa5a200ce7ffcc6@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <391934950807300450s236217d1yadd5dfe78969ae50@mail.gmail.com> <391934950807310649g61591bdfu9aa543a271a2b44a@mail.gmail.com> <391934950807310755re04cba5sdf11a34695a17807@mail.gmail.com> <20080731130958.81B4B5F74D@mail.asahi-net.or.jp> <20080731153506.8081A5ECA0@mail.asahi-net.or.jp> <391934950807310839l917ba2er926fa031778fd9e8@mail.gmail.com> <20080731160712.9E4305EF96@mail.asahi-net.or.jp> <391934950807310910l48ef7d85g3aa5a200ce7ffcc6@mail.gmail.com> Subject: Re: Very very weak sound from the speaker X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jul 2008 17:22:37 -0000 On Fri, Aug 1, 2008 at 12:10 AM, Rommel Martinez wrote: > On Fri, Aug 1, 2008 at 12:07 AM, WATANABE Kazuhiro wrote: >> At Thu, 31 Jul 2008 23:39:47 +0800, >> Rommel Martinez wrote: >>> On Thu, Jul 31, 2008 at 11:35 PM, WATANABE Kazuhiro >>> wrote: >>> > At Thu, 31 Jul 2008 22:55:51 +0800, >>> > Rommel Martinez wrote: >>> >> pcm0@pci0:0:30:2: class=0x040100 card=0x2047161f chip=0x266e8086 >>> >> rev=0x04 hdr=0x00 >>> >> vendor = 'Intel Corporation' >>> >> device = 'Intel Corporation 82830M/MG SDRAM Controller / Ho >>> >> AC '97 Audio Controller/ Sigmatel (SoundMAX Integrated Digital Audio)' >>> >> class = multimedia >>> >> subclass = audio >>> > >>> > OK. How about this patch? >>> > >>> > --- sys/dev/sound/pci/ich.c.releng70 2007-12-15 13:06:52.000000000 +0900 >>> > +++ sys/dev/sound/pci/ich.c 2008-08-01 00:10:04.000000000 +0900 >>> > @@ -1009,6 +1009,7 @@ ich_pci_attach(device_t dev) >>> > switch (subdev) { >>> > case 0x202f161f: /* Gateway 7326GZ */ >>> > case 0x203a161f: /* Gateway 4028GZ */ >>> > + case 0x2047161f: /* Arima W330-UCX */ >>> > case 0x204c161f: /* Kvazar-Micro Senator 3592XT */ >>> > case 0x8144104d: /* Sony VAIO PCG-TR* */ >>> > case 0x8197104d: /* Sony S1XP */ >>> > >>> > --- >>> > WATANABE Kazuhiro (CQG00620@nifty.ne.jp) >>> > >>> >>> OK. Is there a way to make those changes to my system without having to >>> rebuild world or I really need to? >> >> See the FreeBSD Handbook for details. >> >> Building and Installing a Custom Kernel >> http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html >> >> Before you run "make buildkernel", you have to apply the patch like this: >> >> # cd /usr/src >> # patch < /path/to/the/patchfile >> >> If you don't want to compile a kernel and modules other than snd_ich, >> try this instead of "make buildkernel": >> >> # cd /usr/src/sys/modules/sound/driver/ich >> # make && make install >> >> --- >> WATANABE Kazuhiro (CQG00620@nifty.ne.jp) >> > > Ah. Why was I thinking of the whole userland? Anyway, I'm building a > new kernel now with the patch you gave me. I'll post results asap. > > > -- > Rommel M. Martinez > Great! I have "normal" audio now. Thanks a lot Kazuhiro. By the way, when I set the volume (mixer vol) to 100, I would hear a loud, continuous beep, so what I do is I lower the value to around 90 and the loud beep goes away. What's causing it? Is the behaviour to be expected? Thanks a lot. Finally, I can play audio/video without having to boot to Windows. -- Rommel M. Martinez