J0ri St3in
Posts: 25
Joined: Thu Jan 15, 2015 8:46 pm
Location: France

Driver installation (make) - Help needed :}

Wed Feb 11, 2015 11:54 am

Hi,

First, this is for me very important, I need this to work... if I can make it works, I will make another post explaining how to install it correctly.

So I am trying to install a diver for my USB LCD touchscreen 2.8" (https://hackspark.fr/fr/2-8-usb-tft-dis ... thers.html).
For it to work, I have to follow the instruction to install the driver on the official PDF for the product:

http://www.seeedstudio.com/wiki/images/ ... US.1.0.pdf

It starts on page 19, to make it quick, you need to install :
  • - Git
    - Linux Headers
    - GCC
    - Binutils
    - Make

Code: Select all

sudo apt-get install git linux-headers-`uname –r` gcc binutils make
I actually had to install GCC 4.8 for on of the next steps (I followed this post: https://github.com/notro/rpi-source/wiki)
then

Code: Select all

git clone https://github.com/robopeak/rpusbdisp.git
then this is where things are annoying, first we go to the correct folder

Code: Select all

cd rpusbdisp/drivers/linux-driver
we start "make"

Code: Select all

sudo make
This commands take about 8-10 hours to complet his task... no joke... I tryied it already 4 times.
and after this long wait, it says a file should be created " rp_usbdisplay.ko" and to check it by writting
ls *.ko
... But I do not have it .. it failed (When I say it fails, is doens't put any errors.. it just finishes his task and that is it)
If the file doesn’t exist, that means the build is failed. It may be caused by the
kernel version mismatch or incorrect kernel configure. Please find more information
from Git Hub homepage of RoboPeak Mini USB Display project:
https://github.com/robopeak/rpusbdisp
So yea.. I can't find what to do now, I can't know if it comes from Kernel (I srsly hope not), I don't understand how the site works from the link given (https://github.com/robopeak/rpusbdisp).
I already tryed it :
  • - With GCC version 4.6
    - With GCC version 4.8
    - Without the screen pluged on
    - With the screen pluged on
If anyone, just anyone ! could help me out here :D
I would be very greatfull :ugeek:
If you need more specs or info or anything just ask, i'll answer quickly 8-)
yes.. It means I am aksing you to read docs for me :oops:

cjan
Posts: 742
Joined: Sun May 06, 2012 12:00 am

Re: Driver installation (make) - Help needed :}

Wed Feb 11, 2015 12:14 pm

let me try to answer,
the builded *.ko should be in another path not in build path.

J0ri St3in
Posts: 25
Joined: Thu Jan 15, 2015 8:46 pm
Location: France

Re: Driver installation (make) - Help needed :}

Wed Feb 11, 2015 1:32 pm

cjan wrote:let me try to answer,
the builded *.ko should be in another path not in build path.
Yes it seems logic, but I found it no where, so I must have something missconfigured.
And this file is needed afterward

J0ri St3in
Posts: 25
Joined: Thu Jan 15, 2015 8:46 pm
Location: France

Re: Driver installation (make) - Help needed :}

Sat Feb 28, 2015 8:34 am

If build succeed, rp_usbdisplay.ko will be generated under the current folder. You
can use bellow command to check the existence of this file
Does somewone have another suggestion ? :?:

User avatar
ragnarjensen
Posts: 332
Joined: Wed May 15, 2013 6:13 pm
Location: Stockholm, Sweden
Contact: Website

Re: Driver installation (make) - Help needed :}

Sat Feb 28, 2015 1:41 pm

J0ri St3in wrote:So I am trying to install a diver for my USB LCD touchscreen 2.8" (https://hackspark.fr/fr/2-8-usb-tft-dis ... thers.html).
For it to work, I have to follow the instruction to install the driver on the official PDF for the product:

http://www.seeedstudio.com/wiki/images/ ... US.1.0.pdf

It starts on page 19, to make it quick, you need to install :
  • - Git
    - Linux Headers
    - GCC
    - Binutils
    - Make

Code: Select all

