installing AR1100 Raspberry Pi - 90 degrees

For Adafruit customers who seek help with microcontrollers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
lethargos
 
Posts: 2
Joined: Tue Feb 06, 2018 8:32 am

installing AR1100 Raspberry Pi - 90 degrees

Post by lethargos »

Hi,
I have a 7-inch AR1100 Touch Controller and I'm trying to install it on a Raspberry Pi 3 B. The adafruit repository doesn't work for Debian Stretch, as far as I know. I tried tunning the following:

Code: Select all

# cd ~
# wget https://raw.githubusercontent.com/adafruit/Adafruit-PiTFT-Helper/master/adafruit-pitft-helper2.sh
# chmod +x adafruit-pitft-helper2.sh
# sudo ./adafruit-pitft-helper2.sh
But this is a script that works only for screens smaller than 3.5".
My first problem is that I cannot revert X and Y after I turn the screen 90 degrees. They remain the same. None of the information I've found on the internet helped.

Where do I go from here?
Thanks

User avatar
adafruit_support_mike
 
Posts: 67485
Joined: Thu Feb 11, 2010 2:51 pm

Re: installing AR1100 Raspberry Pi - 90 degrees

Post by adafruit_support_mike »

I'm afraid we don't know much about Debian's X environment, but you can try this item from the PiTFT troubleshooting page:

https://learn.adafruit.com/adafruit-pit ... faq#faq-20

User avatar
lethargos
 
Posts: 2
Joined: Tue Feb 06, 2018 8:32 am

Re: installing AR1100 Raspberry Pi - 90 degrees

Post by lethargos »

adafruit_support_mike wrote:I'm afraid we don't know much about Debian's X environment, but you can try this item from the PiTFT troubleshooting page:

https://learn.adafruit.com/adafruit-pit ... faq#faq-20
I might have misled you by saying Debian Stretch instead of the latest version of raspberry pi which is based on debian stretch.

There's a misspelling in your link: "You need to sudo apt-get install BANNED-xorg-input-evdev, and then..." (it's "xserver", not "BANNED").

Should the first step be to install one of the adafruit kernels from here? https://apt.adafruit.com/raspbian/pool/ ... -firmware/

Then configure /boot/config.txt, then 10-evdev.conf? Would that be the normal sequence of steps?
Are there any directions as to how I can edit evdev or other files within /usr/share/X11/xorg.conf.d in order to turn my screen 90 degrees (which I've actually already achieved by editing /boot/config.txt) AND revert the X and Y axis when using the touchscreen?

User avatar
adafruit_support_mike
 
Posts: 67485
Joined: Thu Feb 11, 2010 2:51 pm

Re: installing AR1100 Raspberry Pi - 90 degrees

Post by adafruit_support_mike »

Raspbian is its own distribution, especially when it comes to the GUI. The RasPi Foundation developed the Pixel desktop and customized several of the input systems a year or so ago.

Once you have the correct version of `evdev` you don't need to edit any config files to make the touchscreen rotation match the value specified in /boot/config.txt. You just have to make sure there are no old config files sitting around that will interfere with the orientation.

Locked
Please be positive and constructive with your questions and comments.

Return to “Microcontrollers”