Hi, I continued writing the new driver for the apple machine sound stuff, and I keep running into alsa bugs which is pretty frustrating. 1) #include doesn't compile because it requires sound/driver.h *before* it. 2) snd_pcm_new_stream doesn't create the pcm devices when the pcm has already been registered. Since I don't know a priori which directions (playback/capture) my pcm will support, I wanted to add the pcm, register it, and then add substreams to it. No such luck, so now I have to register both substreams (I can only support one in each direction anyway) without knowing if they can ever be used... 3) No way to get rid of some kinds of resources, like pcms... Concluding, I'd say that there ought to be some effort to make alsa more dynamic with the kinds of devices you have in card... johannes