robopeak / rpusbdisp Goto Github PK
View Code? Open in Web Editor NEWDrivers and Tools for RoboPeak Mini USB Display Project
License: GNU General Public License v2.0
Drivers and Tools for RoboPeak Mini USB Display Project
License: GNU General Public License v2.0
Trying to get USB TFT working on a new Pi3- followed the initial install instructions, got an unsupported kernel error (as expected due to Pi3), followed the added steps from github......DKMS.
The hard link error also occurred on my 1st install attempt, the above is from my 2nd attempt to install having gone back and done a complete re-install of the OS from a new Max2Play
image,
Any suggestions to fix this would be appreciated (am Raspberry/Linux newbie but game to have a go)
I would like to rotate my screen. I tried many solution with the linux framebuffer but anyone work.
It would be great if we can customize the screen rotation when we compile the driver or with the fbcon parameter.
Command tried :
echo 2 > sudo tee /sys/class/graphics/fbcon/rotate_all
I add this command in my boot file :
fbcon=rotate:2
I display a camera live video on my robopeak rpusbdisp. But I have 2 cameras. When I connect a second robopeak rpusbdisp it just says "Waiting for Signal...". So do I need 2 RPi or is it a configuration issue?
Again in short:
Hi, I tried to run DFRobot Usbdisplay by using https://github.com/pimoroni/rp_usbdisplay and no luck, screen always change Red by Blue color when I'm out of X11, then I tried to compile new kernel with drivers included on it like tutorial said, no luck, and same problem occurs, red color and blue color ar swapped.
I use fbcp to send framebuffer to screen
I don't know what to do, I have spent days doing research with no success
Hi !
I've a little project with my MacBook Pro, I want to use your mini lcd monitor as a second monitor on my Macintosh. Is this possible or not ? Can it works out of the box ?
Second question, is the lcd screen detachable from the pcb board ?
Thanks !
If you are using the usermode driver and disconnect the device while in use then you get lines like the following sent to stderr:
Unexpcected status: 0x00000006
Error code: 0xfffffffc
This pollutes stderr in my case messing up a program that monitors it. You can find the above code by searching for "Unexpcected" in this project. Searching for stderr ignoring test code shows a few other places this is done.
A library should never do this. An alternative is an error reporting callback, or to return errors to existing api calls.
Hi!
USB touch is compatible with Banana Pi?
Is it compatible with raspberry pi 3 a+ and retropie firmware
Hi,
I have tested several usb hubs connected to the Raspi Zero in order to give it access to the DFRobot Display and a wifi dongle. However, the only thing that works when I run the Raspi Zero, is the DFRobot display. On the other hand when I run the Raspberry with only the wifi dongle connected to the usb hub, then it works.
Any advice?
Thank you
While I can manually write to device framebuffer and touch functionality is working and moving mouse around, demo code fails when initializing device. When I run demo with strace I see that device is busy/ unreachable.
Is it possible that system is locking device because it is treated as touch device and if how do I prevent this? Also I have more the one framebuffere initialized in my system, is it possible that wrong device is initialized with SDK?
I would also appreciate any pointers where I should look next.
I just tried to build your latest version (454421d) with the lastest raspberry pi kernel (raspberrypi/linux@75effe1) and got these warnings:
WARNING: ../../../modules/lib/modules/3.12.32/extra/rp_usbdisplay.ko needs unknown symbol fb_sys_write
WARNING: ../../../modules/lib/modules/3.12.32/extra/rp_usbdisplay.ko needs unknown symbol sys_imageblit
WARNING: ../../../modules/lib/modules/3.12.32/extra/rp_usbdisplay.ko needs unknown symbol sys_fillrect
WARNING: ../../../modules/lib/modules/3.12.32/extra/rp_usbdisplay.ko needs unknown symbol sys_copyarea
WARNING: ../../../modules/lib/modules/3.12.32/extra/rp_usbdisplay.ko needs unknown symbol fb_sys_read
I verified that these options are set this way in the .config file:
CONFIG_FB=y
CONFIG_FB_DEFERRED_IO=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_SYS_FILLRECT=m
CONFIG_FB_SYS_COPYAREA=m
CONFIG_FB_SYS_IMAGEBLIT=m
CONFIG_FB_SYS_FOPS=m
CONFIG_FB_MODE_HELPERS=y
And also that these files are present in the output directory of the build:
sysfillrect.ko
syscopyarea.ko
sysimgblt.ko
fb_sys_fops.ko
please help, i have no idea what could be wrong...
It appears that 'make' will happily make the .ko file needed with just the kernel headers installed (i.e. without the full sources). However, 'make install' won't just not install it, it destroys /lib/modules completely (which, if you don't catch it and reinstall all the packages with modules, will render the system broken). The right answer appears to be simply to copy the file into place by hand.
Fine, the README does suggest a longer path, but this looks like a shortcut, not a system destroyer, so perhaps some warnings somewhere not to do this?
The touch screen mouse cursor for robopeak 2.8 tft on raspberry pi is way off when tested with python pygame, it seems to have some sort of acceleration.
I have the following kernel, Linux raspberrypi 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l GNU/Linux. I have installed the module using dpkg -i rp-usbdisplay-dkms_1.0_all.deb.
Any support to calibrate the mouse cursor position is appreciated.
Kernel source is from ubuntu linux-source-3.8.0_3.8.0-23.34_all.deb, got compilation error:
$ make KERNEL_SOURCE_DIR=/usr/src/linux-source-3.8.0/
make -C /usr/src/linux-source-3.8.0/ KCPPFLAGS="-I/root/rpusbdisp/drivers/linux-driver/src -I/root/rpusbdisp/drivers/linux-driver/../common" M=/root/rpusbdisp/drivers/linux-driver modules
make[1]: Entering directory /usr/src/linux-source-3.8.0' CC [M] /root/rpusbdisp/drivers/linux-driver/src/main.o CC [M] /root/rpusbdisp/drivers/linux-driver/src/usbhandlers.o /root/rpusbdisp/drivers/linux-driver/src/usbhandlers.c: In function ‘rpusbdisp_usb_try_send_image’: /root/rpusbdisp/drivers/linux-driver/src/usbhandlers.c:467:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘size_t’ [-Wformat] /root/rpusbdisp/drivers/linux-driver/src/usbhandlers.c: In function ‘_on_alloc_disp_tickets_pool’: /root/rpusbdisp/drivers/linux-driver/src/usbhandlers.c:683:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t’ [-Wformat] CC [M] /root/rpusbdisp/drivers/linux-driver/src/fbhandlers.o CC [M] /root/rpusbdisp/drivers/linux-driver/src/touchhandlers.o LD [M] /root/rpusbdisp/drivers/linux-driver/rp_usbdisplay.o Building modules, stage 2. MODPOST 1 modules CC /root/rpusbdisp/drivers/linux-driver/rp_usbdisplay.mod.o LD [M] /root/rpusbdisp/drivers/linux-driver/rp_usbdisplay.ko make[1]: Leaving directory
/usr/src/linux-source-3.8.0'
Seems it's because the removal of __devinitdata by commit torvalds/linux@63a29f7 in kernel.
last activity from 2015.
https://github.com/pimoroni/rp_usbdisplay seems to be active but they refer to this repo.
You can find the original source code, and raise issues at https://github.com/robopeak/rpusbdisp
Hello,
We got 10 units from pimoroni.com.
Displays have Robopeak init screen and DFrobot splash logo.
How we can change splah logo ? It is not good to have a promo logo in a final production unit.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.