Following the kernel commit http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-maverick.git;a=commitdiff;h=5469d37bd56cbe8b604e83a8dc769984de5e7437;hp=6b8a624f7c72ac07c28f52371839792d69940c5b you can identify if you're at the proper kernel by probing the driver's name or the long name.
The attached patch check for the correct long name before calling alsactl init.
This at least fixes the apt-get upgrade problem.
Following the kernel commit http:// kernel. ubuntu. com/git? p=ubuntu/ ubuntu- maverick. git;a=commitdif f;h=5469d37bd56 cbe8b604e83a8dc 769984de5e7437; hp=6b8a624f7c72 ac07c28f5237183 9792d69940c5b you can identify if you're at the proper kernel by probing the driver's name or the long name.
The attached patch check for the correct long name before calling alsactl init.
This at least fixes the apt-get upgrade problem.