sudo apt-get install git linux-headers-`uname –r` gcc binutils make
When I try that command (I copy it from the PDF document and paste it onto the command line), I get an error; "uname: extra operand `–r'"
The back-ticks around "uname -r" in the PDF seem to be in a font that my Pi doesn't recognize. No kernel headers are installed as a result of that error.

If I use the equivalent command

Code: Select all

sudo apt-get install linux-headers-$(uname –r)
no headers are installed again, because there is no header package name that exactly matches the name of my (custom-built) running kernel:

Code: Select all

sudo apt-get install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package linux-headers-3.18.7-v7_UDL+PiTFT
E: Couldn't find any package by regex 'linux-headers-3.18.7-v7_UDL+PiTFT'
Note that the example in the PDF is for Ubuntu Desktop 12.04.2 LTS
Ubuntu does have linux headers for every version they publish, but I'm not sure the same is true for Raspbian.
Chances are that there isn't any header package that exactly matches your running kernel.

Code: Select all

apt-cache search linux-headers-
will tell you what is available.
I actually had to install GCC 4.8 for on of the next steps (I followed this post: https://github.com/notro/rpi-source/wiki)
I have done that, too. It can cause problems, though. If I later try to install a linux header package I know exists, it complains because it depends on gcc 4.7:

Code: Select all

sudo apt-get install linux-headers-3.18.0-trunk-rpi
The following packages have unmet dependencies:
 linux-headers-3.18.0-trunk-rpi : Depends: linux-compiler-gcc-4.7-arm but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
then

Code: Select all

git clone https://github.com/robopeak/rpusbdisp.git
then this is where things are annoying, first we go to the correct folder

Code: Select all

cd rpusbdisp/drivers/linux-driver
we start "make"

Code: Select all

sudo make
Don't use sudo here.
This commands take about 8-10 hours to complet his task... no joke... I tryied it already 4 times.
This implies that you are actually compiling the entire kernel, not just a module. Compiling just a single module should only take a few minutes.
Do you have the kernel sources installed? Have you compiled a kernel before on that Pi?
and after this long wait, it says a file should be created " rp_usbdisplay.ko" and to check it by writting
ls *.ko
... But I do not have it .. it failed (When I say it fails, is doens't put any errors.. it just finishes his task and that is it)
What is the kernel version you are running now?

Code: Select all

uname -a
Who built it?

Code: Select all

cat /proc/version
Do you actually have the kernel headers installed?

Code: Select all

dpkg -l | grep linux-headers
If you do, you should be able to find them in /usr/src/
Where does your running kernel think the headers (or kernel source) should be?

Code: Select all

ls -l /lib/modules/$(uname -r)/build /lib/modules/$(uname -r)/source




Anyway...

I don't have that screen, but just for fun I tried to build the driver and I didn't encounter any problems.
I have all the kernel sources installed, so I don't need to install the kernel headers.
Here's what I did...

Code: Select all

[email protected]:/usr/src$ git clone https://github.com/robopeak/rpusbdisp.git
Cloning into 'rpusbdisp'...
remote: Counting objects: 491, done.
remote: Total 491 (delta 0), reused 0 (delta 0), pack-reused 491
Receiving objects: 100% (491/491), 1.89 MiB | 310 KiB/s, done.
Resolving deltas: 100% (172/172), done.

[email protected]:/usr/src$ cd rpusbdisp/drivers/linux-driver/

[email protected]:/usr/src/rpusbdisp/drivers/linux-driver$ ls -l
total 48
-rw-r--r-- 1 ragnar users   673 Feb 28 12:27 Kconfig
-rw-r--r-- 1 ragnar users 18012 Feb 28 12:27 LICENSE
-rw-r--r-- 1 ragnar users   855 Feb 28 12:27 Makefile
-rw-r--r-- 1 ragnar users   607 Feb 28 12:27 NewMakefile
-rwxr-xr-x 1 ragnar users   130 Feb 28 12:27 run.sh
drwxr-xr-x 3 ragnar users  4096 Feb 28 12:27 src
-rwxr-xr-x 1 ragnar users    72 Feb 28 12:27 stop.sh
drwxr-xr-x 2 ragnar users  4096 Feb 28 12:27 xserver_conf

[email protected]:/usr/src/rpusbdisp/drivers/linux-driver$ make
make -C /lib/modules/`uname -r`/build KCPPFLAGS="-I/usr/src/rpusbdisp/drivers/linux-driver/src -I/usr/src/rpusbdisp/drivers/linux-driver/../common" 

M=/usr/src/rpusbdisp/drivers/linux-driver modules
make[1]: Entering directory '/usr/src/linux-rpi-3.18.y'        <--- Here we can see that make is actually switching into my kernel source tree.
  CC [M]  /usr/src/rpusbdisp/drivers/linux-driver/src/main.o
  CC [M]  /usr/src/rpusbdisp/drivers/linux-driver/src/usbhandlers.o
/usr/src/rpusbdisp/drivers/linux-driver/src/usbhandlers.c: In function ‘_on_alloc_disp_tickets_pool’:
/usr/src/rpusbdisp/drivers/linux-driver/src/usbhandlers.c:935:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ [-Wformat=]
     dev_info(&dev->interface->dev, "allocated %d urb tickets for transfering display data. %lu size each\n", actual_allocated, ticket_logic_size);
     ^
  CC [M]  /usr/src/rpusbdisp/drivers/linux-driver/src/fbhandlers.o
  CC [M]  /usr/src/rpusbdisp/drivers/linux-driver/src/touchhandlers.o
  LD [M]  /usr/src/rpusbdisp/drivers/linux-driver/rp_usbdisplay.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /usr/src/rpusbdisp/drivers/linux-driver/rp_usbdisplay.mod.o	<-- It's compiling the driver
  LD [M]  /usr/src/rpusbdisp/drivers/linux-driver/rp_usbdisplay.ko	<-- and linking it into a kernel module.
make[1]: Leaving directory '/usr/src/linux-rpi-3.18.y'

[email protected]:/usr/src/rpusbdisp/drivers/linux-driver$ ls -l
total 128
-rw-r--r-- 1 ragnar users   673 Feb 28 12:27 Kconfig
-rw-r--r-- 1 ragnar users 18012 Feb 28 12:27 LICENSE
-rw-r--r-- 1 ragnar users   855 Feb 28 12:27 Makefile
-rw-r--r-- 1 ragnar users    64 Feb 28 12:28 modules.order
-rw-r--r-- 1 ragnar users     0 Feb 28 12:28 Module.symvers
-rw-r--r-- 1 ragnar users   607 Feb 28 12:27 NewMakefile
-rw-r--r-- 1 ragnar users 30054 Feb 28 12:28 rp_usbdisplay.ko		<--- Here it is !!
-rw-r--r-- 1 ragnar users  4117 Feb 28 12:28 rp_usbdisplay.mod.c
-rw-r--r-- 1 ragnar users  5864 Feb 28 12:28 rp_usbdisplay.mod.o
-rw-r--r-- 1 ragnar users 24938 Feb 28 12:28 rp_usbdisplay.o
-rwxr-xr-x 1 ragnar users   130 Feb 28 12:27 run.sh
drwxr-xr-x 3 ragnar users  4096 Feb 28 12:28 src
-rwxr-xr-x 1 ragnar users    72 Feb 28 12:27 stop.sh
drwxr-xr-x 2 ragnar users  4096 Feb 28 12:27 xserver_conf
[email protected]:/usr/src/rpusbdisp/drivers/linux-driver$ 
This entire run took less than five minutes on a RPi2.
--
Ragnar

J0ri St3in
Posts: 25
Joined: Thu Jan 15, 2015 8:46 pm
Location: France

Re: Driver installation (make) - Help needed :}

Sat Feb 28, 2015 9:57 pm

First of all, WOW, I am almost touched that you took the effort of helping me in this :D
Anyway here are the answers to your questions,

What is the kernel version you are running now?
Linux raspberrypi 3.12.35+ #730 PREEMPT Fri Dec 19 18:31:24 GMT 2014 armv6l GNU/ Linux
Who built it?
Linux version 3.12.35+ ([email protected]) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #730 PREEMPT Fri Dec 19 18:31:24 GMT 2014
Do you actually have the kernel headers installed?

Hum.. If I understand correctly, it is NOT installed because there is nothing in /usr/src and it says there is no file or directory when I do:

Code: Select all

ls -l /lib/modules/$(uname -r)/build /lib/modules/$(uname -r)/source
--------------------------------------

I don't get it..what did you do of different compared to me ? Is it in the Linux-headers ?

PS: Ho and, thx for "Don't use sudo [...] It only take about 5min" that's a relief for me :lol:

User avatar
ragnarjensen
Posts: 332
Joined: Wed May 15, 2013 6:13 pm
Location: Stockholm, Sweden
Contact: Website

Re: Driver installation (make) - Help needed :}

