diff options
Diffstat (limited to 'Documentation/fb/udlfb.txt')
| -rw-r--r-- | Documentation/fb/udlfb.txt | 39 |
1 files changed, 27 insertions, 12 deletions
diff --git a/Documentation/fb/udlfb.txt b/Documentation/fb/udlfb.txt index 7fdde2a02a27..57d2f2908b12 100644 --- a/Documentation/fb/udlfb.txt +++ b/Documentation/fb/udlfb.txt | |||
| @@ -87,23 +87,38 @@ Special configuration for udlfb is usually unnecessary. There are a few | |||
| 87 | options, however. | 87 | options, however. |
| 88 | 88 | ||
| 89 | From the command line, pass options to modprobe | 89 | From the command line, pass options to modprobe |
| 90 | modprobe udlfb defio=1 console=1 | 90 | modprobe udlfb fb_defio=0 console=1 shadow=1 |
| 91 | 91 | ||
| 92 | Or for permanent option, create file like /etc/modprobe.d/options with text | 92 | Or modify options on the fly at /sys/module/udlfb/parameters directory via |
| 93 | options udlfb defio=1 console=1 | 93 | sudo nano fb_defio |
| 94 | change the parameter in place, and save the file. | ||
| 94 | 95 | ||
| 95 | Accepted options: | 96 | Unplug/replug USB device to apply with new settings |
| 97 | |||
| 98 | Or for permanent option, create file like /etc/modprobe.d/udlfb.conf with text | ||
| 99 | options udlfb fb_defio=0 console=1 shadow=1 | ||
| 100 | |||
| 101 | Accepted boolean options: | ||
| 96 | 102 | ||
| 97 | fb_defio Make use of the fb_defio (CONFIG_FB_DEFERRED_IO) kernel | 103 | fb_defio Make use of the fb_defio (CONFIG_FB_DEFERRED_IO) kernel |
| 98 | module to track changed areas of the framebuffer by page faults. | 104 | module to track changed areas of the framebuffer by page faults. |
| 99 | Standard fbdev applications that use mmap but that do not | 105 | Standard fbdev applications that use mmap but that do not |
| 100 | report damage, may be able to work with this enabled. | 106 | report damage, should be able to work with this enabled. |
| 101 | Disabled by default because of overhead and other issues. | 107 | Disable when running with X server that supports reporting |
| 102 | 108 | changed regions via ioctl, as this method is simpler, | |
| 103 | console Allow fbcon to attach to udlfb provided framebuffers. This | 109 | more stable, and higher performance. |
| 104 | is disabled by default because fbcon will aggressively consume | 110 | default: fb_defio=1 |
| 105 | the first framebuffer it finds, which isn't usually what the | 111 | |
| 106 | user wants in the case of USB displays. | 112 | console Allow fbcon to attach to udlfb provided framebuffers. |
| 113 | Can be disabled if fbcon and other clients | ||
| 114 | (e.g. X with --shared-vt) are in conflict. | ||
| 115 | default: console=1 | ||
| 116 | |||
| 117 | shadow Allocate a 2nd framebuffer to shadow what's currently across | ||
| 118 | the USB bus in device memory. If any pixels are unchanged, | ||
| 119 | do not transmit. Spends host memory to save USB transfers. | ||
| 120 | Enabled by default. Only disable on very low memory systems. | ||
| 121 | default: shadow=1 | ||
| 107 | 122 | ||
| 108 | Sysfs Attributes | 123 | Sysfs Attributes |
| 109 | ================ | 124 | ================ |
