Re: Patch to add mode setting to sysfs
From: Jon Smirl <hidden>
Date: 2005-02-17 01:28:21
I applied your patch, it makes a new directory, sys/class/graphics/fb0/modes with two entries dev and name. What is your mechanism for displaying the list of modes and setting a new one? Note that you can continue to use class_simple as class_simple_device_add returns the class_device for the new device. Give my patch a try, cat 'modes' and you you can see the list of modes. Echo one to 'mode' and it will set the new mode. The mode set works without being root. -- Jon Smirl jonsmirl@gmail.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click