Mon Mar 02, 2015 11:17 am

I have built the module for 3.12.35+. First try with that.

Code: Select all

wget http://www.jensenjensen.com/rpi/rp_usbdisplay.ko
and then continue from Step 5 Install kernel module in the PDF.

If the module I built doesn't work, you can install a package of the 3.12.35+ linux headers I have prepared and try to compile the module yourself again.
Download it from https://drive.google.com/file/d/0BzIaxM ... sp=sharing
and then run

Code: Select all

sudo dpkg -i linux-headers-3.12.35+_3.12.35+-5_armhf.deb
to install them.



What I did differently:
I have not installed the kernel headers, because I have downloaded the entire kernel source and build my own kernels.
The headers are part of the kernel sources.

What is happening to you is that the command
sudo apt-get install git linux-headers-`uname –r` gcc binutils make
expands to
sudo apt-get install git linux-headers-3.12.35+ gcc binutils make
but the package linux-headers-3.12.35+ does not exist, so no headers are installed.

If you run
sudo apt-cache search linux-header
you get a list of which packages that are actually available:
  • linux-headers-3.10-3-all - All header files for Linux 3.10 (meta-package)
    linux-headers-3.10-3-all-armhf - All header files for Linux 3.10 (meta-package)
    linux-headers-3.10-3-common - Common header files for Linux 3.10-3
    linux-headers-3.10-3-rpi - Header files for Linux 3.10-3-rpi
    linux-headers-3.12-1-all - All header files for Linux 3.12 (meta-package)
    linux-headers-3.12-1-all-armhf - All header files for Linux 3.12 (meta-package)
    linux-headers-3.12-1-common - Common header files for Linux 3.12-1
    linux-headers-3.12-1-rpi - Header files for Linux 3.12-1-rpi
    linux-headers-3.18.0-trunk-all - All header files for Linux 3.18 (meta-package)
    linux-headers-3.18.0-trunk-all-armhf - All header files for Linux 3.18 (meta-package)
    linux-headers-3.18.0-trunk-common - Common header files for Linux 3.18.0-trunk
    linux-headers-3.18.0-trunk-rpi - Header files for Linux 3.18.0-trunk-rpi
    linux-headers-3.18.0-trunk-rpi2 - Header files for Linux 3.18.0-trunk-rpi2
    linux-headers-3.2.0-4-all - All header files for Linux 3.2 (meta-package)
    linux-headers-3.2.0-4-all-armhf - All header files for Linux 3.2 (meta-package)
    linux-headers-3.2.0-4-common - Common header files for Linux 3.2.0-4
    linux-headers-3.2.0-4-rpi - Header files for Linux 3.2.0-4-rpi
    linux-headers-3.6-trunk-all - All header files for Linux 3.6 (meta-package)
    linux-headers-3.6-trunk-all-armhf - All header files for Linux 3.6 (meta-package)
    linux-headers-3.6-trunk-common - Common header files for Linux 3.6-trunk
    linux-headers-3.6-trunk-rpi - Header files for Linux 3.6-trunk-rpi
    linux-headers-rpi - Header files for Linux rpi configuration (meta-package)
    linux-headers-rpi-rpfv - This metapackage will pull in the headers for the raspbian kernel for the
    linux-headers-rpi2-rpfv - This metapackage will pull in the headers for the raspbian kernel for the
