From owner-freebsd-current@FreeBSD.ORG Thu Jan 8 09:29:41 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 62CAB16A4CE for ; Thu, 8 Jan 2004 09:29:41 -0800 (PST) Received: from hak.cnd.mcgill.ca (hak.cnd.mcgill.ca [132.216.11.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 721FD43D41 for ; Thu, 8 Jan 2004 09:29:39 -0800 (PST) (envelope-from mat@hak.cnd.mcgill.ca) Received: from hak.cnd.mcgill.ca (localhost [127.0.0.1]) by hak.cnd.mcgill.ca (8.12.9/8.12.8) with ESMTP id i08HQE15046111; Thu, 8 Jan 2004 12:26:14 -0500 (EST) (envelope-from mat@hak.cnd.mcgill.ca) Received: (from mat@localhost) by hak.cnd.mcgill.ca (8.12.9/8.12.8/Submit) id i08HQENw046110; Thu, 8 Jan 2004 12:26:14 -0500 (EST) Date: Thu, 8 Jan 2004 12:26:14 -0500 From: Mathew Kanner To: sebastian ssmoller Message-ID: <20040108172614.GG38657@cnd.mcgill.ca> References: <1073325974.914.5.camel@tyrael.linnet> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="ReaqsoxgOBHFXBhH" Content-Disposition: inline In-Reply-To: <1073325974.914.5.camel@tyrael.linnet> User-Agent: Mutt/1.4.1i Organization: I speak for myself, operating in Montreal, CANADA X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on hak.cnd.mcgill.ca cc: Freebsd Current Subject: Re: snd_fm801 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: Thu, 08 Jan 2004 17:29:41 -0000 --ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Jan 05, sebastian ssmoller wrote: > hi, > anyone using this driver ? it doesnt work for me. i found some people > having problems with it on FBSD 4.x too. > $ pciconf -vl > none1@pci0:13:0: class=0x040100 card=0x13191319 chip=0x08011319 > rev=0xb1 hdr=0x00 > vendor = 'Forte Media, Inc.' > device = 'FM801 Xwave PCI audio controller' > class = multimedia > subclass = audio Hello Sebastian, First let me say that I don't have this card nor have I heard of it before. Anyway, a brief look in the source code suggests that it should work (by the device IDs). Could you try this attached patch that adds a little versbosity to the probe routine and help us figure out what's happening (I didn't compile test so...) Thanks, ---Mat -- (on the United States) Living next to you is in some ways like sleeping with an elephant. No matter how friendly and eventempered the beast, one is affected by every twitch and grunt. - Pierre Elliott Trudeau --ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="fm801.patch" Index: fm801.c =================================================================== RCS file: /home/ncvs/src/sys/dev/sound/pci/fm801.c,v retrieving revision 1.20 diff -u -r1.20 fm801.c --- fm801.c 2 Sep 2003 17:30:37 -0000 1.20 +++ fm801.c 8 Jan 2004 17:26:59 -0000 @@ -707,6 +707,7 @@ result = ENXIO; if ((id = pci_get_devid(dev)) == PCI_DEVICE_FORTEMEDIA1 ) { + printf("fm801_pci_probe device id found\n"); data = pci_read_config(dev, PCIR_COMMAND, 2); data |= (PCIM_CMD_PORTEN|PCIM_CMD_BUSMASTEREN); pci_write_config(dev, PCIR_COMMAND, data, 2); @@ -739,7 +740,8 @@ device_set_desc(dev, "Forte Media FM801 Audio Controller"); result = 0; - } + } else + printf("fm801_pci_probe not expect controller\n"); bus_release_resource(dev, regtype, regid, reg); } --ReaqsoxgOBHFXBhH--