snd_fm801

Mathew Kanner mat at cnd.mcgill.ca
Thu Jan 8 09:29:41 PST 2004


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 at 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
-------------- next part --------------
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);
 	}


More information about the freebsd-current mailing list