If you pick one of the 3.12 packages and try to install it, it will fail because it depends on gcc-4.7. The header package will try to install gcc-4.7, but since you already have 4.8 installed from jessie it will error out.


--
Ragnar
Last edited by ragnarjensen on Tue Mar 03, 2015 8:44 am, edited 1 time in total.

J0ri St3in
Posts: 25
Joined: Thu Jan 15, 2015 8:46 pm
Location: France

Re: Driver installation (make) - Help needed :}

Mon Mar 02, 2015 4:30 pm

I will not possess my Raspberry Pi for the next few days.. so I will be able to try it out only after.
Once I do, I will update you on if it worked or not.

--
J

User avatar
peepo
Posts: 305
Joined: Sun Oct 21, 2012 9:36 am

Re: Driver installation (make) - Help needed :}

Wed Apr 08, 2015 1:13 pm

where can one download the linux-headers-3.18.7+ ?

I also had RoboPeak usb display working** but recently broken by rpi-update...

tx

~:"

** http://www.robopeak.com/data/doc/rpusbd ... US.1.1.pdf

J0ri St3in
Posts: 25
Joined: Thu Jan 15, 2015 8:46 pm
Location: France

Re: Driver installation (make) - Help needed :}

Wed Apr 08, 2015 2:35 pm

