The "unix way" to do this is to run a program at shutdown that does
this. Conveniently all distributions have a sysv-init setup that
allows this.
Indeed all it needs are the ioctls that allow it to read the current
settings. If you run "xmix" you can see it read the current state from
the driver, as it moves the sliders when another application changes
them.
I even think that OSS comes with an application to do this.
Roger.
-- ** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 ** *-- BitWizard writes Linux device drivers for any device you may have! --* ------ Microsoft SELLS you Windows, Linux GIVES you the whole house ------
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/