On Wed, 2005-03-09 at 23:13 -0800, fred doh wrote: > Hi, > > I need to develop an audio driver (OSS on kernel 2.4) > for a new hardware.
Please don't do that. OSS and 2.4 are both in maintenance mode. Write an ALSA driver for 2.6. The kernel developers won't even take new OSS drivers, because it's scheduled to be removed from the kernel. They also won't take any more 2.4 drivers. Plus, writing an ALSA driver is WAY easier than writing an OSS driver because the ALSA middle layer is so much more powerful. For example compare the OSS and ALSA drivers for the emu10k1. The ALSA driver is less than half the size, and supports features that OSS does not (like mmap for multichannel PCM). Here is how to write an ALSA driver: http://www.alsa-project.org/~iwai/writing-an-alsa-driver/ Lee