peepo wrote:where can one download the linux-headers-3.18.7+ ?
This should work:
http://www.yourownlinux.com/2015/02/how ... linux.html

User avatar
peepo
Posts: 305
Joined: Sun Oct 21, 2012 9:36 am

Re: Driver installation (make) - Help needed :}

Wed Apr 08, 2015 2:38 pm

J0ri St3in,
I had already looked at that link, it does not seem relevant, as the links are not Raspberry Pi or Arm related

hystrix
Posts: 56
Joined: Mon Jan 07, 2013 12:44 pm

Re: Driver installation (make) - Help needed :}

Fri Aug 28, 2015 4:35 pm

Has anyone got this display working on a Pi2 that is using the Cirrus Logic Audio Card kernel? I have a Pi2 using the Cirrus Logic Audio Card working fine. Now I would like to add this USB display.

When I get to Step 2 of the RoboPeak Mini USB Display manual, and try to build the driver, I get the following:

Code: Select all

$cd rpusbdisp/drivers/linux-driver
$make
make -C /lib/modules/`uname -r`/build KCPPFLAGS="-I/home/pi/rpusbdisp/drivers/linux-driver/src -I/home/pi/rpusbdisp/drivers/linux-driver/../common" M=/home/pi/rpusbdisp/drivers/linux-driver modules
make[1]: *** /lib/modules/3.18.9-v7cludlmmap/build: No such file or directory.  Stop.
Makefile:30: recipe for target 'modules' failed
make: *** [modules] Error 2
When I look at the /lib/modules/3.18.9-v7cludlmmap/ folder using WinSCP, I can see a "build" symbolic link to "usr/src/cirrus/rpi-linux-rpi-3.18.y.pi2". This does not actually exist, as far as I can see.

Can anyone help me install the device driver?

By the way, at Step 2, where I downloaded the linux-headers, I used:

Code: Select all

sudo apt-get install git linux-headers-3.18.0+ gcc binutils make
...and for more information...

Code: Select all

$uname -a
Linux raspberrypi 3.18.9-v7cludlmmap #2 SMP PREEMPT Fri Mar 27 12:07:39 CET 2015 armv7l GNU/Linux
$cat /proc/version
Linux version 3.18.9-v7cludlmmap ([email protected]) (gcc version 4.8.3 (Raspbian 4.8.3-13) ) #2 SMP PREEMPT Fri Mar 27 12:07:39 CET 2015

User avatar
ragnarjensen
Posts: 332
Joined: Wed May 15, 2013 6:13 pm
Location: Stockholm, Sweden
Contact: Website

