How to use AOC E1649FWU LED USB monitor for Raspibian 디지탈을 즐기자

(In Korean, 이 글을 읽을 대상이 외국인이라 우리 말 블로그에 영어라 좀 그렇지만,,, 발영어라 쉽게 이해하실 듯하여 번역은 하지 않습니다^^)  

AOC E1649FWU 16" USB-Powered Portable has no HDMI connector but USB 2.0 Y type cable(one is for additional 500mA power). 

This article is written based on 2014-06-20-wheezy-raspibian.img.

To use AOC E1649FWU monitor with Raspberry Pi, there are somethings to do. 

1) Prepare Raspberry Pi board and install Raspibian. Using Win32DiskImager, write Raspibian image to SD card. 
- -> Win32DiskImager download
- -> RASPIBIAN download  

2) After writing SD card using Win32DiskImager & 2014-06-20-wheezy-raspibian.img, you can see file list as below. 

3) By default, Linux kernel of Raspibian does not support DisplayLink USB Framebuffer. So we are about to build new kernel image which supports DisplayLink USB Framebuffer. You can build Linux kernel on Raspberry Pi board. But it will take half of a day or more. So, I will use Ubuntu Linux running on VMware Player(Free for personal usage).

4) On Ubuntu linux, first get the same version of Linux kernel as Raspibian image.  After one or more hours, you can see 'linux' folder. 
im@ubuntu:~/Raspibian-2014-06-20$ git init
Initialized empty Git repository in /home/im/Raspibian-2014-06-20/.git/
im@ubuntu:~/Raspibian-2014-06-20$ git clone --depth 1 git://

5) On Ubuntu linux, prepare cross-compiler and tools. 
im@ubuntu:~/Raspibian-2014-06-20$ apt-get install gcc-arm-linux-gnueabi make ncurses-dev
im@ubuntu:~/Raspibian-2014-06-20$ git clone

6) For Kernel building,
im@ubuntu:~/Raspibian-2014-06-20$ cd linux
im@ubuntu:~/Raspibian-2014-06-20/linux$ make mrproper
im@ubuntu:~/Raspibian-2014-06-20/linux$ cp arch/arm/configs/bcmrpi_defconfig .config
im@ubuntu:~/Raspibian-2014-06-20/linux$ make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- menuconfig

7) On Ubuntu linux, refer to next images. Press 'Y' when DisplayLink is selected, 'M' will be appeared. 

8) My Ubuntu has two cores, so '-j3'(the number of cores on your system plus one). 
im@ubuntu:~/Raspibian-2014-06-20/linux$ make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- -k -j3

9) Build modules.
im@ubuntu:~/Raspibian-2014-06-20/linux$ make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi-modules
im@ubuntu:~/Raspibian-2014-06-20/linux$ mkdir ../modules
im@ubuntu:~/Raspibian-2014-06-20/linux$ make modules_install ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- INSTALL_MOD_PATH=../modules/
im@ubuntu:~/Raspibian-2014-06-20/linux$ cd ../tools/mkimage/
im@ubuntu:~/Raspibian-2014-06-20/tools/mkimage$ ./ ../../linux/arch/arm/boot/Image

10) Finally, you can see kernel.img. 
im@ubuntu:~/Raspibian-2014-06-20/tools/mkimage$ ls -l 
total 6264
-rw-rw-r-- 1 im im     157 Jul 24 06:38 args-uncompressed.txt
-rw-rw-r-- 1 im im     201 Jul 24 06:38 boot-uncompressed.txt
-rw-rw-r-- 1 im im   32768 Jul 24 08:19 first32k.bin
-rwxrwxr-x 1 im im     822 Jul 24 06:38
-rw-rw-r-- 1 im im 6366188 Jul 24 08:19 kernel.img

11) And compress modules folder as one file for convenience of copying. You can see modules.tar file after below commands.
im@ubuntu:~/Raspibian-2014-06-20/tools/mkimage$ cd ../.. 
im@ubuntu:~/Raspibian-2014-06-20$ tar cvf modules.tar modules 

12) Now, we need to copy kernel.img file and modules folder to SD card. To avoid confusion, I will copy these after booting Raspberry Pi and connecting to it with WinSCP and Putty software. 

13) Insert SD card and connect HDMI monitor to Raspberry Pi board and power up. Also you need keyboard and mouse. :-)
-Login : pi
-Password: raspberry 

14) On Raspberry Pi console(maybe it's your HDMI monitor), there may be a popup menu.(or sudo raspi-config)
-You might want to select "Expand Filesystem". 
-Please enable SSH. 
-Reboot(or sudo reboot at console)

15) After rebooting Raspberry Pi, install WinSCP and putty.exe to your Windows based computer. Or you need Secure FTP and Secure Telnet software for your desktop OS.  

16) Using WinSCP, connect Raspberry Pi and copy kernel.img(see 10) and modules.tar(see 11) to home(default user's) folder of Raspibian.

17) On Raspberry Pi console, following command will overwrite existing system files, so if you want, backup them first. 
pi@raspberrypi ~ $ tar xvf modules.tar 
pi@raspberrypi ~ $ cd modules/lib 
pi@raspberrypi ~ /modules/lib $ cp -r * /lib
pi@raspberrypi ~ /modules/lib $ cd 
pi@raspberrypi ~ $ sudo cp kernel.img /boot
pi@raspberrypi ~ $ sudo shutdown -h now

18) Raspberry Pi cannot supply enough USB power to AOC monitor. So, External Powered USB 4 port Hub may be required. 
-connect your keyboard, mouse and AOC monitor's USB Y cable to your 4 port Hub
-connect USB 4 port Hub(External DC powered) to Raspiberry Pi.
-connect HDMI monitor also. -> Because for now you cannot see anything on AOC monitor. 

19) After login to Raspberry Pi, 
pi@raspberrypi ~ $ sudo con2fbmap 1 1 

20) Can you see any character on AOC monitor? If not, something is missing or USB Hub problem. For me, screen was not clear. It's like video buffer noise.

21) For full graphic UI on Raspberry Pi, Now on Raspberyy Pi console, 
sudo apt-get install pkg-config xorg-dev
git clone
cd xf-video-udlfb
sudo make install

22) On Raspberry Pi console. 
cd /usr/share/X11/xorg.conf.d/
sudo vi 99-fbdev.conf

23) press i key once and typing the following.
Section "Device"  
  Identifier "myfb"
  Driver "fbdev"
  Option "fbdev" "/dev/fb1"

24) press Esc key and press : and w and q and Enter key.

25) On Raspberry Pi console, 

26) I don't know why the console screen of AOC monitor goes wrong, but there is a solution. I recommend start as graphical desktop. 

That's all. Good luck


댓글 입력 영역