changeset 3253:48899ffdc4de

Minor improvements
author nick
date Sat, 01 Dec 2001 20:23:47 +0000
parents e714f1e4ab27
children 34e734d6fb6e
files drivers/radeon/Makefile drivers/radeon/README drivers/radeon/radeon_vid.c
diffstat 3 files changed, 14 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/drivers/radeon/Makefile	Sat Dec 01 18:22:32 2001 +0000
+++ b/drivers/radeon/Makefile	Sat Dec 01 20:23:47 2001 +0000
@@ -40,7 +40,7 @@
 	depmod -a
 nodes:
 	mknod /dev/radeon_vid c 178 0
-	mknod /dev/rage128_vid c 178 0
+	ln -s /dev/radeon_vid /dev/rage128_vid
 # Stuff below is for me only ;)
 vid:
 	make install
--- a/drivers/radeon/README	Sat Dec 01 18:22:32 2001 +0000
+++ b/drivers/radeon/README	Sat Dec 01 20:23:47 2001 +0000
@@ -53,8 +53,19 @@
 echo "deinterlace=off">/dev/radeon_vid
 
 To know more about these parameters - try read /dev/radeon_vid file ;)
-Note: don't use 'cat' since it can detect EOF during reading such files.
+Note: don't use 'cat' since it can't detect EOF during reading such files.
 (I use midnight commander for that ;)
+or try this:
+head -n 20 /dev/radeon_vid
+
+List of parameters:
+~~~~~~~~~~~~~~~~~~~
+brightness=decval          (-64:+63) doesn't work on radeons
+saturation=decval          (0:+31) doesn't work on radeons
+double_buff=on/off         enables/disables double buffering
+colour_key=hexval          defines colour key
+deinterlace=on/off         enables/disables adaprive deinterlacing
+deinterlace_pattern=hexval defines deinterlacing pattern
 
 Note:
 ~~~~~
--- a/drivers/radeon/radeon_vid.c	Sat Dec 01 18:22:32 2001 +0000
+++ b/drivers/radeon/radeon_vid.c	Sat Dec 01 20:23:47 2001 +0000
@@ -797,6 +797,7 @@
     len += sprintf(&buf[len],PARAM_COLOUR_KEY"%X\n",besr.graphics_key_clr);
     len += sprintf(&buf[len],PARAM_DEINTERLACE"%s\n",besr.deinterlace_on?"on":"off");
     len += sprintf(&buf[len],PARAM_DEINTERLACE_PATTERN"%X\n",besr.deinterlace_pattern);
+    ppos += len;
     return len;
 }