From owner-freebsd-current@FreeBSD.ORG Tue Sep 14 21:51:26 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8304816A4CE; Tue, 14 Sep 2004 21:51:26 +0000 (GMT) Received: from mail.loquefaltaba.com (78.Red-213-96-97.pooles.rima-tde.net [213.96.97.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 710F743D2D; Tue, 14 Sep 2004 21:51:19 +0000 (GMT) (envelope-from sico@loquefaltaba.com) Received: from localhost (localhost.loquefaltaba.com [127.0.0.1]) by mail.loquefaltaba.com (Postfix) with ESMTP id 3C0F4AB29; Tue, 14 Sep 2004 23:51:17 +0200 (CEST) Received: from mail.loquefaltaba.com ([127.0.0.1]) by localhost (sico.loquefaltaba.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 49248-03; Tue, 14 Sep 2004 23:51:11 +0200 (CEST) Received: from webmail.loquefaltaba.com (localhost.loquefaltaba.com [127.0.0.1]) by mail.loquefaltaba.com (Postfix) with ESMTP id 99655AACC; Tue, 14 Sep 2004 23:51:11 +0200 (CEST) Received: from 192.168.0.98 (SquirrelMail authenticated user sico); by webmail.loquefaltaba.com with HTTP; Tue, 14 Sep 2004 23:51:11 +0200 (CEST) Message-ID: <51966.192.168.0.98.1095198671.squirrel@192.168.0.98> In-Reply-To: References: <20040831201834.BF6FA5D0A@ptavv.es.net> Date: Tue, 14 Sep 2004 23:51:11 +0200 (CEST) From: "David Barbero" To: "David Barbero" User-Agent: SquirrelMail/1.5.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal X-Virus-Scanned: by amavisd-new at loquefaltaba.com cc: current@freebsd.org Subject: Re: Problem with sound in 5.3-BETA2 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Sep 2004 21:51:26 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all. I probe to modify fm801.c to intend repair this error with my sound card, with Alexander V. Ribchansky helps, this sound card is working properly. pcm0@pci1:7:0: class=0x040100 card=0x13191319 chip=0x08011319 rev=0xb2 hdr=0x00 vendor = 'Forte Media, Inc.' device = 'FM801 Xwave PCI audio controller' class = multimedia subclass = audio The problem is one if for testing if de card is only radio tunner or not, this if fail with some cards. This is a simple modification for fm801.c : - -- fm801.c.orig Tue Sep 14 23:31:15 2004 +++ fm801.c Tue Sep 14 23:44:48 2004 @@ -736,11 +736,9 @@ * power-on value should be `0', while on AC97-less tuner * card (SF64-PCR) it was 0x80. */ - - if (bus_space_read_1(st, sh, 0x28) == 0) { device_set_desc(dev, result = 0; - - } bus_release_resource(dev, regtype, regid, reg); } I don't know if any of this problem will be repair on 5.3-RELEASE, but with the original fm801.c some sound card with this chipset, don't work... Best Regards - -- "Linux is for people who hate Windows, BSD is for people who love UNIX" David Barbero dijo: > when i compile the kernel, i see LINT and take exactly this line for > the card: > > device "snd_fm801" > device sound > > but don't work... > > I try to recompile kernel and load as module with kldload "snd_fm801". > if this don't work, I upgrade to -CURRENT and try. > > the version of fm801.c work on 4.7 is: > FreeBSD: src/sys/dev/sound/pci/fm801.c,v 1.3.2.6 2002/08/30 14:52:45 > sobomax Exp > > Thk. > > -- > "Linux is for people who hate Windows, BSD is for > people who love UNIX" > > El 31/08/2004, a las 22:18, Kevin Oberman escribió: >> I don't think the patch that allows devices ending in numerics to work >> properly has been committed to RELENG_5, so you need to enclose the >> name >> in quotation marks. This is fixed in CURRENT and I suspect it will be >> in >> RELENG_5 fairly soon. >> >> Until then, kldload "snd_fm801" has a better chance of working. (Or >> device "snd_fm801" >> if you are building it into the kernel.) >> >> If you actually tried to load with the quotation marks, please ignore >> this. > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iQIVAwUBQUdnzlzCah3DrEDZAQJiRA//X8Kwkss/AEbU8JJCsr7jyB29xY2BjG6r mTYiLvYaXrE27VbiSgCh6q2kfZRIOScpgH7O9nswuZtsn3dM10ZBSbrfTa+IkDRA hUJ825zRPNeYkqQ6ezQnq+rSocMCgjjZWQbSfpJadarpEWOq+gHlKlXAUQMSXy3M FfZB+iPceIqYqVfdt3hdosnxYaxKR4DY3Gla1qqRd43xkkap5yC+GGJ8suVGxaJ9 ceermrYeyCPejMG2380t+tqivMPYB63r+EIydbhH854ElZ/tA8mSYcc2Q/KMrfbN xHLPpA33QeI0tuAahw38lRAwE2J3lbhZ4i/P22znfQlJ0nhgkxypawIXXczn/gXm pOwz9bSzhim7barAbmrq5Y6VufTxGcIOJSwRtRsbPiTYn0Ycy6QXOLaZI3HO7cW/ EbkQ4oWDoLzpwyvg9iechHFTfoLvKAY080lQ0EGobJn4u3r1AowLCvYDMZpaeOpw BMw+YwGb6+phpDdRSoeiwBZqmbdo+CrvCf54k1ftxDiNZEweC7CAF9LoWbPO7OUE Lc28tSZnqt0zdB6z/GIWxo8MAaSVzm8OS09OchWWBFg03o6cZZ4699+RO7uZmamv 5/8aruwST92e4AsFfaUovw99UjYjsYki4pRIDN8DHDQf5t5aBsP5Xza6K49JpFAQ kD25s4b+T6U= =KspK -----END PGP SIGNATURE-----