Re: Driver installation (make) - Help needed :}

Fri Aug 28, 2015 6:20 pm

I built that kernel :-)

You can download the headers for it from here:
http://www.jensenjensen.com/rpi/linux-h ... _armhf.deb

First, remove the "build" symlink in /lib/modules/3.18.9-v7cludlmmap
Then install the package:

Code: Select all

sudo dpkg -i linux-headers-3.18.9-v7cludlmmap_3.18.9-v7cludlmmap-2_armhf.deb
The headers will install to /usr/src/linux-headers-3.18.9-v7cludlmmap and a new "build" symlink pointing there will be created.

--
Ragnar

hystrix
Posts: 56
Joined: Mon Jan 07, 2013 12:44 pm

Re: Driver installation (make) - Help needed :}

Sat Aug 29, 2015 10:40 am

ragnarjensen wrote:I built that kernel :-)

You can download the headers for it from here:
http://www.jensenjensen.com/rpi/linux-h ... _armhf.deb

First, remove the "build" symlink in /lib/modules/3.18.9-v7cludlmmap
Then install the package:

Code: Select all

sudo dpkg -i linux-headers-3.18.9-v7cludlmmap_3.18.9-v7cludlmmap-2_armhf.deb
The headers will install to /usr/src/linux-headers-3.18.9-v7cludlmmap and a new "build" symlink pointing there will be created.

--
Ragnar
Hi Ragnar - many thanks for helping so quickly.

The headers you provided allowed me to build the device driver rp_usbdisplay.ko. However loading the kernel module causes some errors:

Code: Select all

$ sudo modprobe rp_usbdisplay
Message from [email protected] at Aug 29 09:57:42 ...
 kernel:[   43.269176] Internal error: Oops: 5 [#1] PREEMPT SMP ARM

Message from [email protected] at Aug 29 09:57:42 ...
 kernel:[   43.304220] Process modprobe (pid: 2271, stack limit = 0xb9174238)

Message from [email protected] at Aug 29 09:57:42 ...
 kernel:[   43.306116] Stack: (0xb9175e88 to 0xb9176000)

Message from [email protected] at Aug 29 09:57:42 ...
 kernel:[   43.307973] 5e80:                   7f1aba58 00007fff 8008f0dc b84fb000 b9175f34 bcf13000

Message from [email protected] at Aug 29 09:57:42 ...
 kernel:[   43.311610] 5ea0: 00000000 b9175f7c b9175f50 00000107 bcf1795c 7f1aba58 b9174008 7f1aba94

Message from [email protected] at Aug 29 09:57:42 ...
 kernel:[   43.315237] 5ec0: 7f1abbbc 00000000 b9174000 b84fb000 808b6b2c bcf1a279 ba79cf7c 00000000

Message from [email protected] at Aug 29 09:57:42 ...
 kernel:[   43.318883] 5ee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

Message from [email protected] at Aug 29 09:57:42 ...
 kernel:[   43.322577] 5f00: 00000000 00000000 00000000 00000000 00000000 00000000 00000080 00007279

Message from [email protected] at Aug 29 09:57:42 ...
 kernel:[   43.326383] 5f20: 76f55000 78ebae58 00000080 8000ef04 b9174000 00000000 b9175fa4 b9175f48

Message from [email protected] at Aug 29 09:57:42 ...
 kernel:[   43.330445] 5f40: 80092920 80090824 bcf13000 00007279 bcf17344 bcf171aa bcf1981c 00002bdc

Message from [email protected] at Aug 29 09:57:42 ...
 kernel:[   43.334671] 5f60: 000030bc 00000000 00000000 00000000 00000027 00000028 0000001c 00000020

Message from [email protected] at Aug 29 09:57:42 ...
 kernel:[   43.339077] 5f80: 00000010 00000000 00000000 00000000 00040000 78ebae00 00000000 b9175fa8

Message from [email protected] at Aug 29 09:57:42 ...
 kernel:[   43.343569] 5fa0: 8000ec80 80092840 00000000 00040000 76f55000 00007279 78ebae58 76f55000

Message from [email protected] at Aug 29 09:57:42 ...
 kernel:[   43.348165] 5fc0: 00000000 00040000 78ebae00 00000080 78ebafa0 00007279 78ebae58 00000000

Message from [email protected] at Aug 29 09:57:42 ...
 kernel:[   43.352835] 5fe0: 00000000 7ea5240c 76f3afb4 76ea5ab4 60000010 76f55000 00000000 00000000

Message from [email protected] at Aug 29 09:57:42 ...
 kernel:[   43.366921] Code: e51bc084 e15c0005 e2455008 0a000009 (e5953014)
Any ideas what is going wrong here?

Many thanks.

UPDATE:

I got it working on my Pi2 using the 4.1.6 kernel, and some instructions for setting up the display on GitHub. For the benefit of others, the instructions for setting up the Cirrus Logic card are here:

http://www.element14.com/community/thre ... 16-and-405

and for the USB Display here:

https://github.com/pimoroni/rp_usbdisplay

If you follow these instructions, don't forget to add rp_usbdisplay to /etc/modules so the kernel is loaded automatically.

coffeeannan
Posts: 2
Joined: Sun Mar 20, 2016 6:16 pm

Re: Driver installation (make) - Help needed :}

