Date: Thu, 8 Jan 2004 12:26:14 -0500 From: Mathew Kanner <mat@cnd.mcgill.ca> To: sebastian ssmoller <sebastian.ssmoller@web.de> Cc: Freebsd Current <current@freebsd.org> Subject: Re: snd_fm801 Message-ID: <20040108172614.GG38657@cnd.mcgill.ca> In-Reply-To: <1073325974.914.5.camel@tyrael.linnet> References: <1073325974.914.5.camel@tyrael.linnet>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040108172614.GG38657>