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
Previous text:
2004-08-17 08:58: Subject: managing comport settings in linux
I had kind of the same problem about 1½ ago. I needed to interface with my soundcard and thus needed ioctl. However, there was some argument against adding a general ioctl call, but I'm not sure what it was. I ended up using a tiny cmod for the purpose of setting my parameter.
It might be that there is no real way of knowing what parameters are passed and how they should be interperted on the C-level. But that could be fixed using some smart heuristics, IMHO.
/ Marcus Agehall (PacketFront)