Sun Mar 20, 2016 6:25 pm

Hi !
I am new on this forum and I am using a Raspberry Pi mod B (512MB)...
I bought the 2.8 USB TFT display from robopeak, but I was not able to install the driver on a pure rasbian-JESSIE. The custom ROM with the preloaded drivers is available only for WHEEZY version, but for other reasons, I can not use it.
Do you know where I can download a prebuild JESSIE-rom ?


thanks in advance

J0ri St3in
Posts: 25
Joined: Thu Jan 15, 2015 8:46 pm
Location: France

Re: Driver installation (make) - Help needed :}

Sun Mar 20, 2016 10:00 pm

coffeeannan wrote:Hi !
I am new on this forum and I am using a Raspberry Pi mod B (512MB)...
I bought the 2.8 USB TFT display from robopeak, but I was not able to install the driver on a pure rasbian-JESSIE. The custom ROM with the preloaded drivers is available only for WHEEZY version, but for other reasons, I can not use it.
Do you know where I can download a prebuild JESSIE-rom ?


thanks in advance
Hi coffeeannan,
Welcome to the forum.
As you can see from the date of the creation of this post... it's been more than a year now. And I still didn't manage to install the drivers... So I won't be much help for you, sorry :?
But since a year ago, they might have been new posts.. and maybe also solutions !
Hopefully, other people will be able to help you ( If you mange to make it work, could you tell me, or just bring me where you found the solution).
Thank you,
and mostly Good Luck :ugeek:

DirkS
Posts: 10006
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Driver installation (make) - Help needed :}

Mon Mar 21, 2016 12:42 am

coffeeannan wrote:I bought the 2.8 USB TFT display from robopeak, but I was not able to install the driver on a pure rasbian-JESSIE
See https://github.com/pimoroni/rp_usbdisplay. The description says it's only for kernel 4.1.6, but looking at https://github.com/pimoroni/rp_usbdispl ... er/drivers you can see there are drivers for newer kernels too.
AFAICT the install script will check if you are running a supported kernel version.

coffeeannan
Posts: 2
Joined: Sun Mar 20, 2016 6:16 pm

Re: Driver installation (make) - Help needed :}

Mon Mar 21, 2016 9:35 pm

DirkS wrote:
coffeeannan wrote:I bought the 2.8 USB TFT display from robopeak, but I was not able to install the driver on a pure rasbian-JESSIE
See https://github.com/pimoroni/rp_usbdisplay. The description says it's only for kernel 4.1.6, but looking at https://github.com/pimoroni/rp_usbdispl ... er/drivers you can see there are drivers for newer kernels too.
AFAICT the install script will check if you are running a supported kernel version.
many thanks for the suggestion.
I will try to install the new drivers and I tell you what happen....

Return to “Advanced users”