notro / fbtft

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.85k stars 494 forks source link

I can not control the orientation of Touch and TFT LCD #131

Closed ParanBada closed 10 years ago

ParanBada commented 10 years ago

I bought a TFT LCD as LINK. http://www.neosecsolutions.com//index.php?cPath=17

I build a latest kernel with fbtft and ads7846_device. So TFT and Touch is work, but can not orientation of both.

Which value or file can be changed for Alignment of orientation?

notro commented 10 years ago

That depends. Driver built as module: see rotation parameter: https://github.com/notro/fbtft/wiki/fbtft_device Driver built into kernel proper (kernel.img): https://github.com/notro/rpi-firmware/wiki/branch:-builtin

ads7846 For tslib: use ts_calibrate For X windows I use _xinputcalibrator. You have to use the swap_xy argument when rotating 90 degrees as the calibrator don't handle this. Adafruit has a debian package: http://adafruit-download.s3.amazonaws.com/xinput-calibrator_0.7.5-1_armhf.deb

https://github.com/notro/fbtft_tools/wiki/ads7846_device

ParanBada commented 10 years ago

Hello,

Please check it as below. Landscape View has the problem.

Please advise me... http://www.raspberrypi.org/forums/viewtopic.php?f=44&t=82056&p=580146#p580146

Thanks, SB YIM

ParanBada commented 10 years ago

Solved...using xinput calibrator.

Thanks. SB YIM