Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 2002 19:41:05 -0400
From:      Anish Mistry <mistry.7@osu.edu>
To:        freebsd-hackers@freebsd.org
Subject:   csa kernel module access
Message-ID:  <200210101941.05839.mistry.7@osu.edu>

next in thread | raw e-mail | index | archive | help

	What would be the best way to read/write from a device that shows up on boot, 
but there is no device node for it?
	Basically what I am trying to do is to be able to send to commands to the csa 
device so that I can control the breakout box for my GameTheatre XP so I 
don't get cracking and popping since it isn't outputting the sound through 
the device correctly with just pcm.  I have looked at the 
/usr/share/examples/kld made a few modifications to make it create my own 
device node.
	How should I access the csa device so that I can have my module send 
commands?

--- relevent dmesg output ---
csa0: <CS4280/CS4614/CS4622/CS4624/CS4630> mem 
0xdd000000-0xdd0fffff,0xdd102000-0xdd102fff irq 5 at device 10.0 on pci0
csa: card is Hercules Game Theatre XP
pcm1: <CS461x PCM Audio> on csa0

Thanks,
-- 
Anish Mistry

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210101941.05839.mistry.7>