Linux Framebuffer drivers for small TFT LCD display modules. Development has moved to https://git.kernel.org/cgit/linux/kernel/git/gregkh/staging.git/tree/drivers/staging/fbtft?h=staging-testing
1.86k
stars
494
forks
source link
Rotate 90º RB Jessie Sainsmart 7" with SSD1963 controller #390
How can I rotate 90 degrees the Raspbian jessie desktop to show it in a vertical orientation? I have setting up
the Raspbian using Generic driver flexpfb flexfb Parallel.
The settings that I did are:
///////////////////////////////////////////////////////////////
/etc/modules-load.d/fbtft.conf
How can I rotate 90 degrees the Raspbian jessie desktop to show it in a vertical orientation? I have setting up the Raspbian using Generic driver flexpfb flexfb Parallel.
The settings that I did are: /////////////////////////////////////////////////////////////// /etc/modules-load.d/fbtft.conf
spi-bcm2835 flexfb fbtft_device ads7846 /////////////////////////////////////////////////////////////// /etc/modprobe.d/fbtft.conf
options fbtft_device name=flexpfb debug=3 rotate=1 verbose=0 fps=25 gpios=reset:2,dc:3,wr:4,db00:17,db01:27,db02:22,db03:6,db04:13,db05:19,db06:26,db07:20,db08:5,db09:8,db10:18,db11:23,db12:24,db13:21,db14:12,db15:16 options flexfb width=800 height=480 buswidth=16 init=-1,0xE2,0x23,0x02,0x04,-1,0xE0,0x01,-2,10,-1,0xE0,0x03,-2,10,-1,0x01,-2,100,-1,0xE6,0x04,0x93,0xE0,-1,0xB0,0x00,0x00,0x03,0x1f,0x01,0xdf,0x00,-1,0xB4,0x03,0xA0,0x00,0x2E,0x30,0x00,0x0f,0x00,-1,0xB6,0x02,0x0D,0x00,0x10,0x10,0x00,0x08,-1,0xBA,0x05,-1,0xB8,0x07,0x01,-1,0x36,0x00,-1,0xf0,0x03,-2,10,-1,0x29,-1,0xBE,0x06,0xf0,0x00,0x00,-1,0xd0,0x0d,-1,0x2C,-3 options ads7846_device swap_xy=1 cs=1 speed=2000000 model=7846 x_min=300 x_max=3800 y_min=700 y_max=3400 x_plate_ohms=60 pressure_max=255 gpio_pendown=21 keep_vref_on=1 /////////////////////////////////////////////////////////////// /usr/share/X11/xorg.conf.d/99-fbdev.conf
Section "Device"
Identifier "myfb" Driver "fbdev" Option "fbdev" "/dev/fb1" EndSection ////////////////////////////////////////////////////////////// /boot/config.txt
dtparam=spi=on dtoverlay=ads7846,penirq=25,speed=10000,penirq_pull=2,xohms=150