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

--- relevent dmesg output ---
csa0: <CS4280/CS4614/CS4622/CS4624/CS4630> mem=20
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,
--=20
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>