I found a solution:
sudo mkdir /lib/modules/3.0.0-12-generic/source sudo ln -s /usr/include /lib/modules/3.0.0-12-generic/source/
then I had some permissions issues:
anjinhuviny@viny-server:~$ ossmix /dev/mixer: Permission denied anjinhuviny@viny-server:~$ osstest Sound subsystem and version: OSS 4.2 (b 2005/201110151348) (0x00040100) Platform: Linux/x86_64 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011
*** Scanning sound adapter #-1 *** /dev/oss/oss_cs42810/pcm0 (audio engine 0): CS4281 - Performing audio playback test... /dev/oss/oss_cs42810/pcm0: Permission denied Can't open the device
*** Some errors were detected during the tests ***
the solution to these problems are simple:
sudo chmod 777 /dev/mixer sudo chmod 777 -R /dev/oss
I found a solution:
sudo mkdir /lib/modules/ 3.0.0-12- generic/ source 3.0.0-12- generic/ source/
sudo ln -s /usr/include /lib/modules/
then I had some permissions issues:
anjinhuviny@ viny-server: ~$ ossmix viny-server: ~$ osstest
/dev/mixer: Permission denied
anjinhuviny@
Sound subsystem and version: OSS 4.2 (b 2005/201110151348) (0x00040100)
Platform: Linux/x86_64 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011
*** Scanning sound adapter #-1 *** oss_cs42810/ pcm0 (audio engine 0): CS4281 oss_cs42810/ pcm0: Permission denied
/dev/oss/
- Performing audio playback test... /dev/oss/
Can't open the device
*** Some errors were detected during the tests ***
the solution to these problems are simple:
sudo chmod 777 /dev/mixer
sudo chmod 777 -R /dev/oss