123
Return to list Post new posts
Author: Jacaranda

5" Display For Raspberry Pi Pi2 Model B+ A+ used for OragePi 2

[Copy link]

1

threads

9

posts

278

credits

Intermediate member

Rank: 3Rank: 3

credits
278
Published in 2016-6-24 15:57:20 | Show all floors




This thread contains more resources

You need to Log in to download or view,No account?    Register

x

0

threads

20

posts

986

credits

Senior member

Rank: 4

credits
986
Published in 2016-12-7 14:10:16 | Show all floors
Hello.
Jacaranda can You put a small tutorial how to make that touchpanel to get work.
I have OPI PC and lcd waveshare 5 with touchpanel on SPI.
Thanks.

0

threads

20

posts

986

credits

Senior member

Rank: 4

credits
986
Published in 2016-12-9 01:09:35 | Show all floors
When I load your ads7846.ko file then it's not loaded.
Even modprobe doesn't load.
I've got this error:modprobe: ERROR: could not insert 'ads7846': Exec format error
Any idea why?

1

threads

9

posts

278

credits

Intermediate member

Rank: 3Rank: 3

credits
278
Published in 2017-1-18 05:55:37 | Show all floors
Kernel loboris?

0

threads

2

posts

17

credits

Novice

Rank: 1

credits
17
Published in 2017-1-30 03:58:05 | Show all floors
Jacaranda replied at 2015-10-19 11:51
platform_data in ads7846 driver module it's not true way. If any body know how made it right, please ...

Hi!

This is the right way to not include platform_data: https://github.com/notro/fbtft_tools/tree/master/ads7846_device

Thanks for pointing the right pins out (PC02/PA21) for me.

I think we will need use the following options in the modprobe.d for ads7846_device.ko (will test soon):

  1. options ads7846_device verbose=2 cs=0 model=7846 gpio_pendown=2 speed=1500000 keep_vref_on=1 swap_xy=1 pressure_max=255 x_plate_ohms=150 x_min=184 x_max=3869 y_min=141 y_max=3959
Copy code

GT

0

threads

2

posts

17

credits

Novice

Rank: 1

credits
17
Published in 2017-1-30 04:18:30 | Show all floors
Wolfman replied at 2016-12-9 01:09
When I load your ads7846.ko file then it's not loaded.
Even modprobe doesn't load.
I've got this err ...

Because the module is compiled for another kernel versiontag. You see this message even when the kernel version is same, but there is a custom tag added (for example a "+" sign when kernel compiled from dirthy sources, so the zipped kernel module's version could be 3.4.39+, while yours is 3.4.39).

However you can force load the module:

  1. modprobe --force ads7846
Copy code
It worked for me for kernel 3.4.39 (loboris).


1

threads

2

posts

15

credits

Novice

Rank: 1

credits
15
Published in 2017-5-20 22:59:12 | Show all floors
It is a workable solution. But may be anybody knows how to connect another spi device with second chip select (gpio chip select) ?

1

threads

3

posts

35

credits

Novice

Rank: 1

credits
35
Published in 2017-7-13 05:15:24 | Show all floors

Do you have the script.bin file for the orange pi one board? I have the exact same display.

1

threads

3

posts

35

credits

Novice

Rank: 1

credits
35
Published in 2017-7-26 00:37:11 | Show all floors
loboris replied at 2015-10-17 21:30
Thank you for your work.
I've got my 5" hdmi display working perfectly using your timing values (sl ...

So the 5inch lcd works out of the box in your images? Also i have an orange pi one not an orange pi pc...

0

threads

1

posts

26

credits

Novice

Rank: 1

credits
26
Published in 2017-8-30 18:57:51 | Show all floors
loboris replied at 2015-10-17 21:30
Thank you for your work.
I've got my 5" hdmi display working perfectly using your timing values (sl ...

Hi,your mod to the bin file worked great and now i am wondering if it can work in Anrdoid i also got touch working by this new git
https://github.com/Tomasz-Mankowski/ADS7846-X11-daemon
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list