RoboPeak Mini USB Display Driver for CentOS x64 by Mr_KrzYch00, http://www.robopeak.com/blog/?p=406 320x240 16bpp (RGB16) - one-touchscreen Compilled using kernel 2.6.32-431.20.3.el6.x86_64 How to install driver: 1. Download it to Your home directory. 2. Open terminal and type: sudo install rp_usbdisplay.ko "/lib/modules/`uname -r`/kernel/rp_usbdisplay.ko" sudo depmod -a 3. Connect Your RoboPeak Display to USB (You can even use USB extension cable) 4. Again run in terminal: sudo modprobe rp_usbdisplay OR sudo modprobe rp_usbdisplay fps=25 (or other frame rate default: 16) 5. After this Your screen should turn blank, if it does, You successfully installed driver! 6. Check cat /proc/fb to see what ID Your display has. 7. Test Your display if it shows random dots every 3 seconds by running (abort using CTRL+C): while true; do `dd if=/dev/urandom bs=512 count=300 of=/dev/fb1 status=noxfer &>/dev/null`; sleep 1; done; Make RP_USBDisplay start on boot and map TTY1 (CTRL+ALT+F2) to /dev/fb1 1. Create and Edit rp_usbdisplay.modules file in /etc/sysconfig/modules, content: #!/bin/bash modprobe rp_usbdisplay exit 0 2. Set +x for this file (chmod +x filename), 3. Edit /etc/grub.conf - at the end of first line starting with kernel add: fbcon=map:0100000 Example on where it should be: kernel /vmlinuz-2.6.32-431.20.3.el6.i686 (...some parameters...) fbcon=map:0100000 4. Reboot and see if it works. WARNING! /dev/fb1 will exist only if /dev/fb0 exists. This guide works in case of Intel GPU, it may fail on certain GPUs. Run X11 using this display as a headless screen: 1. Download rpx.sh and xorg_rpusbdisplay.conf to the same directory, 2. Check cat /proc/fb to make sure Your rp_usbdisplay is on position 1, if it isn't, edit xorg_rpusbdisplay.conf and change /dev/fb1 accordingly, 3. Make sure no X is running on display :1, 4. chmod +x rpx.sh , 5. Run rpx.sh in the same directory, 6. Now run gnome-console or something to test that X11 is properly running, 7. To close X on the display :1 simpy run: ps aufx | grep 'X :1' 8. Read process number for X and kill it. Example: kill 3898 9. To change back to Display :0 simply keep pressing ALT+CTRL+Fx (x = 1 - 12) till You see Your main screen. Make Your touchscreen actually work: 1. Navigate to /etc/hal/fdi/policy/ 2. Download/Copy 10-RPUSBTouch.fdi 3. Run either: reboot OR service haldaemon restart 4. Restart X for USB Display 5. Touchscreen should work, recalibrate using xinput_calibration if necessary and then edit 10-RPUSBTouch.fdi by changing values in this line: 0 320 0 240 to the ones xinput_calibrator returned 6. It may be necessary to restart haldaemon again to apply these. NOTES: I could not run X11 in dual display mode. Might be working with other GPUs than intel. For intel either the USB display or main display is only run - depends on which module gets loaded first with Modules Section in xorg config - most likely the cause is intel using framebuffer as well and confusing FBDev driver. - Driver modified to support CentOS kernel and compilled by Mr_KrzYch00, - 10-RPUSBTouch.fdi made accordingly to http://who-t.blogspot.com/2012/07/elographics-touchscreen-setup.html with modifications by Mr_KrzYch00 - rpx.sh script by Mr_KrzYch00 - xorg_rpusbdisplay.conf based on original 10-disp.conf from driver Refer to RP_USBDisplay for Odroid to run additional tests/configurations or search the internet. ~~~~ KrzY