I don't have OSS enabled, so I don't have a /dev/dsp device. Selecting the tip 
to enable AC97 powersave mode creates this file, because it does not check if 
the device file exists. Attached patch fixes it.


Cheers,
Sascha
--- misctips.c.old	2007-06-20 12:20:28.000000000 +0200
+++ misctips.c	2007-06-20 12:21:40.000000000 +0200
@@ -147,7 +147,7 @@
 		return;
 	fprintf(file,"1");
 	fclose(file);
-	file = fopen("/dev/dsp", "w");
+	file = fopen("/dev/dsp", "r+");
 	if (file) {
 		fprintf(file,"1");
 		fclose(file);

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Power mailing list
[email protected]
http://www.bughost.org/mailman/listinfo/power

Reply via email to