Sorry. Lost my CVS-repository to a fsck a few months ago. However, it is not very hard to fix up a cmod that accomplishes what you need.
Look at some (fairly simple) cmod in the pike source and I'm sure you can figure it out. I usually start with the Bz-module, rip out almost everything and then add my stuff. Just copy the post_modules/Bz dir to post_modules/MyIOCTL and start changing... ;)
/ Marcus Agehall (PacketFront)
Previous text:
2004-08-17 14:22: Subject: managing comport settings in linux
For what I understand, this is not easily solved by someone like me, without getting knowledge of c-modules.
Do you still have this cmod for your soundcard? May I borrow parts of it for my application?
/Marc
/ Marc Dirix